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