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