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