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