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