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