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