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