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