Always pass a valid section header offset to elf_parse_notes
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d5451cd4
JC
12016-12-02 Josh Conner <joshconner@google.com>
2
3 * Makefile.am: Add dependency information for earmelf_fuchsia.c.
4 * Makefile.in: Regenerate.
5 * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
6 x86_64-*-fuchsia* targets.
7 * emulparams/armelf_fuchsia.sh: New file.
8 * emulparams/armelfb_fuchsia.sh: New file.
9
4ee1d7e4
R
102016-12-01 Rudy Y <rudyy.id@gmail.com>
11
12 PR ld/20880
13 * pe-dll.c (make_one): Use the hint if the ordinal is -1.
14
5cd1d8bc
YN
152016-12-01 Yury Norov <ynorov@caviumnetworks.com>
16
17 PR ld/20868
18 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
19 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
20 test.
21 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
22
268ebe95
AB
232016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
26
157686a8
NC
272016-11-28 Nick Clifton <nickc@redhat.com>
28
29 PR 20815
30 * testsuite/ld-elf/loadaddr1.d: Update.
31 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
32 * testsuite/ld-scripts/phdrs3a.d: Update.
33
4deb8f71
L
342016-11-28 H.J. Lu <hongjiu.lu@intel.com>
35
36 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
37 * testsuite/ld-elf/pr18720.rd: New file.
38
ae9a1986
AM
392016-11-27 Alan Modra <amodra@gmail.com>
40
41 PR 20815
42 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
43
cb55e96b
AM
442016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
45
46 * deffilep.y: Fix spelling in comments.
47
b81c93c8
AM
482016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
49
50 * scripttempl/ia64vms.sc: Fix spelling in comments.
51 * scripttempl/ip2k.sc: Fix spelling in comments.
52 * scripttempl/v850.sc: Fix spelling in comments.
53 * scripttempl/v850_rh850.sc: Fix spelling in comments.
54
839b0b3f
AM
552016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
56
57 * emultempl/avrelf.em: Fix spelling in comments.
58 * emultempl/elf32.em: Fix spelling in comments.
59 * emultempl/pe.em: Fix spelling in comments.
60 * emultempl/pep.em: Fix spelling in comments.
61 * emultempl/spuelf.em: Fix spelling in comments.
62
d14a6a9e
AM
632016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
64
65 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
66 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
67 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
68 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
69
15a086be
AM
702016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
71
72 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
73 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
74 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
75 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
76 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
77 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
78
370dfff4
AM
792016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
80
81 * deffile.h: Fix spelling in comments.
82 * ld.h: Fix spelling in comments.
83 * ldlang.c: Fix spelling in comments.
84 * ldmisc.c: Fix spelling in comments.
85 * pe-dll.c: Fix spelling in comments.
86
1dcb9720
JW
872016-11-24 Jiong Wang <jiong.wang@arm.com>
88
89 PR target/20737
90 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
91 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
92 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
93 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
94
51750acd
NC
952016-11-24 Nick Clifton <nickc@redhat.com>
96
97 PR ld/20858
98 * emultempl/elf32.em (_search_needed): Allow for path separator
99 and terminating NUL byte when allocating space for new $ORIGIN
100 path.
101
1a9ccd70
NC
1022016-11-23 Nick Clifton <nickc@redhat.com>
103
7836e407
NC
104 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
105
1a9ccd70
NC
106 PR ld/20815
107 * ld.texinfo: Note that PT_TLS can be used as a segment type.
108 * testsuite/ld-discard/discard.ld: Add space for program headers.
109 * testsuite/ld-elf/flags1.ld: Likewise.
110 * testsuite/ld-elf/maxpage3.t: Likewise.
111 * testsuite/ld-elf/noload-1.t: Likewise.
112 * testsuite/ld-elf/orphan.ld: Likewise.
113 * testsuite/ld-elf/overlay.t: Likewise.
114 * testsuite/ld-elf/pr14052.t: Likewise.
115 * testsuite/ld-elf/pr19539.t: Likewise.
116 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
117 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
118 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
119 * testsuite/ld-i386/pr19539.t: Likewise.
120 * testsuite/ld-scripts/defined.t: Likewise.
121 * testsuite/ld-scripts/defined6.t: Likewise.
122 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
123 * testsuite/ld-scripts/empty-aligned.t: Likewise.
124 * testsuite/ld-scripts/provide-2.t: Likewise.
125 * testsuite/ld-scripts/provide-4.t: Likewise.
126 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
127 * testsuite/ld-x86-64/pr19539.t: Likewise.
128 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
129 dynamic linker.
130 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
131 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
132 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
133 * testsuite/ld-elf/noload-2.d: Likewise.
134 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
135 * testsuite/ld-scripts/phdrs3a.d: Likewise.
136 * testsuite/ld-scripts/size-2.d: Likewise.
137 * testsuite/ld-elf/group.ld: Add program headers.
138 * testsuite/ld-elf/overlay.d: Skip for SPU.
139 * testsuite/ld-elf/flags1.d: Skip for RX.
140 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
141 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
142 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
143 * testsuite/ld-scripts/size-2.t: Likewise.
144
96fe4562
AM
1452016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
146
147 * configure: Regenerate.
148
08dc996f
AM
1492016-11-22 Alan Modra <amodra@gmail.com>
150
151 PR 20744
152 * emultempl/ppc32elf.em (params): Update initializer. Handle
153 --vle-reloc-fixup command line arg.
154
4cb771f2
SKS
1552016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
156
157 PR ld/20789
158 * ld/testsuite/ld-avr/pr20789.d: New test.
159 * ld/testsuite/ld-avr/pr20789.s: New test.
160
161
9d734efa
L
1622016-11-14 H.J. Lu <hongjiu.lu@intel.com>
163
164 PR ld/20800
165 * testsuite/ld-x86-64/pr20800a.S: New file.
166 * testsuite/ld-x86-64/pr20800b.S: Likewise.
167 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
168
80bb3407
NC
1692016-11-14 Nick Clifton <nickc@redhat.com>
170
171 * lexsup.c (parse_args): Add break at end of default case.
172
ac33b731
JW
1732016-11-10 Jiong Wang <jiong.wang@arm.com>
174
175 PR target/20737
176 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
177 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
178 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
179 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
180
e680a6b6
NC
1812016-11-07 Nick Clifton <nickc@redhat.com>
182
183 PR ld/20784
184 * emultempl/elf32.em (search_needed): Fix infinite loop when
185 unable to process a token. Add support for curly braced enclosed
186 tokens.
187 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
188 $LIB.
189
9af89fba
NC
1902016-11-07 Nick Clifton <nickc@redhat.com>
191
192 * ld.texinfo (--compress-debug-sections): Expand documentation of
193 this option.
194
88ba72a2
NC
1952016-11-04 Nick Clifton <nickc@redhat.com>
196
197 * emultempl/elf32.em (search_needed): Remove use of getauxval and
198 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
199 warning message.
200 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
201 * configure: Regenerate.
202 * config.in: Regenerate.
203
8f1732fc
AB
2042016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
205
206 * ldlang.h (struct lang_wild_statement_struct): Add
207 exclude_name_list field.
208 * ldlang.c (walk_wild_file_in_exclude_list): New function.
209 (walk_wild_consider_section): Use new
210 walk_wild_file_in_exclude_list function.
211 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
212 (print_wild_statement): Print new exclude_name_list field.
213 (lang_add_wild): Initialise new exclude_name_list field.
214 * testsuite/ld-scripts/exclude-file-1.d: New file.
215 * testsuite/ld-scripts/exclude-file-1.map: New file.
216 * testsuite/ld-scripts/exclude-file-1.t: New file.
217 * testsuite/ld-scripts/exclude-file-2.d: New file.
218 * testsuite/ld-scripts/exclude-file-2.map: New file.
219 * testsuite/ld-scripts/exclude-file-2.t: New file.
220 * testsuite/ld-scripts/exclude-file-3.d: New file.
221 * testsuite/ld-scripts/exclude-file-3.map: New file.
222 * testsuite/ld-scripts/exclude-file-3.t: New file.
223 * testsuite/ld-scripts/exclude-file-4.d: New file.
224 * testsuite/ld-scripts/exclude-file-4.map: New file.
225 * testsuite/ld-scripts/exclude-file-4.t: New file.
226 * testsuite/ld-scripts/exclude-file-a.s: New file.
227 * testsuite/ld-scripts/exclude-file-b.s: New file.
228 * testsuite/ld-scripts/exclude-file.exp: New file.
229 * ld.texinfo (Input Section Basics): Update description of
230 EXCLUDE_FILE to cover the new features.
231 * NEWS: Mention new EXCLUDE_FILE usage.
232
88bd1539
AB
2332016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
236 based on the original source file name.
237 * testsuite/ld-discard/extern.d: Update object file names.
238 * testsuite/ld-discard/start.d: Likewise.
239 * testsuite/ld-discard/static.d: Likewise.
240 * testsuite/ld-elf/orphan-8.map: Likewise.
241
b709ef7c
AB
2422016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
245 xc16x-*-elf to the list of targets that don't support -shared.
246
6b211b9c
AB
2472016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * ldgram.y: Rename file_NAME_list to section_NAME_list
250 throughout.
251
e23eba97
NC
2522016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
253 Andrew Waterman <andrew@sifive.com>
254
255 Add support for RISC-V architecture.
256 * Makefile.am: Add riscv files.
257 * Makefile.in: Regenerate.
258 * NEWS: Mention the support for this target.
259 * configure.tgt: Add riscv entries.
260 * emulparams/elf32lriscv-defs.sh: New file.
261 * emulparams/elf32lriscv.sh: New file.
262 * emulparams/elf64lriscv-defs.sh: New file.
263 * emulparams/elf64lriscv.sh: New file.
264 * emultempl/riscvelf.em: New file.
265
fb47deda
TP
2662016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
267
268 * ldmain.c (add_archive_element): Initialize input->header.type.
269 * plugin.c (plugin_maybe_claim): Assert the statement is an input
270 statement.
271
e4ce4d94
AM
2722016-10-15 Alan Modra <amodra@gmail.com>
273
274 * emultempl/spu_ovl.o_c: Regenerate.
275
ab2c2251
AM
2762016-10-14 Alan Modra <amodra@gmail.com>
277
278 * scripttempl/DWARF.sc: Add .debug_addr.
279
56fdab47
AM
2802016-10-12 Alan Modra <amodra@gmail.com>
281
282 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
283 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
284 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
285 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
286 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
287
a24bb4f0
NC
2882016-10-11 Nick Clifton <nickc@redhat.com>
289
290 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
291 in objdump.
292 * ld-aarch64/emit-relocs-515.d: Likewise.
293 * ld-aarch64/emit-relocs-516-be.d: Likewise.
294 * ld-aarch64/emit-relocs-516.d: Likewise.
295 * ld-aarch64/farcall-b-plt.d: Likewise.
296 * ld-aarch64/farcall-bl-plt.d: Likewise.
297 * ld-aarch64/gc-plt-relocs.d: Likewise.
298 * ld-aarch64/tls-desc-ie.d: Likewise.
299 * ld-aarch64/tls-tiny-desc.d: Likewise.
300 * ld-aarch64/tls-tiny-gd.d: Likewise.
301 * ld-aarch64/tls-tiny-ie.d: Likewise.
302 * ld-arm/arm-app-abs32.d: Likewise.
303 * ld-arm/arm-app.d: Likewise.
304 * ld-arm/arm-lib-plt32.d: Likewise.
305 * ld-arm/arm-lib.d: Likewise.
306 * ld-arm/armthumb-lib.d: Likewise.
307 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
308 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
309 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
310 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
311 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
312 * ld-arm/farcall-mixed-app-v5.d: Likewise.
313 * ld-arm/farcall-mixed-app.d: Likewise.
314 * ld-arm/farcall-mixed-app2.d: Likewise.
315 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
316 * ld-arm/farcall-mixed-lib.d: Likewise.
317 * ld-arm/ifunc-10.dd: Likewise.
318 * ld-arm/ifunc-14.dd: Likewise.
319 * ld-arm/ifunc-15.dd: Likewise.
320 * ld-arm/ifunc-3.dd: Likewise.
321 * ld-arm/ifunc-4.dd: Likewise.
322 * ld-arm/ifunc-9.dd: Likewise.
323 * ld-arm/long-plt-format.d: Likewise.
324 * ld-arm/mixed-app-v5.d: Likewise.
325 * ld-arm/mixed-app.d: Likewise.
326 * ld-arm/mixed-lib.d: Likewise.
327 * ld-arm/tls-lib-loc.d: Likewise.
328 * ld-cris/dso-pltdis1.d: Likewise.
329 * ld-cris/dso-pltdis2.d: Likewise.
330 * ld-cris/dso12-pltdis.d: Likewise.
331 * ld-elf/symbolic-func.r: Likewise.
332 * ld-frv/fdpic-pie-1.d: Likewise.
333 * ld-frv/fdpic-pie-2.d: Likewise.
334 * ld-frv/fdpic-pie-6.d: Likewise.
335 * ld-frv/fdpic-pie-7.d: Likewise.
336 * ld-frv/fdpic-pie-8.d: Likewise.
337 * ld-frv/fdpic-shared-1.d: Likewise.
338 * ld-frv/fdpic-shared-2.d: Likewise.
339 * ld-frv/fdpic-shared-3.d: Likewise.
340 * ld-frv/fdpic-shared-4.d: Likewise.
341 * ld-frv/fdpic-shared-5.d: Likewise.
342 * ld-frv/fdpic-shared-6.d: Likewise.
343 * ld-frv/fdpic-shared-7.d: Likewise.
344 * ld-frv/fdpic-shared-8.d: Likewise.
345 * ld-frv/fdpic-shared-local-2.d: Likewise.
346 * ld-frv/fdpic-shared-local-8.d: Likewise.
347 * ld-frv/fdpic-static-1.d: Likewise.
348 * ld-frv/fdpic-static-2.d: Likewise.
349 * ld-frv/fdpic-static-6.d: Likewise.
350 * ld-frv/fdpic-static-7.d: Likewise.
351 * ld-frv/fdpic-static-8.d: Likewise.
352 * ld-frv/tls-dynamic-2.d: Likewise.
353 * ld-frv/tls-initial-shared-2.d: Likewise.
354 * ld-frv/tls-relax-shared-2.d: Likewise.
355 * ld-frv/tls-shared-2.d: Likewise.
356 * ld-i386/plt-nacl.pd: Likewise.
357 * ld-i386/plt-pic-nacl.pd: Likewise.
358 * ld-i386/plt-pic.pd: Likewise.
359 * ld-i386/plt.pd: Likewise.
360 * ld-i386/pr19636-1d-nacl.d: Likewise.
361 * ld-i386/pr19636-1d.d: Likewise.
362 * ld-i386/pr19636-2c-nacl.d: Likewise.
363 * ld-i386/pr19636-2c.d: Likewise.
364 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
365 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
366 * ld-ifunc/pr17154-i386.d: Likewise.
367 * ld-ifunc/pr17154-x86-64.d: Likewise.
368 * ld-m68k/plt1-68020.d: Likewise.
369 * ld-m68k/plt1-cpu32.d: Likewise.
370 * ld-m68k/plt1-isab.d: Likewise.
371 * ld-m68k/plt1-isac.d: Likewise.
372 * ld-metag/shared.d: Likewise.
373 * ld-metag/stub_pic_app.d: Likewise.
374 * ld-metag/stub_pic_shared.d: Likewise.
375 * ld-metag/stub_shared.d: Likewise.
376 * ld-s390/tlsbin_64.dd: Likewise.
377 * ld-s390/tlspic_64.dd: Likewise.
378 * ld-tic6x/shlib-1.dd: Likewise.
379 * ld-tic6x/shlib-1b.dd: Likewise.
380 * ld-tic6x/shlib-1rb.dd: Likewise.
381 * ld-tic6x/shlib-app-1.dd: Likewise.
382 * ld-tic6x/shlib-app-1b.dd: Likewise.
383 * ld-tic6x/shlib-app-1r.dd: Likewise.
384 * ld-tic6x/shlib-app-1rb.dd: Likewise.
385 * ld-tic6x/shlib-noindex.dd: Likewise.
386 * ld-vax-elf/export-class-data.dd: Likewise.
387 * ld-vax-elf/plt-local-lib.dd: Likewise.
388 * ld-vax-elf/plt-local.dd: Likewise.
389 * ld-x86-64/bnd-ifunc-2.d: Likewise.
390 * ld-x86-64/bnd-plt-1.d: Likewise.
391 * ld-x86-64/gotpcrel1.dd: Likewise.
392 * ld-x86-64/libno-plt-1b.dd: Likewise.
393 * ld-x86-64/load1c-nacl.d: Likewise.
394 * ld-x86-64/load1c.d: Likewise.
395 * ld-x86-64/load1d-nacl.d: Likewise.
396 * ld-x86-64/load1d.d: Likewise.
397 * ld-x86-64/mov1a.d: Likewise.
398 * ld-x86-64/mov1b.d: Likewise.
399 * ld-x86-64/mov1c.d: Likewise.
400 * ld-x86-64/mov1d.d: Likewise.
401 * ld-x86-64/mov2a.d: Likewise.
402 * ld-x86-64/mov2b.d: Likewise.
403 * ld-x86-64/mov2c.d: Likewise.
404 * ld-x86-64/mov2d.d: Likewise.
405 * ld-x86-64/mpx3.dd: Likewise.
406 * ld-x86-64/mpx4.dd: Likewise.
407 * ld-x86-64/no-plt-1a.dd: Likewise.
408 * ld-x86-64/no-plt-1b.dd: Likewise.
409 * ld-x86-64/no-plt-1c.dd: Likewise.
410 * ld-x86-64/no-plt-1e.dd: Likewise.
411 * ld-x86-64/no-plt-1f.dd: Likewise.
412 * ld-x86-64/no-plt-1g.dd: Likewise.
413 * ld-x86-64/plt-main-bnd.dd: Likewise.
414 * ld-x86-64/plt-nacl.pd: Likewise.
415 * ld-x86-64/plt.pd: Likewise.
416 * ld-x86-64/pr18591.d: Likewise.
417 * ld-x86-64/pr19609-1c.d: Likewise.
418 * ld-x86-64/pr19609-1e.d: Likewise.
419 * ld-x86-64/pr19609-1j.d: Likewise.
420 * ld-x86-64/pr19609-1l.d: Likewise.
421 * ld-x86-64/pr19609-1m.d: Likewise.
422 * ld-x86-64/pr19609-5b.d: Likewise.
423 * ld-x86-64/pr19609-5c.d: Likewise.
424 * ld-x86-64/pr19609-5e.d: Likewise.
425 * ld-x86-64/pr19609-6b.d: Likewise.
426 * ld-x86-64/pr19609-7b.d: Likewise.
427 * ld-x86-64/pr19609-7d.d: Likewise.
428 * ld-x86-64/pr19636-2d.d: Likewise.
429 * ld-x86-64/pr20093-1.d: Likewise.
430 * ld-x86-64/pr20093-2.d: Likewise.
431 * ld-x86-64/pr20253-1b.d: Likewise.
432 * ld-x86-64/pr20253-1d.d: Likewise.
433 * ld-x86-64/pr20253-1f.d: Likewise.
434 * ld-x86-64/pr20253-1h.d: Likewise.
435 * ld-x86-64/pr20253-1j.d: Likewise.
436 * ld-x86-64/pr20253-1l.d: Likewise.
437 * ld-x86-64/protected3.d: Likewise.
438 * ld-x86-64/tlsbin.dd: Likewise.
439 * ld-x86-64/tlsbin2.dd: Likewise.
440 * ld-x86-64/tlsbindesc.dd: Likewise.
441 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
442 * ld-x86-64/tlsdesc.dd: Likewise.
443 * ld-x86-64/tlsdesc.pd: Likewise.
444 * ld-x86-64/tlsgd10.dd: Likewise.
445 * ld-x86-64/tlsgd5.dd: Likewise.
446 * ld-x86-64/tlsgd6.dd: Likewise.
447 * ld-x86-64/tlsgd8.dd: Likewise.
448 * ld-x86-64/tlsgdesc.dd: Likewise.
449 * ld-x86-64/tlspic.dd: Likewise.
450 * ld-x86-64/tlspic2.dd: Likewise.
451
199fa1b7
NC
4522016-10-11 Nick Clifton <nickc@redhat.com>
453
454 PR ld/20535
455 * emultempl/elf32.em (_search_needed): Add support for pseudo
456 environment variables supported by ld.so. Namely $ORIGIN, $LIB
457 and $PLATFORM.
458 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
459 * config.in: Regenerate.
460 * configure: Regenerate.
461
f02cb058
AM
4622016-10-11 Alan Modra <amodra@gmail.com>
463
464 * ldlang.c (lang_do_assignments_1): Descend into output section
465 statements that do not yet have bfd sections. Set symbol section
466 temporarily for symbols defined in such statements to the undefined
467 section. Don't error on data or reloc statements until final phase.
468 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
469 in expld.section.
470 * testsuite/ld-mmix/bpo-10.d: Adjust.
471 * testsuite/ld-mmix/bpo-11.d: Adjust.
472
82057c77
AK
4732016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
474
475 * emulparams/elf64_s390.sh: Move binary start to 16M.
476 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
477 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
478
769553e6
AM
4792016-10-07 Alan Modra <amodra@gmail.com>
480
481 * ldexp.c (MAX): Define.
482 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
483 etree_type.value.
484
b62b1f71
AM
4852016-10-07 Alan Modra <amodra@gmail.com>
486
487 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
488 * testsuite/ld-elf/elf.exp: ..here.
489
249471c0
LC
4902016-10-06 Ludovic Courtès <ludo@gnu.org>
491
492 * emulparams/elf32bmipn32-defs.sh: Shift quote of
493 "x$EMULATION_NAME" to the left to work around
494 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
495
1a0670f3
AM
4962016-10-06 Alan Modra <amodra@gmail.com>
497
498 * lexsup.c: Spell fall through comments consistently and add
499 missing fall through comments.
500
2b804145
AM
5012016-10-06 Alan Modra <amodra@gmail.com>
502
503 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
504 by adding return.
505
94b41882
AM
5062016-10-04 Alan Modra <amodra@gmail.com>
507
508 * ld.texinfo (Expression Section): Update result of arithmetic
509 expressions.
510 * ldexp.c (arith_result_section): New function.
511 (fold_binary): Use it.
512
9ad39107
AM
5132016-10-04 Alan Modra <amodra@gmail.com>
514
515 * ldexp.c (exp_value_fold): New function.
516 (exp_unop, exp_binop, exp_trinop): Use it.
517
76276ff6
AM
5182016-09-30 Alan Modra <amodra@gmail.com>
519
520 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
521 not relocating.
522 * scripttempl/v850_rh850.sc: Likewise.
523
80169c8a
AM
5242016-09-30 Alan Modra <amodra@gmail.com>
525
526 PR ld/20528
527 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
528 multiple .text sections for hppa-linux.
529 * testsuite/ld-elf/pr20528b.d: Likewise.
530
4519d071
AM
5312016-09-30 Alan Modra <amodra@gmail.com>
532
533 * ldmain.c (default_bfd_error_handler): New function pointer.
534 (ld_bfd_error_handler): New function.
535 (main): Arrange to call it on bfd errors/warnings.
536 (ld_bfd_assert_handler): Enable tail call.
537
52d45da3
AM
5382016-09-30 Alan Modra <amodra@gmail.com>
539
540 * ldlang.c (ignore_bfd_errors): Update params.
541
93dc595d
L
5422016-09-29 H.J. Lu <hongjiu.lu@intel.com>
543
544 PR ld/20528
545 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
546 merge 2 sections with different SHF_EXCLUDE.
547 * testsuite/ld-elf/pr20528a.d: New file.
548 * testsuite/ld-elf/pr20528a.s: Likewise.
549 * testsuite/ld-elf/pr20528b.d: Likewise.
550 * testsuite/ld-elf/pr20528b.s: Likewise.
551
2df2751d
CL
5522016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
553
554 PR ld/20608
555 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
556 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
557 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
558 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
559 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
560
c5da1932
VZ
5612016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
562
563 * Makefile.in: Regenerate.
564 * configure: Likewise.
565
005d79fd
AM
5662016-09-26 Alan Modra <amodra@gmail.com>
567
568 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
569 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
570 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
571 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
572 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
573 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
574 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
575 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
576 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
577 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
578 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
579 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
580 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
581 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
582 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
583 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
584 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
585
5025eb7c
AO
5862016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
587
588 PR ld/20595
589 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
590 line and -r option to objdump command line. Match emitted relocs
591 to make sure that superflous relocs are not generated.
592
7c4236c3
AK
5932016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
594
595 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
596 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
597 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
598
0ec22c2c
NC
5992016-09-22 Nick Clifton <nickc@redhat.com>
600
601 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
602 attempts to find a needed library.
603
ad43e107
RS
6042016-09-21 Richard Sandiford <richard.sandiford@arm.com>
605
606 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
607 in addresses.
608 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
609 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
610 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
611 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
612 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
613 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
614 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
615 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
616 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
617 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
618 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
619 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
620 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
621 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
622 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
623 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
624 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
625 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
626 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
627 * testsuite/ld-aarch64/erratum835769.d: Likewise.
628 * testsuite/ld-aarch64/erratum843419.d: Likewise.
629 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
630 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
631 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
632 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
633 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
634 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
635 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
636 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
637 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
638 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
639 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
640 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
641 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
642 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
643 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
644 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
645 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
646 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
647
bb7eff52
RS
6482016-09-21 Richard Sandiford <richard.sandiford@arm.com>
649
650 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
651 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
652
a5bf7d4f
AB
6532016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
654
d4ed4da3 655 * ld.texinfo (Input Section Basics): Expand the description of
a5bf7d4f
AB
656 EXCLUDE_FILE.
657
4f90d84b
TP
6582016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
659
660 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
661 Extensions entry functions in absolute section.
662 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
663
32348c58
CZ
6642016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
665
666 * testsuite/ld-arc/tls-dtpoff.dd: New file.
667 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
668 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
669 * testsuite/ld-arc/tls-relocs.ld: Likewise.
670 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
671
29063f8b
NC
6722016-09-14 Nick Clifton <nickc@redhat.com>
673
674 PR ld/20537
675 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
676 OPTION_NO_EH_FRAME_HDR.
677 (_add_options): Add support for --no-eh-frame-hdr.
678 * ld.texinfo: Document new option.
679 * lexsup.c (elf_shlib_list_options): List new option.
680 * NEWS: Mention the new option.
681
d8457a04
L
6822016-09-06 H.J. Lu <hongjiu.lu@intel.com>
683
684 PR ld/20550
685 * testsuite/ld-x86-64/pr20550a.s: New file.
686 * testsuite/ld-x86-64/pr20550b.s: Likewise.
687 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
688 PR ld/20550.
689
22d6c51b
NC
6902016-09-06 Nick Clifton <nickc@redhat.com>
691
692 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
693 without any sanitization options.
694 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
695 any sanitization options.
696 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
697 as CFLAGS and CXXFLAGS respectively.
698
bf186506
SKS
6992016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
700
701 PR ld/20545
702 * testsuite/ld-avr/avr-prop-7.d: New test.
703 * testsuite/ld-avr/avr-prop-7.s: New test.
704 * testsuite/ld-avr/avr-prop-8.d: New test.
705 * testsuite/ld-avr/avr-prop-8.s: New test.
706
1b2d85b2
L
7072016-09-02 H.J. Lu <hongjiu.lu@intel.com>
708
709 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
710 targets.
711 * testsuite/ld-elf/pr20513d.d: Likewise.
712
652a8f4f
L
7132016-09-01 H.J. Lu <hongjiu.lu@intel.com>
714
715 PR ld/20513
716 * testsuite/ld-elf/pr20513a.d: New file.
717 * testsuite/ld-elf/pr20513a.s: Likewise.
718 * testsuite/ld-elf/pr20513b.d: Likewise.
719 * testsuite/ld-elf/pr20513b.s: Likewise.
720 * testsuite/ld-elf/pr20513c.d: Likewise.
721 * testsuite/ld-elf/pr20513d.d: Likewise.
722 * testsuite/ld-elf/pr20513e.d: Likewise.
723 * testsuite/ld-elf/pr20513f.d: Likewise.
724
2e84f9c1
AM
7252016-08-31 Alan Modra <amodra@gmail.com>
726
727 PR 20513
728 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
729
3e8c34ea
AM
7302016-08-31 Alan Modra <amodra@gmail.com>
731
732 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
733 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
734 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
735 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
736 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
737
b2b38362
CM
7382016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
739
740 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
741 * testsuite/ld-arc/tls_ie-01.d: Likewise.
742
3c4f3228
L
7432016-08-29 H.J. Lu <hongjiu.lu@intel.com>
744
745 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
746 if ifunc attribute works.
747
74437ea2
L
7482016-08-29 H.J. Lu <hongjiu.lu@intel.com>
749
750 PR ld/14961
751 PR ld/20515
752 * testsuite/ld-i386/i386.exp: Run pr20515.
753 * testsuite/ld-i386/pr20515.d: New file.
754 * testsuite/ld-i386/pr20515.s: Likewise.
755 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
756 function.
757 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
758 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
759 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
760 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
761 * testsuite/ld-x86-64/x86-64.exp: Here.
762 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
763 * testsuite/ld-x86-64/pr19784a.c: Here.
764 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
765 * testsuite/ld-x86-64/pr19784b.c: Here.
766 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
767 * testsuite/ld-x86-64/pr19784c.c: Here.
768
68c39892
TP
7692016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
770
771 * emultempl/armelf.em (params): New static variable.
772 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
773 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
774 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
775 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
776 above new structure.
777 (arm_elf_before_allocation): Access static variable from the params
778 structure.
779 (gld${EMULATION_NAME}_finish): Likewise.
780 (arm_elf_create_output_section_statements): Likewise and pass the
781 address of that structure to bfd_elf32_arm_set_target_relocs instead
782 of the static variables.
783 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
784 structure.
785
980aa3e6
CM
7862016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
787
788 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
789 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
790
4dd72ffd
CM
7912016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
792
793 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
794 * testsuite/ld-arc/tls_ie-01.d: Likewise
795
0955507f
TP
7962016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
797
798 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
799 variable.
800 (arm_elf_create_output_section_statements): Open import input library
801 file for writing and pass resulting in_implib_bfd to
802 bfd_elf32_arm_set_target_relocs.
803 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
804 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
805 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
806 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
807 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
808 (--in-implib): Document new option.
809 * NEWS: Likewise.
810 * testsuite/ld-arm/arm-elf.exp
811 (Secure gateway import library generation): add --defsym VER=1 to gas
812 CLI.
813 (Secure gateway import library generation: errors): Likewise.
814 (Input secure gateway import library): New test.
815 (Input secure gateway import library: no output import library):
816 Likewise.
817 (Input secure gateway import library: not an SG input import library):
818 Likewise.
819 (Input secure gateway import library: earlier stub section base):
820 Likewise.
821 (Input secure gateway import library: later stub section base):
822 Likewise.
823 (Input secure gateway import library: veneer comeback): Likewise.
824 (Input secure gateway import library: entry function change):
825 Likewise.
826 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
827 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
828 * testsuite/ld-arm/cmse-new-implib.out: New file.
829 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
830 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
831 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
832 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
833 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
834 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
835
4811ccb4
AM
8362016-08-25 Alan Modra <amodra@gmail.com>
837
838 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
839 support for BE. First output all target endian configury
840 values, then opposite endian. Handle more tooldirs. Fix
841 bogus matches with strings in MANUF-OS part of target triple.
842
d44ea5d0
AM
8432016-08-23 Alan Modra <amodra@gmail.com>
844
845 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
846 twice.
847
dd905818
NC
8482016-08-19 Nick Clifton <nickc@redhat.com>
849
576438f0
NC
850 * emultempl/aarch64elf.em (before_parse): Initialise the relro
851 field in the link_info structure.
852 * emultempl/armelf.em (before_parse): Likewise.
853 * emultempl/linux.em (before_parse): Likewise.
854 * emultempl/scoreelf.em (before_parse): Likewise.
855
dd905818
NC
856 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
857 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
858 * testsuite/ld-alpha/tlspic.rd: Likewise.
859 * testsuite/ld-cris/libdso-2.d: Likewise.
860 * testsuite/ld-i386/nogot1.d: Likewise.
861 * testsuite/ld-i386/pr12718.d: Likewise.
862 * testsuite/ld-i386/pr12921.d: Likewise.
863 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
864 * testsuite/ld-i386/tlsbin.rd: Likewise.
865 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
866 * testsuite/ld-i386/tlsbin2.rd: Likewise.
867 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
868 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
869 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
870 * testsuite/ld-i386/tlsdesc.rd: Likewise.
871 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
872 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
873 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
874 * testsuite/ld-i386/tlsnopic.rd: Likewise.
875 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
876 * testsuite/ld-i386/tlspic.rd: Likewise.
877 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
878 * testsuite/ld-i386/tlspic2.rd: Likewise.
879 * testsuite/ld-ia64/tlsbin.rd: Likewise.
880 * testsuite/ld-ia64/tlspic.rd: Likewise.
881 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
882 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
883 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
884 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
885 * testsuite/ld-mmix/bspec1.d: Likewise.
886 * testsuite/ld-mmix/bspec2.d: Likewise.
887 * testsuite/ld-mmix/local1.d: Likewise.
888 * testsuite/ld-mmix/local3.d: Likewise.
889 * testsuite/ld-mmix/local5.d: Likewise.
890 * testsuite/ld-mmix/local7.d: Likewise.
891 * testsuite/ld-mmix/undef-3.d: Likewise.
892 * testsuite/ld-powerpc/tlsexe.r: Likewise.
893 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
894 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
895 * testsuite/ld-powerpc/tlsso.r: Likewise.
896 * testsuite/ld-powerpc/tlsso32.r: Likewise.
897 * testsuite/ld-powerpc/tlstocso.r: Likewise.
898 * testsuite/ld-s390/tlsbin.rd: Likewise.
899 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
900 * testsuite/ld-s390/tlspic.rd: Likewise.
901 * testsuite/ld-s390/tlspic_64.rd: Likewise.
902 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
903 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
904 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
905 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
906 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
907 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
908 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
909 * testsuite/ld-sh/tlsbin-2.d: Likewise.
910 * testsuite/ld-sh/tlspic-2.d: Likewise.
911 * testsuite/ld-sparc/gotop32.rd: Likewise.
912 * testsuite/ld-sparc/gotop64.rd: Likewise.
913 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
914 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
915 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
916 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
917 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
918 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
919 * testsuite/ld-tic6x/common.d: Likewise.
920 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
921 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
922 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
923 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
924 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
925 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
926 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
927 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
928 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
929 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
930 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
931 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
932 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
933 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
934 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
935 * testsuite/ld-x86-64/nogot1.d: Likewise.
936 * testsuite/ld-x86-64/pr12718.d: Likewise.
937 * testsuite/ld-x86-64/pr12921.d: Likewise.
938 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
939 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
940 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
941 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
942 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
943 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
944 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
945 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
946 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
947 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
948 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
949 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
950 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
951 * testsuite/ld-x86-64/tlspic.rd: Likewise.
952 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
953 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
954 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
955 * testsuite/ld-xtensa/tlspic.rd: Likewise.
956
626c539f
AM
9572016-08-18 Alan Modra <amodra@gmail.com>
958
959 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
960 unresolved.
961
90ac2420
AM
9622016-08-12 Alan Modra <amodra@gmail.com>
963
964 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
965 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
966 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
967 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
968 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
969 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
970 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
971 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
972 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
973 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
974 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
975 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
976 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
977
bf174910
AM
9782016-08-12 Alan Modra <amodra@gmail.com>
979
980 * testsuite/ld-undefined/weak-fundef.s: New.
981 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
982 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
983 much of old code. Use is_elf_format to select targets.
984
8be1e369
AM
9852016-08-11 Alan Modra <amodra@gmail.com>
986
987 PR ld/20436
988 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
989 remote_exec status.
990 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
991
7f6bf02d
NC
9922016-08-11 Nick Clifton <nickc@redhat.com>
993
994 PR ld/20436
995 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
996 testing remotely, check to see if target compiler is installed
997 before trying to run it.
998
3807734d
MR
9992016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1000
1001 PR ld/15428
1002 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
1003 test 2.
1004
0375b0a5
MR
10052016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1006
1007 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
1008 test.
1009 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
1010 test.
1011 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
1012 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
1013 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1014 source.
1015 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1016 source.
1017 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1018
5ff55910
L
10192016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 PR ld/20436
1022 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1023 proc.
1024 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1025 returns 0.
1026 (check_lto_fat_available): Likewise.
1027 (check_lto_shared_available): Likewise.
1028
7cfee229
RM
10292016-08-09 Roland McGrath <roland@hack.frob.com>
1030
1031 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1032
54ddd295
TP
10332016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1034
1035 * emultempl/armelf.em (cmse_implib): Declare and define this new
1036 static variable.
1037 (arm_elf_create_output_section_statements): Add new cmse_implib
1038 parameter.
1039 (OPTION_CMSE_IMPLIB): Define macro.
1040 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1041 (PARSE_AND_LIST_OPTIONS): Likewise.
1042 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1043 * ld.texinfo (--cmse-implib): Document new option.
1044 * testsuite/ld-arm/arm-elf.exp
1045 (Secure gateway import library generation): New test.
1046 (Secure gateway import library generation: errors): Likewise.
1047 * testsuite/ld-arm/cmse-implib.s: New file.
1048 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1049 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1050
4ba2ef8f
TP
10512016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1052
1053 * ld.texinfo (Placement of SG veneers): New concept entry.
1054 * testsuite/ld-arm/arm-elf.exp
1055 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1056 (Secure gateway veneers: wrong entry functions): Likewise.
1057 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1058 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1059 * testsuite/ld-arm/cmse-veneers.s: New file.
1060 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1061 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1062 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1063 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1064 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1065
a94d834c
NC
10662016-08-02 Nick Clifton <nickc@redhat.com>
1067
1068 PR ld/17739
1069 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1070 valye 'yes'.
1071 * emulparams/shelf32.sh: Likewise.
1072 * emulparams/shelf32.sh: Likewise.
1073 * emulparams/shelf_nto.sh: Likewise.
1074 * emulparams/shelf_nto.sh: Likewise.
1075 * emulparams/shelf_vxworks.sh: Likewise.
1076 * emulparams/shelf_vxworks.sh: Likewise.
1077 * emulparams/shlelf32_linux.sh: Likewise.
1078 * emulparams/shlelf32_linux.sh: Likewise.
1079 * emulparams/shlelf_linux.sh: Likewise.
1080 * emulparams/shlelf_linux.sh: Likewise.
1081 * emulparams/shlelf_nto.sh: Likewise.
1082 * emulparams/shlelf_nto.sh: Likewise.
1083
7bd374a4
MR
10842016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1085
1086 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1087 patterns for branch compaction.
1088 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1089 Likewise.
1090
61d2d2b5
NC
10912016-07-27 Nick Clifton <nickc@redhat.com>
1092
1093 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1094 test to targets which support cfi.
1095
7fca8e8f
IK
10962016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1097
1098 * ldbuildid.c (generate_build_id): Warning fix.
1099
54806ffa
MR
11002016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1101
1102 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1103 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1104 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1105 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1106 test.
1107 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1108 test.
1109 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1110 New test.
1111 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1112 New test.
1113 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1114 New test.
1115 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1116 New test.
1117 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1118 New test.
1119 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1120 New test.
1121 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1122 New test.
1123 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1124 New test.
1125 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1126
d0d4152f
IK
11272016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1128
1129 * ldbuildid.c: Changes for MinGW32:
1130 Include windows.h and rpcdce.h.
1131 (validate_build_id_style): Allow "uuid" style.
1132 (generate_build_id): Fill in id_bits using UuidCreate().
1133
95804507
AM
11342016-07-25 Alan Modra <amodra@gmail.com>
1135
1136 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1137 and m32r. Correct comment. Relax ld -r match to account for
1138 msp increased number of default sections.
1139
c02d11a5
CM
11402016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1141
1142 * testsuite/ld-arc/got-01.d: New file.
1143 * testsuite/ld-arc/got-01.s: New file.
1144
fecd57f9
L
11452016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * configure: Regenerated.
1148
982c6f26
AM
11492016-07-21 Alan Modra <amodra@gmail.com>
1150
1151 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1152 "targets_to_xfail" parameter with "args".
1153 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1154 all calls to run_ld_link_exec_tests.
1155 * testsuite/ld-elf/dwarf.exp: Likewise.
1156 * testsuite/ld-elf/indirect.exp: Likewise.
1157 * testsuite/ld-elf/wrap.exp: Likewise.
1158 * testsuite/ld-i386/i386.exp: Likewise.
1159 * testsuite/ld-i386/no-plt.exp: Likewise.
1160 * testsuite/ld-i386/tls.exp: Likewise.
1161 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1162 * testsuite/ld-pie/pie.exp: Likewise.
1163 * testsuite/ld-plugin/lto.exp: Likewise.
1164 * testsuite/ld-size/size.exp: Likewise.
1165 * testsuite/ld-x86-64/mpx.exp: Likewise.
1166 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1167 * testsuite/ld-x86-64/tls.exp: Likewise.
1168 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1169 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1170 xfails and simplify lists.
1171 * testsuite/ld-elf/shared.exp: Likewise.
1172
5df1bc57
AM
11732016-07-21 Alan Modra <amodra@gmail.com>
1174
1175 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1176 parameter to pass list of xfails.
1177 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1178 implib test formatting. Don't set .data start address.
1179 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1180 replace second one with equivalent .section directive.
1181 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1182 * testsuite/ld-elf/implib.rd: Update.
1183
b751e639
AM
11842016-07-20 Alan Modra <amodra@gmail.com>
1185
1186 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1187 fold expression.
1188 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1189
3af09e8d
RM
11902016-07-19 Roland McGrath <roland@hack.frob.com>
1191
1192 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1193 * emulparams/aarch64elf32.sh: Likewise.
1194
a6ebf616
MR
11952016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1196
1197 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1198 messages expected.
1199 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1200 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1201 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1202 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1203 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1204 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1205 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1206 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1207 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1208 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1209 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1210 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1211 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1212 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1213 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1214 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1215 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1216 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1217 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1218 source.
1219 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1220 source.
1221 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1222
9d862524
MR
12232016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1224
1225 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1226 expected.
1227 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1228 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1229 Likewise.
1230 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1231 Likewise.
1232 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1233 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1234 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1235 microMIPS BAL and MIPS16 instructions.
1236 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1237 accordingly.
1238 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1239 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1240 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1241 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1242 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1243 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1244 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1245 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1246 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1247
ace667e5
AB
12482016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1249
1250 * plugin.c (plugin_call_claim_file): Restore the file offset after
1251 an unsuccessful attempt to claim a file.
1252 * testplug.c (bytes_to_read_before_claim): New global.
1253 (record_read_length): New function, sets new global
1254 bytes_to_read_before_claim.
1255 (parse_option): Handle 'read:<NUMBER>' option.
1256 (onclaim_file): Read file content before checking for claim.
1257 * testsuite/ld-plugin/plugin-30.d: New file.
1258 * testsuite/ld-plugin/plugin.exp: Add new test.
1259
7d0b9ebc
AM
12602016-07-16 Alan Modra <amodra@gmail.com>
1261
1262 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1263 before bfd/plugin.h.
1264 (plugin_object_p): Use bfd_plugin_open_input.
1265
4212b42d
AM
12662016-07-16 Alan Modra <amodra@gmail.com>
1267
1268 * ldlang.c (open_output): Replace bfd_search_for_target with
1269 bfd_iterate_over_targets. Localize vars.
1270
76e7a751
AM
12712016-07-16 Alan Modra <amodra@gmail.com>
1272
1273 * ldlang.c: Don't include libbfd.h.
1274 * emultempl/nds32elf.em: Likewise.
1275 * emultempl/ppc64elf.em: Likewise.
1276 * emultempl/ppc32elf.em: Likewise.
1277 (pagesize): Delete.
1278 (params): Update init.
1279 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1280 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1281 * emultempl/sh64elf.em: Don't include libbfd.h.
1282 (after_allocation): Use ASSERT, not BFD_ASSERT.
1283 * emultempl/xtensaelf.em: Don't include libbfd.h.
1284 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1285 * Makefile.am: Update dependencies.
1286 * Makefile.in: Regenerate.
1287
76359541
TP
12882016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1289 Nick Clifton <nickc@redhat.com>
1290
1291 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1292 library file for writing and initialize implib_bfd field of link_info
1293 structure.
1294 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1295 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1296 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1297 (gld_${EMULATION_NAME}_list_options): Likewise.
1298 (gld${EMULATION_NAME}_handle_option): Likewise.
1299 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1300 instead of pe_implib_filename.
1301 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1302 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1303 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1304 (gld_${EMULATION_NAME}_list_options): Likewise.
1305 (gld${EMULATION_NAME}_handle_option): Likewise.
1306 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1307 instead of pep_implib_filename.
1308 * ld.h (args_type): Declare new out_implib_filename field.
1309 * ld.texinfo (--out-implib): Move documentation to arch-independent
1310 part and rephrase to apply to ELF targets.
1311 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1312 defined in linker scripts.
1313 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1314 enumerator.
1315 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1316 (parse_args): Handle OPTION_OUT_IMPLIB case.
1317 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1318 (Generate import library): Likewise.
1319 * testsuite/ld-elf/implib.s: Likewise.
1320 * testsuite/ld-elf/implib.rd: New file.
1321 * testsuite/ld-elf/empty-implib.out: Likewise
1322
f7e8b360
NC
13232016-07-15 Nick Clifton <nickc@redhat.com>
1324
1325 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1326 little endian mode.
1327
b416ba9b
MR
13282016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1329
1330 * testsuite/ld-mips-elf/mips-elf.exp: Run
1331 `branch-absolute-addend', `mips16-branch-absolute',
1332 `mips16-branch-absolute-addend' and
1333 `micromips-branch-absolute-addend'.
1334
96e9ba5f
MR
13352016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1336
1337 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1338 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1339 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1340 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1341 test.
1342 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1343 test.
1344 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1345 test.
1346 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1347 from `mips16-branch-absolute' and
1348 `mips16-branch-absolute-addend', referred indirectly only.
1349
0c117286
MR
13502016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1351
1352 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1353 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1354 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1355 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1356 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1357 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1358 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1359 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1360 test.
1361 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1362 test.
1363 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1364 test.
1365 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1366 New test.
1367 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1368 New test.
1369 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1370 from `branch-absolute-addend' and
1371 `micromips-branch-absolute-addend', referred indirectly only.
1372
fa1c0170
CZ
13732016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1374
1375 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1376 * testsuite/ld-arc/sda-relocs.dd: New file.
1377 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1378 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1379 * testsuite/ld-arc/sda-relocs.s: Likewise.
1380 * testsuite/ld-arc/arc.exp: Add SDA tests.
1381
764cfd4a
CZ
13822016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1383
1384 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1385 verbosity.
1386
32a0481f
AM
13872016-07-09 Alan Modra <amodra@gmail.com>
1388
1389 * testsuite/ld-powerpc/elfv2exe.d: Update.
1390
3a5ce950 13912016-07-06 James Bowman <james.bowman@ftdichip.com>
1392
1393 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1394 (DATA): add ALIGN.
1395 (BSS): add ALIGN
1396
29d7478b
L
13972016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1398
1399 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1400
d5a67c02
AV
14012016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1402
1403 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1404 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1405 * testsuite/ld-arm/arm-elf.exp: Run it.
1406
f0728ee3
AV
14072016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1408
1409 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1410 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1411 all noread's by purecode.
1412
1753ed68
JB
14132016-07-05 Jan Beulich <jbeulich@suse.com>
1414
1415 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1416 assignment line number.
1417 * ldlex.l (lineno): Drop initializer.
1418 (<<EOF>>): Set lineno to zero after reaching top of stack.
1419
c3e1c28e
L
14202016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 PR ld/20321
1423 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1424 been loaded already.
1425 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1426 * testsuite/ld-plugin/pr20321.c: New file.
1427
1dc8bf19
NC
14282016-07-04 Nick Clifton <nickc@redhat.com>
1429
1430 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1431 (__RAMSIZE): If not defined, set to 64K.
1432 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1433 size to __RAMSIZE.
1434
6f50d611
MR
14352016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1436
1437 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1438 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1439
5e866f5a
TP
14402016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1441
1442 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1443 (Thumb-2 BL on ARMv6-M): New testcase.
1444 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1445 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1446
96a84ea3
TG
14472016-07-01 Tristan Gingold <gingold@adacore.com>
1448
1449 * NEWS: Add marker for 2.27.
1450
f4ab0e2d
L
14512016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1454 * ld-gc/pr20306.c: New file.
1455 * ld-gc/pr20306.d: Likewise.
1456
1b857aee
NC
14572016-06-28 Nick Clifton <nickc@redhat.com>
1458
1459 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1460 for bfin.
1461 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1462 tests to fail for bfin.
1463 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1464 nds32 and visium.
1465 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1466 microblaze.
1467 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1468 mcore-pe.
1469
14702016-06-28 Nick Clifton <nickc@redhat.com>
1471
1472 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1473 expect to fail this test.
1474 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1475 RX.
1476 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1477 fail for the RX.
1478 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1479 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1480 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1481 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1482 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1483
7160c10d
JC
14842016-06-28 James Clarke <jrtc27@jrtc27.com>
1485
1486 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1487 .text.
1488
6c9a7fb6
MR
14892016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1490
1491 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1492 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1493 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1494 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1495
56a30421
AM
14962016-06-28 Alan Modra <amodra@gmail.com>
1497
1498 PR ld/20302
1499 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1500
c9775dde
MR
15012016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1502
1503 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1504 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1505 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1506 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1507 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1508 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1509
42b7a39b
NC
15102016-06-27 Nick Clifton <nickc@redhat.com>
1511
1512 PR ld/20302
1513 * lexsup.c (set_segment_start): If resetting the start address of
1514 a section, remember to generate a new script element as well.
1515 * testsuite/ld-scripts/pr20302.d: New test.
1516 * testsuite/ld-scripts/scripts.exp: Run the new test.
1517
78da3bc1
AM
15182016-06-24 Alan Modra <amodra@gmail.com>
1519
1520 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1521 Don't error out, always return an emulation.
1522
da4463c7
L
15232016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1524 H.J. Lu <hongjiu.lu@intel.com>
1525
1526 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1527 for -z relro help message.
1528
4041bc9b
MR
15292016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1530
1531 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1532 address matching.
1533
4861b804
MR
15342016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1535
1536 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1537 `undefweak-overflow' tests.
1538
647e4d46
L
15392016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 PR ld/20283
1542 * NEWS: Mention --enable-relro.
1543 * configure.ac: Add --enable-relro.
1544 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1545 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1546 some Linux targets.
1547 * config.in: Regenerated.
1548 * configure: Likewise.
1549 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1550 link_info.relro to DEFAULT_LD_Z_RELRO.
1551 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1552 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1553 $ld_elf_shared_opt to ld for ELF targets with shared object
1554 support.
1555 (run_ld_link_tests): Likewise.
1556
5f68df25
MR
15572016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1558
1559 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1560 twice rather than once.
1561 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1562 accordingly. Remove the full stop from the end of the message.
1563
bdd582db
GM
15642016-06-21 Graham Markall <graham.markall@embecosm.com>
1565
1566 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1567 * testsuite/ld-arc/nps-1b.d: Likewise.
1568
7dc3990e
L
15692016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 PR ld/20267
1572 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1573 PR ld/20267.
1574 (lto_run_tests): Likewise.
1575 * testsuite/ld-plugin/pr20267a.c: New file.
1576 * testsuite/ld-plugin/pr20267b.c: Likewise.
1577
0616a280
AM
15782016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1579 Alan Modra <amodra@gmail.com>
1580
1581 PR ld/20276
1582 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1583 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1584 PR ld/20276.
1585 (lto_run_tests): Likewise.
1586 * testsuite/ld-plugin/pass.out: New file.
1587 * testsuite/ld-plugin/pr20276a.c: Likewise.
1588 * testsuite/ld-plugin/pr20276b.c: Likewise.
1589
49f30d83
L
15902016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1593 with bfd_plugin_unknown.
1594
233cc9c1
L
15952016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 PR ld/20253
1598 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1599 * testsuite/ld-i386/no-plt.exp: Likewise.
1600 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1601 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1602 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1603 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1604 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1605 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1606 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1607 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1608 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1609 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1610 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1611 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1612 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1613 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1614 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1615 * testsuite/ld-i386/pr20244-2b.d: Updated.
1616 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1617 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1618 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1619 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1620 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1621 * testsuite/ld-i386/pr20253-1a.c: New file.
1622 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1623 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1624 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1625 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1626 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1627 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1628 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1629 * testsuite/ld-i386/pr20253-3.d: Likewise.
1630 * testsuite/ld-i386/pr20253-3.s: Likewise.
1631 * testsuite/ld-i386/pr20253-4.s: Likewise.
1632 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1633 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1634 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1635 * testsuite/ld-i386/pr20253-5.d: Likewise.
1636 * testsuite/ld-i386/pr20253-5.s: Likewise.
1637 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1638 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1639 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1640 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1641 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1642 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1643 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1644 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1645 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1646 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1647 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1648 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1649 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1650 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1651 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1652 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1653 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1654 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1655 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1656 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1657 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1658 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1659 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1660 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1661 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1662 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1663 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1664 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1665 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1666 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1667 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1668 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1669 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1670 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1671 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1672 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1673 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1674 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1675 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1676 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1677 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1678 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1679 relocation.
1680 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1681 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1682 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1683 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1684 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1685
80c135e5
TP
16862016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1687 Tony Wang <tony.wang@arm.com>
1688
1689 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1690 Assemble for ARMv6-M.
1691 (Thumb2-Thumb2 farcall M profile): New testcase.
1692 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1693 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1694 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1695 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1696
ca45f6e9
L
16972016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1700 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1701 Remove .rel.plt section.
1702 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1703
3a4b0e0f
L
17042016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1707 function pointer.
1708 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1709 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1710 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1711 function pointer.
1712 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1713 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1714 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1715 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1716 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1717 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1718 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1719 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1720 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1721 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1722 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1723 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1724 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1725 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1726 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1727 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1728 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1729 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1730 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1731
31eef93e
SKS
17322016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1733
1734 PR ld/20254
1735 * testsuite/ld-avr/avr-prop-6.d: New test.
1736 * testsuite/ld-avr/avr-prop-6.s: New test.
1737
0aa7f586
AM
17382016-06-14 Alan Modra <amodra@gmail.com>
1739
1740 * ldbuildid.c: Formatting.
1741 * ldcref.c: Formatting.
1742 * ldctor.c: Formatting.
1743 * ldemul.c: Formatting.
1744 * ldexp.c: Formatting.
1745 * ldfile.c: Formatting.
1746 * ldlang.c: Formatting.
1747 * ldmain.c: Formatting.
1748 * ldwrite.c: Formatting.
1749
3860d2b4
AM
17502016-06-14 Alan Modra <amodra@gmail.com>
1751
1752 * ldlang.c: Expand uses of bfd_my_archive.
1753 * ldmain.c: Likewise.
1754 * ldmisc.c: Likewise.
1755 * plugin.c: Likewise.
1756
b0cffb47
AM
17572016-06-14 Alan Modra <amodra@gmail.com>
1758
1759 PR ld/20241
1760 * ldmain.c (add_archive_element): Just print file name of file within
1761 thin archives.
1762 * ldmisc.c (vfinfo): Likewise.
1763 * plugin.c (plugin_object_p): Open file within thin archives.
1764 (plugin_maybe_claim): Expand comment.
1765
712ec279
L
17662016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1767
1768 PR ld/20244
1769 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1770 pr20244-2c and pr20244-2d.
1771 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1772 * testsuite/ld-i386/pr20244-2.s: New file.
1773 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1774 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1775 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1776 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1777 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1778 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1779 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1780 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1781
ca8c86ef
L
17822016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1785 * testsuite/ld-i386/ifunc-1a.c: New file.
1786 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1787 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1788 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1789
82f46e2c
CM
17902016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1791
1792 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1793 big endian ARC targets.
1794
6d84fed1
L
17952016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1796
1797 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1798 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1799 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1800 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1801 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1802 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1803 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1804 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1805 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1806 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1807 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1808 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1809 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1810 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1811 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1812
74d7f0aa
L
18132016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 PR ld/20244
1816 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1817 * testsuite/ld-i386/pr20244-1.s: New file.
1818 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1819 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1820 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1821
5c41dbc3
DC
18222016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1823
1824 PR ld/20221
1825 * testsuite/ld-avr/avr-prop-5.d: New.
1826 * testsuite/ld-avr/avr-prop-5.s: New.
1827
1857fe72 18282016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 1829
1857fe72
DC
1830 * testsuite/ld-avr/lds-mega.d: New test.
1831 * testsuite/ld-avr/lds-mega.s: New test source.
1832 * testsuite/ld-avr/lds-tiny.d: New test.
1833 * testsuite/ld-avr/lds-tiny.s: New test source.
1834
cd41072b
L
18352016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1838 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1839 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1840 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1841 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1842 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1843 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1844 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1845 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1846 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1847 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1848 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1849 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1850 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1851 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1852 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1853 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1854 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1855 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1856 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1857 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1858 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1859 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1860 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1861 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1862 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1863 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1864 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1865 * testsuite/ld-i386/no-plt.exp: Likewise.
1866
dcc03cb3
L
18672016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1868
1869 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1870 name.
1871
6eaa7fb5
L
18722016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1873
1874 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1875 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1876 * testsuite/ld-i386/pass.out: New file.
1877 * testsuite/ld-i386/tls-def1.c: Likewise.
1878 * testsuite/ld-i386/tls-gd1.S: Likewise.
1879 * testsuite/ld-i386/tls-ld1.S: Likewise.
1880 * testsuite/ld-i386/tls-main1.c: Likewise.
1881 * testsuite/ld-i386/tls.exp: Likewise.
1882 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1883 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1884 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1885 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1886 * testsuite/ld-i386/tlsbin2.td: Likewise.
1887 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1888 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1889 * testsuite/ld-i386/tlsgd3.s: Likewise.
1890 * testsuite/ld-i386/tlsgd4.d: Likewise.
1891 * testsuite/ld-i386/tlsgd4.s: Likewise.
1892 * testsuite/ld-i386/tlsld2.s: Likewise.
1893 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1894 * testsuite/ld-i386/tlspic2.dd: Likewise.
1895 * testsuite/ld-i386/tlspic2.rd: Likewise.
1896 * testsuite/ld-i386/tlspic2.sd: Likewise.
1897 * testsuite/ld-i386/tlspic2.td: Likewise.
1898 * testsuite/ld-i386/tlspic3.s: Likewise.
1899 * testsuite/ld-i386/tlspie3.s: Likewise.
1900 * testsuite/ld-i386/tlspie3a.d: Likewise.
1901 * testsuite/ld-i386/tlspie3b.d: Likewise.
1902 * testsuite/ld-i386/tlspie3c.d: Likewise.
1903
010bc3ce
L
19042016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1907 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1908 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1909 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1910 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1911 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1912 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1913 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1914
1f26b7ae
L
19152016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1918 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1919 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1920 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1921 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1922 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1923 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1924 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1925 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1926 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1927 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1928 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1929 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1930 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1931 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1932 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1933 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1934 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1935 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1936 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1937 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1938
1133012c
MR
19392016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1940
1941 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1942
161db279
AK
19432016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1944
1945 * testsuite/ld-s390/pltoffset-1.dd: New test.
1946 * testsuite/ld-s390/pltoffset-1.ld: New test.
1947 * testsuite/ld-s390/pltoffset-1.s: New test.
1948 * testsuite/ld-s390/s390.exp: Run new test.
1949
14b57c7c
AM
19502016-06-07 Alan Modra <amodra@gmail.com>
1951
1952 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1953 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1954 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1955
e2cbcd91
L
19562016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * testsuite/ld-x86-64/pass.out: New file.
1959 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1960 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1961 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1962 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1963 * testsuite/ld-x86-64/tls.exp: Likewise.
1964 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1965 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1966 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1967 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1968 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1969 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1970 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1971 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1972 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1973 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1974 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1975 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1976 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1977 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1978 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1979 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1980 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1981 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1982 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1983 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1984 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1985 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1986 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1987 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1988 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1989 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1990 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1991 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1992 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1993 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1994 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1995 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1996 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1997 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1998 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1999 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
2000 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
2001 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
2002 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
2003 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
2004 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
2005 tlspie2c.
2006
2ac27cd3
CG
20072016-06-04 Christian Groessler <chris@groessler.org>
2008
67cb102b
CG
2009 * testsuite/ld-z8k/0filler.s: New file.
2010 * testsuite/ld-z8k/branch-target.s: New file.
2011 * testsuite/ld-z8k/branch-target2.s: New file.
2012 * testsuite/ld-z8k/calr-back-8001.d: New file.
2013 * testsuite/ld-z8k/calr-back-8002.d: New file.
2014 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2015 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2016 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2017 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2018 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2019 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2020 * testsuite/ld-z8k/calr-opcode.s: New file.
2021 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2022 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2023 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2024 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2025 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2026 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2027 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2028 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2029 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2030 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2031 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2032 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2033 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2034 * testsuite/ld-z8k/djnz-opcode.s: New file.
2035 * testsuite/ld-z8k/filler.s: New file.
2036 * testsuite/ld-z8k/jr-back-8001.d: New file.
2037 * testsuite/ld-z8k/jr-back-8002.d: New file.
2038 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2039 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2040 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2041 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2042 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2043 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2044 * testsuite/ld-z8k/jr-opcode.s: New file.
2045 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2046 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2047 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2048 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2049 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2050 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2051 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2052 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2053 * testsuite/ld-z8k/ldr-opcode.s: New file.
2054 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2055 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2056 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2057 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2058 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2059 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2060 * testsuite/ld-z8k/other-file.s: New file.
2061 * testsuite/ld-z8k/reloc.dd: New file.
2062 * testsuite/ld-z8k/reloc.ld: New file.
2063 * testsuite/ld-z8k/relocseg.dd: New file.
2064 * testsuite/ld-z8k/relocseg.ld: New file.
2065 * testsuite/ld-z8k/relocseg1.dd: New file.
2066 * testsuite/ld-z8k/this-file.s: New file.
2067 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 2068
b1058ce9
L
20692016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2072 with -mrelax-relocations=yes.
2073 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2074 * testsuite/ld-i386/lea1b.d (as): Likewise.
2075 * testsuite/ld-i386/lea1d.d (as): Likewise.
2076 * testsuite/ld-i386/lea1e.d (as): Likewise.
2077 * testsuite/ld-i386/lea1f.d (as): Likewise.
2078 * testsuite/ld-i386/load7.d (as): Likewise.
2079 * testsuite/ld-i386/mov1b.d (as): Likewise.
2080 * testsuite/ld-i386/pr19175.d (as): Likewise.
2081 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2082 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2083 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2084 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2085 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2086
4ad0bb5f
VG
20872016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2088
2089 * configure.tgt: Replace -uclibc with *.
2090
99aefae6
MR
20912016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2092
2093 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2094 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2095 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2096 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2097
3b4412a0
MR
20982016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2099
2100 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2101 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2102 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2103 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2104 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2105 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2106
77434823
MR
21072016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2108
2109 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2110 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2111 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2112 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2113 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2114 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2115 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2116
1a72702b
AM
21172016-05-28 Alan Modra <amodra@gmail.com>
2118
2119 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2120 constructor_callback, warning_callback, undefined_symbol,
2121 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2122 * emultempl/elf32.em: Adjust callback calls.
2123
bc27bb05
MR
21242016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2125
2126 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2127 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2128 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2129 test.
2130 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2131 test.
2132 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2133 test.
2134 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2135 test.
2136 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2137 source.
2138 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2139 source.
2140 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2141
ceab86af
MR
21422016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2143
2144 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2145 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2146 new test.
2147 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2148
ed53407e
MR
21492016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2150
2151 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2152 `unaligned-jalx-2' here.
2153 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2154 `unaligned-jalx-mips16-2' here.
2155 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2156 `unaligned-jalx-micromips-2' here.
2157 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2158 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2159 message.
2160 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2161 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2162 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2163 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2164 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2165 test.
2166 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2167 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2168 `unaligned-lwpc-3' here.
2169 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2170 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2171 `unaligned-lwpc-2' here.
2172 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2173 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2174 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2175 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2176 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2177 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2178 `unaligned-ldpc-4' here.
2179 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2180 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2181 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2182 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2183 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2184 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2185 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2186 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2187 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2188 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2189 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2190
0d832c8e
NC
21912016-05-26 Nick Clifton <nickc@redhat.com>
2192
2193 PR target/20134
2194 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2195 __bsssize.
2196 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2197
de341542 21982016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 2199
de341542
MR
2200 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2201 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2202 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2203 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2204 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2205 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2206 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2207 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2208 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2209 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2210 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2211 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2212 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2213 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2214 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2215 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2216 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2217 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2218 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2219 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2220 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2221 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2222 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2223 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2224 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2225 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2226 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2227 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2228 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2229 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2230 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2231 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2232 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2233
b95a0a31
L
22342016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 PR ld/20103
2237 * ldmain.c (add_archive_element): Don't claim new IR symbols
2238 after all IR symbols have been claimed.
2239 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2240 check.
2241 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2242 Run PR ld/20103 tests.
2243 * testsuite/ld-plugin/pr20103a.c: New file.
2244 * testsuite/ld-plugin/pr20103b.c: Likewise.
2245 * testsuite/ld-plugin/pr20103c.c: Likewise.
2246
44d3da23 22472016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3af09e8d 2248
44d3da23
MR
2249 * testsuite/ld-mips-elf/jalx-local.d: New test.
2250 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2251 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2252 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2253
a2bea324
KS
22542016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2255
2256 * Makefile.am: Add earmelf_phoenix.c.
2257 * Makefile.in: Regenerate.
2258 * configure.tgt: Add entry for arm-phoenix.
2259 * emulparams/armelf_phoenix.sh: New file.
2260
daa4adae
TP
22612016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2262
2263 * emultempl/armelf.em (arm_elf_before_allocation): Call
2264 bfd_elf32_arm_keep_private_stub_output_sections before generic
2265 before_allocation function.
2266
17c6c9d9
MR
22672016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2268
2269 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2270 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2271 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2272 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2273
7d4d9709
L
22742016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 PR ld/20117
2277 * testsuite/ld-i386/i386.exp: Run pr20117.
2278 * testsuite/ld-i386/pr19609-1i.d: Updated.
2279 * testsuite/ld-i386/pr20117.d: New file.
2280 * testsuite/ld-i386/pr20117.s: Likewise.
2281
fc3eec7e
CZ
22822016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2283
2284 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2285 * testsuite/ld-elf/group8a.d: Likewise.
2286 * testsuite/ld-elf/group8b.d: Likewise.
2287 * testsuite/ld-elf/group9a.d: Likewise.
2288 * testsuite/ld-elf/group9b.d: Likewise.
2289 * testsuite/ld-elf/pr12851.d: Likewise.
2290 * testsuite/ld-elf/pr12975.d: Likewise.
2291 * testsuite/ld-elf/pr13177.d: Likewise.
2292 * testsuite/ld-elf/pr13195.d: Likewise.
2293 * testsuite/ld-elf/pr17615.d: Likewise.
2294 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2295 * testsuite/ld-elf/group3b.d: Likewise.
2296 * testsuite/ld-srec/srec.exp: Likewise.
2297 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2298 as supporting gc.
2299 (check_shared_lib_support): Mark ARC as supporting.
2300
c0913ebf
CZ
23012016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2302
2303 * emulparams/arcelf.sh: Changed.
2304 * emulparams/arclinux.sh: Likewise.
2305 * scripttempl/arclinux.sc: Moved to a more standard implementation
2306 similar to elf.sc.
2307
c4107a7d
MR
23082016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2309
2310 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2311 `ft32-*-*' behind `frv-*-*'.
2312
6b200de0
MR
23132016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2314
2315 * configure.tgt: Remove `am34-*-linux*' support.
2316
82bc9362
AM
23172016-05-19 Alan Modra <amodra@gmail.com>
2318
2319 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2320 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2321 * testsuite/ld-scripts/cross3.t: Likewise.
2322 * testsuite/ld-scripts/cross4.t: Likewise.
2323 * testsuite/ld-scripts/cross5.t: Likewise.
2324 * testsuite/ld-scripts/cross6.t: Likewise.
2325 * testsuite/ld-scripts/cross7.t: Likewise.
2326
f1b2ca70
AM
23272016-05-19 Alan Modra <amodra@gmail.com>
2328
2329 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2330 exe name rather than constructing testname. Fix typo in
2331 sub-test name. Log copying. Use -rpath rather than -R.
2332
d1f70bdc
NC
23332016-05-18 Nick Clifton <nickc@redhat.com>
2334
2335 * scripttempl/ft32.sc: Use fixed constants for memory region
2336 lengths. Include DWARF debug sections.
2337 (.data .bss): Do not assign locations during relocatable links.
2338 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2339 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2340 * testsuite/ld-elf/sec64k.exp: Likewise.
2341 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2342 * testsuite/ld-elf/merge.d: Likewise.
2343 * testsuite/ld-elf/orphan-region.d: Likewise.
2344 * testsuite/ld-elf/orphan.s: Likewise.
2345 * testsuite/ld-elf/orphan3.d: Likewise.
2346 * testsuite/ld-elf/pr349.d: Likewise.
2347 * testsuite/ld-elf/warn2.d: Likewise.
2348 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2349 that the FT32 does not support shared libraries.
2350
68bce020
L
23512016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2352
2353 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2354 global CC.
2355
23b5dc39 23562016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
2357
2358 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2359 above .progmem*.
2360 * scripttempl/avrtiny.sc (text): Likewise.
2361
a43942db
MR
23622016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2363
2364 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2365 `supports_gnu_unique' to qualify testing.
2366
69a1c856
MR
23672016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2368
2369 * testsuite/ld-elf/flags1.d: Update the xfail list.
2370
180c87d9
MR
23712016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2372
2373 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2374 removal.
2375
bf6f87e7
L
23762016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 PR ld/20097
2379 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2380 on EXPECTED_VIEW_LENGTH.
2381 * testplug4.c (onall_symbols_read): Likewise.
2382
2168b268
L
23832016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 PR ld/20093
2386 * testsuite/ld-x86-64/pr20093-1.d: New file.
2387 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2388 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2389 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2390 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2391
4ade44b7
AM
23922016-05-13 Alan Modra <amodra@gmail.com>
2393
2394 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2395 Use different output file name for static app without .rel.plt.
2396 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2397 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2398 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2399 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2400 * testsuite/ld-arm/arm-static-app.r: Likewise.
2401
3355cb3b
L
24022016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2403
2404 PR ld/20070
2405 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2406 (libldtestplug4_la_SOURCES): New.
2407 (libldtestplug4_la_CFLAGS): Likewise.
2408 (libldtestplug4_la_LDFLAGS): Likewise.
2409 * Makefile.in: Regenerated.
2410 * plugin.c (get_symbols): Return resolution based on IR symbol
2411 kinds for symbols defined/referenced only within IR.
2412 * testplug4.c: New file.
2413 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2414 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2415 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2416 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2417 (plugin4_path): Likewise.
2418 Add a test for ld/20070.
2419
a464198b
AM
24202016-05-11 Alan Modra <amodra@gmail.com>
2421
2422 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2423 Call elf32_hppa_init_stub_bfd.
2424
3bd43ebc
AM
24252016-05-11 Alan Modra <amodra@gmail.com>
2426
2427 PR 20060
2428 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2429 * testsuite/ld-powerpc/tlsdll.s: New.
2430 * testsuite/ld-powerpc/tlsdll.ver: New.
2431 * testsuite/ld-powerpc/tlsdll_32.s: New.
2432 * testsuite/ld-powerpc/tlsopt5.d: New.
2433 * testsuite/ld-powerpc/tlsopt5.s: New.
2434 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2435 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2436
39d911fc
TP
24372016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2438
2439 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2440 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2441
6bde4c52
TP
24422016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2443
2444 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2445 parameter and rename input_section parameter to after_input_section.
2446 Append input stub section to the output section if after_input_section
2447 is NULL.
2448
15afaa63
TP
24492016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2450
2451 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2452 test.
2453 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2454 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2455
d63a50b7
CL
24562016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2457
2458 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2459
9239bbd3
CM
24602016-05-09 Christophe Monat <christophe.monat@st.com>
2461
2462 PR ld/20030
2463 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2464 tests. Fix misnamed stm32l4xx-fix-all.
2465 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2466 loads with DP registers.
2467 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2468 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2469 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2470 loads with DP registers.
2471 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2472
924bc11b
PS
24732016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2474
2475 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2476 program headers.
2477 (xfail): Remove avr-*-*.
2478 Update regex to check the section flags.
2479 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2480
a64f5ba1
AM
24812016-05-09 Alan Modra <amodra@gmail.com>
2482
2483 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2484 * Makefile.in: Regenerate.
2485
cc969da9
AM
24862016-05-09 Alan Modra <amodra@gmail.com>
2487
2488 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2489 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2490 * testsuite/ld-scripts/section-match-1.t: Likewise.
2491
97196564
L
24922016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 PR ld/17550
2495 * testsuite/ld-elf/pr17550-1.s: New file.
2496 * testsuite/ld-elf/pr17550-2.s: Likewise.
2497 * testsuite/ld-elf/pr17550-3.s: Likewise.
2498 * testsuite/ld-elf/pr17550-4.s: Likewise.
2499 * testsuite/ld-elf/pr17550a.d: Likewise.
2500 * testsuite/ld-elf/pr17550b.d: Likewise.
2501 * testsuite/ld-elf/pr17550c.d: Likewise.
2502 * testsuite/ld-elf/pr17550d.d: Likewise.
2503
887cf791
SKS
25042016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2505
2506 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2507
2856a627
L
25082016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 * testsuite/ld-i386/i386.exp: Run load7.
2511 * testsuite/ld-i386/load7.d: New file.
2512 * testsuite/ld-i386/load7.map: Likewise.
2513 * testsuite/ld-i386/load7.s: Likewise.
2514 * testsuite/ld-x86-64/load2.d: Likewise.
2515 * testsuite/ld-x86-64/load2.map: Likewise.
2516 * testsuite/ld-x86-64/load2.s: Likewise.
2517 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2518
004b1309
L
25192016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2522 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2523 Likewise.
2524 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2525 Likewise.
2526
d7adef8b
L
25272016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2528
2529 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2530
d4758f96
L
25312016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2534
c3fbf828
MR
25352016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2536
2537 * testsuite/ld-unique/unique.d: New test.
2538 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2539 messages for compiled tests.
2540
4a85cc09
SKS
25412016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2542
2543 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2544 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2545 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2546 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2547 plugin_tests only if check_shared_lib_support is true.
2548 * testsuite/ld-selective/selective.exp: Add --section-start
2549 flag for avr.
2550
6d6a648c
MR
25512016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2552
2553 PR 10549
2554 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2555
1f56df9d
JW
25562016-05-03 Jiong Wang <jiong.wang@arm.com>
2557
2558 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2559 * NEWS: Mention --no-apply-dynamic-relocs.
2560 * ld.texinfo (ld and the ARM family): Document
2561 --no-apply-dynamic-relocs.
2562 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2563 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2564 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2565 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2566 option.
2567
a2076b34
SKS
25682016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2569
2570 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2571 before running STT_COMMON tests.
2572
010f98a5
L
25732016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * config/default.exp (NOPIE_CFLAGS): Download source only on
2576 remote host.
2577 (NOPIE_LDFLAGS): Likewise.
2578 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2579 (check_lto_fat_available): Likewise.
2580 (check_lto_shared_available): Likewise.
2581 (check_ifunc_available): Likewise.
2582 (check_ifunc_attribute_available): Likewise.
2583
83a471c3
L
25842016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2587
52728a42
L
25882016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2589
91f8bf69
L
2590 PR ld/20006
2591 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2592 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2593 ELF targets.
2594
25952016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2596
2597 * testsuite/ld-elf/compressed1b.d: Pass
2598 --compress-debug-sections=none to ld.
2599 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 2600
13b8c335
AM
26012016-04-27 Alan Modra <amodra@gmail.com>
2602
2603 PR target/19985
2604 * configure.tgt: Don't use var+=.
2605
731bb67a
NC
26062016-04-25 Nick Clifton <nickc@redhat.com>
2607
2608 PR target/19985
2609 * configure.tgt: Include big endian PPC64 emulations with little
2610 endian PPC64 targets.
2611
0e03d18a
SKS
26122016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2613
2614 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2615
ed1b027a
L
26162016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2617
2618 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2619 Linux with GCC 4.9 or newer.
2620 (check_lto_fat_available): Likewise.
2621 (check_lto_shared_available): Likewise.
2622
4f3b23b3
NC
26232016-04-21 Nick Clifton <nickc@redhat.com>
2624
2625 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2626 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2627 targets. Do not stop the checks when problems are encountered.
2628
96bf8cb0
AM
26292016-04-21 Alan Modra <amodra@gmail.com>
2630
2631 * testsuite/ld-scripts/cross3.t: Add commonly used data
2632 and text section names to output section statements.
2633 * testsuite/ld-scripts/cross4.t: Likewise.
2634 * testsuite/ld-scripts/cross5.t: Likewise.
2635 * testsuite/ld-scripts/cross6.t: Likewise.
2636 * testsuite/ld-scripts/cross7.t: Likewise.
2637
fbf05aa7
L
26382016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * ldlang.c (lang_check_relocs): New function.
2641 (lang_process): Call lang_check_relocs after lang_gc_sections.
2642 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2643 call _bfd_elf_link_check_relocs here.
2644
c7ce9410
L
26452016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 PR ld/19972
2648 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2649 R_386_NONE or R_X86_64_NONE.
2650
03f2309a
L
26512016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * testsuite/ld-x86-64/pic1.d: New file.
2654 * testsuite/ld-x86-64/pic1.s: Likewise.
2655 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2656
126697d1
L
26572016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * testsuite/ld-x86-64/pie2.d: New file.
2660 * testsuite/ld-x86-64/pie2.s: Likewise.
2661 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2662
338c190a
L
26632016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 PR ld/19969
2666 * testsuite/ld-x86-64/pr19969.d: New file.
2667 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2668 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2669 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2670
d9689752
L
26712016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2674 New.
2675 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2676 Likewise.
2677 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2678 Likewise.
2679 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2680 Likewise.
2681 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2682 Likewise.
2683 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2684 Likewise.
2685 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2686 Likewise.
2687 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2688 Likewise.
2689 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2690 Set check_relocs_after_open_input to TRUE if
2691 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2692 (gld${EMULATION_NAME}_after_open): Call
2693 _bfd_elf_link_check_relocs on all inputs if
2694 check_relocs_after_open_input is TRUE.
2695
7cc9c114
L
26962016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2699 my_personality_v0.
2700
e6c7cdec
TS
27012016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2702
2703 * emultempl/scoreelf.em: Likewise.
2704
87d455c0
L
27052016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 PR ld/19719
2708 * testsuite/ld-x86-64/pr19719.d: New file.
2709 * testsuite/ld-x86-64/pr19719.s: Likewise.
2710 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2711
cdf96953
MF
27122016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2713
2714 * ld.texinfo: Document NOCROSSREFS_TO script command.
2715 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2716 (lang_add_nocrossref_to): New prototype.
2717 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2718 symbols defined in the first section.
2719 (check_nocrossref): Likewise.
2720 * ldgram.y (NOCROSSREFS_TO): New script command.
2721 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2722 (lang_add_nocrossref_to): New function.
2723 * ldlex.l (NOCROSSREFS_TO): New token.
2724 * NEWS: Mention NOCROSSREFS_TO.
2725 * testsuite/ld-scripts/cross4.t: New file.
2726 * testsuite/ld-scripts/cross5.t: Likewise.
2727 * testsuite/ld-scripts/cross6.t: Likewise.
2728 * testsuite/ld-scripts/cross7.t: Likewise.
2729 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2730 tests.
2731
6fd8e7c2
L
27322016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2733
2734 * Makefile.in: Regenerated with automake 1.11.6.
2735 * aclocal.m4: Likewise.
2736
4b0c052e
AB
27372016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2738
2739 * testsuite/ld-arc/arc.exp: New file.
2740 * testsuite/ld-arc/nps-1.s: New file.
2741 * testsuite/ld-arc/nps-1a.d: New file.
2742 * testsuite/ld-arc/nps-1b.d: New file.
2743 * testsuite/ld-arc/nps-1b.err: New file.
2744
8dc483a0
NC
27452016-04-14 Nick Clifton <nickc@redhat.com>
2746
2747 PR 19457
2748 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2749 exceptions for Mingw and Cygwin.
2750
758c5495
AB
27512016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2752
2753 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2754 check_ld(terminal).
2755
37ce0cc4
L
27562016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 PR ld/19774
2759 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2760 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2761 tests.
2762
2df3368d
L
27632016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 PR ld/19939
2766 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2767 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2768 * testsuite/ld-i386/pr19939.s: New file.
2769 * testsuite/ld-i386/pr19939a.d: Likewise.
2770 * testsuite/ld-i386/pr19939b.d: Likewise.
2771 * testsuite/ld-x86-64/pr19939.s: Likewise.
2772 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2773 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2774
417a667c
OE
27752016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2776
2777 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2778
136a43b7
AM
27792016-04-08 Alan Modra <amodra@gmail.com>
2780
2781 PR 18452
2782 * ldlang.c (maybe_overlays): Delete.
2783 (lang_size_sections_1): Remove code setting maybe_overlays.
2784 (lang_check_section_addresses): Instead detect overlays by
2785 exact match of section VMAs here. Fix memory leak.
2786
953dd97e
DG
27872016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2788
2789 * ldlang.c (print_output_section_statement): Show minfo size
2790 in target machine address units.
2791 (print_reloc_statement): Likewise.
2792 (print_padding_statement): Likewise.
2793 (print_data_statement): Likewise. Ensure minimum print_dot
2794 increment of one address unit.
2795
1a295c62
AB
27962016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2797
2798 * emulparams/arc-endianness.sh: Make little endian default choice.
2799
df154dc1
NC
28002016-04-07 Nick Clifton <nickc@redhat.com>
2801
2802 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2803 section name.
2804 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2805
9a5f28ae
AB
28062016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * emulparams/arc-endianness.sh: New file.
2809 * emulparams/arcebelf.sh: Deleted.
2810 * emulparams/arcebelf_prof.sh: Deleted.
2811 * emulparams/arceblinux.sh: Deleted.
2812 * emulparams/arceblinux_prof.sh: Deleted.
2813 * emulparams/arcelf.sh: Include arc-endinness.sh.
2814 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2815 * emulparams/arclinux.sh: Include arc-endinness.sh.
2816 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2817 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2818 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2819 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2820 little endian arc targets.
2821 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2822 * testsuite/ld-elf/group1.d: Likewise.
2823 * testsuite/ld-elf/group3b.d: Likewise.
2824 * testsuite/ld-elf/group8a.d: Likewise.
2825 * testsuite/ld-elf/group8b.d: Likewise.
2826 * testsuite/ld-elf/group9a.d: Likewise.
2827 * testsuite/ld-elf/group9b.d: Likewise.
2828 * testsuite/ld-elf/linkonce2.d: Likewise.
2829 * testsuite/ld-elf/pr12851.d: Likewise.
2830 * testsuite/ld-elf/pr12975.d: Likewise.
2831 * testsuite/ld-elf/pr13177.d: Likewise.
2832 * testsuite/ld-elf/pr13195.d: Likewise.
2833 * testsuite/ld-elf/pr17615.d: Likewise.
2834 * testsuite/ld-elf/pr19162.d: Likewise.
2835 * testsuite/ld-elf/sec64k.exp: Likewise.
2836 * testsuite/lib/ld-lib.exp: Likewise.
2837
1f599d0e
MR
28382016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2839
2840 PR ld/19908
2841 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2842 handling fix.
2843 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2844 * testsuite/ld-cris/tls-e-21.d: Likewise.
2845 * testsuite/ld-cris/tls-e-23.d: Likewise.
2846 * testsuite/ld-cris/tls-e-80.d: Likewise.
2847 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2848 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2849 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2850 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2851 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2852 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2853 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2854 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2855 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2856 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2857
a9fa4610
CZ
28582016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2859
2860 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2861 * testsuite/ld-discard/start.d: Likewise.
2862 * testsuite/ld-discard/static.d: Likewise.
2863 * testsuite/ld-elf/group1.d: Likewise.
2864 * testsuite/ld-elf/group3b.d: Likewise.
2865 * testsuite/ld-elf/orphan-region.d: Likewise.
2866 * testsuite/ld-elf/orphan.d: Likewise.
2867 * testsuite/ld-elf/orphan3.d: Likewise.
2868 * testsuite/ld-elf/pr349.d: Likewise.
2869 * testsuite/ld-elf/warn1.d: Likewise.
2870 * testsuite/ld-elf/warn2.d: Likewise.
2871 * testsuite/ld-elf/warn3.d: Likewise.
2872 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2873 through linker flags.
2874 * testsuite/ld-srec/srec.exp: Set as xfail.
2875
5fdf3872
L
28762016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 PR ld/19827
2879 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2880 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2881
a061de07
NC
28822016-04-04 Nick Clifton <nickc@redhat.com>
2883
2884 PR 19803
2885 * emultempl/pe.em (change_undef): New function. Encapsulates
2886 duplicated code in pe_fixup_stdcalls and adds the newly defined
2887 sym to the gc root list.
2888 (pe_fixup_stdcall): Use the new function.
2889 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2890 symbol to gc root list.
2891
fc90c280
AM
28922016-03-31 Alan Modra <amodra@gmail.com>
2893
2894 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2895 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2896 (print_input_section): Don't use TO_ADDR when printing section
2897 size.
2898 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2899 (lang_size_sections): Use TO_ADDR in relro end calculation.
2900
62bdf2d6
AB
29012016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2902
2903 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2904 value from regexp_diff.
2905 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2906 * testsuite/ld-elf/orphan-6.l: Likewise.
2907
a87dd97a
AM
29082016-03-30 Alan Modra <amodra@gmail.com>
2909
2910 PR 18452
2911 * ldlang.c (maybe_overlays): New static var.
2912 (lang_size_sections_1): Set it here.
2913 (struct check_sec): New.
2914 (sort_sections_by_lma): Adjust for array of structs.
2915 (sort_sections_by_vma): New function.
2916 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2917 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2918
ca62bc4a
AM
29192016-03-30 Alan Modra <amodra@gmail.com>
2920
2921 * ldlang.c (lang_size_sections_1): Correct code detecting a
2922 backward non-overlapping move.
2923
2e4a7aea
AM
29242016-03-30 Alan Modra <amodra@gmail.com>
2925
2926 * ldlang.c (IS_TBSS): New macro, extracted from..
2927 (IGNORE_SECTION): ..here.
2928 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2929 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2930
4153b6db
NC
29312016-03-22 Nick Clifton <nickc@redhat.com>
2932
2933 PR ld/19803
2934 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2935 symbol name to the list of gc symbols.
2936 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2937 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2938 and fini function names.
2939 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2940 the gc symbol list.
2941 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2942 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2943
9780e045
NC
29442016-03-22 Nick Clifton <nickc@redhat.com>
2945
2946 * configure: Regenerate.
2947
e1fa0163
NC
29482016-03-21 Nick Clifton <nickc@redhat.com>
2949
2950 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2951 * plugin.c: Likewise.
2952 * pe-dll.c: Likewise.
2953
45821bef
A
29542016-03-18 Awson <kyrab@mail.ru>
2955
2956 PR 19531
2957 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2958 this section.
2959 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2960
41f46ed9
SKS
29612016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2962
2963 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2964
4e0c91e4
L
29652016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 PR ld/19827
2968 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2969 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2970 * testsuite/ld-i386/pr19827.rd: New file.
2971 * testsuite/ld-i386/pr19827a.S: Likewise.
2972 * testsuite/ld-i386/pr19827b.S: Likewise.
2973 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2974 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2975 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2976
4c10bbaa
L
29772016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 PR ld/19807
2980 * Makefile.am (ELF_X86_DEPS): Add
2981 $(srcdir)/emulparams/reloc_overflow.sh.
2982 * Makefile.in: Regenerated.
2983 * NEWS: Mention -z noreloc-overflow.
2984 * ld.texinfo: Document -z noreloc-overflow.
2985 * emulparams/elf32_x86_64.sh: Source
2986 ${srcdir}/emulparams/reloc_overflow.sh.
2987 * emulparams/elf_x86_64.sh: Likewise.
2988 * emulparams/reloc_overflow.sh: New file.
2989 * testsuite/ld-x86-64/pr19807-1.s: New file.
2990 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2991 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2992 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2993 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2994 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2995 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2996 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2997 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2998 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2999
3ab94f96
L
30002016-03-13 H.J. Lu <hongjiu.lu@intel.com>
3001
3002 PR ld/19539
3003 * testsuite/ld-i386/i386.exp: Run pr19539.
3004 * testsuite/ld-i386/pr19539.d: New file.
3005 * testsuite/ld-i386/pr19539.s: Likewise.
3006 * testsuite/ld-i386/pr19539.t: Likewise.
3007 * testsuite/ld-x86-64/pr19539.s: Likewise.
3008 * testsuite/ld-x86-64/pr19539.t: Likewise.
3009 * testsuite/ld-x86-64/pr19539a.d: Likewise.
3010 * testsuite/ld-x86-64/pr19539b.d: Likewise.
3011 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
3012
a9f02af8
MG
30132016-03-10 Mickael Guene <mickael.guene@st.com>
3014
3015 PR gas/19744
3016 * testsuite/ld-arm/arm-elf.exp: New tests.
3017 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3018 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3019
878a6877
NC
30202016-03-10 Nick Clifton <nickc@redhat.com>
3021
3022 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3023
4b05e0a7
PA
30242016-03-09 Pedro Alves <palves@redhat.com>
3025
3026 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3027 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3028
9c1d7a08
L
30292016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 PR ld/19789
3032 * testsuite/ld-elf/pr19789.d: New file.
3033 * testsuite/ld-elf/pr19789.s: Likewise.
3034
d1ed1c7d
L
30352016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 PR ld/19784
3038 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3039 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3040 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3041 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3042 * testsuite/ld-ifunc/pass.out: New file.
3043 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3044 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3045 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3046
205ac185
L
30472016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 PR ld/19774
3050 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3051 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3052 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3053 --as-needed for pr18841c.
3054
23a4bd22
L
30552016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 PR ld/19774
3058 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3059 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3060 before tmpdir/got1d.so and test --as-needed.
3061 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3062 tmpdir/pr18900.so and test --as-needed.
3063
18f822a0
JW
30642016-03-07 Jiong Wang <jiong.wang@arm.com>
3065
3066 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3067 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3068 result.
3069 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3070
46175b4e
L
30712016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3074 before tmpdir/copyreloc-lib.so and test --as-needed.
3075 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3076
07492f66
L
30772016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 PR ld/19579
3080 * testsuite/ld-elf/pr19579a.c: New file.
3081 * testsuite/ld-elf/pr19579b.c: Likewise.
3082 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3083
7bcc503f
L
30842016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3087
7494161b
L
30882016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3091 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3092
523f4c92
L
30932016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 PR ld/19739
3096 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3097 input sections for relocatable link.
3098 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3099 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3100
31012016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3102
3103 PR ld/19739
e18b24a4 3104 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
3105 merge flags of other input sections for relocatable link.
3106
ef621b15
L
31072016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3110
2955a517
L
31112016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3112
3113 * testsuite/ld-elf/pr19162.d: Skip arc target.
3114
7f50ebc1
L
31152016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 PR ld/19162
3118 * testsuite/ld-elf/pr19162.d: New file.
3119 * testsuite/ld-elf/pr19162a.s: Likwise.
3120 * testsuite/ld-elf/pr19162b.s: Likwise.
3121
841fdfcd
CZ
31222016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3123
3124 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3125 * testsuite/ld-elf/merge2.d: Likewise.
3126 * testsuite/ld-elf/merge3.d: Likewise.
3127
7e458899
CZ
31282016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3129
3130 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3131 generated.
3132
c5e3a364
RL
31332016-02-26 Renlin Li <renlin.li@arm.com>
3134
3135 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3136 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3137 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3138 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3139 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3140 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3141 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3142 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3143 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3144 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3145
bae420ef
L
31462016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3147
3148 PR ld/19609
3149 * testsuite/ld-i386/got1.dd: Updated.
3150 * testsuite/ld-i386/lea1c.d: Likewise.
3151 * testsuite/ld-i386/load1-nacl.d: Likewise.
3152 * testsuite/ld-i386/load1.d: Likewise.
3153 * testsuite/ld-i386/load4b.d: Likewise.
3154 * testsuite/ld-i386/load5b.d: Likewise.
3155 * testsuite/ld-i386/mov1b.d: Likewise.
3156 * testsuite/ld-x86-64/mov1b.d: Likewise.
3157 * testsuite/ld-x86-64/mov1d.d: Likewise.
3158 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3159 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3160 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3161 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3162 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3163 * testsuite/ld-x86-64/lea1a.d: Likewise.
3164 * testsuite/ld-x86-64/lea1b.d: Likewise.
3165 * testsuite/ld-x86-64/lea1c.d: Likewise.
3166 * testsuite/ld-x86-64/lea1d.d: Likewise.
3167 * testsuite/ld-x86-64/lea1e.d: Likewise.
3168 * testsuite/ld-x86-64/lea1f.d: Likewise.
3169 * testsuite/ld-x86-64/mov1b.d: Likewise.
3170 * testsuite/ld-x86-64/mov1d.d: Likewise.
3171 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3172 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3173 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3174 * testsuite/ld-i386/pr19609-1.s: New file.
3175 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3176 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3177 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3178 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3179 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3180 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3181 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3182 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3183 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3184 * testsuite/ld-i386/pr19609-2.s: Likewise.
3185 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3186 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3187 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3188 * testsuite/ld-i386/undefweak.s: Likewise.
3189 * testsuite/ld-i386/undefweaka.d: Likewise.
3190 * testsuite/ld-i386/undefweakb.d: Likewise.
3191 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3192 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3193 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3194 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3195 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3196 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3197 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3198 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3199 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3200 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3201 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3202 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3203 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3204 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3205 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3206 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3207 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3208 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3209 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3210 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3211 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3212 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3213 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3214 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3215 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3216 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3217 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3218 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3219 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3220 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3221 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3222 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3223 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3224 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3225 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3226 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3227 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3228 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3229 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3230 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3231 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3232 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3233 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3234 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3235 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3236 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3237 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3238 PR ld/19609.
3239 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3240 and tests for PR ld/19609.
3241
11e5f1ec
L
32422016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3243
3244 PR ld/19645
3245 * NEWS: Mention -z common/-z nocommon for ELF targets.
3246 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3247 -z common and -z nocommon.
3248 * ld.texinfo: Document -z common/-z nocommon.
3249 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3250 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3251 --elf-stt-common=yes with assembler.
3252 * testsuite/ld-elfcomm/common-1.s: New file.
3253 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3254 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3255 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3256 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3257 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3258 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3259 * testsuite/ld-elfcomm/common-2.s: Likewise.
3260 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3261 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3262 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3263 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3264 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3265 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3266 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3267 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3268 * testsuite/ld-i386/pr19645.d: Likewise.
3269 * testsuite/ld-i386/pr19645.s: Likewise.
3270 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3271 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3272 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3273 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3274 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3275 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3276 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3277 * testsuite/ld-x86-64/pr19645.d: Likewise.
3278 * testsuite/ld-x86-64/pr19645.s: Likewise.
3279 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3280 with assembler.
3281 (assembler_generates_commons): Removed.
3282 Run -z common/-z nocommon tests. Run *.d tests.
3283 * testsuite/ld-i386/i386.exp: Run pr19645.
3284 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3285 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3286 assembler. Test STT_COMMON with readelf.
3287
aec6b87e
L
32882016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3289
3290 PR ld/19636
3291 PR ld/19704
3292 PR ld/19719
3293 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3294 * Makefile.in: Regenerated.
3295 * NEWS: Mention -z nodynamic-undefined-weak.
3296 * ld.texinfo: Document -z nodynamic-undefined-weak.
3297 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3298 * emulparams/dynamic_undefined_weak.sh: New file.
3299 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3300 * emulparams/elf_i386.sh: Likewise.
3301 * emulparams/elf_i386_be.sh: Likewise.
3302 * emulparams/elf_i386_chaos.sh: Likewise.
3303 * emulparams/elf_i386_ldso.sh: Likewise.
3304 * emulparams/elf_i386_vxworks.sh: Likewise.
3305 * emulparams/elf_iamcu.sh: Likewise.
3306 * emulparams/elf_k1om.sh: Likewise.
3307 * emulparams/elf_l1om.sh: Likewise.
3308 * emulparams/elf_x86_64.sh: Likewise.
3309 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3310 Append.
3311 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3312 * testsuite/ld-elf/pr19719a.c: New file.
3313 * testsuite/ld-elf/pr19719b.c: Likewise.
3314 * testsuite/ld-elf/pr19719c.c: Likewise.
3315 * testsuite/ld-elf/pr19719d.c: Likewise.
3316 * testsuite/ld-i386/pr19636-1.s: Likewise.
3317 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3318 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3319 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3320 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3321 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3322 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3323 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3324 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3325 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3326 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3327 * testsuite/ld-i386/pr19636-2.s: Likewise.
3328 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3329 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3330 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3331 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3332 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3333 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3334 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3335 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3336 * testsuite/ld-i386/pr19636-3.s: Likewise.
3337 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3338 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3339 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3340 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3341 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3342 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3343 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3344 * testsuite/ld-i386/pr19636-4.s: Likewise.
3345 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3346 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3347 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3348 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3349 * testsuite/ld-i386/pr19704.out: Likewise.
3350 * testsuite/ld-i386/pr19704a.c: Likewise.
3351 * testsuite/ld-i386/pr19704b.c: Likewise.
3352 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3353 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3354 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3355 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3356 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3357 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3358 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3359 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3360 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3361 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3362 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3363 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3364 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3365 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3366 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3367 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3368 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3369 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3370 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3371 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3372 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3373 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3374 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3375 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3376 * testsuite/ld-x86-64/pr19704.out: Likewise.
3377 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3378 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3379 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3380 Run mix_pic_and_non_pic.
3381 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3382 Run undefined_weak and PR ld/19636 tests.
3383 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3384 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3385 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3386
920e4862
NC
33872016-02-25 Nick Clifton <nickc@redhat.com>
3388
3389 * ld.h (struct ld_config_type): Remove specified_data_size field.
3390
0f550b3d
L
33912016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 PR ld/19698
3394 * testsuite/ld-elf/pr19698.d: New file.
3395 * testsuite/ld-elf/pr19698.s: Likewise.
3396 * testsuite/ld-elf/pr19698.t: Likewise.
3397
31866b2c
L
33982016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3399
3400 * Makefile.am (ELF_X86_DEPS): New.
3401 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3402 (eelf_i386_chaos.c): Likewise.
3403 (eelf_i386_fbsd.c): Likewise.
3404 (eelf_i386_ldso.c): Likewise.
3405 (eelf_i386_nacl.c): Likewise.
3406 (eelf_i386_sol2.c): Likewise.
3407 (eelf_iamcu.c): Likewise.
3408 (eelf32_x86_64.c): Likewise.
3409 (eelf32_x86_64_nacl.c): Likewise.
3410 (eelf_l1om.c): Likewise.
3411 (eelf_l1om_fbsd.c): Likewise.
3412 (eelf_k1om.c): Likewise.
3413 (eelf_k1om_fbsd.c): Likewise.
3414 (eelf_x86_64.c): Likewise.
3415 (eelf_x86_64_cloudabi.c): Likewise.
3416 (eelf_x86_64_fbsd.c): Likewise.
3417 (eelf_x86_64_sol2.c): Likewise.
3418 * Makefile.in: Regenerated.
3419
6b3b0ab8
L
34202016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3423 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3424 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3425 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3426
de818c22
L
34272016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3428
3429 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3430
c304e18e
L
34312016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3432
3433 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3434 *-*-gnu* and *-*-solaris*.
3435 * testsuite/ld-elf/pr19617b.d: Likewise.
3436 * testsuite/ld-elf/pr19617c.d: Likewise.
3437
bf89386a
L
34382016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 PR ld/19617
3441 * testsuite/ld-elf/pr19617.s: New file.
3442 * testsuite/ld-elf/pr19617a.d: Likewise.
3443 * testsuite/ld-elf/pr19617b.d: Likewise.
3444 * testsuite/ld-elf/pr19617c.d: Likewise.
3445
06ea285d
NC
34462016-02-18 Nick Clifton <nickc@redhat.com>
3447
3448 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3449 in-tree xg++ executable after checking for the presence of an
3450 in-tree g++ executable.
3451 * Makefile.in: Regenerate.
3452
b27ab9ad
L
34532016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3454
3455 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3456 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3457 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3458
8f79b794
L
34592016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3462 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3463 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3464 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3465 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3466 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3467 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3468 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3469 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3470 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3471 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3472 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3473 * testsuite/ld-x86-64/load1c.d: Likewise.
3474 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3475 * testsuite/ld-x86-64/load1d.d: Likewise.
3476 * testsuite/ld-x86-64/pr14207.d: Likewise.
3477 * testsuite/ld-x86-64/pr19162.d: Likewise.
3478 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3479 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3480 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3481 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3482 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3483 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3484
b3e3e0b7
NC
34852016-02-17 Nick Clifton <nickc@redhat.com>
3486
3487 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3488
9fb71ee4
NC
34892016-02-15 Nick Clifton <nickc@redhat.com>
3490
3491 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3492 description of the flags produced by readelf.
3493 * testsuite/ld-i386/pr12921.d: Likewise.
3494 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3495 * testsuite/ld-i386/tlsbin.rd: Likewise.
3496 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3497 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3498 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3499 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3500 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3501 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3502 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3503 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3504 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3505 * testsuite/ld-i386/tlspic.rd: Likewise.
3506 * testsuite/ld-s390/tlsbin.rd: Likewise.
3507 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3508 * testsuite/ld-s390/tlspic.rd: Likewise.
3509 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3510 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3511 * testsuite/ld-sh/tlspic-2.d: Likewise.
3512 * testsuite/ld-tic6x/common.d: Likewise.
3513 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3514 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3515 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3516 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3517 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3518 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3519 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3520 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3521 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3522 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3523 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3524 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3525 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3526 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3527 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3528 * testsuite/ld-x86-64/pr12718.d: Likewise.
3529 * testsuite/ld-x86-64/pr12921.d: Likewise.
3530 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3531 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3532 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3533 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3534 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3535 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3536 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3537 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3538 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3539 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3540 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3541 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3542 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3543 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3544
21a90cf1
L
35452016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 PR ld/19615
3548 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3549 PIE.
3550 * lexsup.c (parse_args): Enable -Bsymbolic and
3551 -Bsymbolic-functions for PIE.
ee5db48b 3552 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
3553 * testsuite/ld-i386/pr19615.d: New file.
3554 * testsuite/ld-i386/pr19615.s: Likewise.
3555 * testsuite/ld-x86-64/pr19615.d: Likewise.
3556 * testsuite/ld-x86-64/pr19615.s: Likewise.
3557
027e9c75
NC
35582016-02-09 Nick Clifton <nickc@redhat.com>
3559
3560 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3561 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3562 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3563 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3564
39306124
NC
35652016-02-04 Nick Clifton <nickc@redhat.com>
3566
3567 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3568 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3569 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3570 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3571 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3572 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3573 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3574 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3575 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3576
0cb4071e
L
35772016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 PR gas/19520
3580 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3581 * testsuite/ld-i386/call1.d: Likewise.
3582 * testsuite/ld-i386/call2.d: Likewise.
3583 * testsuite/ld-i386/call3a.d: Likewise.
3584 * testsuite/ld-i386/call3b.d: Likewise.
3585 * testsuite/ld-i386/call3c.d: Likewise.
3586 * testsuite/ld-i386/call3d.d: Likewise.
3587 * testsuite/ld-i386/call3e.d: Likewise.
3588 * testsuite/ld-i386/call3f.d: Likewise.
3589 * testsuite/ld-i386/call3g.d: Likewise.
3590 * testsuite/ld-i386/call3h.d: Likewise.
3591 * testsuite/ld-i386/jmp1.d: Likewise.
3592 * testsuite/ld-i386/jmp2.d: Likewise.
3593 * testsuite/ld-i386/lea1c.d: Likewise.
3594 * testsuite/ld-i386/load1.d: Likewise.
3595 * testsuite/ld-i386/load2.d: Likewise.
3596 * testsuite/ld-i386/load3.d: Likewise.
3597 * testsuite/ld-i386/load4a.d: Likewise.
3598 * testsuite/ld-i386/load5a.d: Likewise.
3599 * testsuite/ld-i386/mov2b.d: Likewise.
3600 * testsuite/ld-i386/mov3.d: Likewise.
3601 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3602 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3603 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3604 * testsuite/ld-x86-64/call1a.d: Likewise.
3605 * testsuite/ld-x86-64/call1b.d: Likewise.
3606 * testsuite/ld-x86-64/call1c.d: Likewise.
3607 * testsuite/ld-x86-64/call1d.d: Likewise.
3608 * testsuite/ld-x86-64/call1e.d: Likewise.
3609 * testsuite/ld-x86-64/call1f.d: Likewise.
3610 * testsuite/ld-x86-64/call1h.d: Likewise.
3611 * testsuite/ld-x86-64/call1i.d: Likewise.
3612 * testsuite/ld-x86-64/load1a.d: Likewise.
3613 * testsuite/ld-x86-64/load1b.d: Likewise.
3614 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3615 * testsuite/ld-i386/got1.dd: Updated.
3616 * testsuite/ld-i386/got1d.S (1): Removed.
3617 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3618 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3619
6ba2af25
L
36202016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 PR ld/18591
3623 * testsuite/ld-x86-64/pr18591.d: New file.
3624 * testsuite/ld-x86-64/pr18591.s: Likewise.
3625 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3626
aef28989
L
36272016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3628
3629 PR ld/19553
3630 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3631 * testsuite/ld-elf/pr19553.map: New file.
3632 * testsuite/ld-elf/pr19553.map: Likewise.
3633 * testsuite/ld-elf/pr19553a.c: Likewise.
3634 * testsuite/ld-elf/pr19553b.c: Likewise.
3635 * testsuite/ld-elf/pr19553b.out: Likewise.
3636 * testsuite/ld-elf/pr19553c.c: Likewise.
3637 * testsuite/ld-elf/pr19553c.out: Likewise.
3638 * testsuite/ld-elf/pr19553d.c: Likewise.
3639 * testsuite/ld-elf/pr19553d.out: Likewise.
3640
d9e3b590
L
36412016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3642
3643 PR ld/19539
3644 * testsuite/ld-elf/pr19539.d: New file.
3645 * testsuite/ld-elf/pr19539.s: Likewise.
3646 * testsuite/ld-elf/pr19539.t: Likewise.
3647
621ff761
L
36482016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3649
3650 PR ld/19533
3651 * configure.ac (compressed_debug_sections): Replace == with =.
3652 * configure: Regenerated.
3653
7585b2b8
DC
36542016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3655
3656 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3657 * scripttempl/avrtiny.sc (.noinit): Likewise.
3658
aebf9be7
NC
36592016-01-21 Nick Clifton <nickc@redhat.com>
3660
dfc43940
NC
3661 PR ld/19453
3662 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3663 the arm-netbsdelf target.
3664
aebf9be7
NC
3665 PR ld/19455
3666 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3667 disassmebler output.
3668 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3669 * testsuite/ld-arm/vxworks1.dd: Likewise.
3670 * testsuite/ld-arm/vxworks1.rd: Likewise.
3671 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3672
2f340668
JW
36732016-01-20 Jiong Wang <jiong.wang@arm.com>
3674
3675 * testsuite/ld-aarch64/farcall-section.d: Delete.
3676 * testsuite/ld-aarch64/farcall-section.s: Delete.
3677 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3678 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3679 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3680 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3681 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3682
fdbd3e95
NC
36832016-01-20 Nick Clifton <nickc@redhat.com>
3684
3685 PR 19457
3686 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3687 early for PE based targets.
3688 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3689 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3690
91f68a68
MG
36912016-01-20 Mickael Guene <mickael.guene@st.com>
3692
3693 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3694 Add 'y' attribute usage.
3695 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3696 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3697 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3698
a4af960a
NC
36992016-01-19 Nick Clifton <nickc@redhat.com>
3700
3701 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3702 foo@FOO and bar@@FOO.
3703
3d961d0d
AM
37042016-01-18 Alan Modra <amodra@gmail.com>
3705
3706 * configure: Regenerate.
3707
760f6ee8
NC
37082016-01-18 Nick Clifton <nickc@redhat.com>
3709
3710 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3711 is not configured to support plugins.
3712
24f03d4e
NC
3713 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3714 but with 16 byte section alignment.
3715 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3716 test for MIPS targets.
3717
5c14705f
AM
37182016-01-17 Alan Modra <amodra@gmail.com>
3719
3720 * configure: Regenerate.
3721
b3066ae8
AM
37222016-01-17 Alan Modra <amodra@gmail.com>
3723
3724 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3725 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3726 * testsuite/ld-elf/pr14156a.d: Likewise.
3727 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3728 * testsuite/ld-elf/sec64k.exp: Likewise.
3729
4c4ac964
TP
37302016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3731
3732 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3733 Set address of .foo section when linking.
3734 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3735 in .foo section.
3736 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3737 output to the above changes.
3738
1bce3adf
NC
37392016-01-13 Nick Clifton <nickc@redhat.com>
3740
84054199
NC
3741 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3742 for MIPS targets.
3743
13ce3603
NC
3744 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3745 fail for MIPS targets.
3746
1bce3adf
NC
3747 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3748 MIPS targets.
3749
ac06903d
YU
37502016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3751
3752 * testsuite/ld-arm/arm-elf.exp: New test.
3753 * testsuite/ld-arm/unwind-mix.d: New file.
3754 * testsuite/ld-arm/unwind-mix1.s: New file.
3755 * testsuite/ld-arm/unwind-mix2.s: New file.
3756
109575d7
JW
37572016-01-08 Jiong Wang <jiong.wang@arm.com>
3758
3759 PR ld/19368
3760 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3761 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3762 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3763 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3764 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3765 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3766
296ebfbb
NC
37672016-01-05 Nick Clifton <nickc@redhat.com>
3768
3769 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3770 MSP430 hardware multiply address range.
3771 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3772 (__romdatacopysize): Define.
3773 * scripttempl/elf32msp430_3.sc: Likewise.
3774
2f2da8fd
MR
37752016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3776
3777 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3778 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3779
d537eeb5
MR
37802016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3781
3782 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3783 messages expected according to MIPS BFD private data merge
3784 changes.
3785 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3786 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3787 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3788 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3789 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3790 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3791 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3792 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3793 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3794 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3795 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3796 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3797 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3798
6f2750fe
AM
37992016-01-01 Alan Modra <amodra@gmail.com>
3800
3801 Update year range in copyright notice of all files.
3802
3499769a
AM
3803For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3804\f
3805Copyright (C) 2016 Free Software Foundation, Inc.
3806
3807Copying and distribution of this file, with or without modification,
3808are permitted in any medium without royalty provided the copyright
3809notice and this notice are preserved.
3810
3811Local Variables:
3812mode: change-log
3813left-margin: 8
3814fill-column: 74
3815version-control: never
3816End:
This page took 0.285123 seconds and 4 git commands to generate.