[ARC] Add XY registers, update neg instruction.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a2bea324
KS
12016-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
daa4adae
TP
82016-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
17c6c9d9
MR
142016-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
7d4d9709
L
212016-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
fc3eec7e
CZ
292016-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
c0913ebf
CZ
482016-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
c4107a7d
MR
552016-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
6b200de0
MR
602016-05-19 Maciej W. Rozycki <macro@imgtec.com>
61
62 * configure.tgt: Remove `am34-*-linux*' support.
63
82bc9362
AM
642016-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
f1b2ca70
AM
742016-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
d1f70bdc
NC
802016-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
68bce020
L
982016-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
23b5dc39 1032016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
104
105 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
106 above .progmem*.
107 * scripttempl/avrtiny.sc (text): Likewise.
108
a43942db
MR
1092016-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
69a1c856
MR
1142016-05-16 Maciej W. Rozycki <macro@imgtec.com>
115
116 * testsuite/ld-elf/flags1.d: Update the xfail list.
117
180c87d9
MR
1182016-05-15 Maciej W. Rozycki <macro@imgtec.com>
119
120 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
121 removal.
122
bf6f87e7
L
1232016-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
2168b268
L
1302016-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
4ade44b7
AM
1392016-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
3355cb3b
L
1492016-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
a464198b
AM
1672016-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
3bd43ebc
AM
1722016-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
39d911fc
TP
1842016-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
6bde4c52
TP
1892016-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
15afaa63
TP
1962016-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
d63a50b7
CL
2032016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
204
205 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
206
9239bbd3
CM
2072016-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
924bc11b
PS
2202016-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
a64f5ba1
AM
2282016-05-09 Alan Modra <amodra@gmail.com>
229
230 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
231 * Makefile.in: Regenerate.
232
cc969da9
AM
2332016-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
97196564
L
2392016-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
887cf791
SKS
2512016-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
2856a627
L
2552016-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
004b1309
L
2662016-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
d7adef8b
L
2742016-05-05 H.J. Lu <hongjiu.lu@intel.com>
275
276 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
277
d4758f96
L
2782016-05-04 H.J. Lu <hongjiu.lu@intel.com>
279
280 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
281
c3fbf828
MR
2822016-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
4a85cc09
SKS
2882016-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
6d6a648c
MR
2982016-05-03 Maciej W. Rozycki <macro@imgtec.com>
299
300 PR 10549
301 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
302
1f56df9d
JW
3032016-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
a2076b34
SKS
3152016-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
010f98a5
L
3202016-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
83a471c3
L
3312016-04-27 H.J. Lu <hongjiu.lu@intel.com>
332
333 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
334
52728a42
L
3352016-04-27 H.J. Lu <hongjiu.lu@intel.com>
336
91f8bf69
L
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
3422016-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.
52728a42 347
13b8c335
AM
3482016-04-27 Alan Modra <amodra@gmail.com>
349
350 PR target/19985
351 * configure.tgt: Don't use var+=.
352
731bb67a
NC
3532016-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
0e03d18a
SKS
3592016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
360
361 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
362
4f3b23b3
NC
3632016-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
96bf8cb0
AM
3692016-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
fbf05aa7
L
3782016-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
c7ce9410
L
3852016-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
03f2309a
L
3912016-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
126697d1
L
3972016-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
338c190a
L
4032016-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
d9689752
L
4112016-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
7cc9c114
L
4362016-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
e6c7cdec
TS
4412016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
442
443 * emultempl/scoreelf.em: Likewise.
444
87d455c0
L
4452016-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
cdf96953
MF
4522016-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
6fd8e7c2
L
4722016-04-15 H.J. Lu <hongjiu.lu@intel.com>
473
474 * Makefile.in: Regenerated with automake 1.11.6.
475 * aclocal.m4: Likewise.
476
4b0c052e
AB
4772016-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
8dc483a0
NC
4852016-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
758c5495
AB
4912016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
494 check_ld(terminal).
495
37ce0cc4
L
4962016-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
2df3368d
L
5032016-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
417a667c
OE
5152016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
516
517 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
518
136a43b7
AM
5192016-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
953dd97e
DG
5272016-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
1a295c62
AB
5362016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * emulparams/arc-endianness.sh: Make little endian default choice.
539
df154dc1
NC
5402016-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
9a5f28ae
AB
5462016-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
1f599d0e
MR
5782016-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
a9fa4610
CZ
5982016-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
5fdf3872
L
6162016-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
a061de07
NC
6222016-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
fc90c280
AM
6322016-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
62bdf2d6
AB
6412016-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
a87dd97a
AM
6482016-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
ca62bc4a
AM
6592016-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
2e4a7aea
AM
6642016-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
4153b6db
NC
6712016-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
9780e045
NC
6842016-03-22 Nick Clifton <nickc@redhat.com>
685
686 * configure: Regenerate.
687
e1fa0163
NC
6882016-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
45821bef
A
6942016-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
41f46ed9
SKS
7012016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
702
703 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
704
4e0c91e4
L
7052016-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
4c10bbaa
L
7172016-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
3ab94f96
L
7402016-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
a9f02af8
MG
7532016-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
878a6877
NC
7602016-03-10 Nick Clifton <nickc@redhat.com>
761
762 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
763
4b05e0a7
PA
7642016-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
9c1d7a08
L
7692016-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
d1ed1c7d
L
7752016-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
205ac185
L
7872016-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
23a4bd22
L
7952016-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
18f822a0
JW
8042016-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
46175b4e
L
8112016-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
07492f66
L
8172016-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
7bcc503f
L
8242016-03-02 H.J. Lu <hongjiu.lu@intel.com>
825
826 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
827
7494161b
L
8282016-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
523f4c92
L
8332016-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
8412016-03-01 H.J. Lu <hongjiu.lu@intel.com>
842
843 PR ld/19739
e18b24a4 844 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
845 merge flags of other input sections for relocatable link.
846
ef621b15
L
8472016-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
2955a517
L
8512016-03-01 H.J. Lu <hongjiu.lu@intel.com>
852
853 * testsuite/ld-elf/pr19162.d: Skip arc target.
854
7f50ebc1
L
8552016-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
841fdfcd
CZ
8622016-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
7e458899
CZ
8682016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
869
870 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
871 generated.
872
c5e3a364
RL
8732016-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
bae420ef
L
8862016-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
11e5f1ec
L
9822016-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
aec6b87e
L
10282016-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
920e4862
NC
11272016-02-25 Nick Clifton <nickc@redhat.com>
1128
1129 * ld.h (struct ld_config_type): Remove specified_data_size field.
1130
0f550b3d
L
11312016-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
31866b2c
L
11382016-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
6b3b0ab8
L
11602016-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
de818c22
L
11672016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1170
c304e18e
L
11712016-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
bf89386a
L
11782016-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
06ea285d
NC
11862016-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
b27ab9ad
L
11932016-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
8f79b794
L
11992016-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
b3e3e0b7
NC
12252016-02-17 Nick Clifton <nickc@redhat.com>
1226
1227 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1228
9fb71ee4
NC
12292016-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
21a90cf1
L
12852016-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.
ee5db48b 1292 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
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
027e9c75
NC
12982016-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
39306124
NC
13052016-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
0cb4071e
L
13172016-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
6ba2af25
L
13602016-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
aef28989
L
13672016-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
d9e3b590
L
13812016-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
621ff761
L
13882016-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
7585b2b8
DC
13942016-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
aebf9be7
NC
13992016-01-21 Nick Clifton <nickc@redhat.com>
1400
dfc43940
NC
1401 PR ld/19453
1402 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1403 the arm-netbsdelf target.
1404
aebf9be7
NC
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
2f340668
JW
14132016-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
fdbd3e95
NC
14232016-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
91f68a68
MG
14312016-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
a4af960a
NC
14392016-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
3d961d0d
AM
14442016-01-18 Alan Modra <amodra@gmail.com>
1445
1446 * configure: Regenerate.
1447
760f6ee8
NC
14482016-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
24f03d4e
NC
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
5c14705f
AM
14582016-01-17 Alan Modra <amodra@gmail.com>
1459
1460 * configure: Regenerate.
1461
b3066ae8
AM
14622016-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
4c4ac964
TP
14702016-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
1bce3adf
NC
14792016-01-13 Nick Clifton <nickc@redhat.com>
1480
84054199
NC
1481 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1482 for MIPS targets.
1483
13ce3603
NC
1484 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1485 fail for MIPS targets.
1486
1bce3adf
NC
1487 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1488 MIPS targets.
1489
ac06903d
YU
14902016-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
109575d7
JW
14972016-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
296ebfbb
NC
15072016-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
2f2da8fd
MR
15152016-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
d537eeb5
MR
15202016-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
6f2750fe
AM
15392016-01-01 Alan Modra <amodra@gmail.com>
1540
1541 Update year range in copyright notice of all files.
1542
3499769a
AM
1543For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1544\f
1545Copyright (C) 2016 Free Software Foundation, Inc.
1546
1547Copying and distribution of this file, with or without modification,
1548are permitted in any medium without royalty provided the copyright
1549notice and this notice are preserved.
1550
1551Local Variables:
1552mode: change-log
1553left-margin: 8
1554fill-column: 74
1555version-control: never
1556End:
This page took 0.173369 seconds and 4 git commands to generate.