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