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