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