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