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