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