gas: avoid spurious failures in non-ELF targets in the SPARC testsuite.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7bd374a4
MR
12016-07-27 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
4 patterns for branch compaction.
5 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
6 Likewise.
7
61d2d2b5
NC
82016-07-27 Nick Clifton <nickc@redhat.com>
9
10 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
11 test to targets which support cfi.
12
7fca8e8f
IK
132016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
14
15 * ldbuildid.c (generate_build_id): Warning fix.
16
54806ffa
MR
172016-07-26 Maciej W. Rozycki <macro@imgtec.com>
18
19 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
20 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
21 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
22 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
23 test.
24 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
25 test.
26 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
27 New test.
28 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
29 New test.
30 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
31 New test.
32 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
33 New test.
34 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
35 New test.
36 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
37 New test.
38 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
39 New test.
40 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
41 New test.
42 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
43
d0d4152f
IK
442016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
45
46 * ldbuildid.c: Changes for MinGW32:
47 Include windows.h and rpcdce.h.
48 (validate_build_id_style): Allow "uuid" style.
49 (generate_build_id): Fill in id_bits using UuidCreate().
50
95804507
AM
512016-07-25 Alan Modra <amodra@gmail.com>
52
53 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
54 and m32r. Correct comment. Relax ld -r match to account for
55 msp increased number of default sections.
56
c02d11a5
CM
572016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
58
59 * testsuite/ld-arc/got-01.d: New file.
60 * testsuite/ld-arc/got-01.s: New file.
61
fecd57f9
L
622016-07-21 H.J. Lu <hongjiu.lu@intel.com>
63
64 * configure: Regenerated.
65
982c6f26
AM
662016-07-21 Alan Modra <amodra@gmail.com>
67
68 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
69 "targets_to_xfail" parameter with "args".
70 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
71 all calls to run_ld_link_exec_tests.
72 * testsuite/ld-elf/dwarf.exp: Likewise.
73 * testsuite/ld-elf/indirect.exp: Likewise.
74 * testsuite/ld-elf/wrap.exp: Likewise.
75 * testsuite/ld-i386/i386.exp: Likewise.
76 * testsuite/ld-i386/no-plt.exp: Likewise.
77 * testsuite/ld-i386/tls.exp: Likewise.
78 * testsuite/ld-ifunc/ifunc.exp: Likewise.
79 * testsuite/ld-pie/pie.exp: Likewise.
80 * testsuite/ld-plugin/lto.exp: Likewise.
81 * testsuite/ld-size/size.exp: Likewise.
82 * testsuite/ld-x86-64/mpx.exp: Likewise.
83 * testsuite/ld-x86-64/no-plt.exp: Likewise.
84 * testsuite/ld-x86-64/tls.exp: Likewise.
85 * testsuite/ld-x86-64/x86-64.exp: Likewise.
86 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
87 xfails and simplify lists.
88 * testsuite/ld-elf/shared.exp: Likewise.
89
5df1bc57
AM
902016-07-21 Alan Modra <amodra@gmail.com>
91
92 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
93 parameter to pass list of xfails.
94 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
95 implib test formatting. Don't set .data start address.
96 * testsuite/ld-elf/implib.s: Remove first .bss directive and
97 replace second one with equivalent .section directive.
98 * testsuite/ld-elf/empty-implib.out: Add expected final error.
99 * testsuite/ld-elf/implib.rd: Update.
100
b751e639
AM
1012016-07-20 Alan Modra <amodra@gmail.com>
102
103 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
104 fold expression.
105 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
106
3af09e8d
RM
1072016-07-19 Roland McGrath <roland@hack.frob.com>
108
109 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
110 * emulparams/aarch64elf32.sh: Likewise.
111
a6ebf616
MR
1122016-07-19 Maciej W. Rozycki <macro@imgtec.com>
113
114 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
115 messages expected.
116 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
117 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
118 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
119 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
120 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
121 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
122 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
123 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
124 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
125 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
126 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
127 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
128 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
129 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
130 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
131 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
132 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
133 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
134 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
135 source.
136 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
137 source.
138 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
139
9d862524
MR
1402016-07-19 Maciej W. Rozycki <macro@imgtec.com>
141
142 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
143 expected.
144 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
145 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
146 Likewise.
147 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
148 Likewise.
149 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
150 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
151 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
152 microMIPS BAL and MIPS16 instructions.
153 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
154 accordingly.
155 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
156 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
157 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
158 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
159 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
160 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
161 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
162 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
163 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
164
ace667e5
AB
1652016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * plugin.c (plugin_call_claim_file): Restore the file offset after
168 an unsuccessful attempt to claim a file.
169 * testplug.c (bytes_to_read_before_claim): New global.
170 (record_read_length): New function, sets new global
171 bytes_to_read_before_claim.
172 (parse_option): Handle 'read:<NUMBER>' option.
173 (onclaim_file): Read file content before checking for claim.
174 * testsuite/ld-plugin/plugin-30.d: New file.
175 * testsuite/ld-plugin/plugin.exp: Add new test.
176
7d0b9ebc
AM
1772016-07-16 Alan Modra <amodra@gmail.com>
178
179 * plugin.c: Don't include libbfd.h. Include plugin-api.h
180 before bfd/plugin.h.
181 (plugin_object_p): Use bfd_plugin_open_input.
182
4212b42d
AM
1832016-07-16 Alan Modra <amodra@gmail.com>
184
185 * ldlang.c (open_output): Replace bfd_search_for_target with
186 bfd_iterate_over_targets. Localize vars.
187
76e7a751
AM
1882016-07-16 Alan Modra <amodra@gmail.com>
189
190 * ldlang.c: Don't include libbfd.h.
191 * emultempl/nds32elf.em: Likewise.
192 * emultempl/ppc64elf.em: Likewise.
193 * emultempl/ppc32elf.em: Likewise.
194 (pagesize): Delete.
195 (params): Update init.
196 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
197 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
198 * emultempl/sh64elf.em: Don't include libbfd.h.
199 (after_allocation): Use ASSERT, not BFD_ASSERT.
200 * emultempl/xtensaelf.em: Don't include libbfd.h.
201 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
202 * Makefile.am: Update dependencies.
203 * Makefile.in: Regenerate.
204
76359541
TP
2052016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
206 Nick Clifton <nickc@redhat.com>
207
208 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
209 library file for writing and initialize implib_bfd field of link_info
210 structure.
211 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
212 (OPTION_IMPLIB_FILENAME): Remove macro definition.
213 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
214 (gld_${EMULATION_NAME}_list_options): Likewise.
215 (gld${EMULATION_NAME}_handle_option): Likewise.
216 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
217 instead of pe_implib_filename.
218 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
219 (OPTION_IMPLIB_FILENAME): Remove enumerator.
220 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
221 (gld_${EMULATION_NAME}_list_options): Likewise.
222 (gld${EMULATION_NAME}_handle_option): Likewise.
223 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
224 instead of pep_implib_filename.
225 * ld.h (args_type): Declare new out_implib_filename field.
226 * ld.texinfo (--out-implib): Move documentation to arch-independent
227 part and rephrase to apply to ELF targets.
228 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
229 defined in linker scripts.
230 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
231 enumerator.
232 * lexsup.c (ld_options): Add entry for new --out-implib switch.
233 (parse_args): Handle OPTION_OUT_IMPLIB case.
234 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
235 (Generate import library): Likewise.
236 * testsuite/ld-elf/implib.s: Likewise.
237 * testsuite/ld-elf/implib.rd: New file.
238 * testsuite/ld-elf/empty-implib.out: Likewise
239
f7e8b360
NC
2402016-07-15 Nick Clifton <nickc@redhat.com>
241
242 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
243 little endian mode.
244
b416ba9b
MR
2452016-07-14 Maciej W. Rozycki <macro@imgtec.com>
246
247 * testsuite/ld-mips-elf/mips-elf.exp: Run
248 `branch-absolute-addend', `mips16-branch-absolute',
249 `mips16-branch-absolute-addend' and
250 `micromips-branch-absolute-addend'.
251
96e9ba5f
MR
2522016-07-14 Maciej W. Rozycki <macro@imgtec.com>
253
254 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
255 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
256 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
257 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
258 test.
259 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
260 test.
261 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
262 test.
263 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
264 from `mips16-branch-absolute' and
265 `mips16-branch-absolute-addend', referred indirectly only.
266
0c117286
MR
2672016-07-14 Maciej W. Rozycki <macro@imgtec.com>
268
269 * testsuite/ld-mips-elf/branch-absolute.d: New test.
270 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
271 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
272 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
273 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
274 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
275 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
276 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
277 test.
278 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
279 test.
280 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
281 test.
282 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
283 New test.
284 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
285 New test.
286 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
287 from `branch-absolute-addend' and
288 `micromips-branch-absolute-addend', referred indirectly only.
289
fa1c0170
CZ
2902016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
291
292 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
293 * testsuite/ld-arc/sda-relocs.dd: New file.
294 * testsuite/ld-arc/sda-relocs.ld: Likewise.
295 * testsuite/ld-arc/sda-relocs.rd: Likewise.
296 * testsuite/ld-arc/sda-relocs.s: Likewise.
297 * testsuite/ld-arc/arc.exp: Add SDA tests.
298
764cfd4a
CZ
2992016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
300
301 * testsuite/ld-arc/nps-1b.err: Update test to handle more
302 verbosity.
303
32a0481f
AM
3042016-07-09 Alan Modra <amodra@gmail.com>
305
306 * testsuite/ld-powerpc/elfv2exe.d: Update.
307
3a5ce950 3082016-07-06 James Bowman <james.bowman@ftdichip.com>
309
310 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
311 (DATA): add ALIGN.
312 (BSS): add ALIGN
313
29d7478b
L
3142016-07-05 H.J. Lu <hongjiu.lu@intel.com>
315
316 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
317
d5a67c02
AV
3182016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
319
320 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
321 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
322 * testsuite/ld-arm/arm-elf.exp: Run it.
323
f0728ee3
AV
3242016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
325
326 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
327 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
328 all noread's by purecode.
329
1753ed68
JB
3302016-07-05 Jan Beulich <jbeulich@suse.com>
331
332 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
333 assignment line number.
334 * ldlex.l (lineno): Drop initializer.
335 (<<EOF>>): Set lineno to zero after reaching top of stack.
336
c3e1c28e
L
3372016-07-04 H.J. Lu <hongjiu.lu@intel.com>
338
339 PR ld/20321
340 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
341 been loaded already.
342 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
343 * testsuite/ld-plugin/pr20321.c: New file.
344
1dc8bf19
NC
3452016-07-04 Nick Clifton <nickc@redhat.com>
346
347 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
348 (__RAMSIZE): If not defined, set to 64K.
349 (MEMORY): Set the flash region size to __PMSIZE and the ram region
350 size to __RAMSIZE.
351
6f50d611
MR
3522016-07-02 Maciej W. Rozycki <macro@imgtec.com>
353
354 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
355 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
356
5e866f5a
TP
3572016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
358
359 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
360 (Thumb-2 BL on ARMv6-M): New testcase.
361 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
362 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
363
96a84ea3
TG
3642016-07-01 Tristan Gingold <gingold@adacore.com>
365
366 * NEWS: Add marker for 2.27.
367
f4ab0e2d
L
3682016-06-28 H.J. Lu <hongjiu.lu@intel.com>
369
370 * testsuite/ld-gc/gc.exp: Run pr20306 test.
371 * ld-gc/pr20306.c: New file.
372 * ld-gc/pr20306.d: Likewise.
373
1b857aee
NC
3742016-06-28 Nick Clifton <nickc@redhat.com>
375
376 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
377 for bfin.
378 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
379 tests to fail for bfin.
380 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
381 nds32 and visium.
382 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
383 microblaze.
384 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
385 mcore-pe.
386
3872016-06-28 Nick Clifton <nickc@redhat.com>
388
389 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
390 expect to fail this test.
391 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
392 RX.
393 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
394 fail for the RX.
395 * testsuite/ld-scripts/rgn-at11.d: Likewise.
396 * testsuite/ld-scripts/rgn-at2.d: Likewise.
397 * testsuite/ld-scripts/rgn-at6.d: Likewise.
398 * testsuite/ld-scripts/rgn-at7.d: Likewise.
399 * testsuite/ld-scripts/rgn-at8.d: Likewise.
400
7160c10d
JC
4012016-06-28 James Clarke <jrtc27@jrtc27.com>
402
403 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
404 .text.
405
6c9a7fb6
MR
4062016-06-28 Maciej W. Rozycki <macro@imgtec.com>
407
408 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
409 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
410 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
411 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
412
56a30421
AM
4132016-06-28 Alan Modra <amodra@gmail.com>
414
415 PR ld/20302
416 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
417
c9775dde
MR
4182016-06-28 Maciej W. Rozycki <macro@imgtec.com>
419
420 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
421 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
422 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
423 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
424 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
425 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
426
42b7a39b
NC
4272016-06-27 Nick Clifton <nickc@redhat.com>
428
429 PR ld/20302
430 * lexsup.c (set_segment_start): If resetting the start address of
431 a section, remember to generate a new script element as well.
432 * testsuite/ld-scripts/pr20302.d: New test.
433 * testsuite/ld-scripts/scripts.exp: Run the new test.
434
78da3bc1
AM
4352016-06-24 Alan Modra <amodra@gmail.com>
436
437 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
438 Don't error out, always return an emulation.
439
da4463c7
L
4402016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
441 H.J. Lu <hongjiu.lu@intel.com>
442
443 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
444 for -z relro help message.
445
4041bc9b
MR
4462016-06-22 Maciej W. Rozycki <macro@imgtec.com>
447
448 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
449 address matching.
450
4861b804
MR
4512016-06-22 Maciej W. Rozycki <macro@imgtec.com>
452
453 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
454 `undefweak-overflow' tests.
455
647e4d46
L
4562016-06-22 H.J. Lu <hongjiu.lu@intel.com>
457
458 PR ld/20283
459 * NEWS: Mention --enable-relro.
460 * configure.ac: Add --enable-relro.
461 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
462 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
463 some Linux targets.
464 * config.in: Regenerated.
465 * configure: Likewise.
466 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
467 link_info.relro to DEFAULT_LD_Z_RELRO.
468 * testsuite/config/default.exp (ld_elf_shared_opt): New.
469 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
470 $ld_elf_shared_opt to ld for ELF targets with shared object
471 support.
472 (run_ld_link_tests): Likewise.
473
5f68df25
MR
4742016-06-21 Maciej W. Rozycki <macro@imgtec.com>
475
476 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
477 twice rather than once.
478 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
479 accordingly. Remove the full stop from the end of the message.
480
bdd582db
GM
4812016-06-21 Graham Markall <graham.markall@embecosm.com>
482
483 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
484 * testsuite/ld-arc/nps-1b.d: Likewise.
485
7dc3990e
L
4862016-06-20 H.J. Lu <hongjiu.lu@intel.com>
487
488 PR ld/20267
489 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
490 PR ld/20267.
491 (lto_run_tests): Likewise.
492 * testsuite/ld-plugin/pr20267a.c: New file.
493 * testsuite/ld-plugin/pr20267b.c: Likewise.
494
0616a280
AM
4952016-06-20 H.J. Lu <hongjiu.lu@intel.com>
496 Alan Modra <amodra@gmail.com>
497
498 PR ld/20276
499 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
500 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
501 PR ld/20276.
502 (lto_run_tests): Likewise.
503 * testsuite/ld-plugin/pass.out: New file.
504 * testsuite/ld-plugin/pr20276a.c: Likewise.
505 * testsuite/ld-plugin/pr20276b.c: Likewise.
506
49f30d83
L
5072016-06-18 H.J. Lu <hongjiu.lu@intel.com>
508
509 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
510 with bfd_plugin_unknown.
511
233cc9c1
L
5122016-06-18 H.J. Lu <hongjiu.lu@intel.com>
513
514 PR ld/20253
515 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
516 * testsuite/ld-i386/no-plt.exp: Likewise.
517 * testsuite/ld-x86-64/no-plt.exp: Likewise.
518 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
519 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
520 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
521 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
522 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
523 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
524 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
525 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
526 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
527 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
528 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
529 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
530 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
531 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
532 * testsuite/ld-i386/pr20244-2b.d: Updated.
533 * testsuite/ld-i386/pr20244-2c.d: Likewise.
534 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
535 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
536 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
537 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
538 * testsuite/ld-i386/pr20253-1a.c: New file.
539 * testsuite/ld-i386/pr20253-1b.S: Likewise.
540 * testsuite/ld-i386/pr20253-1c.S: Likewise.
541 * testsuite/ld-i386/pr20253-1d.S: Likewise.
542 * testsuite/ld-i386/pr20253-2a.c: Likewise.
543 * testsuite/ld-i386/pr20253-2b.S: Likewise.
544 * testsuite/ld-i386/pr20253-2c.S: Likewise.
545 * testsuite/ld-i386/pr20253-2d.S: Likewise.
546 * testsuite/ld-i386/pr20253-3.d: Likewise.
547 * testsuite/ld-i386/pr20253-3.s: Likewise.
548 * testsuite/ld-i386/pr20253-4.s: Likewise.
549 * testsuite/ld-i386/pr20253-4a.d: Likewise.
550 * testsuite/ld-i386/pr20253-4b.d: Likewise.
551 * testsuite/ld-i386/pr20253-4c.d: Likewise.
552 * testsuite/ld-i386/pr20253-5.d: Likewise.
553 * testsuite/ld-i386/pr20253-5.s: Likewise.
554 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
555 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
556 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
557 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
558 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
559 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
560 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
561 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
562 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
563 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
564 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
565 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
566 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
567 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
568 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
569 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
570 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
571 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
572 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
573 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
574 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
575 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
576 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
577 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
578 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
579 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
580 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
581 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
582 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
583 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
584 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
585 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
586 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
587 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
588 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
589 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
590 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
591 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
592 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
593 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
594 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
595 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
596 relocation.
597 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
598 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
599 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
600 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
601 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
602
80c135e5
TP
6032016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
604 Tony Wang <tony.wang@arm.com>
605
606 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
607 Assemble for ARMv6-M.
608 (Thumb2-Thumb2 farcall M profile): New testcase.
609 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
610 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
611 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
612 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
613
ca45f6e9
L
6142016-06-16 H.J. Lu <hongjiu.lu@intel.com>
615
616 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
617 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
618 Remove .rel.plt section.
619 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
620
3a4b0e0f
L
6212016-06-15 H.J. Lu <hongjiu.lu@intel.com>
622
623 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
624 function pointer.
625 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
626 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
627 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
628 function pointer.
629 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
630 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
631 * testsuite/ld-i386/no-plt-1a.dd: Updated.
632 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
633 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
634 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
635 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
636 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
637 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
638 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
639 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
640 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
641 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
642 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
643 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
644 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
645 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
646 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
647 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
648
31eef93e
SKS
6492016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
650
651 PR ld/20254
652 * testsuite/ld-avr/avr-prop-6.d: New test.
653 * testsuite/ld-avr/avr-prop-6.s: New test.
654
0aa7f586
AM
6552016-06-14 Alan Modra <amodra@gmail.com>
656
657 * ldbuildid.c: Formatting.
658 * ldcref.c: Formatting.
659 * ldctor.c: Formatting.
660 * ldemul.c: Formatting.
661 * ldexp.c: Formatting.
662 * ldfile.c: Formatting.
663 * ldlang.c: Formatting.
664 * ldmain.c: Formatting.
665 * ldwrite.c: Formatting.
666
3860d2b4
AM
6672016-06-14 Alan Modra <amodra@gmail.com>
668
669 * ldlang.c: Expand uses of bfd_my_archive.
670 * ldmain.c: Likewise.
671 * ldmisc.c: Likewise.
672 * plugin.c: Likewise.
673
b0cffb47
AM
6742016-06-14 Alan Modra <amodra@gmail.com>
675
676 PR ld/20241
677 * ldmain.c (add_archive_element): Just print file name of file within
678 thin archives.
679 * ldmisc.c (vfinfo): Likewise.
680 * plugin.c (plugin_object_p): Open file within thin archives.
681 (plugin_maybe_claim): Expand comment.
682
712ec279
L
6832016-06-13 H.J. Lu <hongjiu.lu@intel.com>
684
685 PR ld/20244
686 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
687 pr20244-2c and pr20244-2d.
688 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
689 * testsuite/ld-i386/pr20244-2.s: New file.
690 * testsuite/ld-i386/pr20244-2a.d: Likewise.
691 * testsuite/ld-i386/pr20244-2b.d: Likewise.
692 * testsuite/ld-i386/pr20244-2c.d: Likewise.
693 * testsuite/ld-i386/pr20244-2d.d: Likewise.
694 * testsuite/ld-i386/pr20244-3a.c: Likewise.
695 * testsuite/ld-i386/pr20244-3b.S: Likewise.
696 * testsuite/ld-i386/pr20244-3c.S: Likewise.
697 * testsuite/ld-i386/pr20244-3d.S: Likewise.
698
ca8c86ef
L
6992016-06-13 H.J. Lu <hongjiu.lu@intel.com>
700
701 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
702 * testsuite/ld-i386/ifunc-1a.c: New file.
703 * testsuite/ld-i386/ifunc-1b.S: Likewise.
704 * testsuite/ld-i386/ifunc-1c.S: Likewise.
705 * testsuite/ld-i386/ifunc-1d.S: Likewise.
706
82f46e2c
CM
7072016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
708
709 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
710 big endian ARC targets.
711
6d84fed1
L
7122016-06-12 H.J. Lu <hongjiu.lu@intel.com>
713
714 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
715 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
716 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
717 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
718 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
719 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
720 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
721 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
722 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
723 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
724 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
725 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
726 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
727 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
728 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
729
74d7f0aa
L
7302016-06-11 H.J. Lu <hongjiu.lu@intel.com>
731
732 PR ld/20244
733 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
734 * testsuite/ld-i386/pr20244-1.s: New file.
735 * testsuite/ld-i386/pr20244-1a.d: Likewise.
736 * testsuite/ld-i386/pr20244-1b.d: Likewise.
737 * testsuite/ld-i386/pr20244-1c.d: Likewise.
738
5c41dbc3
DC
7392016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
740
741 PR ld/20221
742 * testsuite/ld-avr/avr-prop-5.d: New.
743 * testsuite/ld-avr/avr-prop-5.s: New.
744
1857fe72 7452016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 746
1857fe72
DC
747 * testsuite/ld-avr/lds-mega.d: New test.
748 * testsuite/ld-avr/lds-mega.s: New test source.
749 * testsuite/ld-avr/lds-tiny.d: New test.
750 * testsuite/ld-avr/lds-tiny.s: New test source.
751
cd41072b
L
7522016-06-08 H.J. Lu <hongjiu.lu@intel.com>
753
754 * testsuite/ld-i386/libno-plt-1b.dd: New file.
755 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
756 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
757 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
758 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
759 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
760 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
761 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
762 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
763 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
764 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
765 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
766 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
767 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
768 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
769 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
770 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
771 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
772 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
773 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
774 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
775 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
776 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
777 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
778 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
779 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
780 * testsuite/ld-i386/no-plt-func1.c: Likewise.
781 * testsuite/ld-i386/no-plt-main1.c: Likewise.
782 * testsuite/ld-i386/no-plt.exp: Likewise.
783
dcc03cb3
L
7842016-06-08 H.J. Lu <hongjiu.lu@intel.com>
785
786 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
787 name.
788
6eaa7fb5
L
7892016-06-08 H.J. Lu <hongjiu.lu@intel.com>
790
791 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
792 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
793 * testsuite/ld-i386/pass.out: New file.
794 * testsuite/ld-i386/tls-def1.c: Likewise.
795 * testsuite/ld-i386/tls-gd1.S: Likewise.
796 * testsuite/ld-i386/tls-ld1.S: Likewise.
797 * testsuite/ld-i386/tls-main1.c: Likewise.
798 * testsuite/ld-i386/tls.exp: Likewise.
799 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
800 * testsuite/ld-i386/tlsbin2.dd: Likewise.
801 * testsuite/ld-i386/tlsbin2.rd: Likewise.
802 * testsuite/ld-i386/tlsbin2.sd: Likewise.
803 * testsuite/ld-i386/tlsbin2.td: Likewise.
804 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
805 * testsuite/ld-i386/tlsgd3.dd: Likewise.
806 * testsuite/ld-i386/tlsgd3.s: Likewise.
807 * testsuite/ld-i386/tlsgd4.d: Likewise.
808 * testsuite/ld-i386/tlsgd4.s: Likewise.
809 * testsuite/ld-i386/tlsld2.s: Likewise.
810 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
811 * testsuite/ld-i386/tlspic2.dd: Likewise.
812 * testsuite/ld-i386/tlspic2.rd: Likewise.
813 * testsuite/ld-i386/tlspic2.sd: Likewise.
814 * testsuite/ld-i386/tlspic2.td: Likewise.
815 * testsuite/ld-i386/tlspic3.s: Likewise.
816 * testsuite/ld-i386/tlspie3.s: Likewise.
817 * testsuite/ld-i386/tlspie3a.d: Likewise.
818 * testsuite/ld-i386/tlspie3b.d: Likewise.
819 * testsuite/ld-i386/tlspie3c.d: Likewise.
820
010bc3ce
L
8212016-06-08 H.J. Lu <hongjiu.lu@intel.com>
822
823 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
824 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
825 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
826 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
827 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
828 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
829 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
830 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
831
1f26b7ae
L
8322016-06-08 H.J. Lu <hongjiu.lu@intel.com>
833
834 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
835 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
836 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
837 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
838 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
839 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
840 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
841 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
842 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
843 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
844 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
845 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
846 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
847 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
848 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
849 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
850 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
851 * testsuite/ld-x86-64/no-plt.exp: Likewise.
852 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
853 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
854 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
855
1133012c
MR
8562016-06-07 Maciej W. Rozycki <macro@imgtec.com>
857
858 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
859
161db279
AK
8602016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
861
862 * testsuite/ld-s390/pltoffset-1.dd: New test.
863 * testsuite/ld-s390/pltoffset-1.ld: New test.
864 * testsuite/ld-s390/pltoffset-1.s: New test.
865 * testsuite/ld-s390/s390.exp: Run new test.
866
14b57c7c
AM
8672016-06-07 Alan Modra <amodra@gmail.com>
868
869 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
870 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
871 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
872
e2cbcd91
L
8732016-06-06 H.J. Lu <hongjiu.lu@intel.com>
874
875 * testsuite/ld-x86-64/pass.out: New file.
876 * testsuite/ld-x86-64/tls-def1.c: Likewise.
877 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
878 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
879 * testsuite/ld-x86-64/tls-main1.c: Likewise.
880 * testsuite/ld-x86-64/tls.exp: Likewise.
881 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
882 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
883 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
884 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
885 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
886 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
887 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
888 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
889 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
890 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
891 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
892 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
893 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
894 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
895 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
896 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
897 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
898 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
899 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
900 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
901 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
902 * testsuite/ld-x86-64/tlsld4.s: Likewise.
903 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
904 * testsuite/ld-x86-64/tlsld5.s: Likewise.
905 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
906 * testsuite/ld-x86-64/tlsld6.s: Likewise.
907 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
908 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
909 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
910 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
911 * testsuite/ld-x86-64/tlspic2.td: Likewise.
912 * testsuite/ld-x86-64/tlspic3.s: Likewise.
913 * testsuite/ld-x86-64/tlspie2.s: Likewise.
914 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
915 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
916 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
917 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
918 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
919 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
920 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
921 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
922 tlspie2c.
923
2ac27cd3
CG
9242016-06-04 Christian Groessler <chris@groessler.org>
925
67cb102b
CG
926 * testsuite/ld-z8k/0filler.s: New file.
927 * testsuite/ld-z8k/branch-target.s: New file.
928 * testsuite/ld-z8k/branch-target2.s: New file.
929 * testsuite/ld-z8k/calr-back-8001.d: New file.
930 * testsuite/ld-z8k/calr-back-8002.d: New file.
931 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
932 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
933 * testsuite/ld-z8k/calr-forw-8001.d: New file.
934 * testsuite/ld-z8k/calr-forw-8002.d: New file.
935 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
936 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
937 * testsuite/ld-z8k/calr-opcode.s: New file.
938 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
939 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
940 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
941 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
942 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
943 * testsuite/ld-z8k/djnz-back-8001.d: New file.
944 * testsuite/ld-z8k/djnz-back-8002.d: New file.
945 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
946 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
947 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
948 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
949 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
950 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
951 * testsuite/ld-z8k/djnz-opcode.s: New file.
952 * testsuite/ld-z8k/filler.s: New file.
953 * testsuite/ld-z8k/jr-back-8001.d: New file.
954 * testsuite/ld-z8k/jr-back-8002.d: New file.
955 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
956 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
957 * testsuite/ld-z8k/jr-forw-8001.d: New file.
958 * testsuite/ld-z8k/jr-forw-8002.d: New file.
959 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
960 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
961 * testsuite/ld-z8k/jr-opcode.s: New file.
962 * testsuite/ld-z8k/ldr-back-8001.d: New file.
963 * testsuite/ld-z8k/ldr-back-8002.d: New file.
964 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
965 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
966 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
967 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
968 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
969 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
970 * testsuite/ld-z8k/ldr-opcode.s: New file.
971 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
972 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
973 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
974 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
975 * testsuite/ld-z8k/ldrb-opcode.s: New file.
976 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
977 * testsuite/ld-z8k/other-file.s: New file.
978 * testsuite/ld-z8k/reloc.dd: New file.
979 * testsuite/ld-z8k/reloc.ld: New file.
980 * testsuite/ld-z8k/relocseg.dd: New file.
981 * testsuite/ld-z8k/relocseg.ld: New file.
982 * testsuite/ld-z8k/relocseg1.dd: New file.
983 * testsuite/ld-z8k/this-file.s: New file.
984 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 985
b1058ce9
L
9862016-06-03 H.J. Lu <hongjiu.lu@intel.com>
987
988 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
989 with -mrelax-relocations=yes.
990 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
991 * testsuite/ld-i386/lea1b.d (as): Likewise.
992 * testsuite/ld-i386/lea1d.d (as): Likewise.
993 * testsuite/ld-i386/lea1e.d (as): Likewise.
994 * testsuite/ld-i386/lea1f.d (as): Likewise.
995 * testsuite/ld-i386/load7.d (as): Likewise.
996 * testsuite/ld-i386/mov1b.d (as): Likewise.
997 * testsuite/ld-i386/pr19175.d (as): Likewise.
998 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
999 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1000 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1001 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1002 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1003
4ad0bb5f
VG
10042016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1005
1006 * configure.tgt: Replace -uclibc with *.
1007
99aefae6
MR
10082016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1009
1010 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1011 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1012 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1013 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1014
3b4412a0
MR
10152016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1016
1017 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1018 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1019 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1020 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1021 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1022 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1023
77434823
MR
10242016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1025
1026 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1027 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1028 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1029 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1030 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1031 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1032 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1033
1a72702b
AM
10342016-05-28 Alan Modra <amodra@gmail.com>
1035
1036 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1037 constructor_callback, warning_callback, undefined_symbol,
1038 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1039 * emultempl/elf32.em: Adjust callback calls.
1040
bc27bb05
MR
10412016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1042
1043 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1044 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1045 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1046 test.
1047 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1048 test.
1049 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1050 test.
1051 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1052 test.
1053 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1054 source.
1055 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1056 source.
1057 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1058
ceab86af
MR
10592016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1060
1061 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1062 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1063 new test.
1064 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1065
ed53407e
MR
10662016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1067
1068 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1069 `unaligned-jalx-2' here.
1070 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1071 `unaligned-jalx-mips16-2' here.
1072 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1073 `unaligned-jalx-micromips-2' here.
1074 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1075 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1076 message.
1077 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1078 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1079 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1080 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1081 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1082 test.
1083 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1084 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1085 `unaligned-lwpc-3' here.
1086 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1087 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1088 `unaligned-lwpc-2' here.
1089 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1090 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1091 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1092 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1093 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1094 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1095 `unaligned-ldpc-4' here.
1096 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1097 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1098 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1099 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1100 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1101 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1102 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1103 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1104 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1105 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1106 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1107
0d832c8e
NC
11082016-05-26 Nick Clifton <nickc@redhat.com>
1109
1110 PR target/20134
1111 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1112 __bsssize.
1113 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1114
de341542 11152016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 1116
de341542
MR
1117 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1118 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1119 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1120 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1121 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1122 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1123 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1124 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1125 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1126 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1127 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1128 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1129 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1130 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1131 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1132 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1133 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1134 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1135 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1136 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1137 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1138 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1139 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1140 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1141 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1142 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1143 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1144 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1145 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1146 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1147 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1148 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1149 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1150
b95a0a31
L
11512016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 PR ld/20103
1154 * ldmain.c (add_archive_element): Don't claim new IR symbols
1155 after all IR symbols have been claimed.
1156 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1157 check.
1158 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1159 Run PR ld/20103 tests.
1160 * testsuite/ld-plugin/pr20103a.c: New file.
1161 * testsuite/ld-plugin/pr20103b.c: Likewise.
1162 * testsuite/ld-plugin/pr20103c.c: Likewise.
1163
44d3da23 11642016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3af09e8d 1165
44d3da23
MR
1166 * testsuite/ld-mips-elf/jalx-local.d: New test.
1167 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1168 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1169 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1170
a2bea324
KS
11712016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1172
1173 * Makefile.am: Add earmelf_phoenix.c.
1174 * Makefile.in: Regenerate.
1175 * configure.tgt: Add entry for arm-phoenix.
1176 * emulparams/armelf_phoenix.sh: New file.
1177
daa4adae
TP
11782016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1179
1180 * emultempl/armelf.em (arm_elf_before_allocation): Call
1181 bfd_elf32_arm_keep_private_stub_output_sections before generic
1182 before_allocation function.
1183
17c6c9d9
MR
11842016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1185
1186 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1187 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1188 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1189 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1190
7d4d9709
L
11912016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 PR ld/20117
1194 * testsuite/ld-i386/i386.exp: Run pr20117.
1195 * testsuite/ld-i386/pr19609-1i.d: Updated.
1196 * testsuite/ld-i386/pr20117.d: New file.
1197 * testsuite/ld-i386/pr20117.s: Likewise.
1198
fc3eec7e
CZ
11992016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1200
1201 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1202 * testsuite/ld-elf/group8a.d: Likewise.
1203 * testsuite/ld-elf/group8b.d: Likewise.
1204 * testsuite/ld-elf/group9a.d: Likewise.
1205 * testsuite/ld-elf/group9b.d: Likewise.
1206 * testsuite/ld-elf/pr12851.d: Likewise.
1207 * testsuite/ld-elf/pr12975.d: Likewise.
1208 * testsuite/ld-elf/pr13177.d: Likewise.
1209 * testsuite/ld-elf/pr13195.d: Likewise.
1210 * testsuite/ld-elf/pr17615.d: Likewise.
1211 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1212 * testsuite/ld-elf/group3b.d: Likewise.
1213 * testsuite/ld-srec/srec.exp: Likewise.
1214 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1215 as supporting gc.
1216 (check_shared_lib_support): Mark ARC as supporting.
1217
c0913ebf
CZ
12182016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1219
1220 * emulparams/arcelf.sh: Changed.
1221 * emulparams/arclinux.sh: Likewise.
1222 * scripttempl/arclinux.sc: Moved to a more standard implementation
1223 similar to elf.sc.
1224
c4107a7d
MR
12252016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1226
1227 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1228 `ft32-*-*' behind `frv-*-*'.
1229
6b200de0
MR
12302016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * configure.tgt: Remove `am34-*-linux*' support.
1233
82bc9362
AM
12342016-05-19 Alan Modra <amodra@gmail.com>
1235
1236 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1237 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1238 * testsuite/ld-scripts/cross3.t: Likewise.
1239 * testsuite/ld-scripts/cross4.t: Likewise.
1240 * testsuite/ld-scripts/cross5.t: Likewise.
1241 * testsuite/ld-scripts/cross6.t: Likewise.
1242 * testsuite/ld-scripts/cross7.t: Likewise.
1243
f1b2ca70
AM
12442016-05-19 Alan Modra <amodra@gmail.com>
1245
1246 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1247 exe name rather than constructing testname. Fix typo in
1248 sub-test name. Log copying. Use -rpath rather than -R.
1249
d1f70bdc
NC
12502016-05-18 Nick Clifton <nickc@redhat.com>
1251
1252 * scripttempl/ft32.sc: Use fixed constants for memory region
1253 lengths. Include DWARF debug sections.
1254 (.data .bss): Do not assign locations during relocatable links.
1255 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1256 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1257 * testsuite/ld-elf/sec64k.exp: Likewise.
1258 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1259 * testsuite/ld-elf/merge.d: Likewise.
1260 * testsuite/ld-elf/orphan-region.d: Likewise.
1261 * testsuite/ld-elf/orphan.s: Likewise.
1262 * testsuite/ld-elf/orphan3.d: Likewise.
1263 * testsuite/ld-elf/pr349.d: Likewise.
1264 * testsuite/ld-elf/warn2.d: Likewise.
1265 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1266 that the FT32 does not support shared libraries.
1267
68bce020
L
12682016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1271 global CC.
1272
23b5dc39 12732016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
1274
1275 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1276 above .progmem*.
1277 * scripttempl/avrtiny.sc (text): Likewise.
1278
a43942db
MR
12792016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1280
1281 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1282 `supports_gnu_unique' to qualify testing.
1283
69a1c856
MR
12842016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1285
1286 * testsuite/ld-elf/flags1.d: Update the xfail list.
1287
180c87d9
MR
12882016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1289
1290 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1291 removal.
1292
bf6f87e7
L
12932016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR ld/20097
1296 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1297 on EXPECTED_VIEW_LENGTH.
1298 * testplug4.c (onall_symbols_read): Likewise.
1299
2168b268
L
13002016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 PR ld/20093
1303 * testsuite/ld-x86-64/pr20093-1.d: New file.
1304 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1305 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1306 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1307 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1308
4ade44b7
AM
13092016-05-13 Alan Modra <amodra@gmail.com>
1310
1311 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1312 Use different output file name for static app without .rel.plt.
1313 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1314 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1315 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1316 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1317 * testsuite/ld-arm/arm-static-app.r: Likewise.
1318
3355cb3b
L
13192016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 PR ld/20070
1322 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1323 (libldtestplug4_la_SOURCES): New.
1324 (libldtestplug4_la_CFLAGS): Likewise.
1325 (libldtestplug4_la_LDFLAGS): Likewise.
1326 * Makefile.in: Regenerated.
1327 * plugin.c (get_symbols): Return resolution based on IR symbol
1328 kinds for symbols defined/referenced only within IR.
1329 * testplug4.c: New file.
1330 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1331 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1332 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1333 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1334 (plugin4_path): Likewise.
1335 Add a test for ld/20070.
1336
a464198b
AM
13372016-05-11 Alan Modra <amodra@gmail.com>
1338
1339 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1340 Call elf32_hppa_init_stub_bfd.
1341
3bd43ebc
AM
13422016-05-11 Alan Modra <amodra@gmail.com>
1343
1344 PR 20060
1345 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1346 * testsuite/ld-powerpc/tlsdll.s: New.
1347 * testsuite/ld-powerpc/tlsdll.ver: New.
1348 * testsuite/ld-powerpc/tlsdll_32.s: New.
1349 * testsuite/ld-powerpc/tlsopt5.d: New.
1350 * testsuite/ld-powerpc/tlsopt5.s: New.
1351 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1352 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1353
39d911fc
TP
13542016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1355
1356 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1357 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1358
6bde4c52
TP
13592016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1360
1361 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1362 parameter and rename input_section parameter to after_input_section.
1363 Append input stub section to the output section if after_input_section
1364 is NULL.
1365
15afaa63
TP
13662016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1367
1368 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1369 test.
1370 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1371 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1372
d63a50b7
CL
13732016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1374
1375 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1376
9239bbd3
CM
13772016-05-09 Christophe Monat <christophe.monat@st.com>
1378
1379 PR ld/20030
1380 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1381 tests. Fix misnamed stm32l4xx-fix-all.
1382 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1383 loads with DP registers.
1384 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1385 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1386 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1387 loads with DP registers.
1388 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1389
924bc11b
PS
13902016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1391
1392 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1393 program headers.
1394 (xfail): Remove avr-*-*.
1395 Update regex to check the section flags.
1396 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1397
a64f5ba1
AM
13982016-05-09 Alan Modra <amodra@gmail.com>
1399
1400 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1401 * Makefile.in: Regenerate.
1402
cc969da9
AM
14032016-05-09 Alan Modra <amodra@gmail.com>
1404
1405 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1406 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1407 * testsuite/ld-scripts/section-match-1.t: Likewise.
1408
97196564
L
14092016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 PR ld/17550
1412 * testsuite/ld-elf/pr17550-1.s: New file.
1413 * testsuite/ld-elf/pr17550-2.s: Likewise.
1414 * testsuite/ld-elf/pr17550-3.s: Likewise.
1415 * testsuite/ld-elf/pr17550-4.s: Likewise.
1416 * testsuite/ld-elf/pr17550a.d: Likewise.
1417 * testsuite/ld-elf/pr17550b.d: Likewise.
1418 * testsuite/ld-elf/pr17550c.d: Likewise.
1419 * testsuite/ld-elf/pr17550d.d: Likewise.
1420
887cf791
SKS
14212016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1422
1423 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1424
2856a627
L
14252016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 * testsuite/ld-i386/i386.exp: Run load7.
1428 * testsuite/ld-i386/load7.d: New file.
1429 * testsuite/ld-i386/load7.map: Likewise.
1430 * testsuite/ld-i386/load7.s: Likewise.
1431 * testsuite/ld-x86-64/load2.d: Likewise.
1432 * testsuite/ld-x86-64/load2.map: Likewise.
1433 * testsuite/ld-x86-64/load2.s: Likewise.
1434 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1435
004b1309
L
14362016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1439 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1440 Likewise.
1441 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1442 Likewise.
1443
d7adef8b
L
14442016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1447
d4758f96
L
14482016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1451
c3fbf828
MR
14522016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1453
1454 * testsuite/ld-unique/unique.d: New test.
1455 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1456 messages for compiled tests.
1457
4a85cc09
SKS
14582016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1459
1460 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1461 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1462 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1463 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1464 plugin_tests only if check_shared_lib_support is true.
1465 * testsuite/ld-selective/selective.exp: Add --section-start
1466 flag for avr.
1467
6d6a648c
MR
14682016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1469
1470 PR 10549
1471 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1472
1f56df9d
JW
14732016-05-03 Jiong Wang <jiong.wang@arm.com>
1474
1475 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1476 * NEWS: Mention --no-apply-dynamic-relocs.
1477 * ld.texinfo (ld and the ARM family): Document
1478 --no-apply-dynamic-relocs.
1479 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1480 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1481 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1482 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1483 option.
1484
a2076b34
SKS
14852016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1486
1487 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1488 before running STT_COMMON tests.
1489
010f98a5
L
14902016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 * config/default.exp (NOPIE_CFLAGS): Download source only on
1493 remote host.
1494 (NOPIE_LDFLAGS): Likewise.
1495 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1496 (check_lto_fat_available): Likewise.
1497 (check_lto_shared_available): Likewise.
1498 (check_ifunc_available): Likewise.
1499 (check_ifunc_attribute_available): Likewise.
1500
83a471c3
L
15012016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1504
52728a42
L
15052016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1506
91f8bf69
L
1507 PR ld/20006
1508 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1509 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1510 ELF targets.
1511
15122016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 * testsuite/ld-elf/compressed1b.d: Pass
1515 --compress-debug-sections=none to ld.
1516 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 1517
13b8c335
AM
15182016-04-27 Alan Modra <amodra@gmail.com>
1519
1520 PR target/19985
1521 * configure.tgt: Don't use var+=.
1522
731bb67a
NC
15232016-04-25 Nick Clifton <nickc@redhat.com>
1524
1525 PR target/19985
1526 * configure.tgt: Include big endian PPC64 emulations with little
1527 endian PPC64 targets.
1528
0e03d18a
SKS
15292016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1530
1531 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1532
4f3b23b3
NC
15332016-04-21 Nick Clifton <nickc@redhat.com>
1534
1535 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1536 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1537 targets. Do not stop the checks when problems are encountered.
1538
96bf8cb0
AM
15392016-04-21 Alan Modra <amodra@gmail.com>
1540
1541 * testsuite/ld-scripts/cross3.t: Add commonly used data
1542 and text section names to output section statements.
1543 * testsuite/ld-scripts/cross4.t: Likewise.
1544 * testsuite/ld-scripts/cross5.t: Likewise.
1545 * testsuite/ld-scripts/cross6.t: Likewise.
1546 * testsuite/ld-scripts/cross7.t: Likewise.
1547
fbf05aa7
L
15482016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 * ldlang.c (lang_check_relocs): New function.
1551 (lang_process): Call lang_check_relocs after lang_gc_sections.
1552 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1553 call _bfd_elf_link_check_relocs here.
1554
c7ce9410
L
15552016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 PR ld/19972
1558 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1559 R_386_NONE or R_X86_64_NONE.
1560
03f2309a
L
15612016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * testsuite/ld-x86-64/pic1.d: New file.
1564 * testsuite/ld-x86-64/pic1.s: Likewise.
1565 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1566
126697d1
L
15672016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * testsuite/ld-x86-64/pie2.d: New file.
1570 * testsuite/ld-x86-64/pie2.s: Likewise.
1571 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1572
338c190a
L
15732016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 PR ld/19969
1576 * testsuite/ld-x86-64/pr19969.d: New file.
1577 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1578 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1579 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1580
d9689752
L
15812016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1582
1583 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1584 New.
1585 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1586 Likewise.
1587 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1588 Likewise.
1589 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1590 Likewise.
1591 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1592 Likewise.
1593 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1594 Likewise.
1595 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1596 Likewise.
1597 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1598 Likewise.
1599 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1600 Set check_relocs_after_open_input to TRUE if
1601 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1602 (gld${EMULATION_NAME}_after_open): Call
1603 _bfd_elf_link_check_relocs on all inputs if
1604 check_relocs_after_open_input is TRUE.
1605
7cc9c114
L
16062016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1609 my_personality_v0.
1610
e6c7cdec
TS
16112016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1612
1613 * emultempl/scoreelf.em: Likewise.
1614
87d455c0
L
16152016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1616
1617 PR ld/19719
1618 * testsuite/ld-x86-64/pr19719.d: New file.
1619 * testsuite/ld-x86-64/pr19719.s: Likewise.
1620 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1621
cdf96953
MF
16222016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1623
1624 * ld.texinfo: Document NOCROSSREFS_TO script command.
1625 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1626 (lang_add_nocrossref_to): New prototype.
1627 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1628 symbols defined in the first section.
1629 (check_nocrossref): Likewise.
1630 * ldgram.y (NOCROSSREFS_TO): New script command.
1631 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1632 (lang_add_nocrossref_to): New function.
1633 * ldlex.l (NOCROSSREFS_TO): New token.
1634 * NEWS: Mention NOCROSSREFS_TO.
1635 * testsuite/ld-scripts/cross4.t: New file.
1636 * testsuite/ld-scripts/cross5.t: Likewise.
1637 * testsuite/ld-scripts/cross6.t: Likewise.
1638 * testsuite/ld-scripts/cross7.t: Likewise.
1639 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1640 tests.
1641
6fd8e7c2
L
16422016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 * Makefile.in: Regenerated with automake 1.11.6.
1645 * aclocal.m4: Likewise.
1646
4b0c052e
AB
16472016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1648
1649 * testsuite/ld-arc/arc.exp: New file.
1650 * testsuite/ld-arc/nps-1.s: New file.
1651 * testsuite/ld-arc/nps-1a.d: New file.
1652 * testsuite/ld-arc/nps-1b.d: New file.
1653 * testsuite/ld-arc/nps-1b.err: New file.
1654
8dc483a0
NC
16552016-04-14 Nick Clifton <nickc@redhat.com>
1656
1657 PR 19457
1658 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1659 exceptions for Mingw and Cygwin.
1660
758c5495
AB
16612016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1664 check_ld(terminal).
1665
37ce0cc4
L
16662016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 PR ld/19774
1669 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1670 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1671 tests.
1672
2df3368d
L
16732016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 PR ld/19939
1676 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1677 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1678 * testsuite/ld-i386/pr19939.s: New file.
1679 * testsuite/ld-i386/pr19939a.d: Likewise.
1680 * testsuite/ld-i386/pr19939b.d: Likewise.
1681 * testsuite/ld-x86-64/pr19939.s: Likewise.
1682 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1683 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1684
417a667c
OE
16852016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1686
1687 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1688
136a43b7
AM
16892016-04-08 Alan Modra <amodra@gmail.com>
1690
1691 PR 18452
1692 * ldlang.c (maybe_overlays): Delete.
1693 (lang_size_sections_1): Remove code setting maybe_overlays.
1694 (lang_check_section_addresses): Instead detect overlays by
1695 exact match of section VMAs here. Fix memory leak.
1696
953dd97e
DG
16972016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1698
1699 * ldlang.c (print_output_section_statement): Show minfo size
1700 in target machine address units.
1701 (print_reloc_statement): Likewise.
1702 (print_padding_statement): Likewise.
1703 (print_data_statement): Likewise. Ensure minimum print_dot
1704 increment of one address unit.
1705
1a295c62
AB
17062016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1707
1708 * emulparams/arc-endianness.sh: Make little endian default choice.
1709
df154dc1
NC
17102016-04-07 Nick Clifton <nickc@redhat.com>
1711
1712 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1713 section name.
1714 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1715
9a5f28ae
AB
17162016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1717
1718 * emulparams/arc-endianness.sh: New file.
1719 * emulparams/arcebelf.sh: Deleted.
1720 * emulparams/arcebelf_prof.sh: Deleted.
1721 * emulparams/arceblinux.sh: Deleted.
1722 * emulparams/arceblinux_prof.sh: Deleted.
1723 * emulparams/arcelf.sh: Include arc-endinness.sh.
1724 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1725 * emulparams/arclinux.sh: Include arc-endinness.sh.
1726 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1727 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1728 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1729 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1730 little endian arc targets.
1731 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1732 * testsuite/ld-elf/group1.d: Likewise.
1733 * testsuite/ld-elf/group3b.d: Likewise.
1734 * testsuite/ld-elf/group8a.d: Likewise.
1735 * testsuite/ld-elf/group8b.d: Likewise.
1736 * testsuite/ld-elf/group9a.d: Likewise.
1737 * testsuite/ld-elf/group9b.d: Likewise.
1738 * testsuite/ld-elf/linkonce2.d: Likewise.
1739 * testsuite/ld-elf/pr12851.d: Likewise.
1740 * testsuite/ld-elf/pr12975.d: Likewise.
1741 * testsuite/ld-elf/pr13177.d: Likewise.
1742 * testsuite/ld-elf/pr13195.d: Likewise.
1743 * testsuite/ld-elf/pr17615.d: Likewise.
1744 * testsuite/ld-elf/pr19162.d: Likewise.
1745 * testsuite/ld-elf/sec64k.exp: Likewise.
1746 * testsuite/lib/ld-lib.exp: Likewise.
1747
1f599d0e
MR
17482016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1749
1750 PR ld/19908
1751 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1752 handling fix.
1753 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1754 * testsuite/ld-cris/tls-e-21.d: Likewise.
1755 * testsuite/ld-cris/tls-e-23.d: Likewise.
1756 * testsuite/ld-cris/tls-e-80.d: Likewise.
1757 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1758 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1759 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1760 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1761 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1762 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1763 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1764 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1765 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1766 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1767
a9fa4610
CZ
17682016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1769
1770 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1771 * testsuite/ld-discard/start.d: Likewise.
1772 * testsuite/ld-discard/static.d: Likewise.
1773 * testsuite/ld-elf/group1.d: Likewise.
1774 * testsuite/ld-elf/group3b.d: Likewise.
1775 * testsuite/ld-elf/orphan-region.d: Likewise.
1776 * testsuite/ld-elf/orphan.d: Likewise.
1777 * testsuite/ld-elf/orphan3.d: Likewise.
1778 * testsuite/ld-elf/pr349.d: Likewise.
1779 * testsuite/ld-elf/warn1.d: Likewise.
1780 * testsuite/ld-elf/warn2.d: Likewise.
1781 * testsuite/ld-elf/warn3.d: Likewise.
1782 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1783 through linker flags.
1784 * testsuite/ld-srec/srec.exp: Set as xfail.
1785
5fdf3872
L
17862016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 PR ld/19827
1789 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1790 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1791
a061de07
NC
17922016-04-04 Nick Clifton <nickc@redhat.com>
1793
1794 PR 19803
1795 * emultempl/pe.em (change_undef): New function. Encapsulates
1796 duplicated code in pe_fixup_stdcalls and adds the newly defined
1797 sym to the gc root list.
1798 (pe_fixup_stdcall): Use the new function.
1799 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1800 symbol to gc root list.
1801
fc90c280
AM
18022016-03-31 Alan Modra <amodra@gmail.com>
1803
1804 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1805 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1806 (print_input_section): Don't use TO_ADDR when printing section
1807 size.
1808 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1809 (lang_size_sections): Use TO_ADDR in relro end calculation.
1810
62bdf2d6
AB
18112016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1814 value from regexp_diff.
1815 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1816 * testsuite/ld-elf/orphan-6.l: Likewise.
1817
a87dd97a
AM
18182016-03-30 Alan Modra <amodra@gmail.com>
1819
1820 PR 18452
1821 * ldlang.c (maybe_overlays): New static var.
1822 (lang_size_sections_1): Set it here.
1823 (struct check_sec): New.
1824 (sort_sections_by_lma): Adjust for array of structs.
1825 (sort_sections_by_vma): New function.
1826 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1827 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1828
ca62bc4a
AM
18292016-03-30 Alan Modra <amodra@gmail.com>
1830
1831 * ldlang.c (lang_size_sections_1): Correct code detecting a
1832 backward non-overlapping move.
1833
2e4a7aea
AM
18342016-03-30 Alan Modra <amodra@gmail.com>
1835
1836 * ldlang.c (IS_TBSS): New macro, extracted from..
1837 (IGNORE_SECTION): ..here.
1838 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1839 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1840
4153b6db
NC
18412016-03-22 Nick Clifton <nickc@redhat.com>
1842
1843 PR ld/19803
1844 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1845 symbol name to the list of gc symbols.
1846 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1847 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1848 and fini function names.
1849 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1850 the gc symbol list.
1851 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1852 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1853
9780e045
NC
18542016-03-22 Nick Clifton <nickc@redhat.com>
1855
1856 * configure: Regenerate.
1857
e1fa0163
NC
18582016-03-21 Nick Clifton <nickc@redhat.com>
1859
1860 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1861 * plugin.c: Likewise.
1862 * pe-dll.c: Likewise.
1863
45821bef
A
18642016-03-18 Awson <kyrab@mail.ru>
1865
1866 PR 19531
1867 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1868 this section.
1869 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1870
41f46ed9
SKS
18712016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1872
1873 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1874
4e0c91e4
L
18752016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 PR ld/19827
1878 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1879 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1880 * testsuite/ld-i386/pr19827.rd: New file.
1881 * testsuite/ld-i386/pr19827a.S: Likewise.
1882 * testsuite/ld-i386/pr19827b.S: Likewise.
1883 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1884 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1885 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1886
4c10bbaa
L
18872016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 PR ld/19807
1890 * Makefile.am (ELF_X86_DEPS): Add
1891 $(srcdir)/emulparams/reloc_overflow.sh.
1892 * Makefile.in: Regenerated.
1893 * NEWS: Mention -z noreloc-overflow.
1894 * ld.texinfo: Document -z noreloc-overflow.
1895 * emulparams/elf32_x86_64.sh: Source
1896 ${srcdir}/emulparams/reloc_overflow.sh.
1897 * emulparams/elf_x86_64.sh: Likewise.
1898 * emulparams/reloc_overflow.sh: New file.
1899 * testsuite/ld-x86-64/pr19807-1.s: New file.
1900 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1901 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1902 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1903 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1904 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1905 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1906 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1907 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1908 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1909
3ab94f96
L
19102016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 PR ld/19539
1913 * testsuite/ld-i386/i386.exp: Run pr19539.
1914 * testsuite/ld-i386/pr19539.d: New file.
1915 * testsuite/ld-i386/pr19539.s: Likewise.
1916 * testsuite/ld-i386/pr19539.t: Likewise.
1917 * testsuite/ld-x86-64/pr19539.s: Likewise.
1918 * testsuite/ld-x86-64/pr19539.t: Likewise.
1919 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1920 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1921 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1922
a9f02af8
MG
19232016-03-10 Mickael Guene <mickael.guene@st.com>
1924
1925 PR gas/19744
1926 * testsuite/ld-arm/arm-elf.exp: New tests.
1927 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1928 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1929
878a6877
NC
19302016-03-10 Nick Clifton <nickc@redhat.com>
1931
1932 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1933
4b05e0a7
PA
19342016-03-09 Pedro Alves <palves@redhat.com>
1935
1936 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1937 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1938
9c1d7a08
L
19392016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1940
1941 PR ld/19789
1942 * testsuite/ld-elf/pr19789.d: New file.
1943 * testsuite/ld-elf/pr19789.s: Likewise.
1944
d1ed1c7d
L
19452016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 PR ld/19784
1948 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1949 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1950 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1951 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1952 * testsuite/ld-ifunc/pass.out: New file.
1953 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1954 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1955 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1956
205ac185
L
19572016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 PR ld/19774
1960 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1961 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1962 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1963 --as-needed for pr18841c.
1964
23a4bd22
L
19652016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 PR ld/19774
1968 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1969 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1970 before tmpdir/got1d.so and test --as-needed.
1971 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1972 tmpdir/pr18900.so and test --as-needed.
1973
18f822a0
JW
19742016-03-07 Jiong Wang <jiong.wang@arm.com>
1975
1976 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1977 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1978 result.
1979 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1980
46175b4e
L
19812016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1984 before tmpdir/copyreloc-lib.so and test --as-needed.
1985 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1986
07492f66
L
19872016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1988
1989 PR ld/19579
1990 * testsuite/ld-elf/pr19579a.c: New file.
1991 * testsuite/ld-elf/pr19579b.c: Likewise.
1992 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1993
7bcc503f
L
19942016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1997
7494161b
L
19982016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2001 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2002
523f4c92
L
20032016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 PR ld/19739
2006 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2007 input sections for relocatable link.
2008 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2009 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2010
20112016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2012
2013 PR ld/19739
e18b24a4 2014 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
2015 merge flags of other input sections for relocatable link.
2016
ef621b15
L
20172016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2020
2955a517
L
20212016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * testsuite/ld-elf/pr19162.d: Skip arc target.
2024
7f50ebc1
L
20252016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 PR ld/19162
2028 * testsuite/ld-elf/pr19162.d: New file.
2029 * testsuite/ld-elf/pr19162a.s: Likwise.
2030 * testsuite/ld-elf/pr19162b.s: Likwise.
2031
841fdfcd
CZ
20322016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2033
2034 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2035 * testsuite/ld-elf/merge2.d: Likewise.
2036 * testsuite/ld-elf/merge3.d: Likewise.
2037
7e458899
CZ
20382016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2039
2040 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2041 generated.
2042
c5e3a364
RL
20432016-02-26 Renlin Li <renlin.li@arm.com>
2044
2045 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2046 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2047 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2048 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2049 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2050 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2051 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2052 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2053 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2054 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2055
bae420ef
L
20562016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 PR ld/19609
2059 * testsuite/ld-i386/got1.dd: Updated.
2060 * testsuite/ld-i386/lea1c.d: Likewise.
2061 * testsuite/ld-i386/load1-nacl.d: Likewise.
2062 * testsuite/ld-i386/load1.d: Likewise.
2063 * testsuite/ld-i386/load4b.d: Likewise.
2064 * testsuite/ld-i386/load5b.d: Likewise.
2065 * testsuite/ld-i386/mov1b.d: Likewise.
2066 * testsuite/ld-x86-64/mov1b.d: Likewise.
2067 * testsuite/ld-x86-64/mov1d.d: Likewise.
2068 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2069 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2070 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2071 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2072 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2073 * testsuite/ld-x86-64/lea1a.d: Likewise.
2074 * testsuite/ld-x86-64/lea1b.d: Likewise.
2075 * testsuite/ld-x86-64/lea1c.d: Likewise.
2076 * testsuite/ld-x86-64/lea1d.d: Likewise.
2077 * testsuite/ld-x86-64/lea1e.d: Likewise.
2078 * testsuite/ld-x86-64/lea1f.d: Likewise.
2079 * testsuite/ld-x86-64/mov1b.d: Likewise.
2080 * testsuite/ld-x86-64/mov1d.d: Likewise.
2081 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2082 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2083 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2084 * testsuite/ld-i386/pr19609-1.s: New file.
2085 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2086 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2087 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2088 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2089 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2090 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2091 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2092 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2093 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2094 * testsuite/ld-i386/pr19609-2.s: Likewise.
2095 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2096 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2097 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2098 * testsuite/ld-i386/undefweak.s: Likewise.
2099 * testsuite/ld-i386/undefweaka.d: Likewise.
2100 * testsuite/ld-i386/undefweakb.d: Likewise.
2101 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2102 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2103 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2104 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2105 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2106 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2107 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2108 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2109 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2110 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2111 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2112 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2113 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2114 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2115 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2116 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2117 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2118 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2119 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2120 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2121 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2122 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2123 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2124 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2125 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2126 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2127 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2128 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2129 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2130 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2131 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2132 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2133 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2134 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2135 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2136 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2137 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2138 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2139 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2140 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2141 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2142 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2143 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2144 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2145 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2146 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2147 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2148 PR ld/19609.
2149 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2150 and tests for PR ld/19609.
2151
11e5f1ec
L
21522016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 PR ld/19645
2155 * NEWS: Mention -z common/-z nocommon for ELF targets.
2156 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2157 -z common and -z nocommon.
2158 * ld.texinfo: Document -z common/-z nocommon.
2159 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2160 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2161 --elf-stt-common=yes with assembler.
2162 * testsuite/ld-elfcomm/common-1.s: New file.
2163 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2164 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2165 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2166 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2167 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2168 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2169 * testsuite/ld-elfcomm/common-2.s: Likewise.
2170 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2171 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2172 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2173 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2174 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2175 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2176 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2177 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2178 * testsuite/ld-i386/pr19645.d: Likewise.
2179 * testsuite/ld-i386/pr19645.s: Likewise.
2180 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2181 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2182 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2183 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2184 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2185 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2186 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2187 * testsuite/ld-x86-64/pr19645.d: Likewise.
2188 * testsuite/ld-x86-64/pr19645.s: Likewise.
2189 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2190 with assembler.
2191 (assembler_generates_commons): Removed.
2192 Run -z common/-z nocommon tests. Run *.d tests.
2193 * testsuite/ld-i386/i386.exp: Run pr19645.
2194 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2195 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2196 assembler. Test STT_COMMON with readelf.
2197
aec6b87e
L
21982016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 PR ld/19636
2201 PR ld/19704
2202 PR ld/19719
2203 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2204 * Makefile.in: Regenerated.
2205 * NEWS: Mention -z nodynamic-undefined-weak.
2206 * ld.texinfo: Document -z nodynamic-undefined-weak.
2207 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2208 * emulparams/dynamic_undefined_weak.sh: New file.
2209 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2210 * emulparams/elf_i386.sh: Likewise.
2211 * emulparams/elf_i386_be.sh: Likewise.
2212 * emulparams/elf_i386_chaos.sh: Likewise.
2213 * emulparams/elf_i386_ldso.sh: Likewise.
2214 * emulparams/elf_i386_vxworks.sh: Likewise.
2215 * emulparams/elf_iamcu.sh: Likewise.
2216 * emulparams/elf_k1om.sh: Likewise.
2217 * emulparams/elf_l1om.sh: Likewise.
2218 * emulparams/elf_x86_64.sh: Likewise.
2219 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2220 Append.
2221 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2222 * testsuite/ld-elf/pr19719a.c: New file.
2223 * testsuite/ld-elf/pr19719b.c: Likewise.
2224 * testsuite/ld-elf/pr19719c.c: Likewise.
2225 * testsuite/ld-elf/pr19719d.c: Likewise.
2226 * testsuite/ld-i386/pr19636-1.s: Likewise.
2227 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2228 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2229 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2230 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2231 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2232 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2233 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2234 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2235 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2236 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2237 * testsuite/ld-i386/pr19636-2.s: Likewise.
2238 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2239 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2240 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2241 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2242 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2243 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2244 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2245 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2246 * testsuite/ld-i386/pr19636-3.s: Likewise.
2247 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2248 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2249 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2250 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2251 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2252 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2253 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2254 * testsuite/ld-i386/pr19636-4.s: Likewise.
2255 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2256 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2257 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2258 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2259 * testsuite/ld-i386/pr19704.out: Likewise.
2260 * testsuite/ld-i386/pr19704a.c: Likewise.
2261 * testsuite/ld-i386/pr19704b.c: Likewise.
2262 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2263 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2264 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2265 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2266 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2267 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2268 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2269 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2270 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2271 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2272 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2273 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2274 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2275 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2276 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2277 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2278 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2279 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2280 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2281 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2282 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2283 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2284 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2285 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2286 * testsuite/ld-x86-64/pr19704.out: Likewise.
2287 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2288 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2289 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2290 Run mix_pic_and_non_pic.
2291 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2292 Run undefined_weak and PR ld/19636 tests.
2293 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2294 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2295 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2296
920e4862
NC
22972016-02-25 Nick Clifton <nickc@redhat.com>
2298
2299 * ld.h (struct ld_config_type): Remove specified_data_size field.
2300
0f550b3d
L
23012016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 PR ld/19698
2304 * testsuite/ld-elf/pr19698.d: New file.
2305 * testsuite/ld-elf/pr19698.s: Likewise.
2306 * testsuite/ld-elf/pr19698.t: Likewise.
2307
31866b2c
L
23082016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * Makefile.am (ELF_X86_DEPS): New.
2311 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2312 (eelf_i386_chaos.c): Likewise.
2313 (eelf_i386_fbsd.c): Likewise.
2314 (eelf_i386_ldso.c): Likewise.
2315 (eelf_i386_nacl.c): Likewise.
2316 (eelf_i386_sol2.c): Likewise.
2317 (eelf_iamcu.c): Likewise.
2318 (eelf32_x86_64.c): Likewise.
2319 (eelf32_x86_64_nacl.c): Likewise.
2320 (eelf_l1om.c): Likewise.
2321 (eelf_l1om_fbsd.c): Likewise.
2322 (eelf_k1om.c): Likewise.
2323 (eelf_k1om_fbsd.c): Likewise.
2324 (eelf_x86_64.c): Likewise.
2325 (eelf_x86_64_cloudabi.c): Likewise.
2326 (eelf_x86_64_fbsd.c): Likewise.
2327 (eelf_x86_64_sol2.c): Likewise.
2328 * Makefile.in: Regenerated.
2329
6b3b0ab8
L
23302016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2331
2332 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2333 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2334 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2335 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2336
de818c22
L
23372016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2340
c304e18e
L
23412016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2342
2343 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2344 *-*-gnu* and *-*-solaris*.
2345 * testsuite/ld-elf/pr19617b.d: Likewise.
2346 * testsuite/ld-elf/pr19617c.d: Likewise.
2347
bf89386a
L
23482016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2349
2350 PR ld/19617
2351 * testsuite/ld-elf/pr19617.s: New file.
2352 * testsuite/ld-elf/pr19617a.d: Likewise.
2353 * testsuite/ld-elf/pr19617b.d: Likewise.
2354 * testsuite/ld-elf/pr19617c.d: Likewise.
2355
06ea285d
NC
23562016-02-18 Nick Clifton <nickc@redhat.com>
2357
2358 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2359 in-tree xg++ executable after checking for the presence of an
2360 in-tree g++ executable.
2361 * Makefile.in: Regenerate.
2362
b27ab9ad
L
23632016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2366 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2367 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2368
8f79b794
L
23692016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2372 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2373 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2374 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2375 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2376 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2377 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2378 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2379 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2380 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2381 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2382 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2383 * testsuite/ld-x86-64/load1c.d: Likewise.
2384 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2385 * testsuite/ld-x86-64/load1d.d: Likewise.
2386 * testsuite/ld-x86-64/pr14207.d: Likewise.
2387 * testsuite/ld-x86-64/pr19162.d: Likewise.
2388 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2389 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2390 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2391 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2392 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2393 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2394
b3e3e0b7
NC
23952016-02-17 Nick Clifton <nickc@redhat.com>
2396
2397 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2398
9fb71ee4
NC
23992016-02-15 Nick Clifton <nickc@redhat.com>
2400
2401 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2402 description of the flags produced by readelf.
2403 * testsuite/ld-i386/pr12921.d: Likewise.
2404 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2405 * testsuite/ld-i386/tlsbin.rd: Likewise.
2406 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2407 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2408 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2409 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2410 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2411 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2412 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2413 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2414 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2415 * testsuite/ld-i386/tlspic.rd: Likewise.
2416 * testsuite/ld-s390/tlsbin.rd: Likewise.
2417 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2418 * testsuite/ld-s390/tlspic.rd: Likewise.
2419 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2420 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2421 * testsuite/ld-sh/tlspic-2.d: Likewise.
2422 * testsuite/ld-tic6x/common.d: Likewise.
2423 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2424 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2425 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2426 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2427 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2428 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2429 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2430 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2431 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2432 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2433 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2434 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2435 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2436 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2437 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2438 * testsuite/ld-x86-64/pr12718.d: Likewise.
2439 * testsuite/ld-x86-64/pr12921.d: Likewise.
2440 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2441 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2442 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2443 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2444 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2445 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2446 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2447 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2448 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2449 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2450 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2451 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2452 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2453 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2454
21a90cf1
L
24552016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 PR ld/19615
2458 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2459 PIE.
2460 * lexsup.c (parse_args): Enable -Bsymbolic and
2461 -Bsymbolic-functions for PIE.
ee5db48b 2462 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
2463 * testsuite/ld-i386/pr19615.d: New file.
2464 * testsuite/ld-i386/pr19615.s: Likewise.
2465 * testsuite/ld-x86-64/pr19615.d: Likewise.
2466 * testsuite/ld-x86-64/pr19615.s: Likewise.
2467
027e9c75
NC
24682016-02-09 Nick Clifton <nickc@redhat.com>
2469
2470 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2471 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2472 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2473 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2474
39306124
NC
24752016-02-04 Nick Clifton <nickc@redhat.com>
2476
2477 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2478 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2479 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2480 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2481 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2482 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2483 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2484 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2485 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2486
0cb4071e
L
24872016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 PR gas/19520
2490 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2491 * testsuite/ld-i386/call1.d: Likewise.
2492 * testsuite/ld-i386/call2.d: Likewise.
2493 * testsuite/ld-i386/call3a.d: Likewise.
2494 * testsuite/ld-i386/call3b.d: Likewise.
2495 * testsuite/ld-i386/call3c.d: Likewise.
2496 * testsuite/ld-i386/call3d.d: Likewise.
2497 * testsuite/ld-i386/call3e.d: Likewise.
2498 * testsuite/ld-i386/call3f.d: Likewise.
2499 * testsuite/ld-i386/call3g.d: Likewise.
2500 * testsuite/ld-i386/call3h.d: Likewise.
2501 * testsuite/ld-i386/jmp1.d: Likewise.
2502 * testsuite/ld-i386/jmp2.d: Likewise.
2503 * testsuite/ld-i386/lea1c.d: Likewise.
2504 * testsuite/ld-i386/load1.d: Likewise.
2505 * testsuite/ld-i386/load2.d: Likewise.
2506 * testsuite/ld-i386/load3.d: Likewise.
2507 * testsuite/ld-i386/load4a.d: Likewise.
2508 * testsuite/ld-i386/load5a.d: Likewise.
2509 * testsuite/ld-i386/mov2b.d: Likewise.
2510 * testsuite/ld-i386/mov3.d: Likewise.
2511 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2512 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2513 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2514 * testsuite/ld-x86-64/call1a.d: Likewise.
2515 * testsuite/ld-x86-64/call1b.d: Likewise.
2516 * testsuite/ld-x86-64/call1c.d: Likewise.
2517 * testsuite/ld-x86-64/call1d.d: Likewise.
2518 * testsuite/ld-x86-64/call1e.d: Likewise.
2519 * testsuite/ld-x86-64/call1f.d: Likewise.
2520 * testsuite/ld-x86-64/call1h.d: Likewise.
2521 * testsuite/ld-x86-64/call1i.d: Likewise.
2522 * testsuite/ld-x86-64/load1a.d: Likewise.
2523 * testsuite/ld-x86-64/load1b.d: Likewise.
2524 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2525 * testsuite/ld-i386/got1.dd: Updated.
2526 * testsuite/ld-i386/got1d.S (1): Removed.
2527 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2528 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2529
6ba2af25
L
25302016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 PR ld/18591
2533 * testsuite/ld-x86-64/pr18591.d: New file.
2534 * testsuite/ld-x86-64/pr18591.s: Likewise.
2535 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2536
aef28989
L
25372016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 PR ld/19553
2540 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2541 * testsuite/ld-elf/pr19553.map: New file.
2542 * testsuite/ld-elf/pr19553.map: Likewise.
2543 * testsuite/ld-elf/pr19553a.c: Likewise.
2544 * testsuite/ld-elf/pr19553b.c: Likewise.
2545 * testsuite/ld-elf/pr19553b.out: Likewise.
2546 * testsuite/ld-elf/pr19553c.c: Likewise.
2547 * testsuite/ld-elf/pr19553c.out: Likewise.
2548 * testsuite/ld-elf/pr19553d.c: Likewise.
2549 * testsuite/ld-elf/pr19553d.out: Likewise.
2550
d9e3b590
L
25512016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 PR ld/19539
2554 * testsuite/ld-elf/pr19539.d: New file.
2555 * testsuite/ld-elf/pr19539.s: Likewise.
2556 * testsuite/ld-elf/pr19539.t: Likewise.
2557
621ff761
L
25582016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 PR ld/19533
2561 * configure.ac (compressed_debug_sections): Replace == with =.
2562 * configure: Regenerated.
2563
7585b2b8
DC
25642016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2565
2566 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2567 * scripttempl/avrtiny.sc (.noinit): Likewise.
2568
aebf9be7
NC
25692016-01-21 Nick Clifton <nickc@redhat.com>
2570
dfc43940
NC
2571 PR ld/19453
2572 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2573 the arm-netbsdelf target.
2574
aebf9be7
NC
2575 PR ld/19455
2576 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2577 disassmebler output.
2578 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2579 * testsuite/ld-arm/vxworks1.dd: Likewise.
2580 * testsuite/ld-arm/vxworks1.rd: Likewise.
2581 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2582
2f340668
JW
25832016-01-20 Jiong Wang <jiong.wang@arm.com>
2584
2585 * testsuite/ld-aarch64/farcall-section.d: Delete.
2586 * testsuite/ld-aarch64/farcall-section.s: Delete.
2587 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2588 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2589 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2590 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2591 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2592
fdbd3e95
NC
25932016-01-20 Nick Clifton <nickc@redhat.com>
2594
2595 PR 19457
2596 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2597 early for PE based targets.
2598 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2599 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2600
91f68a68
MG
26012016-01-20 Mickael Guene <mickael.guene@st.com>
2602
2603 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2604 Add 'y' attribute usage.
2605 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2606 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2607 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2608
a4af960a
NC
26092016-01-19 Nick Clifton <nickc@redhat.com>
2610
2611 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2612 foo@FOO and bar@@FOO.
2613
3d961d0d
AM
26142016-01-18 Alan Modra <amodra@gmail.com>
2615
2616 * configure: Regenerate.
2617
760f6ee8
NC
26182016-01-18 Nick Clifton <nickc@redhat.com>
2619
2620 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2621 is not configured to support plugins.
2622
24f03d4e
NC
2623 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2624 but with 16 byte section alignment.
2625 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2626 test for MIPS targets.
2627
5c14705f
AM
26282016-01-17 Alan Modra <amodra@gmail.com>
2629
2630 * configure: Regenerate.
2631
b3066ae8
AM
26322016-01-17 Alan Modra <amodra@gmail.com>
2633
2634 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2635 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2636 * testsuite/ld-elf/pr14156a.d: Likewise.
2637 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2638 * testsuite/ld-elf/sec64k.exp: Likewise.
2639
4c4ac964
TP
26402016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2641
2642 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2643 Set address of .foo section when linking.
2644 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2645 in .foo section.
2646 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2647 output to the above changes.
2648
1bce3adf
NC
26492016-01-13 Nick Clifton <nickc@redhat.com>
2650
84054199
NC
2651 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2652 for MIPS targets.
2653
13ce3603
NC
2654 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2655 fail for MIPS targets.
2656
1bce3adf
NC
2657 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2658 MIPS targets.
2659
ac06903d
YU
26602016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2661
2662 * testsuite/ld-arm/arm-elf.exp: New test.
2663 * testsuite/ld-arm/unwind-mix.d: New file.
2664 * testsuite/ld-arm/unwind-mix1.s: New file.
2665 * testsuite/ld-arm/unwind-mix2.s: New file.
2666
109575d7
JW
26672016-01-08 Jiong Wang <jiong.wang@arm.com>
2668
2669 PR ld/19368
2670 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2671 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2672 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2673 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2674 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2675 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2676
296ebfbb
NC
26772016-01-05 Nick Clifton <nickc@redhat.com>
2678
2679 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2680 MSP430 hardware multiply address range.
2681 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2682 (__romdatacopysize): Define.
2683 * scripttempl/elf32msp430_3.sc: Likewise.
2684
2f2da8fd
MR
26852016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2686
2687 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2688 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2689
d537eeb5
MR
26902016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2691
2692 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2693 messages expected according to MIPS BFD private data merge
2694 changes.
2695 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2696 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2697 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2698 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2699 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2700 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2701 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2702 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2703 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2704 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2705 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2706 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2707 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2708
6f2750fe
AM
27092016-01-01 Alan Modra <amodra@gmail.com>
2710
2711 Update year range in copyright notice of all files.
2712
3499769a
AM
2713For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2714\f
2715Copyright (C) 2016 Free Software Foundation, Inc.
2716
2717Copying and distribution of this file, with or without modification,
2718are permitted in any medium without royalty provided the copyright
2719notice and this notice are preserved.
2720
2721Local Variables:
2722mode: change-log
2723left-margin: 8
2724fill-column: 74
2725version-control: never
2726End:
This page took 0.222886 seconds and 4 git commands to generate.