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