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