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