Add support for non-ELF targets to check their relocs.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4f3b23b3
NC
12016-04-21 Nick Clifton <nickc@redhat.com>
2
3 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
4 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
5 targets. Do not stop the checks when problems are encountered.
6
96bf8cb0
AM
72016-04-21 Alan Modra <amodra@gmail.com>
8
9 * testsuite/ld-scripts/cross3.t: Add commonly used data
10 and text section names to output section statements.
11 * testsuite/ld-scripts/cross4.t: Likewise.
12 * testsuite/ld-scripts/cross5.t: Likewise.
13 * testsuite/ld-scripts/cross6.t: Likewise.
14 * testsuite/ld-scripts/cross7.t: Likewise.
15
fbf05aa7
L
162016-04-20 H.J. Lu <hongjiu.lu@intel.com>
17
18 * ldlang.c (lang_check_relocs): New function.
19 (lang_process): Call lang_check_relocs after lang_gc_sections.
20 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
21 call _bfd_elf_link_check_relocs here.
22
c7ce9410
L
232016-04-20 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/19972
26 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
27 R_386_NONE or R_X86_64_NONE.
28
03f2309a
L
292016-04-20 H.J. Lu <hongjiu.lu@intel.com>
30
31 * testsuite/ld-x86-64/pic1.d: New file.
32 * testsuite/ld-x86-64/pic1.s: Likewise.
33 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
34
126697d1
L
352016-04-20 H.J. Lu <hongjiu.lu@intel.com>
36
37 * testsuite/ld-x86-64/pie2.d: New file.
38 * testsuite/ld-x86-64/pie2.s: Likewise.
39 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
40
338c190a
L
412016-04-20 H.J. Lu <hongjiu.lu@intel.com>
42
43 PR ld/19969
44 * testsuite/ld-x86-64/pr19969.d: New file.
45 * testsuite/ld-x86-64/pr19969a.S: Likewise.
46 * testsuite/ld-x86-64/pr19969b.S: Likewise.
47 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
48
d9689752
L
492016-04-20 H.J. Lu <hongjiu.lu@intel.com>
50
51 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
52 New.
53 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
54 Likewise.
55 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
56 Likewise.
57 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
58 Likewise.
59 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
60 Likewise.
61 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
62 Likewise.
63 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
64 Likewise.
65 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
66 Likewise.
67 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
68 Set check_relocs_after_open_input to TRUE if
69 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
70 (gld${EMULATION_NAME}_after_open): Call
71 _bfd_elf_link_check_relocs on all inputs if
72 check_relocs_after_open_input is TRUE.
73
7cc9c114
L
742016-04-20 H.J. Lu <hongjiu.lu@intel.com>
75
76 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
77 my_personality_v0.
78
e6c7cdec
TS
792016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
80
81 * emultempl/scoreelf.em: Likewise.
82
87d455c0
L
832016-04-19 H.J. Lu <hongjiu.lu@intel.com>
84
85 PR ld/19719
86 * testsuite/ld-x86-64/pr19719.d: New file.
87 * testsuite/ld-x86-64/pr19719.s: Likewise.
88 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
89
cdf96953
MF
902016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
91
92 * ld.texinfo: Document NOCROSSREFS_TO script command.
93 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
94 (lang_add_nocrossref_to): New prototype.
95 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
96 symbols defined in the first section.
97 (check_nocrossref): Likewise.
98 * ldgram.y (NOCROSSREFS_TO): New script command.
99 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
100 (lang_add_nocrossref_to): New function.
101 * ldlex.l (NOCROSSREFS_TO): New token.
102 * NEWS: Mention NOCROSSREFS_TO.
103 * testsuite/ld-scripts/cross4.t: New file.
104 * testsuite/ld-scripts/cross5.t: Likewise.
105 * testsuite/ld-scripts/cross6.t: Likewise.
106 * testsuite/ld-scripts/cross7.t: Likewise.
107 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
108 tests.
109
6fd8e7c2
L
1102016-04-15 H.J. Lu <hongjiu.lu@intel.com>
111
112 * Makefile.in: Regenerated with automake 1.11.6.
113 * aclocal.m4: Likewise.
114
4b0c052e
AB
1152016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * testsuite/ld-arc/arc.exp: New file.
118 * testsuite/ld-arc/nps-1.s: New file.
119 * testsuite/ld-arc/nps-1a.d: New file.
120 * testsuite/ld-arc/nps-1b.d: New file.
121 * testsuite/ld-arc/nps-1b.err: New file.
122
8dc483a0
NC
1232016-04-14 Nick Clifton <nickc@redhat.com>
124
125 PR 19457
126 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
127 exceptions for Mingw and Cygwin.
128
758c5495
AB
1292016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
130
131 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
132 check_ld(terminal).
133
37ce0cc4
L
1342016-04-13 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR ld/19774
137 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
138 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
139 tests.
140
2df3368d
L
1412016-04-11 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR ld/19939
144 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
145 * testsuite/ld-x86-64/x86-64.exp: Likewise.
146 * testsuite/ld-i386/pr19939.s: New file.
147 * testsuite/ld-i386/pr19939a.d: Likewise.
148 * testsuite/ld-i386/pr19939b.d: Likewise.
149 * testsuite/ld-x86-64/pr19939.s: Likewise.
150 * testsuite/ld-x86-64/pr19939a.d: Likewise.
151 * testsuite/ld-x86-64/pr19939b.d: Likewise.
152
417a667c
OE
1532016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
154
155 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
156
136a43b7
AM
1572016-04-08 Alan Modra <amodra@gmail.com>
158
159 PR 18452
160 * ldlang.c (maybe_overlays): Delete.
161 (lang_size_sections_1): Remove code setting maybe_overlays.
162 (lang_check_section_addresses): Instead detect overlays by
163 exact match of section VMAs here. Fix memory leak.
164
953dd97e
DG
1652016-04-08 Dan Gisselquist <dgisselq@ieee.org>
166
167 * ldlang.c (print_output_section_statement): Show minfo size
168 in target machine address units.
169 (print_reloc_statement): Likewise.
170 (print_padding_statement): Likewise.
171 (print_data_statement): Likewise. Ensure minimum print_dot
172 increment of one address unit.
173
1a295c62
AB
1742016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * emulparams/arc-endianness.sh: Make little endian default choice.
177
df154dc1
NC
1782016-04-07 Nick Clifton <nickc@redhat.com>
179
180 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
181 section name.
182 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
183
9a5f28ae
AB
1842016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * emulparams/arc-endianness.sh: New file.
187 * emulparams/arcebelf.sh: Deleted.
188 * emulparams/arcebelf_prof.sh: Deleted.
189 * emulparams/arceblinux.sh: Deleted.
190 * emulparams/arceblinux_prof.sh: Deleted.
191 * emulparams/arcelf.sh: Include arc-endinness.sh.
192 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
193 * emulparams/arclinux.sh: Include arc-endinness.sh.
194 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
195 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
196 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
197 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
198 little endian arc targets.
199 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
200 * testsuite/ld-elf/group1.d: Likewise.
201 * testsuite/ld-elf/group3b.d: Likewise.
202 * testsuite/ld-elf/group8a.d: Likewise.
203 * testsuite/ld-elf/group8b.d: Likewise.
204 * testsuite/ld-elf/group9a.d: Likewise.
205 * testsuite/ld-elf/group9b.d: Likewise.
206 * testsuite/ld-elf/linkonce2.d: Likewise.
207 * testsuite/ld-elf/pr12851.d: Likewise.
208 * testsuite/ld-elf/pr12975.d: Likewise.
209 * testsuite/ld-elf/pr13177.d: Likewise.
210 * testsuite/ld-elf/pr13195.d: Likewise.
211 * testsuite/ld-elf/pr17615.d: Likewise.
212 * testsuite/ld-elf/pr19162.d: Likewise.
213 * testsuite/ld-elf/sec64k.exp: Likewise.
214 * testsuite/lib/ld-lib.exp: Likewise.
215
1f599d0e
MR
2162016-04-05 Maciej W. Rozycki <macro@imgtec.com>
217
218 PR ld/19908
219 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
220 handling fix.
221 * testsuite/ld-cris/tls-e-20a.d: Likewise.
222 * testsuite/ld-cris/tls-e-21.d: Likewise.
223 * testsuite/ld-cris/tls-e-23.d: Likewise.
224 * testsuite/ld-cris/tls-e-80.d: Likewise.
225 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
226 * testsuite/ld-cris/tls-leie-19.d: Likewise.
227 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
228 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
229 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
230 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
231 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
232 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
233 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
234 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
235
a9fa4610
CZ
2362016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
237
238 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
239 * testsuite/ld-discard/start.d: Likewise.
240 * testsuite/ld-discard/static.d: Likewise.
241 * testsuite/ld-elf/group1.d: Likewise.
242 * testsuite/ld-elf/group3b.d: Likewise.
243 * testsuite/ld-elf/orphan-region.d: Likewise.
244 * testsuite/ld-elf/orphan.d: Likewise.
245 * testsuite/ld-elf/orphan3.d: Likewise.
246 * testsuite/ld-elf/pr349.d: Likewise.
247 * testsuite/ld-elf/warn1.d: Likewise.
248 * testsuite/ld-elf/warn2.d: Likewise.
249 * testsuite/ld-elf/warn3.d: Likewise.
250 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
251 through linker flags.
252 * testsuite/ld-srec/srec.exp: Set as xfail.
253
5fdf3872
L
2542016-04-04 H.J. Lu <hongjiu.lu@intel.com>
255
256 PR ld/19827
257 * testsuite/ld-i386/pr19827-nacl.rd: New file.
258 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
259
a061de07
NC
2602016-04-04 Nick Clifton <nickc@redhat.com>
261
262 PR 19803
263 * emultempl/pe.em (change_undef): New function. Encapsulates
264 duplicated code in pe_fixup_stdcalls and adds the newly defined
265 sym to the gc root list.
266 (pe_fixup_stdcall): Use the new function.
267 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
268 symbol to gc root list.
269
fc90c280
AM
2702016-03-31 Alan Modra <amodra@gmail.com>
271
272 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
273 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
274 (print_input_section): Don't use TO_ADDR when printing section
275 size.
276 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
277 (lang_size_sections): Use TO_ADDR in relro end calculation.
278
62bdf2d6
AB
2792016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
280
281 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
282 value from regexp_diff.
283 * testsuite/ld-elf/orphan-5.l: Fix expected output.
284 * testsuite/ld-elf/orphan-6.l: Likewise.
285
a87dd97a
AM
2862016-03-30 Alan Modra <amodra@gmail.com>
287
288 PR 18452
289 * ldlang.c (maybe_overlays): New static var.
290 (lang_size_sections_1): Set it here.
291 (struct check_sec): New.
292 (sort_sections_by_lma): Adjust for array of structs.
293 (sort_sections_by_vma): New function.
294 (lang_check_section_addresses): Check both LMA and VMA for overlap.
295 * testsuite/ld-scripts/rgn-over7.d: Adjust.
296
ca62bc4a
AM
2972016-03-30 Alan Modra <amodra@gmail.com>
298
299 * ldlang.c (lang_size_sections_1): Correct code detecting a
300 backward non-overlapping move.
301
2e4a7aea
AM
3022016-03-30 Alan Modra <amodra@gmail.com>
303
304 * ldlang.c (IS_TBSS): New macro, extracted from..
305 (IGNORE_SECTION): ..here.
306 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
307 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
308
4153b6db
NC
3092016-03-22 Nick Clifton <nickc@redhat.com>
310
311 PR ld/19803
312 * ldlang.c (lang_add_gc_name): New function. Adds the provided
313 symbol name to the list of gc symbols.
314 (lang_process): Call lang_add_gc_name with entry_symbol_default if
315 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
316 and fini function names.
317 * pe-dll.c (process_def_file_and_drectve): Add exported names to
318 the gc symbol list.
319 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
320 * testsuite/ld-pe/pr19803.d: Tweak expected output.
321
9780e045
NC
3222016-03-22 Nick Clifton <nickc@redhat.com>
323
324 * configure: Regenerate.
325
e1fa0163
NC
3262016-03-21 Nick Clifton <nickc@redhat.com>
327
328 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
329 * plugin.c: Likewise.
330 * pe-dll.c: Likewise.
331
45821bef
A
3322016-03-18 Awson <kyrab@mail.ru>
333
334 PR 19531
335 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
336 this section.
337 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
338
41f46ed9
SKS
3392016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
340
341 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
342
4e0c91e4
L
3432016-03-15 H.J. Lu <hongjiu.lu@intel.com>
344
345 PR ld/19827
346 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
347 * testsuite/ld-x86-64/x86-64.exp: Likewise.
348 * testsuite/ld-i386/pr19827.rd: New file.
349 * testsuite/ld-i386/pr19827a.S: Likewise.
350 * testsuite/ld-i386/pr19827b.S: Likewise.
351 * testsuite/ld-x86-64/pr19827.rd: Likewise.
352 * testsuite/ld-x86-64/pr19827a.S: Likewise.
353 * testsuite/ld-x86-64/pr19827b.S: Likewise.
354
4c10bbaa
L
3552016-03-15 H.J. Lu <hongjiu.lu@intel.com>
356
357 PR ld/19807
358 * Makefile.am (ELF_X86_DEPS): Add
359 $(srcdir)/emulparams/reloc_overflow.sh.
360 * Makefile.in: Regenerated.
361 * NEWS: Mention -z noreloc-overflow.
362 * ld.texinfo: Document -z noreloc-overflow.
363 * emulparams/elf32_x86_64.sh: Source
364 ${srcdir}/emulparams/reloc_overflow.sh.
365 * emulparams/elf_x86_64.sh: Likewise.
366 * emulparams/reloc_overflow.sh: New file.
367 * testsuite/ld-x86-64/pr19807-1.s: New file.
368 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
369 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
370 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
371 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
372 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
373 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
374 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
375 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
376 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
377
3ab94f96
L
3782016-03-13 H.J. Lu <hongjiu.lu@intel.com>
379
380 PR ld/19539
381 * testsuite/ld-i386/i386.exp: Run pr19539.
382 * testsuite/ld-i386/pr19539.d: New file.
383 * testsuite/ld-i386/pr19539.s: Likewise.
384 * testsuite/ld-i386/pr19539.t: Likewise.
385 * testsuite/ld-x86-64/pr19539.s: Likewise.
386 * testsuite/ld-x86-64/pr19539.t: Likewise.
387 * testsuite/ld-x86-64/pr19539a.d: Likewise.
388 * testsuite/ld-x86-64/pr19539b.d: Likewise.
389 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
390
a9f02af8
MG
3912016-03-10 Mickael Guene <mickael.guene@st.com>
392
393 PR gas/19744
394 * testsuite/ld-arm/arm-elf.exp: New tests.
395 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
396 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
397
878a6877
NC
3982016-03-10 Nick Clifton <nickc@redhat.com>
399
400 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
401
4b05e0a7
PA
4022016-03-09 Pedro Alves <palves@redhat.com>
403
404 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
405 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
406
9c1d7a08
L
4072016-03-08 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR ld/19789
410 * testsuite/ld-elf/pr19789.d: New file.
411 * testsuite/ld-elf/pr19789.s: Likewise.
412
d1ed1c7d
L
4132016-03-08 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR ld/19784
416 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
417 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
418 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
419 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
420 * testsuite/ld-ifunc/pass.out: New file.
421 * testsuite/ld-ifunc/pr19784a.c: Likewise.
422 * testsuite/ld-ifunc/pr19784b.c: Likewise.
423 * testsuite/ld-ifunc/pr19784c.c: Likewise.
424
205ac185
L
4252016-03-08 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR ld/19774
428 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
429 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
430 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
431 --as-needed for pr18841c.
432
23a4bd22
L
4332016-03-07 H.J. Lu <hongjiu.lu@intel.com>
434
435 PR ld/19774
436 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
437 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
438 before tmpdir/got1d.so and test --as-needed.
439 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
440 tmpdir/pr18900.so and test --as-needed.
441
18f822a0
JW
4422016-03-07 Jiong Wang <jiong.wang@arm.com>
443
444 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
445 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
446 result.
447 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
448
46175b4e
L
4492016-03-06 H.J. Lu <hongjiu.lu@intel.com>
450
451 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
452 before tmpdir/copyreloc-lib.so and test --as-needed.
453 * testsuite/ld-x86-64/x86-64.exp: Likewise.
454
07492f66
L
4552016-03-04 H.J. Lu <hongjiu.lu@intel.com>
456
457 PR ld/19579
458 * testsuite/ld-elf/pr19579a.c: New file.
459 * testsuite/ld-elf/pr19579b.c: Likewise.
460 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
461
7bcc503f
L
4622016-03-02 H.J. Lu <hongjiu.lu@intel.com>
463
464 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
465
7494161b
L
4662016-03-02 H.J. Lu <hongjiu.lu@intel.com>
467
468 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
469 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
470
523f4c92
L
4712016-03-02 H.J. Lu <hongjiu.lu@intel.com>
472
473 PR ld/19739
474 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
475 input sections for relocatable link.
476 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
477 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
478
4792016-03-01 H.J. Lu <hongjiu.lu@intel.com>
480
481 PR ld/19739
e18b24a4 482 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
483 merge flags of other input sections for relocatable link.
484
ef621b15
L
4852016-03-01 H.J. Lu <hongjiu.lu@intel.com>
486
487 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
488
2955a517
L
4892016-03-01 H.J. Lu <hongjiu.lu@intel.com>
490
491 * testsuite/ld-elf/pr19162.d: Skip arc target.
492
7f50ebc1
L
4932016-02-29 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR ld/19162
496 * testsuite/ld-elf/pr19162.d: New file.
497 * testsuite/ld-elf/pr19162a.s: Likwise.
498 * testsuite/ld-elf/pr19162b.s: Likwise.
499
841fdfcd
CZ
5002016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
501
502 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
503 * testsuite/ld-elf/merge2.d: Likewise.
504 * testsuite/ld-elf/merge3.d: Likewise.
505
7e458899
CZ
5062016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
507
508 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
509 generated.
510
c5e3a364
RL
5112016-02-26 Renlin Li <renlin.li@arm.com>
512
513 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
514 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
515 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
516 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
517 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
518 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
519 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
520 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
521 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
522 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
523
bae420ef
L
5242016-02-26 H.J. Lu <hongjiu.lu@intel.com>
525
526 PR ld/19609
527 * testsuite/ld-i386/got1.dd: Updated.
528 * testsuite/ld-i386/lea1c.d: Likewise.
529 * testsuite/ld-i386/load1-nacl.d: Likewise.
530 * testsuite/ld-i386/load1.d: Likewise.
531 * testsuite/ld-i386/load4b.d: Likewise.
532 * testsuite/ld-i386/load5b.d: Likewise.
533 * testsuite/ld-i386/mov1b.d: Likewise.
534 * testsuite/ld-x86-64/mov1b.d: Likewise.
535 * testsuite/ld-x86-64/mov1d.d: Likewise.
536 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
537 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
538 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
539 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
540 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
541 * testsuite/ld-x86-64/lea1a.d: Likewise.
542 * testsuite/ld-x86-64/lea1b.d: Likewise.
543 * testsuite/ld-x86-64/lea1c.d: Likewise.
544 * testsuite/ld-x86-64/lea1d.d: Likewise.
545 * testsuite/ld-x86-64/lea1e.d: Likewise.
546 * testsuite/ld-x86-64/lea1f.d: Likewise.
547 * testsuite/ld-x86-64/mov1b.d: Likewise.
548 * testsuite/ld-x86-64/mov1d.d: Likewise.
549 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
550 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
551 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
552 * testsuite/ld-i386/pr19609-1.s: New file.
553 * testsuite/ld-i386/pr19609-1a.d: Likewise.
554 * testsuite/ld-i386/pr19609-1b.d: Likewise.
555 * testsuite/ld-i386/pr19609-1c.d: Likewise.
556 * testsuite/ld-i386/pr19609-1d.d: Likewise.
557 * testsuite/ld-i386/pr19609-1e.d: Likewise.
558 * testsuite/ld-i386/pr19609-1f.d: Likewise.
559 * testsuite/ld-i386/pr19609-1g.d: Likewise.
560 * testsuite/ld-i386/pr19609-1h.d: Likewise.
561 * testsuite/ld-i386/pr19609-1i.d: Likewise.
562 * testsuite/ld-i386/pr19609-2.s: Likewise.
563 * testsuite/ld-i386/pr19609-2a.d: Likewise.
564 * testsuite/ld-i386/pr19609-2b.d: Likewise.
565 * testsuite/ld-i386/pr19609-2c.d: Likewise.
566 * testsuite/ld-i386/undefweak.s: Likewise.
567 * testsuite/ld-i386/undefweaka.d: Likewise.
568 * testsuite/ld-i386/undefweakb.d: Likewise.
569 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
570 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
571 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
572 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
573 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
574 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
575 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
576 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
577 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
578 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
579 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
580 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
581 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
582 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
583 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
584 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
585 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
586 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
587 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
588 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
589 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
590 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
591 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
592 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
593 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
594 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
595 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
596 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
597 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
598 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
599 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
600 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
601 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
602 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
603 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
604 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
605 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
606 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
607 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
608 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
609 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
610 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
611 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
612 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
613 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
614 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
615 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
616 PR ld/19609.
617 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
618 and tests for PR ld/19609.
619
11e5f1ec
L
6202016-02-26 H.J. Lu <hongjiu.lu@intel.com>
621
622 PR ld/19645
623 * NEWS: Mention -z common/-z nocommon for ELF targets.
624 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
625 -z common and -z nocommon.
626 * ld.texinfo: Document -z common/-z nocommon.
627 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
628 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
629 --elf-stt-common=yes with assembler.
630 * testsuite/ld-elfcomm/common-1.s: New file.
631 * testsuite/ld-elfcomm/common-1a.d: Likewise.
632 * testsuite/ld-elfcomm/common-1b.d: Likewise.
633 * testsuite/ld-elfcomm/common-1c.d: Likewise.
634 * testsuite/ld-elfcomm/common-1d.d: Likewise.
635 * testsuite/ld-elfcomm/common-1e.d: Likewise.
636 * testsuite/ld-elfcomm/common-1f.d: Likewise.
637 * testsuite/ld-elfcomm/common-2.s: Likewise.
638 * testsuite/ld-elfcomm/common-2a.d: Likewise.
639 * testsuite/ld-elfcomm/common-2b.d: Likewise.
640 * testsuite/ld-elfcomm/common-2c.d: Likewise.
641 * testsuite/ld-elfcomm/common-2d.d: Likewise.
642 * testsuite/ld-elfcomm/common-2e.d: Likewise.
643 * testsuite/ld-elfcomm/common-2f.d: Likewise.
644 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
645 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
646 * testsuite/ld-i386/pr19645.d: Likewise.
647 * testsuite/ld-i386/pr19645.s: Likewise.
648 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
649 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
650 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
651 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
652 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
653 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
654 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
655 * testsuite/ld-x86-64/pr19645.d: Likewise.
656 * testsuite/ld-x86-64/pr19645.s: Likewise.
657 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
658 with assembler.
659 (assembler_generates_commons): Removed.
660 Run -z common/-z nocommon tests. Run *.d tests.
661 * testsuite/ld-i386/i386.exp: Run pr19645.
662 * testsuite/ld-x86-64/x86-64.exp: Likewise.
663 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
664 assembler. Test STT_COMMON with readelf.
665
aec6b87e
L
6662016-02-26 H.J. Lu <hongjiu.lu@intel.com>
667
668 PR ld/19636
669 PR ld/19704
670 PR ld/19719
671 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
672 * Makefile.in: Regenerated.
673 * NEWS: Mention -z nodynamic-undefined-weak.
674 * ld.texinfo: Document -z nodynamic-undefined-weak.
675 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
676 * emulparams/dynamic_undefined_weak.sh: New file.
677 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
678 * emulparams/elf_i386.sh: Likewise.
679 * emulparams/elf_i386_be.sh: Likewise.
680 * emulparams/elf_i386_chaos.sh: Likewise.
681 * emulparams/elf_i386_ldso.sh: Likewise.
682 * emulparams/elf_i386_vxworks.sh: Likewise.
683 * emulparams/elf_iamcu.sh: Likewise.
684 * emulparams/elf_k1om.sh: Likewise.
685 * emulparams/elf_l1om.sh: Likewise.
686 * emulparams/elf_x86_64.sh: Likewise.
687 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
688 Append.
689 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
690 * testsuite/ld-elf/pr19719a.c: New file.
691 * testsuite/ld-elf/pr19719b.c: Likewise.
692 * testsuite/ld-elf/pr19719c.c: Likewise.
693 * testsuite/ld-elf/pr19719d.c: Likewise.
694 * testsuite/ld-i386/pr19636-1.s: Likewise.
695 * testsuite/ld-i386/pr19636-1a.d: Likewise.
696 * testsuite/ld-i386/pr19636-1b.d: Likewise.
697 * testsuite/ld-i386/pr19636-1c.d: Likewise.
698 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
699 * testsuite/ld-i386/pr19636-1d.d: Likewise.
700 * testsuite/ld-i386/pr19636-1e.d: Likewise.
701 * testsuite/ld-i386/pr19636-1f.d: Likewise.
702 * testsuite/ld-i386/pr19636-1g.d: Likewise.
703 * testsuite/ld-i386/pr19636-1h.d: Likewise.
704 * testsuite/ld-i386/pr19636-1i.d: Likewise.
705 * testsuite/ld-i386/pr19636-2.s: Likewise.
706 * testsuite/ld-i386/pr19636-2a.d: Likewise.
707 * testsuite/ld-i386/pr19636-2b.d: Likewise.
708 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
709 * testsuite/ld-i386/pr19636-2c.d: Likewise.
710 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
711 * testsuite/ld-i386/pr19636-2d.d: Likewise.
712 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
713 * testsuite/ld-i386/pr19636-2e.d: Likewise.
714 * testsuite/ld-i386/pr19636-3.s: Likewise.
715 * testsuite/ld-i386/pr19636-3a.d: Likewise.
716 * testsuite/ld-i386/pr19636-3b.d: Likewise.
717 * testsuite/ld-i386/pr19636-3c.d: Likewise.
718 * testsuite/ld-i386/pr19636-3d.d: Likewise.
719 * testsuite/ld-i386/pr19636-3e.d: Likewise.
720 * testsuite/ld-i386/pr19636-3f.d: Likewise.
721 * testsuite/ld-i386/pr19636-3g.d: Likewise.
722 * testsuite/ld-i386/pr19636-4.s: Likewise.
723 * testsuite/ld-i386/pr19636-4a.d: Likewise.
724 * testsuite/ld-i386/pr19636-4b.d: Likewise.
725 * testsuite/ld-i386/pr19636-4c.d: Likewise.
726 * testsuite/ld-i386/pr19636-4d.d: Likewise.
727 * testsuite/ld-i386/pr19704.out: Likewise.
728 * testsuite/ld-i386/pr19704a.c: Likewise.
729 * testsuite/ld-i386/pr19704b.c: Likewise.
730 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
731 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
732 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
733 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
734 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
735 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
736 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
737 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
738 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
739 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
740 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
741 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
742 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
743 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
744 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
745 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
746 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
747 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
748 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
749 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
750 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
751 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
752 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
753 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
754 * testsuite/ld-x86-64/pr19704.out: Likewise.
755 * testsuite/ld-x86-64/pr19704a.c: Likewise.
756 * testsuite/ld-x86-64/pr19704b.c: Likewise.
757 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
758 Run mix_pic_and_non_pic.
759 * testsuite/ld-i386/i386.exp (undefined_weak): New.
760 Run undefined_weak and PR ld/19636 tests.
761 * testsuite/ld-x86-64/x86-64.exp: Likewise.
762 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
763 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
764
920e4862
NC
7652016-02-25 Nick Clifton <nickc@redhat.com>
766
767 * ld.h (struct ld_config_type): Remove specified_data_size field.
768
0f550b3d
L
7692016-02-24 H.J. Lu <hongjiu.lu@intel.com>
770
771 PR ld/19698
772 * testsuite/ld-elf/pr19698.d: New file.
773 * testsuite/ld-elf/pr19698.s: Likewise.
774 * testsuite/ld-elf/pr19698.t: Likewise.
775
31866b2c
L
7762016-02-23 H.J. Lu <hongjiu.lu@intel.com>
777
778 * Makefile.am (ELF_X86_DEPS): New.
779 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
780 (eelf_i386_chaos.c): Likewise.
781 (eelf_i386_fbsd.c): Likewise.
782 (eelf_i386_ldso.c): Likewise.
783 (eelf_i386_nacl.c): Likewise.
784 (eelf_i386_sol2.c): Likewise.
785 (eelf_iamcu.c): Likewise.
786 (eelf32_x86_64.c): Likewise.
787 (eelf32_x86_64_nacl.c): Likewise.
788 (eelf_l1om.c): Likewise.
789 (eelf_l1om_fbsd.c): Likewise.
790 (eelf_k1om.c): Likewise.
791 (eelf_k1om_fbsd.c): Likewise.
792 (eelf_x86_64.c): Likewise.
793 (eelf_x86_64_cloudabi.c): Likewise.
794 (eelf_x86_64_fbsd.c): Likewise.
795 (eelf_x86_64_sol2.c): Likewise.
796 * Makefile.in: Regenerated.
797
6b3b0ab8
L
7982016-02-23 H.J. Lu <hongjiu.lu@intel.com>
799
800 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
801 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
802 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
803 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
804
de818c22
L
8052016-02-20 H.J. Lu <hongjiu.lu@intel.com>
806
807 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
808
c304e18e
L
8092016-02-18 H.J. Lu <hongjiu.lu@intel.com>
810
811 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
812 *-*-gnu* and *-*-solaris*.
813 * testsuite/ld-elf/pr19617b.d: Likewise.
814 * testsuite/ld-elf/pr19617c.d: Likewise.
815
bf89386a
L
8162016-02-18 H.J. Lu <hongjiu.lu@intel.com>
817
818 PR ld/19617
819 * testsuite/ld-elf/pr19617.s: New file.
820 * testsuite/ld-elf/pr19617a.d: Likewise.
821 * testsuite/ld-elf/pr19617b.d: Likewise.
822 * testsuite/ld-elf/pr19617c.d: Likewise.
823
06ea285d
NC
8242016-02-18 Nick Clifton <nickc@redhat.com>
825
826 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
827 in-tree xg++ executable after checking for the presence of an
828 in-tree g++ executable.
829 * Makefile.in: Regenerate.
830
b27ab9ad
L
8312016-02-17 H.J. Lu <hongjiu.lu@intel.com>
832
833 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
834 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
835 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
836
8f79b794
L
8372016-02-17 H.J. Lu <hongjiu.lu@intel.com>
838
839 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
840 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
841 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
842 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
843 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
844 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
845 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
846 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
847 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
848 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
849 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
850 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
851 * testsuite/ld-x86-64/load1c.d: Likewise.
852 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
853 * testsuite/ld-x86-64/load1d.d: Likewise.
854 * testsuite/ld-x86-64/pr14207.d: Likewise.
855 * testsuite/ld-x86-64/pr19162.d: Likewise.
856 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
857 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
858 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
859 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
860 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
861 * testsuite/ld-x86-64/tlspic.rd: Likewise.
862
b3e3e0b7
NC
8632016-02-17 Nick Clifton <nickc@redhat.com>
864
865 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
866
9fb71ee4
NC
8672016-02-15 Nick Clifton <nickc@redhat.com>
868
869 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
870 description of the flags produced by readelf.
871 * testsuite/ld-i386/pr12921.d: Likewise.
872 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
873 * testsuite/ld-i386/tlsbin.rd: Likewise.
874 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
875 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
876 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
877 * testsuite/ld-i386/tlsdesc.rd: Likewise.
878 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
879 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
880 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
881 * testsuite/ld-i386/tlsnopic.rd: Likewise.
882 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
883 * testsuite/ld-i386/tlspic.rd: Likewise.
884 * testsuite/ld-s390/tlsbin.rd: Likewise.
885 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
886 * testsuite/ld-s390/tlspic.rd: Likewise.
887 * testsuite/ld-s390/tlspic_64.rd: Likewise.
888 * testsuite/ld-sh/tlsbin-2.d: Likewise.
889 * testsuite/ld-sh/tlspic-2.d: Likewise.
890 * testsuite/ld-tic6x/common.d: Likewise.
891 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
892 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
893 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
894 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
895 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
896 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
897 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
898 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
899 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
900 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
901 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
902 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
903 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
904 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
905 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
906 * testsuite/ld-x86-64/pr12718.d: Likewise.
907 * testsuite/ld-x86-64/pr12921.d: Likewise.
908 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
909 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
910 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
911 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
912 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
913 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
914 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
915 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
916 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
917 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
918 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
919 * testsuite/ld-x86-64/tlspic.rd: Likewise.
920 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
921 * testsuite/ld-xtensa/tlspic.rd: Likewise.
922
21a90cf1
L
9232016-02-11 H.J. Lu <hongjiu.lu@intel.com>
924
925 PR ld/19615
926 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
927 PIE.
928 * lexsup.c (parse_args): Enable -Bsymbolic and
929 -Bsymbolic-functions for PIE.
ee5db48b 930 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
931 * testsuite/ld-i386/pr19615.d: New file.
932 * testsuite/ld-i386/pr19615.s: Likewise.
933 * testsuite/ld-x86-64/pr19615.d: Likewise.
934 * testsuite/ld-x86-64/pr19615.s: Likewise.
935
027e9c75
NC
9362016-02-09 Nick Clifton <nickc@redhat.com>
937
938 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
939 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
940 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
941 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
942
39306124
NC
9432016-02-04 Nick Clifton <nickc@redhat.com>
944
945 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
946 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
947 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
948 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
949 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
950 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
951 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
952 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
953 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
954
0cb4071e
L
9552016-02-03 H.J. Lu <hongjiu.lu@intel.com>
956
957 PR gas/19520
958 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
959 * testsuite/ld-i386/call1.d: Likewise.
960 * testsuite/ld-i386/call2.d: Likewise.
961 * testsuite/ld-i386/call3a.d: Likewise.
962 * testsuite/ld-i386/call3b.d: Likewise.
963 * testsuite/ld-i386/call3c.d: Likewise.
964 * testsuite/ld-i386/call3d.d: Likewise.
965 * testsuite/ld-i386/call3e.d: Likewise.
966 * testsuite/ld-i386/call3f.d: Likewise.
967 * testsuite/ld-i386/call3g.d: Likewise.
968 * testsuite/ld-i386/call3h.d: Likewise.
969 * testsuite/ld-i386/jmp1.d: Likewise.
970 * testsuite/ld-i386/jmp2.d: Likewise.
971 * testsuite/ld-i386/lea1c.d: Likewise.
972 * testsuite/ld-i386/load1.d: Likewise.
973 * testsuite/ld-i386/load2.d: Likewise.
974 * testsuite/ld-i386/load3.d: Likewise.
975 * testsuite/ld-i386/load4a.d: Likewise.
976 * testsuite/ld-i386/load5a.d: Likewise.
977 * testsuite/ld-i386/mov2b.d: Likewise.
978 * testsuite/ld-i386/mov3.d: Likewise.
979 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
980 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
981 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
982 * testsuite/ld-x86-64/call1a.d: Likewise.
983 * testsuite/ld-x86-64/call1b.d: Likewise.
984 * testsuite/ld-x86-64/call1c.d: Likewise.
985 * testsuite/ld-x86-64/call1d.d: Likewise.
986 * testsuite/ld-x86-64/call1e.d: Likewise.
987 * testsuite/ld-x86-64/call1f.d: Likewise.
988 * testsuite/ld-x86-64/call1h.d: Likewise.
989 * testsuite/ld-x86-64/call1i.d: Likewise.
990 * testsuite/ld-x86-64/load1a.d: Likewise.
991 * testsuite/ld-x86-64/load1b.d: Likewise.
992 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
993 * testsuite/ld-i386/got1.dd: Updated.
994 * testsuite/ld-i386/got1d.S (1): Removed.
995 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
996 * testsuite/ld-x86-64/x86-64.exp: Likewise.
997
6ba2af25
L
9982016-02-02 H.J. Lu <hongjiu.lu@intel.com>
999
1000 PR ld/18591
1001 * testsuite/ld-x86-64/pr18591.d: New file.
1002 * testsuite/ld-x86-64/pr18591.s: Likewise.
1003 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1004
aef28989
L
10052016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 PR ld/19553
1008 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1009 * testsuite/ld-elf/pr19553.map: New file.
1010 * testsuite/ld-elf/pr19553.map: Likewise.
1011 * testsuite/ld-elf/pr19553a.c: Likewise.
1012 * testsuite/ld-elf/pr19553b.c: Likewise.
1013 * testsuite/ld-elf/pr19553b.out: Likewise.
1014 * testsuite/ld-elf/pr19553c.c: Likewise.
1015 * testsuite/ld-elf/pr19553c.out: Likewise.
1016 * testsuite/ld-elf/pr19553d.c: Likewise.
1017 * testsuite/ld-elf/pr19553d.out: Likewise.
1018
d9e3b590
L
10192016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 PR ld/19539
1022 * testsuite/ld-elf/pr19539.d: New file.
1023 * testsuite/ld-elf/pr19539.s: Likewise.
1024 * testsuite/ld-elf/pr19539.t: Likewise.
1025
621ff761
L
10262016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 PR ld/19533
1029 * configure.ac (compressed_debug_sections): Replace == with =.
1030 * configure: Regenerated.
1031
7585b2b8
DC
10322016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1033
1034 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1035 * scripttempl/avrtiny.sc (.noinit): Likewise.
1036
aebf9be7
NC
10372016-01-21 Nick Clifton <nickc@redhat.com>
1038
dfc43940
NC
1039 PR ld/19453
1040 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1041 the arm-netbsdelf target.
1042
aebf9be7
NC
1043 PR ld/19455
1044 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1045 disassmebler output.
1046 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1047 * testsuite/ld-arm/vxworks1.dd: Likewise.
1048 * testsuite/ld-arm/vxworks1.rd: Likewise.
1049 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1050
2f340668
JW
10512016-01-20 Jiong Wang <jiong.wang@arm.com>
1052
1053 * testsuite/ld-aarch64/farcall-section.d: Delete.
1054 * testsuite/ld-aarch64/farcall-section.s: Delete.
1055 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1056 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1057 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1058 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1059 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1060
fdbd3e95
NC
10612016-01-20 Nick Clifton <nickc@redhat.com>
1062
1063 PR 19457
1064 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1065 early for PE based targets.
1066 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1067 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1068
91f68a68
MG
10692016-01-20 Mickael Guene <mickael.guene@st.com>
1070
1071 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1072 Add 'y' attribute usage.
1073 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1074 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1075 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1076
a4af960a
NC
10772016-01-19 Nick Clifton <nickc@redhat.com>
1078
1079 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1080 foo@FOO and bar@@FOO.
1081
3d961d0d
AM
10822016-01-18 Alan Modra <amodra@gmail.com>
1083
1084 * configure: Regenerate.
1085
760f6ee8
NC
10862016-01-18 Nick Clifton <nickc@redhat.com>
1087
1088 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1089 is not configured to support plugins.
1090
24f03d4e
NC
1091 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1092 but with 16 byte section alignment.
1093 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1094 test for MIPS targets.
1095
5c14705f
AM
10962016-01-17 Alan Modra <amodra@gmail.com>
1097
1098 * configure: Regenerate.
1099
b3066ae8
AM
11002016-01-17 Alan Modra <amodra@gmail.com>
1101
1102 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1103 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1104 * testsuite/ld-elf/pr14156a.d: Likewise.
1105 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1106 * testsuite/ld-elf/sec64k.exp: Likewise.
1107
4c4ac964
TP
11082016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1109
1110 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1111 Set address of .foo section when linking.
1112 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1113 in .foo section.
1114 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1115 output to the above changes.
1116
1bce3adf
NC
11172016-01-13 Nick Clifton <nickc@redhat.com>
1118
84054199
NC
1119 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1120 for MIPS targets.
1121
13ce3603
NC
1122 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1123 fail for MIPS targets.
1124
1bce3adf
NC
1125 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1126 MIPS targets.
1127
ac06903d
YU
11282016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1129
1130 * testsuite/ld-arm/arm-elf.exp: New test.
1131 * testsuite/ld-arm/unwind-mix.d: New file.
1132 * testsuite/ld-arm/unwind-mix1.s: New file.
1133 * testsuite/ld-arm/unwind-mix2.s: New file.
1134
109575d7
JW
11352016-01-08 Jiong Wang <jiong.wang@arm.com>
1136
1137 PR ld/19368
1138 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1139 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1140 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1141 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1142 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1143 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1144
296ebfbb
NC
11452016-01-05 Nick Clifton <nickc@redhat.com>
1146
1147 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1148 MSP430 hardware multiply address range.
1149 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1150 (__romdatacopysize): Define.
1151 * scripttempl/elf32msp430_3.sc: Likewise.
1152
2f2da8fd
MR
11532016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1154
1155 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1156 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1157
d537eeb5
MR
11582016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1159
1160 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1161 messages expected according to MIPS BFD private data merge
1162 changes.
1163 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1164 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1165 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1166 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1167 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1168 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1169 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1170 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1171 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1172 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1173 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1174 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1175 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1176
6f2750fe
AM
11772016-01-01 Alan Modra <amodra@gmail.com>
1178
1179 Update year range in copyright notice of all files.
1180
3499769a
AM
1181For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1182\f
1183Copyright (C) 2016 Free Software Foundation, Inc.
1184
1185Copying and distribution of this file, with or without modification,
1186are permitted in any medium without royalty provided the copyright
1187notice and this notice are preserved.
1188
1189Local Variables:
1190mode: change-log
1191left-margin: 8
1192fill-column: 74
1193version-control: never
1194End:
This page took 0.092187 seconds and 4 git commands to generate.