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