1 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
3 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
6 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
9 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
10 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
13 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
17 * testsuite/ld-x86-64/x86-64.exp: Likewise.
18 * testsuite/ld-i386/pr19939.s: New file.
19 * testsuite/ld-i386/pr19939a.d: Likewise.
20 * testsuite/ld-i386/pr19939b.d: Likewise.
21 * testsuite/ld-x86-64/pr19939.s: Likewise.
22 * testsuite/ld-x86-64/pr19939a.d: Likewise.
23 * testsuite/ld-x86-64/pr19939b.d: Likewise.
25 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
27 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
29 2016-04-08 Alan Modra <amodra@gmail.com>
32 * ldlang.c (maybe_overlays): Delete.
33 (lang_size_sections_1): Remove code setting maybe_overlays.
34 (lang_check_section_addresses): Instead detect overlays by
35 exact match of section VMAs here. Fix memory leak.
37 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
39 * ldlang.c (print_output_section_statement): Show minfo size
40 in target machine address units.
41 (print_reloc_statement): Likewise.
42 (print_padding_statement): Likewise.
43 (print_data_statement): Likewise. Ensure minimum print_dot
44 increment of one address unit.
46 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
48 * emulparams/arc-endianness.sh: Make little endian default choice.
50 2016-04-07 Nick Clifton <nickc@redhat.com>
52 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
54 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
56 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
58 * emulparams/arc-endianness.sh: New file.
59 * emulparams/arcebelf.sh: Deleted.
60 * emulparams/arcebelf_prof.sh: Deleted.
61 * emulparams/arceblinux.sh: Deleted.
62 * emulparams/arceblinux_prof.sh: Deleted.
63 * emulparams/arcelf.sh: Include arc-endinness.sh.
64 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
65 * emulparams/arclinux.sh: Include arc-endinness.sh.
66 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
67 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
68 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
69 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
70 little endian arc targets.
71 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
72 * testsuite/ld-elf/group1.d: Likewise.
73 * testsuite/ld-elf/group3b.d: Likewise.
74 * testsuite/ld-elf/group8a.d: Likewise.
75 * testsuite/ld-elf/group8b.d: Likewise.
76 * testsuite/ld-elf/group9a.d: Likewise.
77 * testsuite/ld-elf/group9b.d: Likewise.
78 * testsuite/ld-elf/linkonce2.d: Likewise.
79 * testsuite/ld-elf/pr12851.d: Likewise.
80 * testsuite/ld-elf/pr12975.d: Likewise.
81 * testsuite/ld-elf/pr13177.d: Likewise.
82 * testsuite/ld-elf/pr13195.d: Likewise.
83 * testsuite/ld-elf/pr17615.d: Likewise.
84 * testsuite/ld-elf/pr19162.d: Likewise.
85 * testsuite/ld-elf/sec64k.exp: Likewise.
86 * testsuite/lib/ld-lib.exp: Likewise.
88 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
91 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
93 * testsuite/ld-cris/tls-e-20a.d: Likewise.
94 * testsuite/ld-cris/tls-e-21.d: Likewise.
95 * testsuite/ld-cris/tls-e-23.d: Likewise.
96 * testsuite/ld-cris/tls-e-80.d: Likewise.
97 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
98 * testsuite/ld-cris/tls-leie-19.d: Likewise.
99 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
100 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
101 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
102 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
103 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
104 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
105 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
106 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
108 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
110 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
111 * testsuite/ld-discard/start.d: Likewise.
112 * testsuite/ld-discard/static.d: Likewise.
113 * testsuite/ld-elf/group1.d: Likewise.
114 * testsuite/ld-elf/group3b.d: Likewise.
115 * testsuite/ld-elf/orphan-region.d: Likewise.
116 * testsuite/ld-elf/orphan.d: Likewise.
117 * testsuite/ld-elf/orphan3.d: Likewise.
118 * testsuite/ld-elf/pr349.d: Likewise.
119 * testsuite/ld-elf/warn1.d: Likewise.
120 * testsuite/ld-elf/warn2.d: Likewise.
121 * testsuite/ld-elf/warn3.d: Likewise.
122 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
123 through linker flags.
124 * testsuite/ld-srec/srec.exp: Set as xfail.
126 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
129 * testsuite/ld-i386/pr19827-nacl.rd: New file.
130 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
132 2016-04-04 Nick Clifton <nickc@redhat.com>
135 * emultempl/pe.em (change_undef): New function. Encapsulates
136 duplicated code in pe_fixup_stdcalls and adds the newly defined
137 sym to the gc root list.
138 (pe_fixup_stdcall): Use the new function.
139 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
140 symbol to gc root list.
142 2016-03-31 Alan Modra <amodra@gmail.com>
144 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
145 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
146 (print_input_section): Don't use TO_ADDR when printing section
148 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
149 (lang_size_sections): Use TO_ADDR in relro end calculation.
151 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
153 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
154 value from regexp_diff.
155 * testsuite/ld-elf/orphan-5.l: Fix expected output.
156 * testsuite/ld-elf/orphan-6.l: Likewise.
158 2016-03-30 Alan Modra <amodra@gmail.com>
161 * ldlang.c (maybe_overlays): New static var.
162 (lang_size_sections_1): Set it here.
163 (struct check_sec): New.
164 (sort_sections_by_lma): Adjust for array of structs.
165 (sort_sections_by_vma): New function.
166 (lang_check_section_addresses): Check both LMA and VMA for overlap.
167 * testsuite/ld-scripts/rgn-over7.d: Adjust.
169 2016-03-30 Alan Modra <amodra@gmail.com>
171 * ldlang.c (lang_size_sections_1): Correct code detecting a
172 backward non-overlapping move.
174 2016-03-30 Alan Modra <amodra@gmail.com>
176 * ldlang.c (IS_TBSS): New macro, extracted from..
177 (IGNORE_SECTION): ..here.
178 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
179 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
181 2016-03-22 Nick Clifton <nickc@redhat.com>
184 * ldlang.c (lang_add_gc_name): New function. Adds the provided
185 symbol name to the list of gc symbols.
186 (lang_process): Call lang_add_gc_name with entry_symbol_default if
187 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
188 and fini function names.
189 * pe-dll.c (process_def_file_and_drectve): Add exported names to
191 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
192 * testsuite/ld-pe/pr19803.d: Tweak expected output.
194 2016-03-22 Nick Clifton <nickc@redhat.com>
196 * configure: Regenerate.
198 2016-03-21 Nick Clifton <nickc@redhat.com>
200 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
201 * plugin.c: Likewise.
202 * pe-dll.c: Likewise.
204 2016-03-18 Awson <kyrab@mail.ru>
207 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
209 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
211 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
213 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
215 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
218 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
219 * testsuite/ld-x86-64/x86-64.exp: Likewise.
220 * testsuite/ld-i386/pr19827.rd: New file.
221 * testsuite/ld-i386/pr19827a.S: Likewise.
222 * testsuite/ld-i386/pr19827b.S: Likewise.
223 * testsuite/ld-x86-64/pr19827.rd: Likewise.
224 * testsuite/ld-x86-64/pr19827a.S: Likewise.
225 * testsuite/ld-x86-64/pr19827b.S: Likewise.
227 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
230 * Makefile.am (ELF_X86_DEPS): Add
231 $(srcdir)/emulparams/reloc_overflow.sh.
232 * Makefile.in: Regenerated.
233 * NEWS: Mention -z noreloc-overflow.
234 * ld.texinfo: Document -z noreloc-overflow.
235 * emulparams/elf32_x86_64.sh: Source
236 ${srcdir}/emulparams/reloc_overflow.sh.
237 * emulparams/elf_x86_64.sh: Likewise.
238 * emulparams/reloc_overflow.sh: New file.
239 * testsuite/ld-x86-64/pr19807-1.s: New file.
240 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
241 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
242 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
243 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
244 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
245 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
246 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
247 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
248 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
250 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
253 * testsuite/ld-i386/i386.exp: Run pr19539.
254 * testsuite/ld-i386/pr19539.d: New file.
255 * testsuite/ld-i386/pr19539.s: Likewise.
256 * testsuite/ld-i386/pr19539.t: Likewise.
257 * testsuite/ld-x86-64/pr19539.s: Likewise.
258 * testsuite/ld-x86-64/pr19539.t: Likewise.
259 * testsuite/ld-x86-64/pr19539a.d: Likewise.
260 * testsuite/ld-x86-64/pr19539b.d: Likewise.
261 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
263 2016-03-10 Mickael Guene <mickael.guene@st.com>
266 * testsuite/ld-arm/arm-elf.exp: New tests.
267 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
268 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
270 2016-03-10 Nick Clifton <nickc@redhat.com>
272 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
274 2016-03-09 Pedro Alves <palves@redhat.com>
276 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
277 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
279 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
282 * testsuite/ld-elf/pr19789.d: New file.
283 * testsuite/ld-elf/pr19789.s: Likewise.
285 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
288 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
289 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
290 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
291 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
292 * testsuite/ld-ifunc/pass.out: New file.
293 * testsuite/ld-ifunc/pr19784a.c: Likewise.
294 * testsuite/ld-ifunc/pr19784b.c: Likewise.
295 * testsuite/ld-ifunc/pr19784c.c: Likewise.
297 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
300 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
301 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
302 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
303 --as-needed for pr18841c.
305 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
308 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
309 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
310 before tmpdir/got1d.so and test --as-needed.
311 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
312 tmpdir/pr18900.so and test --as-needed.
314 2016-03-07 Jiong Wang <jiong.wang@arm.com>
316 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
317 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
319 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
321 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
323 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
324 before tmpdir/copyreloc-lib.so and test --as-needed.
325 * testsuite/ld-x86-64/x86-64.exp: Likewise.
327 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
330 * testsuite/ld-elf/pr19579a.c: New file.
331 * testsuite/ld-elf/pr19579b.c: Likewise.
332 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
334 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
336 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
338 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
340 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
341 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
343 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
346 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
347 input sections for relocatable link.
348 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
349 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
351 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
354 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
355 merge flags of other input sections for relocatable link.
357 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
359 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
361 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
363 * testsuite/ld-elf/pr19162.d: Skip arc target.
365 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
368 * testsuite/ld-elf/pr19162.d: New file.
369 * testsuite/ld-elf/pr19162a.s: Likwise.
370 * testsuite/ld-elf/pr19162b.s: Likwise.
372 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
374 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
375 * testsuite/ld-elf/merge2.d: Likewise.
376 * testsuite/ld-elf/merge3.d: Likewise.
378 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
380 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
383 2016-02-26 Renlin Li <renlin.li@arm.com>
385 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
386 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
387 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
388 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
389 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
390 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
391 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
392 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
393 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
394 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
396 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
399 * testsuite/ld-i386/got1.dd: Updated.
400 * testsuite/ld-i386/lea1c.d: Likewise.
401 * testsuite/ld-i386/load1-nacl.d: Likewise.
402 * testsuite/ld-i386/load1.d: Likewise.
403 * testsuite/ld-i386/load4b.d: Likewise.
404 * testsuite/ld-i386/load5b.d: Likewise.
405 * testsuite/ld-i386/mov1b.d: Likewise.
406 * testsuite/ld-x86-64/mov1b.d: Likewise.
407 * testsuite/ld-x86-64/mov1d.d: Likewise.
408 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
409 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
410 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
411 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
412 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
413 * testsuite/ld-x86-64/lea1a.d: Likewise.
414 * testsuite/ld-x86-64/lea1b.d: Likewise.
415 * testsuite/ld-x86-64/lea1c.d: Likewise.
416 * testsuite/ld-x86-64/lea1d.d: Likewise.
417 * testsuite/ld-x86-64/lea1e.d: Likewise.
418 * testsuite/ld-x86-64/lea1f.d: Likewise.
419 * testsuite/ld-x86-64/mov1b.d: Likewise.
420 * testsuite/ld-x86-64/mov1d.d: Likewise.
421 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
422 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
423 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
424 * testsuite/ld-i386/pr19609-1.s: New file.
425 * testsuite/ld-i386/pr19609-1a.d: Likewise.
426 * testsuite/ld-i386/pr19609-1b.d: Likewise.
427 * testsuite/ld-i386/pr19609-1c.d: Likewise.
428 * testsuite/ld-i386/pr19609-1d.d: Likewise.
429 * testsuite/ld-i386/pr19609-1e.d: Likewise.
430 * testsuite/ld-i386/pr19609-1f.d: Likewise.
431 * testsuite/ld-i386/pr19609-1g.d: Likewise.
432 * testsuite/ld-i386/pr19609-1h.d: Likewise.
433 * testsuite/ld-i386/pr19609-1i.d: Likewise.
434 * testsuite/ld-i386/pr19609-2.s: Likewise.
435 * testsuite/ld-i386/pr19609-2a.d: Likewise.
436 * testsuite/ld-i386/pr19609-2b.d: Likewise.
437 * testsuite/ld-i386/pr19609-2c.d: Likewise.
438 * testsuite/ld-i386/undefweak.s: Likewise.
439 * testsuite/ld-i386/undefweaka.d: Likewise.
440 * testsuite/ld-i386/undefweakb.d: Likewise.
441 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
442 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
443 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
444 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
445 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
446 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
447 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
448 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
449 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
450 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
451 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
452 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
453 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
454 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
455 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
456 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
457 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
458 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
459 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
460 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
461 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
462 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
463 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
464 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
465 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
466 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
467 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
468 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
469 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
470 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
471 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
472 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
473 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
474 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
475 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
476 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
477 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
478 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
479 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
480 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
481 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
482 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
483 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
484 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
485 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
486 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
487 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
489 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
490 and tests for PR ld/19609.
492 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
495 * NEWS: Mention -z common/-z nocommon for ELF targets.
496 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
497 -z common and -z nocommon.
498 * ld.texinfo: Document -z common/-z nocommon.
499 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
500 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
501 --elf-stt-common=yes with assembler.
502 * testsuite/ld-elfcomm/common-1.s: New file.
503 * testsuite/ld-elfcomm/common-1a.d: Likewise.
504 * testsuite/ld-elfcomm/common-1b.d: Likewise.
505 * testsuite/ld-elfcomm/common-1c.d: Likewise.
506 * testsuite/ld-elfcomm/common-1d.d: Likewise.
507 * testsuite/ld-elfcomm/common-1e.d: Likewise.
508 * testsuite/ld-elfcomm/common-1f.d: Likewise.
509 * testsuite/ld-elfcomm/common-2.s: Likewise.
510 * testsuite/ld-elfcomm/common-2a.d: Likewise.
511 * testsuite/ld-elfcomm/common-2b.d: Likewise.
512 * testsuite/ld-elfcomm/common-2c.d: Likewise.
513 * testsuite/ld-elfcomm/common-2d.d: Likewise.
514 * testsuite/ld-elfcomm/common-2e.d: Likewise.
515 * testsuite/ld-elfcomm/common-2f.d: Likewise.
516 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
517 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
518 * testsuite/ld-i386/pr19645.d: Likewise.
519 * testsuite/ld-i386/pr19645.s: Likewise.
520 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
521 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
522 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
523 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
524 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
525 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
526 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
527 * testsuite/ld-x86-64/pr19645.d: Likewise.
528 * testsuite/ld-x86-64/pr19645.s: Likewise.
529 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
531 (assembler_generates_commons): Removed.
532 Run -z common/-z nocommon tests. Run *.d tests.
533 * testsuite/ld-i386/i386.exp: Run pr19645.
534 * testsuite/ld-x86-64/x86-64.exp: Likewise.
535 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
536 assembler. Test STT_COMMON with readelf.
538 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
543 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
544 * Makefile.in: Regenerated.
545 * NEWS: Mention -z nodynamic-undefined-weak.
546 * ld.texinfo: Document -z nodynamic-undefined-weak.
547 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
548 * emulparams/dynamic_undefined_weak.sh: New file.
549 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
550 * emulparams/elf_i386.sh: Likewise.
551 * emulparams/elf_i386_be.sh: Likewise.
552 * emulparams/elf_i386_chaos.sh: Likewise.
553 * emulparams/elf_i386_ldso.sh: Likewise.
554 * emulparams/elf_i386_vxworks.sh: Likewise.
555 * emulparams/elf_iamcu.sh: Likewise.
556 * emulparams/elf_k1om.sh: Likewise.
557 * emulparams/elf_l1om.sh: Likewise.
558 * emulparams/elf_x86_64.sh: Likewise.
559 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
561 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
562 * testsuite/ld-elf/pr19719a.c: New file.
563 * testsuite/ld-elf/pr19719b.c: Likewise.
564 * testsuite/ld-elf/pr19719c.c: Likewise.
565 * testsuite/ld-elf/pr19719d.c: Likewise.
566 * testsuite/ld-i386/pr19636-1.s: Likewise.
567 * testsuite/ld-i386/pr19636-1a.d: Likewise.
568 * testsuite/ld-i386/pr19636-1b.d: Likewise.
569 * testsuite/ld-i386/pr19636-1c.d: Likewise.
570 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
571 * testsuite/ld-i386/pr19636-1d.d: Likewise.
572 * testsuite/ld-i386/pr19636-1e.d: Likewise.
573 * testsuite/ld-i386/pr19636-1f.d: Likewise.
574 * testsuite/ld-i386/pr19636-1g.d: Likewise.
575 * testsuite/ld-i386/pr19636-1h.d: Likewise.
576 * testsuite/ld-i386/pr19636-1i.d: Likewise.
577 * testsuite/ld-i386/pr19636-2.s: Likewise.
578 * testsuite/ld-i386/pr19636-2a.d: Likewise.
579 * testsuite/ld-i386/pr19636-2b.d: Likewise.
580 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
581 * testsuite/ld-i386/pr19636-2c.d: Likewise.
582 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
583 * testsuite/ld-i386/pr19636-2d.d: Likewise.
584 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
585 * testsuite/ld-i386/pr19636-2e.d: Likewise.
586 * testsuite/ld-i386/pr19636-3.s: Likewise.
587 * testsuite/ld-i386/pr19636-3a.d: Likewise.
588 * testsuite/ld-i386/pr19636-3b.d: Likewise.
589 * testsuite/ld-i386/pr19636-3c.d: Likewise.
590 * testsuite/ld-i386/pr19636-3d.d: Likewise.
591 * testsuite/ld-i386/pr19636-3e.d: Likewise.
592 * testsuite/ld-i386/pr19636-3f.d: Likewise.
593 * testsuite/ld-i386/pr19636-3g.d: Likewise.
594 * testsuite/ld-i386/pr19636-4.s: Likewise.
595 * testsuite/ld-i386/pr19636-4a.d: Likewise.
596 * testsuite/ld-i386/pr19636-4b.d: Likewise.
597 * testsuite/ld-i386/pr19636-4c.d: Likewise.
598 * testsuite/ld-i386/pr19636-4d.d: Likewise.
599 * testsuite/ld-i386/pr19704.out: Likewise.
600 * testsuite/ld-i386/pr19704a.c: Likewise.
601 * testsuite/ld-i386/pr19704b.c: Likewise.
602 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
603 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
604 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
605 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
606 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
607 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
608 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
609 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
610 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
611 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
612 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
613 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
614 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
615 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
616 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
617 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
618 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
619 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
620 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
621 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
622 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
623 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
624 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
625 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
626 * testsuite/ld-x86-64/pr19704.out: Likewise.
627 * testsuite/ld-x86-64/pr19704a.c: Likewise.
628 * testsuite/ld-x86-64/pr19704b.c: Likewise.
629 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
630 Run mix_pic_and_non_pic.
631 * testsuite/ld-i386/i386.exp (undefined_weak): New.
632 Run undefined_weak and PR ld/19636 tests.
633 * testsuite/ld-x86-64/x86-64.exp: Likewise.
634 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
635 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
637 2016-02-25 Nick Clifton <nickc@redhat.com>
639 * ld.h (struct ld_config_type): Remove specified_data_size field.
641 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
644 * testsuite/ld-elf/pr19698.d: New file.
645 * testsuite/ld-elf/pr19698.s: Likewise.
646 * testsuite/ld-elf/pr19698.t: Likewise.
648 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
650 * Makefile.am (ELF_X86_DEPS): New.
651 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
652 (eelf_i386_chaos.c): Likewise.
653 (eelf_i386_fbsd.c): Likewise.
654 (eelf_i386_ldso.c): Likewise.
655 (eelf_i386_nacl.c): Likewise.
656 (eelf_i386_sol2.c): Likewise.
657 (eelf_iamcu.c): Likewise.
658 (eelf32_x86_64.c): Likewise.
659 (eelf32_x86_64_nacl.c): Likewise.
660 (eelf_l1om.c): Likewise.
661 (eelf_l1om_fbsd.c): Likewise.
662 (eelf_k1om.c): Likewise.
663 (eelf_k1om_fbsd.c): Likewise.
664 (eelf_x86_64.c): Likewise.
665 (eelf_x86_64_cloudabi.c): Likewise.
666 (eelf_x86_64_fbsd.c): Likewise.
667 (eelf_x86_64_sol2.c): Likewise.
668 * Makefile.in: Regenerated.
670 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
672 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
673 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
674 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
675 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
677 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
679 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
681 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
683 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
684 *-*-gnu* and *-*-solaris*.
685 * testsuite/ld-elf/pr19617b.d: Likewise.
686 * testsuite/ld-elf/pr19617c.d: Likewise.
688 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
691 * testsuite/ld-elf/pr19617.s: New file.
692 * testsuite/ld-elf/pr19617a.d: Likewise.
693 * testsuite/ld-elf/pr19617b.d: Likewise.
694 * testsuite/ld-elf/pr19617c.d: Likewise.
696 2016-02-18 Nick Clifton <nickc@redhat.com>
698 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
699 in-tree xg++ executable after checking for the presence of an
700 in-tree g++ executable.
701 * Makefile.in: Regenerate.
703 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
705 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
706 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
707 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
709 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
711 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
712 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
713 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
714 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
715 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
716 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
717 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
718 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
719 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
720 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
721 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
722 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
723 * testsuite/ld-x86-64/load1c.d: Likewise.
724 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
725 * testsuite/ld-x86-64/load1d.d: Likewise.
726 * testsuite/ld-x86-64/pr14207.d: Likewise.
727 * testsuite/ld-x86-64/pr19162.d: Likewise.
728 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
729 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
730 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
731 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
732 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
733 * testsuite/ld-x86-64/tlspic.rd: Likewise.
735 2016-02-17 Nick Clifton <nickc@redhat.com>
737 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
739 2016-02-15 Nick Clifton <nickc@redhat.com>
741 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
742 description of the flags produced by readelf.
743 * testsuite/ld-i386/pr12921.d: Likewise.
744 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
745 * testsuite/ld-i386/tlsbin.rd: Likewise.
746 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
747 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
748 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
749 * testsuite/ld-i386/tlsdesc.rd: Likewise.
750 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
751 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
752 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
753 * testsuite/ld-i386/tlsnopic.rd: Likewise.
754 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
755 * testsuite/ld-i386/tlspic.rd: Likewise.
756 * testsuite/ld-s390/tlsbin.rd: Likewise.
757 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
758 * testsuite/ld-s390/tlspic.rd: Likewise.
759 * testsuite/ld-s390/tlspic_64.rd: Likewise.
760 * testsuite/ld-sh/tlsbin-2.d: Likewise.
761 * testsuite/ld-sh/tlspic-2.d: Likewise.
762 * testsuite/ld-tic6x/common.d: Likewise.
763 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
764 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
765 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
766 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
767 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
768 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
769 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
770 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
771 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
772 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
773 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
774 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
775 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
776 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
777 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
778 * testsuite/ld-x86-64/pr12718.d: Likewise.
779 * testsuite/ld-x86-64/pr12921.d: Likewise.
780 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
781 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
782 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
783 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
784 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
785 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
786 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
787 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
788 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
789 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
790 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
791 * testsuite/ld-x86-64/tlspic.rd: Likewise.
792 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
793 * testsuite/ld-xtensa/tlspic.rd: Likewise.
795 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
798 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
800 * lexsup.c (parse_args): Enable -Bsymbolic and
801 -Bsymbolic-functions for PIE.
802 * testsuite/ld-i386/i386.exp: Run pr19615.
803 * testsuite/ld-i386/pr19615.d: New file.
804 * testsuite/ld-i386/pr19615.s: Likewise.
805 * testsuite/ld-x86-64/pr19615.d: Likewise.
806 * testsuite/ld-x86-64/pr19615.s: Likewise.
808 2016-02-09 Nick Clifton <nickc@redhat.com>
810 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
811 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
812 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
813 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
815 2016-02-04 Nick Clifton <nickc@redhat.com>
817 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
818 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
819 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
820 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
821 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
822 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
823 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
824 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
825 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
827 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
830 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
831 * testsuite/ld-i386/call1.d: Likewise.
832 * testsuite/ld-i386/call2.d: Likewise.
833 * testsuite/ld-i386/call3a.d: Likewise.
834 * testsuite/ld-i386/call3b.d: Likewise.
835 * testsuite/ld-i386/call3c.d: Likewise.
836 * testsuite/ld-i386/call3d.d: Likewise.
837 * testsuite/ld-i386/call3e.d: Likewise.
838 * testsuite/ld-i386/call3f.d: Likewise.
839 * testsuite/ld-i386/call3g.d: Likewise.
840 * testsuite/ld-i386/call3h.d: Likewise.
841 * testsuite/ld-i386/jmp1.d: Likewise.
842 * testsuite/ld-i386/jmp2.d: Likewise.
843 * testsuite/ld-i386/lea1c.d: Likewise.
844 * testsuite/ld-i386/load1.d: Likewise.
845 * testsuite/ld-i386/load2.d: Likewise.
846 * testsuite/ld-i386/load3.d: Likewise.
847 * testsuite/ld-i386/load4a.d: Likewise.
848 * testsuite/ld-i386/load5a.d: Likewise.
849 * testsuite/ld-i386/mov2b.d: Likewise.
850 * testsuite/ld-i386/mov3.d: Likewise.
851 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
852 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
853 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
854 * testsuite/ld-x86-64/call1a.d: Likewise.
855 * testsuite/ld-x86-64/call1b.d: Likewise.
856 * testsuite/ld-x86-64/call1c.d: Likewise.
857 * testsuite/ld-x86-64/call1d.d: Likewise.
858 * testsuite/ld-x86-64/call1e.d: Likewise.
859 * testsuite/ld-x86-64/call1f.d: Likewise.
860 * testsuite/ld-x86-64/call1h.d: Likewise.
861 * testsuite/ld-x86-64/call1i.d: Likewise.
862 * testsuite/ld-x86-64/load1a.d: Likewise.
863 * testsuite/ld-x86-64/load1b.d: Likewise.
864 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
865 * testsuite/ld-i386/got1.dd: Updated.
866 * testsuite/ld-i386/got1d.S (1): Removed.
867 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
868 * testsuite/ld-x86-64/x86-64.exp: Likewise.
870 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
873 * testsuite/ld-x86-64/pr18591.d: New file.
874 * testsuite/ld-x86-64/pr18591.s: Likewise.
875 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
877 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
880 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
881 * testsuite/ld-elf/pr19553.map: New file.
882 * testsuite/ld-elf/pr19553.map: Likewise.
883 * testsuite/ld-elf/pr19553a.c: Likewise.
884 * testsuite/ld-elf/pr19553b.c: Likewise.
885 * testsuite/ld-elf/pr19553b.out: Likewise.
886 * testsuite/ld-elf/pr19553c.c: Likewise.
887 * testsuite/ld-elf/pr19553c.out: Likewise.
888 * testsuite/ld-elf/pr19553d.c: Likewise.
889 * testsuite/ld-elf/pr19553d.out: Likewise.
891 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
894 * testsuite/ld-elf/pr19539.d: New file.
895 * testsuite/ld-elf/pr19539.s: Likewise.
896 * testsuite/ld-elf/pr19539.t: Likewise.
898 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
901 * configure.ac (compressed_debug_sections): Replace == with =.
902 * configure: Regenerated.
904 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
906 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
907 * scripttempl/avrtiny.sc (.noinit): Likewise.
909 2016-01-21 Nick Clifton <nickc@redhat.com>
912 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
913 the arm-netbsdelf target.
916 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
918 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
919 * testsuite/ld-arm/vxworks1.dd: Likewise.
920 * testsuite/ld-arm/vxworks1.rd: Likewise.
921 * testsuite/ld-arm/vxworks1.ld: Set the output format.
923 2016-01-20 Jiong Wang <jiong.wang@arm.com>
925 * testsuite/ld-aarch64/farcall-section.d: Delete.
926 * testsuite/ld-aarch64/farcall-section.s: Delete.
927 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
928 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
929 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
930 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
931 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
933 2016-01-20 Nick Clifton <nickc@redhat.com>
936 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
937 early for PE based targets.
938 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
939 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
941 2016-01-20 Mickael Guene <mickael.guene@st.com>
943 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
944 Add 'y' attribute usage.
945 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
946 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
947 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
949 2016-01-19 Nick Clifton <nickc@redhat.com>
951 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
952 foo@FOO and bar@@FOO.
954 2016-01-18 Alan Modra <amodra@gmail.com>
956 * configure: Regenerate.
958 2016-01-18 Nick Clifton <nickc@redhat.com>
960 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
961 is not configured to support plugins.
963 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
964 but with 16 byte section alignment.
965 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
966 test for MIPS targets.
968 2016-01-17 Alan Modra <amodra@gmail.com>
970 * configure: Regenerate.
972 2016-01-17 Alan Modra <amodra@gmail.com>
974 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
975 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
976 * testsuite/ld-elf/pr14156a.d: Likewise.
977 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
978 * testsuite/ld-elf/sec64k.exp: Likewise.
980 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
982 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
983 Set address of .foo section when linking.
984 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
986 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
987 output to the above changes.
989 2016-01-13 Nick Clifton <nickc@redhat.com>
991 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
994 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
995 fail for MIPS targets.
997 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1000 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1002 * testsuite/ld-arm/arm-elf.exp: New test.
1003 * testsuite/ld-arm/unwind-mix.d: New file.
1004 * testsuite/ld-arm/unwind-mix1.s: New file.
1005 * testsuite/ld-arm/unwind-mix2.s: New file.
1007 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1010 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1011 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1012 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1013 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1014 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1015 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1017 2016-01-05 Nick Clifton <nickc@redhat.com>
1019 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1020 MSP430 hardware multiply address range.
1021 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1022 (__romdatacopysize): Define.
1023 * scripttempl/elf32msp430_3.sc: Likewise.
1025 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1027 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1028 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1030 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1032 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1033 messages expected according to MIPS BFD private data merge
1035 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1036 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1037 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1038 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1039 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1040 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1041 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1042 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1043 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1044 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1045 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1046 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1047 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1049 2016-01-01 Alan Modra <amodra@gmail.com>
1051 Update year range in copyright notice of all files.
1053 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1055 Copyright (C) 2016 Free Software Foundation, Inc.
1057 Copying and distribution of this file, with or without modification,
1058 are permitted in any medium without royalty provided the copyright
1059 notice and this notice are preserved.
1065 version-control: never