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