1 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
4 with -mrelax-relocations=yes.
5 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
6 * testsuite/ld-i386/lea1b.d (as): Likewise.
7 * testsuite/ld-i386/lea1d.d (as): Likewise.
8 * testsuite/ld-i386/lea1e.d (as): Likewise.
9 * testsuite/ld-i386/lea1f.d (as): Likewise.
10 * testsuite/ld-i386/load7.d (as): Likewise.
11 * testsuite/ld-i386/mov1b.d (as): Likewise.
12 * testsuite/ld-i386/pr19175.d (as): Likewise.
13 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
14 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
15 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
16 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
17 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
19 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
21 * configure.tgt: Replace -uclibc with *.
23 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
25 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
26 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
27 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
28 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
30 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
32 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
33 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
34 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
35 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
36 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
37 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
39 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
41 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
42 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
43 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
44 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
45 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
46 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
47 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
49 2016-05-28 Alan Modra <amodra@gmail.com>
51 * ldmain.c (multiple_definition, multiple_common, add_to_set,
52 constructor_callback, warning_callback, undefined_symbol,
53 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
54 * emultempl/elf32.em: Adjust callback calls.
56 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
58 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
59 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
60 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
62 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
64 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
66 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
68 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
70 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
72 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
74 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
76 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
77 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
79 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
81 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
83 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
84 `unaligned-jalx-2' here.
85 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
86 `unaligned-jalx-mips16-2' here.
87 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
88 `unaligned-jalx-micromips-2' here.
89 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
90 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
92 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
93 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
94 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
95 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
96 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
98 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
99 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
100 `unaligned-lwpc-3' here.
101 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
102 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
103 `unaligned-lwpc-2' here.
104 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
105 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
106 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
107 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
108 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
109 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
110 `unaligned-ldpc-4' here.
111 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
112 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
113 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
114 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
115 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
116 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
117 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
118 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
119 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
120 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
121 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
123 2016-05-26 Nick Clifton <nickc@redhat.com>
126 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
128 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
130 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
132 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
133 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
134 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
135 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
136 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
137 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
138 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
139 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
140 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
141 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
142 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
143 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
144 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
145 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
146 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
147 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
148 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
149 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
150 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
151 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
152 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
153 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
154 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
155 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
156 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
157 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
158 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
159 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
160 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
161 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
162 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
163 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
164 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
166 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
169 * ldmain.c (add_archive_element): Don't claim new IR symbols
170 after all IR symbols have been claimed.
171 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
173 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
174 Run PR ld/20103 tests.
175 * testsuite/ld-plugin/pr20103a.c: New file.
176 * testsuite/ld-plugin/pr20103b.c: Likewise.
177 * testsuite/ld-plugin/pr20103c.c: Likewise.
179 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
181 * testsuite/ld-mips-elf/jalx-local.d: New test.
182 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
183 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
184 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
186 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
188 * Makefile.am: Add earmelf_phoenix.c.
189 * Makefile.in: Regenerate.
190 * configure.tgt: Add entry for arm-phoenix.
191 * emulparams/armelf_phoenix.sh: New file.
193 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
195 * emultempl/armelf.em (arm_elf_before_allocation): Call
196 bfd_elf32_arm_keep_private_stub_output_sections before generic
197 before_allocation function.
199 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
201 * testsuite/ld-mips-elf/jalx-addend.d: New test.
202 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
203 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
204 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
206 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
209 * testsuite/ld-i386/i386.exp: Run pr20117.
210 * testsuite/ld-i386/pr19609-1i.d: Updated.
211 * testsuite/ld-i386/pr20117.d: New file.
212 * testsuite/ld-i386/pr20117.s: Likewise.
214 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
216 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
217 * testsuite/ld-elf/group8a.d: Likewise.
218 * testsuite/ld-elf/group8b.d: Likewise.
219 * testsuite/ld-elf/group9a.d: Likewise.
220 * testsuite/ld-elf/group9b.d: Likewise.
221 * testsuite/ld-elf/pr12851.d: Likewise.
222 * testsuite/ld-elf/pr12975.d: Likewise.
223 * testsuite/ld-elf/pr13177.d: Likewise.
224 * testsuite/ld-elf/pr13195.d: Likewise.
225 * testsuite/ld-elf/pr17615.d: Likewise.
226 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
227 * testsuite/ld-elf/group3b.d: Likewise.
228 * testsuite/ld-srec/srec.exp: Likewise.
229 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
231 (check_shared_lib_support): Mark ARC as supporting.
233 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
235 * emulparams/arcelf.sh: Changed.
236 * emulparams/arclinux.sh: Likewise.
237 * scripttempl/arclinux.sc: Moved to a more standard implementation
240 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
242 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
243 `ft32-*-*' behind `frv-*-*'.
245 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
247 * configure.tgt: Remove `am34-*-linux*' support.
249 2016-05-19 Alan Modra <amodra@gmail.com>
251 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
252 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
253 * testsuite/ld-scripts/cross3.t: Likewise.
254 * testsuite/ld-scripts/cross4.t: Likewise.
255 * testsuite/ld-scripts/cross5.t: Likewise.
256 * testsuite/ld-scripts/cross6.t: Likewise.
257 * testsuite/ld-scripts/cross7.t: Likewise.
259 2016-05-19 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
262 exe name rather than constructing testname. Fix typo in
263 sub-test name. Log copying. Use -rpath rather than -R.
265 2016-05-18 Nick Clifton <nickc@redhat.com>
267 * scripttempl/ft32.sc: Use fixed constants for memory region
268 lengths. Include DWARF debug sections.
269 (.data .bss): Do not assign locations during relocatable links.
270 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
271 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
272 * testsuite/ld-elf/sec64k.exp: Likewise.
273 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
274 * testsuite/ld-elf/merge.d: Likewise.
275 * testsuite/ld-elf/orphan-region.d: Likewise.
276 * testsuite/ld-elf/orphan.s: Likewise.
277 * testsuite/ld-elf/orphan3.d: Likewise.
278 * testsuite/ld-elf/pr349.d: Likewise.
279 * testsuite/ld-elf/warn2.d: Likewise.
280 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
281 that the FT32 does not support shared libraries.
283 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
285 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
288 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
290 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
292 * scripttempl/avrtiny.sc (text): Likewise.
294 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
296 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
297 `supports_gnu_unique' to qualify testing.
299 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
301 * testsuite/ld-elf/flags1.d: Update the xfail list.
303 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
305 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
308 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
311 * testplug2.c (onall_symbols_read): Remove redundant sizeof
312 on EXPECTED_VIEW_LENGTH.
313 * testplug4.c (onall_symbols_read): Likewise.
315 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
318 * testsuite/ld-x86-64/pr20093-1.d: New file.
319 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
320 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
321 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
322 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
324 2016-05-13 Alan Modra <amodra@gmail.com>
326 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
327 Use different output file name for static app without .rel.plt.
328 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
329 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
330 * testsuite/ld-arm/arm-no-rel-plt.r: New.
331 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
332 * testsuite/ld-arm/arm-static-app.r: Likewise.
334 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
337 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
338 (libldtestplug4_la_SOURCES): New.
339 (libldtestplug4_la_CFLAGS): Likewise.
340 (libldtestplug4_la_LDFLAGS): Likewise.
341 * Makefile.in: Regenerated.
342 * plugin.c (get_symbols): Return resolution based on IR symbol
343 kinds for symbols defined/referenced only within IR.
344 * testplug4.c: New file.
345 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
346 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
347 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
348 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
349 (plugin4_path): Likewise.
350 Add a test for ld/20070.
352 2016-05-11 Alan Modra <amodra@gmail.com>
354 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
355 Call elf32_hppa_init_stub_bfd.
357 2016-05-11 Alan Modra <amodra@gmail.com>
360 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
361 * testsuite/ld-powerpc/tlsdll.s: New.
362 * testsuite/ld-powerpc/tlsdll.ver: New.
363 * testsuite/ld-powerpc/tlsdll_32.s: New.
364 * testsuite/ld-powerpc/tlsopt5.d: New.
365 * testsuite/ld-powerpc/tlsopt5.s: New.
366 * testsuite/ld-powerpc/tlsopt5_32.d: New.
367 * testsuite/ld-powerpc/tlsopt5_32.s: New.
369 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
371 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
372 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
374 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
376 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
377 parameter and rename input_section parameter to after_input_section.
378 Append input stub section to the output section if after_input_section
381 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
383 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
385 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
386 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
388 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
390 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
392 2016-05-09 Christophe Monat <christophe.monat@st.com>
395 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
396 tests. Fix misnamed stm32l4xx-fix-all.
397 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
398 loads with DP registers.
399 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
400 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
401 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
402 loads with DP registers.
403 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
405 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
407 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
409 (xfail): Remove avr-*-*.
410 Update regex to check the section flags.
411 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
413 2016-05-09 Alan Modra <amodra@gmail.com>
415 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
416 * Makefile.in: Regenerate.
418 2016-05-09 Alan Modra <amodra@gmail.com>
420 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
421 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
422 * testsuite/ld-scripts/section-match-1.t: Likewise.
424 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
427 * testsuite/ld-elf/pr17550-1.s: New file.
428 * testsuite/ld-elf/pr17550-2.s: Likewise.
429 * testsuite/ld-elf/pr17550-3.s: Likewise.
430 * testsuite/ld-elf/pr17550-4.s: Likewise.
431 * testsuite/ld-elf/pr17550a.d: Likewise.
432 * testsuite/ld-elf/pr17550b.d: Likewise.
433 * testsuite/ld-elf/pr17550c.d: Likewise.
434 * testsuite/ld-elf/pr17550d.d: Likewise.
436 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
438 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
440 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
442 * testsuite/ld-i386/i386.exp: Run load7.
443 * testsuite/ld-i386/load7.d: New file.
444 * testsuite/ld-i386/load7.map: Likewise.
445 * testsuite/ld-i386/load7.s: Likewise.
446 * testsuite/ld-x86-64/load2.d: Likewise.
447 * testsuite/ld-x86-64/load2.map: Likewise.
448 * testsuite/ld-x86-64/load2.s: Likewise.
449 * testsuite/ld-x86-64/x86-64.exp: Run load2.
451 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
453 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
454 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
456 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
459 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
461 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
463 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
465 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
467 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
469 * testsuite/ld-unique/unique.d: New test.
470 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
471 messages for compiled tests.
473 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
475 * testsuite/ld-elf/pr18735.d: Allow other symbols.
476 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
477 * testsuite/ld-gc/pr14265.d: Allow other symbols.
478 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
479 plugin_tests only if check_shared_lib_support is true.
480 * testsuite/ld-selective/selective.exp: Add --section-start
483 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
486 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
488 2016-05-03 Jiong Wang <jiong.wang@arm.com>
490 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
491 * NEWS: Mention --no-apply-dynamic-relocs.
492 * ld.texinfo (ld and the ARM family): Document
493 --no-apply-dynamic-relocs.
494 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
495 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
496 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
497 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
500 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
502 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
503 before running STT_COMMON tests.
505 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
507 * config/default.exp (NOPIE_CFLAGS): Download source only on
509 (NOPIE_LDFLAGS): Likewise.
510 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
511 (check_lto_fat_available): Likewise.
512 (check_lto_shared_available): Likewise.
513 (check_ifunc_available): Likewise.
514 (check_ifunc_attribute_available): Likewise.
516 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
518 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
520 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
523 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
524 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
527 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
529 * testsuite/ld-elf/compressed1b.d: Pass
530 --compress-debug-sections=none to ld.
531 * testsuite/ld-elf/compressed1c.d: Likewise.
533 2016-04-27 Alan Modra <amodra@gmail.com>
536 * configure.tgt: Don't use var+=.
538 2016-04-25 Nick Clifton <nickc@redhat.com>
541 * configure.tgt: Include big endian PPC64 emulations with little
542 endian PPC64 targets.
544 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
546 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
548 2016-04-21 Nick Clifton <nickc@redhat.com>
550 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
551 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
552 targets. Do not stop the checks when problems are encountered.
554 2016-04-21 Alan Modra <amodra@gmail.com>
556 * testsuite/ld-scripts/cross3.t: Add commonly used data
557 and text section names to output section statements.
558 * testsuite/ld-scripts/cross4.t: Likewise.
559 * testsuite/ld-scripts/cross5.t: Likewise.
560 * testsuite/ld-scripts/cross6.t: Likewise.
561 * testsuite/ld-scripts/cross7.t: Likewise.
563 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
565 * ldlang.c (lang_check_relocs): New function.
566 (lang_process): Call lang_check_relocs after lang_gc_sections.
567 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
568 call _bfd_elf_link_check_relocs here.
570 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
573 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
574 R_386_NONE or R_X86_64_NONE.
576 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
578 * testsuite/ld-x86-64/pic1.d: New file.
579 * testsuite/ld-x86-64/pic1.s: Likewise.
580 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
582 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
584 * testsuite/ld-x86-64/pie2.d: New file.
585 * testsuite/ld-x86-64/pie2.s: Likewise.
586 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
588 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
591 * testsuite/ld-x86-64/pr19969.d: New file.
592 * testsuite/ld-x86-64/pr19969a.S: Likewise.
593 * testsuite/ld-x86-64/pr19969b.S: Likewise.
594 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
596 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
598 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
600 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
602 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
604 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
606 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
608 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
610 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
612 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
614 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
615 Set check_relocs_after_open_input to TRUE if
616 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
617 (gld${EMULATION_NAME}_after_open): Call
618 _bfd_elf_link_check_relocs on all inputs if
619 check_relocs_after_open_input is TRUE.
621 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
623 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
626 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
628 * emultempl/scoreelf.em: Likewise.
630 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
633 * testsuite/ld-x86-64/pr19719.d: New file.
634 * testsuite/ld-x86-64/pr19719.s: Likewise.
635 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
637 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
639 * ld.texinfo: Document NOCROSSREFS_TO script command.
640 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
641 (lang_add_nocrossref_to): New prototype.
642 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
643 symbols defined in the first section.
644 (check_nocrossref): Likewise.
645 * ldgram.y (NOCROSSREFS_TO): New script command.
646 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
647 (lang_add_nocrossref_to): New function.
648 * ldlex.l (NOCROSSREFS_TO): New token.
649 * NEWS: Mention NOCROSSREFS_TO.
650 * testsuite/ld-scripts/cross4.t: New file.
651 * testsuite/ld-scripts/cross5.t: Likewise.
652 * testsuite/ld-scripts/cross6.t: Likewise.
653 * testsuite/ld-scripts/cross7.t: Likewise.
654 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
657 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
659 * Makefile.in: Regenerated with automake 1.11.6.
660 * aclocal.m4: Likewise.
662 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
664 * testsuite/ld-arc/arc.exp: New file.
665 * testsuite/ld-arc/nps-1.s: New file.
666 * testsuite/ld-arc/nps-1a.d: New file.
667 * testsuite/ld-arc/nps-1b.d: New file.
668 * testsuite/ld-arc/nps-1b.err: New file.
670 2016-04-14 Nick Clifton <nickc@redhat.com>
673 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
674 exceptions for Mingw and Cygwin.
676 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
678 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
681 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
684 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
685 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
688 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
691 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
692 * testsuite/ld-x86-64/x86-64.exp: Likewise.
693 * testsuite/ld-i386/pr19939.s: New file.
694 * testsuite/ld-i386/pr19939a.d: Likewise.
695 * testsuite/ld-i386/pr19939b.d: Likewise.
696 * testsuite/ld-x86-64/pr19939.s: Likewise.
697 * testsuite/ld-x86-64/pr19939a.d: Likewise.
698 * testsuite/ld-x86-64/pr19939b.d: Likewise.
700 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
702 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
704 2016-04-08 Alan Modra <amodra@gmail.com>
707 * ldlang.c (maybe_overlays): Delete.
708 (lang_size_sections_1): Remove code setting maybe_overlays.
709 (lang_check_section_addresses): Instead detect overlays by
710 exact match of section VMAs here. Fix memory leak.
712 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
714 * ldlang.c (print_output_section_statement): Show minfo size
715 in target machine address units.
716 (print_reloc_statement): Likewise.
717 (print_padding_statement): Likewise.
718 (print_data_statement): Likewise. Ensure minimum print_dot
719 increment of one address unit.
721 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
723 * emulparams/arc-endianness.sh: Make little endian default choice.
725 2016-04-07 Nick Clifton <nickc@redhat.com>
727 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
729 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
731 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
733 * emulparams/arc-endianness.sh: New file.
734 * emulparams/arcebelf.sh: Deleted.
735 * emulparams/arcebelf_prof.sh: Deleted.
736 * emulparams/arceblinux.sh: Deleted.
737 * emulparams/arceblinux_prof.sh: Deleted.
738 * emulparams/arcelf.sh: Include arc-endinness.sh.
739 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
740 * emulparams/arclinux.sh: Include arc-endinness.sh.
741 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
742 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
743 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
744 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
745 little endian arc targets.
746 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
747 * testsuite/ld-elf/group1.d: Likewise.
748 * testsuite/ld-elf/group3b.d: Likewise.
749 * testsuite/ld-elf/group8a.d: Likewise.
750 * testsuite/ld-elf/group8b.d: Likewise.
751 * testsuite/ld-elf/group9a.d: Likewise.
752 * testsuite/ld-elf/group9b.d: Likewise.
753 * testsuite/ld-elf/linkonce2.d: Likewise.
754 * testsuite/ld-elf/pr12851.d: Likewise.
755 * testsuite/ld-elf/pr12975.d: Likewise.
756 * testsuite/ld-elf/pr13177.d: Likewise.
757 * testsuite/ld-elf/pr13195.d: Likewise.
758 * testsuite/ld-elf/pr17615.d: Likewise.
759 * testsuite/ld-elf/pr19162.d: Likewise.
760 * testsuite/ld-elf/sec64k.exp: Likewise.
761 * testsuite/lib/ld-lib.exp: Likewise.
763 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
766 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
768 * testsuite/ld-cris/tls-e-20a.d: Likewise.
769 * testsuite/ld-cris/tls-e-21.d: Likewise.
770 * testsuite/ld-cris/tls-e-23.d: Likewise.
771 * testsuite/ld-cris/tls-e-80.d: Likewise.
772 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
773 * testsuite/ld-cris/tls-leie-19.d: Likewise.
774 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
775 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
776 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
777 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
778 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
779 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
780 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
781 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
783 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
785 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
786 * testsuite/ld-discard/start.d: Likewise.
787 * testsuite/ld-discard/static.d: Likewise.
788 * testsuite/ld-elf/group1.d: Likewise.
789 * testsuite/ld-elf/group3b.d: Likewise.
790 * testsuite/ld-elf/orphan-region.d: Likewise.
791 * testsuite/ld-elf/orphan.d: Likewise.
792 * testsuite/ld-elf/orphan3.d: Likewise.
793 * testsuite/ld-elf/pr349.d: Likewise.
794 * testsuite/ld-elf/warn1.d: Likewise.
795 * testsuite/ld-elf/warn2.d: Likewise.
796 * testsuite/ld-elf/warn3.d: Likewise.
797 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
798 through linker flags.
799 * testsuite/ld-srec/srec.exp: Set as xfail.
801 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
804 * testsuite/ld-i386/pr19827-nacl.rd: New file.
805 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
807 2016-04-04 Nick Clifton <nickc@redhat.com>
810 * emultempl/pe.em (change_undef): New function. Encapsulates
811 duplicated code in pe_fixup_stdcalls and adds the newly defined
812 sym to the gc root list.
813 (pe_fixup_stdcall): Use the new function.
814 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
815 symbol to gc root list.
817 2016-03-31 Alan Modra <amodra@gmail.com>
819 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
820 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
821 (print_input_section): Don't use TO_ADDR when printing section
823 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
824 (lang_size_sections): Use TO_ADDR in relro end calculation.
826 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
828 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
829 value from regexp_diff.
830 * testsuite/ld-elf/orphan-5.l: Fix expected output.
831 * testsuite/ld-elf/orphan-6.l: Likewise.
833 2016-03-30 Alan Modra <amodra@gmail.com>
836 * ldlang.c (maybe_overlays): New static var.
837 (lang_size_sections_1): Set it here.
838 (struct check_sec): New.
839 (sort_sections_by_lma): Adjust for array of structs.
840 (sort_sections_by_vma): New function.
841 (lang_check_section_addresses): Check both LMA and VMA for overlap.
842 * testsuite/ld-scripts/rgn-over7.d: Adjust.
844 2016-03-30 Alan Modra <amodra@gmail.com>
846 * ldlang.c (lang_size_sections_1): Correct code detecting a
847 backward non-overlapping move.
849 2016-03-30 Alan Modra <amodra@gmail.com>
851 * ldlang.c (IS_TBSS): New macro, extracted from..
852 (IGNORE_SECTION): ..here.
853 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
854 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
856 2016-03-22 Nick Clifton <nickc@redhat.com>
859 * ldlang.c (lang_add_gc_name): New function. Adds the provided
860 symbol name to the list of gc symbols.
861 (lang_process): Call lang_add_gc_name with entry_symbol_default if
862 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
863 and fini function names.
864 * pe-dll.c (process_def_file_and_drectve): Add exported names to
866 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
867 * testsuite/ld-pe/pr19803.d: Tweak expected output.
869 2016-03-22 Nick Clifton <nickc@redhat.com>
871 * configure: Regenerate.
873 2016-03-21 Nick Clifton <nickc@redhat.com>
875 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
876 * plugin.c: Likewise.
877 * pe-dll.c: Likewise.
879 2016-03-18 Awson <kyrab@mail.ru>
882 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
884 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
886 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
888 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
890 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
893 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
894 * testsuite/ld-x86-64/x86-64.exp: Likewise.
895 * testsuite/ld-i386/pr19827.rd: New file.
896 * testsuite/ld-i386/pr19827a.S: Likewise.
897 * testsuite/ld-i386/pr19827b.S: Likewise.
898 * testsuite/ld-x86-64/pr19827.rd: Likewise.
899 * testsuite/ld-x86-64/pr19827a.S: Likewise.
900 * testsuite/ld-x86-64/pr19827b.S: Likewise.
902 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
905 * Makefile.am (ELF_X86_DEPS): Add
906 $(srcdir)/emulparams/reloc_overflow.sh.
907 * Makefile.in: Regenerated.
908 * NEWS: Mention -z noreloc-overflow.
909 * ld.texinfo: Document -z noreloc-overflow.
910 * emulparams/elf32_x86_64.sh: Source
911 ${srcdir}/emulparams/reloc_overflow.sh.
912 * emulparams/elf_x86_64.sh: Likewise.
913 * emulparams/reloc_overflow.sh: New file.
914 * testsuite/ld-x86-64/pr19807-1.s: New file.
915 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
916 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
917 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
918 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
919 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
920 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
921 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
922 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
923 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
925 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
928 * testsuite/ld-i386/i386.exp: Run pr19539.
929 * testsuite/ld-i386/pr19539.d: New file.
930 * testsuite/ld-i386/pr19539.s: Likewise.
931 * testsuite/ld-i386/pr19539.t: Likewise.
932 * testsuite/ld-x86-64/pr19539.s: Likewise.
933 * testsuite/ld-x86-64/pr19539.t: Likewise.
934 * testsuite/ld-x86-64/pr19539a.d: Likewise.
935 * testsuite/ld-x86-64/pr19539b.d: Likewise.
936 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
938 2016-03-10 Mickael Guene <mickael.guene@st.com>
941 * testsuite/ld-arm/arm-elf.exp: New tests.
942 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
943 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
945 2016-03-10 Nick Clifton <nickc@redhat.com>
947 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
949 2016-03-09 Pedro Alves <palves@redhat.com>
951 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
952 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
954 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
957 * testsuite/ld-elf/pr19789.d: New file.
958 * testsuite/ld-elf/pr19789.s: Likewise.
960 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
963 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
964 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
965 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
966 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
967 * testsuite/ld-ifunc/pass.out: New file.
968 * testsuite/ld-ifunc/pr19784a.c: Likewise.
969 * testsuite/ld-ifunc/pr19784b.c: Likewise.
970 * testsuite/ld-ifunc/pr19784c.c: Likewise.
972 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
975 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
976 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
977 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
978 --as-needed for pr18841c.
980 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
983 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
984 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
985 before tmpdir/got1d.so and test --as-needed.
986 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
987 tmpdir/pr18900.so and test --as-needed.
989 2016-03-07 Jiong Wang <jiong.wang@arm.com>
991 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
992 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
994 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
996 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
998 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
999 before tmpdir/copyreloc-lib.so and test --as-needed.
1000 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1002 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1005 * testsuite/ld-elf/pr19579a.c: New file.
1006 * testsuite/ld-elf/pr19579b.c: Likewise.
1007 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1009 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1011 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1013 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1015 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1016 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1018 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1021 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1022 input sections for relocatable link.
1023 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1024 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1026 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1029 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1030 merge flags of other input sections for relocatable link.
1032 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1034 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1036 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1038 * testsuite/ld-elf/pr19162.d: Skip arc target.
1040 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1043 * testsuite/ld-elf/pr19162.d: New file.
1044 * testsuite/ld-elf/pr19162a.s: Likwise.
1045 * testsuite/ld-elf/pr19162b.s: Likwise.
1047 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1049 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1050 * testsuite/ld-elf/merge2.d: Likewise.
1051 * testsuite/ld-elf/merge3.d: Likewise.
1053 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1055 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1058 2016-02-26 Renlin Li <renlin.li@arm.com>
1060 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1061 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1062 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1063 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1064 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1065 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1066 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1067 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1068 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1069 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1071 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1074 * testsuite/ld-i386/got1.dd: Updated.
1075 * testsuite/ld-i386/lea1c.d: Likewise.
1076 * testsuite/ld-i386/load1-nacl.d: Likewise.
1077 * testsuite/ld-i386/load1.d: Likewise.
1078 * testsuite/ld-i386/load4b.d: Likewise.
1079 * testsuite/ld-i386/load5b.d: Likewise.
1080 * testsuite/ld-i386/mov1b.d: Likewise.
1081 * testsuite/ld-x86-64/mov1b.d: Likewise.
1082 * testsuite/ld-x86-64/mov1d.d: Likewise.
1083 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1084 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1085 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1086 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1087 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1088 * testsuite/ld-x86-64/lea1a.d: Likewise.
1089 * testsuite/ld-x86-64/lea1b.d: Likewise.
1090 * testsuite/ld-x86-64/lea1c.d: Likewise.
1091 * testsuite/ld-x86-64/lea1d.d: Likewise.
1092 * testsuite/ld-x86-64/lea1e.d: Likewise.
1093 * testsuite/ld-x86-64/lea1f.d: Likewise.
1094 * testsuite/ld-x86-64/mov1b.d: Likewise.
1095 * testsuite/ld-x86-64/mov1d.d: Likewise.
1096 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1097 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1098 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1099 * testsuite/ld-i386/pr19609-1.s: New file.
1100 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1101 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1102 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1103 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1104 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1105 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1106 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1107 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1108 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1109 * testsuite/ld-i386/pr19609-2.s: Likewise.
1110 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1111 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1112 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1113 * testsuite/ld-i386/undefweak.s: Likewise.
1114 * testsuite/ld-i386/undefweaka.d: Likewise.
1115 * testsuite/ld-i386/undefweakb.d: Likewise.
1116 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1117 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1118 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1119 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1120 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1121 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1122 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1123 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1124 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1125 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1126 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1127 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1128 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1129 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1130 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1131 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1132 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1133 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1134 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1135 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1136 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1137 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1138 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1139 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1140 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1141 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1142 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1143 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1144 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1145 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1146 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1147 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1148 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1149 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1150 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1151 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1152 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1153 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1154 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1155 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1156 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1157 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1158 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1159 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1160 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1161 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1162 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1164 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1165 and tests for PR ld/19609.
1167 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1170 * NEWS: Mention -z common/-z nocommon for ELF targets.
1171 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1172 -z common and -z nocommon.
1173 * ld.texinfo: Document -z common/-z nocommon.
1174 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1175 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1176 --elf-stt-common=yes with assembler.
1177 * testsuite/ld-elfcomm/common-1.s: New file.
1178 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1179 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1180 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1181 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1182 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1183 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1184 * testsuite/ld-elfcomm/common-2.s: Likewise.
1185 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1186 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1187 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1188 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1189 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1190 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1191 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1192 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1193 * testsuite/ld-i386/pr19645.d: Likewise.
1194 * testsuite/ld-i386/pr19645.s: Likewise.
1195 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1196 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1197 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1198 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1199 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1200 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1201 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1202 * testsuite/ld-x86-64/pr19645.d: Likewise.
1203 * testsuite/ld-x86-64/pr19645.s: Likewise.
1204 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1206 (assembler_generates_commons): Removed.
1207 Run -z common/-z nocommon tests. Run *.d tests.
1208 * testsuite/ld-i386/i386.exp: Run pr19645.
1209 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1210 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1211 assembler. Test STT_COMMON with readelf.
1213 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1218 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1219 * Makefile.in: Regenerated.
1220 * NEWS: Mention -z nodynamic-undefined-weak.
1221 * ld.texinfo: Document -z nodynamic-undefined-weak.
1222 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1223 * emulparams/dynamic_undefined_weak.sh: New file.
1224 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1225 * emulparams/elf_i386.sh: Likewise.
1226 * emulparams/elf_i386_be.sh: Likewise.
1227 * emulparams/elf_i386_chaos.sh: Likewise.
1228 * emulparams/elf_i386_ldso.sh: Likewise.
1229 * emulparams/elf_i386_vxworks.sh: Likewise.
1230 * emulparams/elf_iamcu.sh: Likewise.
1231 * emulparams/elf_k1om.sh: Likewise.
1232 * emulparams/elf_l1om.sh: Likewise.
1233 * emulparams/elf_x86_64.sh: Likewise.
1234 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1236 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1237 * testsuite/ld-elf/pr19719a.c: New file.
1238 * testsuite/ld-elf/pr19719b.c: Likewise.
1239 * testsuite/ld-elf/pr19719c.c: Likewise.
1240 * testsuite/ld-elf/pr19719d.c: Likewise.
1241 * testsuite/ld-i386/pr19636-1.s: Likewise.
1242 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1243 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1244 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1245 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1246 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1247 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1248 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1249 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1250 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1251 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1252 * testsuite/ld-i386/pr19636-2.s: Likewise.
1253 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1254 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1255 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1256 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1257 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1258 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1259 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1260 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1261 * testsuite/ld-i386/pr19636-3.s: Likewise.
1262 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1263 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1264 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1265 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1266 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1267 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1268 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1269 * testsuite/ld-i386/pr19636-4.s: Likewise.
1270 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1271 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1272 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1273 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1274 * testsuite/ld-i386/pr19704.out: Likewise.
1275 * testsuite/ld-i386/pr19704a.c: Likewise.
1276 * testsuite/ld-i386/pr19704b.c: Likewise.
1277 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1278 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1279 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1280 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1281 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1282 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1283 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1284 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1285 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1286 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1287 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1288 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1289 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1290 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1291 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1292 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1293 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1294 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1295 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1296 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1297 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1298 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1299 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1300 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1301 * testsuite/ld-x86-64/pr19704.out: Likewise.
1302 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1303 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1304 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1305 Run mix_pic_and_non_pic.
1306 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1307 Run undefined_weak and PR ld/19636 tests.
1308 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1309 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1310 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1312 2016-02-25 Nick Clifton <nickc@redhat.com>
1314 * ld.h (struct ld_config_type): Remove specified_data_size field.
1316 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1319 * testsuite/ld-elf/pr19698.d: New file.
1320 * testsuite/ld-elf/pr19698.s: Likewise.
1321 * testsuite/ld-elf/pr19698.t: Likewise.
1323 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1325 * Makefile.am (ELF_X86_DEPS): New.
1326 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1327 (eelf_i386_chaos.c): Likewise.
1328 (eelf_i386_fbsd.c): Likewise.
1329 (eelf_i386_ldso.c): Likewise.
1330 (eelf_i386_nacl.c): Likewise.
1331 (eelf_i386_sol2.c): Likewise.
1332 (eelf_iamcu.c): Likewise.
1333 (eelf32_x86_64.c): Likewise.
1334 (eelf32_x86_64_nacl.c): Likewise.
1335 (eelf_l1om.c): Likewise.
1336 (eelf_l1om_fbsd.c): Likewise.
1337 (eelf_k1om.c): Likewise.
1338 (eelf_k1om_fbsd.c): Likewise.
1339 (eelf_x86_64.c): Likewise.
1340 (eelf_x86_64_cloudabi.c): Likewise.
1341 (eelf_x86_64_fbsd.c): Likewise.
1342 (eelf_x86_64_sol2.c): Likewise.
1343 * Makefile.in: Regenerated.
1345 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1347 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1348 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1349 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1350 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1352 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1354 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1356 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1358 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1359 *-*-gnu* and *-*-solaris*.
1360 * testsuite/ld-elf/pr19617b.d: Likewise.
1361 * testsuite/ld-elf/pr19617c.d: Likewise.
1363 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1366 * testsuite/ld-elf/pr19617.s: New file.
1367 * testsuite/ld-elf/pr19617a.d: Likewise.
1368 * testsuite/ld-elf/pr19617b.d: Likewise.
1369 * testsuite/ld-elf/pr19617c.d: Likewise.
1371 2016-02-18 Nick Clifton <nickc@redhat.com>
1373 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1374 in-tree xg++ executable after checking for the presence of an
1375 in-tree g++ executable.
1376 * Makefile.in: Regenerate.
1378 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1380 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1381 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1382 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1384 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1386 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1387 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1388 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1389 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1390 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1391 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1392 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1393 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1394 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1395 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1396 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1397 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1398 * testsuite/ld-x86-64/load1c.d: Likewise.
1399 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1400 * testsuite/ld-x86-64/load1d.d: Likewise.
1401 * testsuite/ld-x86-64/pr14207.d: Likewise.
1402 * testsuite/ld-x86-64/pr19162.d: Likewise.
1403 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1404 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1405 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1406 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1407 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1408 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1410 2016-02-17 Nick Clifton <nickc@redhat.com>
1412 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1414 2016-02-15 Nick Clifton <nickc@redhat.com>
1416 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1417 description of the flags produced by readelf.
1418 * testsuite/ld-i386/pr12921.d: Likewise.
1419 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1420 * testsuite/ld-i386/tlsbin.rd: Likewise.
1421 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1422 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1423 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1424 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1425 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1426 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1427 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1428 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1429 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1430 * testsuite/ld-i386/tlspic.rd: Likewise.
1431 * testsuite/ld-s390/tlsbin.rd: Likewise.
1432 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1433 * testsuite/ld-s390/tlspic.rd: Likewise.
1434 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1435 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1436 * testsuite/ld-sh/tlspic-2.d: Likewise.
1437 * testsuite/ld-tic6x/common.d: Likewise.
1438 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1439 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1440 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1441 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1442 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1443 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1444 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1445 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1446 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1447 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1448 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1449 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1450 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1451 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1452 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1453 * testsuite/ld-x86-64/pr12718.d: Likewise.
1454 * testsuite/ld-x86-64/pr12921.d: Likewise.
1455 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1456 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1457 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1458 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1459 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1460 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1461 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1462 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1463 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1464 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1465 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1466 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1467 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1468 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1470 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1473 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1475 * lexsup.c (parse_args): Enable -Bsymbolic and
1476 -Bsymbolic-functions for PIE.
1477 * testsuite/ld-i386/i386.exp: Run pr19615.
1478 * testsuite/ld-i386/pr19615.d: New file.
1479 * testsuite/ld-i386/pr19615.s: Likewise.
1480 * testsuite/ld-x86-64/pr19615.d: Likewise.
1481 * testsuite/ld-x86-64/pr19615.s: Likewise.
1483 2016-02-09 Nick Clifton <nickc@redhat.com>
1485 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1486 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1487 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1488 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1490 2016-02-04 Nick Clifton <nickc@redhat.com>
1492 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1493 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1494 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1495 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1496 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1497 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1498 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1499 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1500 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1502 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1505 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1506 * testsuite/ld-i386/call1.d: Likewise.
1507 * testsuite/ld-i386/call2.d: Likewise.
1508 * testsuite/ld-i386/call3a.d: Likewise.
1509 * testsuite/ld-i386/call3b.d: Likewise.
1510 * testsuite/ld-i386/call3c.d: Likewise.
1511 * testsuite/ld-i386/call3d.d: Likewise.
1512 * testsuite/ld-i386/call3e.d: Likewise.
1513 * testsuite/ld-i386/call3f.d: Likewise.
1514 * testsuite/ld-i386/call3g.d: Likewise.
1515 * testsuite/ld-i386/call3h.d: Likewise.
1516 * testsuite/ld-i386/jmp1.d: Likewise.
1517 * testsuite/ld-i386/jmp2.d: Likewise.
1518 * testsuite/ld-i386/lea1c.d: Likewise.
1519 * testsuite/ld-i386/load1.d: Likewise.
1520 * testsuite/ld-i386/load2.d: Likewise.
1521 * testsuite/ld-i386/load3.d: Likewise.
1522 * testsuite/ld-i386/load4a.d: Likewise.
1523 * testsuite/ld-i386/load5a.d: Likewise.
1524 * testsuite/ld-i386/mov2b.d: Likewise.
1525 * testsuite/ld-i386/mov3.d: Likewise.
1526 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1527 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1528 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1529 * testsuite/ld-x86-64/call1a.d: Likewise.
1530 * testsuite/ld-x86-64/call1b.d: Likewise.
1531 * testsuite/ld-x86-64/call1c.d: Likewise.
1532 * testsuite/ld-x86-64/call1d.d: Likewise.
1533 * testsuite/ld-x86-64/call1e.d: Likewise.
1534 * testsuite/ld-x86-64/call1f.d: Likewise.
1535 * testsuite/ld-x86-64/call1h.d: Likewise.
1536 * testsuite/ld-x86-64/call1i.d: Likewise.
1537 * testsuite/ld-x86-64/load1a.d: Likewise.
1538 * testsuite/ld-x86-64/load1b.d: Likewise.
1539 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1540 * testsuite/ld-i386/got1.dd: Updated.
1541 * testsuite/ld-i386/got1d.S (1): Removed.
1542 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1543 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1545 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1548 * testsuite/ld-x86-64/pr18591.d: New file.
1549 * testsuite/ld-x86-64/pr18591.s: Likewise.
1550 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1552 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1555 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1556 * testsuite/ld-elf/pr19553.map: New file.
1557 * testsuite/ld-elf/pr19553.map: Likewise.
1558 * testsuite/ld-elf/pr19553a.c: Likewise.
1559 * testsuite/ld-elf/pr19553b.c: Likewise.
1560 * testsuite/ld-elf/pr19553b.out: Likewise.
1561 * testsuite/ld-elf/pr19553c.c: Likewise.
1562 * testsuite/ld-elf/pr19553c.out: Likewise.
1563 * testsuite/ld-elf/pr19553d.c: Likewise.
1564 * testsuite/ld-elf/pr19553d.out: Likewise.
1566 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1569 * testsuite/ld-elf/pr19539.d: New file.
1570 * testsuite/ld-elf/pr19539.s: Likewise.
1571 * testsuite/ld-elf/pr19539.t: Likewise.
1573 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1576 * configure.ac (compressed_debug_sections): Replace == with =.
1577 * configure: Regenerated.
1579 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1581 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1582 * scripttempl/avrtiny.sc (.noinit): Likewise.
1584 2016-01-21 Nick Clifton <nickc@redhat.com>
1587 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1588 the arm-netbsdelf target.
1591 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1592 disassmebler output.
1593 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1594 * testsuite/ld-arm/vxworks1.dd: Likewise.
1595 * testsuite/ld-arm/vxworks1.rd: Likewise.
1596 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1598 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1600 * testsuite/ld-aarch64/farcall-section.d: Delete.
1601 * testsuite/ld-aarch64/farcall-section.s: Delete.
1602 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1603 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1604 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1605 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1606 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1608 2016-01-20 Nick Clifton <nickc@redhat.com>
1611 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1612 early for PE based targets.
1613 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1614 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1616 2016-01-20 Mickael Guene <mickael.guene@st.com>
1618 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1619 Add 'y' attribute usage.
1620 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1621 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1622 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1624 2016-01-19 Nick Clifton <nickc@redhat.com>
1626 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1627 foo@FOO and bar@@FOO.
1629 2016-01-18 Alan Modra <amodra@gmail.com>
1631 * configure: Regenerate.
1633 2016-01-18 Nick Clifton <nickc@redhat.com>
1635 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1636 is not configured to support plugins.
1638 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1639 but with 16 byte section alignment.
1640 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1641 test for MIPS targets.
1643 2016-01-17 Alan Modra <amodra@gmail.com>
1645 * configure: Regenerate.
1647 2016-01-17 Alan Modra <amodra@gmail.com>
1649 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1650 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1651 * testsuite/ld-elf/pr14156a.d: Likewise.
1652 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1653 * testsuite/ld-elf/sec64k.exp: Likewise.
1655 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1657 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1658 Set address of .foo section when linking.
1659 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1661 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1662 output to the above changes.
1664 2016-01-13 Nick Clifton <nickc@redhat.com>
1666 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1669 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1670 fail for MIPS targets.
1672 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1675 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1677 * testsuite/ld-arm/arm-elf.exp: New test.
1678 * testsuite/ld-arm/unwind-mix.d: New file.
1679 * testsuite/ld-arm/unwind-mix1.s: New file.
1680 * testsuite/ld-arm/unwind-mix2.s: New file.
1682 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1685 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1686 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1687 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1688 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1689 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1690 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1692 2016-01-05 Nick Clifton <nickc@redhat.com>
1694 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1695 MSP430 hardware multiply address range.
1696 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1697 (__romdatacopysize): Define.
1698 * scripttempl/elf32msp430_3.sc: Likewise.
1700 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1702 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1703 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1705 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1707 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1708 messages expected according to MIPS BFD private data merge
1710 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1711 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1712 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1713 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1714 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1715 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1716 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1717 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1718 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1719 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1720 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1721 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1722 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1724 2016-01-01 Alan Modra <amodra@gmail.com>
1726 Update year range in copyright notice of all files.
1728 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1730 Copyright (C) 2016 Free Software Foundation, Inc.
1732 Copying and distribution of this file, with or without modification,
1733 are permitted in any medium without royalty provided the copyright
1734 notice and this notice are preserved.
1740 version-control: never