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