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