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