Fixed -init, -fini linker options.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4dd72ffd
CM
12016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
2
3 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
4 * testsuite/ld-arc/tls_ie-01.d: Likewise
5
0955507f
TP
62016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7
8 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
9 variable.
10 (arm_elf_create_output_section_statements): Open import input library
11 file for writing and pass resulting in_implib_bfd to
12 bfd_elf32_arm_set_target_relocs.
13 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
14 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
15 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
16 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
17 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
18 (--in-implib): Document new option.
19 * NEWS: Likewise.
20 * testsuite/ld-arm/arm-elf.exp
21 (Secure gateway import library generation): add --defsym VER=1 to gas
22 CLI.
23 (Secure gateway import library generation: errors): Likewise.
24 (Input secure gateway import library): New test.
25 (Input secure gateway import library: no output import library):
26 Likewise.
27 (Input secure gateway import library: not an SG input import library):
28 Likewise.
29 (Input secure gateway import library: earlier stub section base):
30 Likewise.
31 (Input secure gateway import library: later stub section base):
32 Likewise.
33 (Input secure gateway import library: veneer comeback): Likewise.
34 (Input secure gateway import library: entry function change):
35 Likewise.
36 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
37 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
38 * testsuite/ld-arm/cmse-new-implib.out: New file.
39 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
40 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
41 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
42 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
43 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
44 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
45
4811ccb4
AM
462016-08-25 Alan Modra <amodra@gmail.com>
47
48 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
49 support for BE. First output all target endian configury
50 values, then opposite endian. Handle more tooldirs. Fix
51 bogus matches with strings in MANUF-OS part of target triple.
52
d44ea5d0
AM
532016-08-23 Alan Modra <amodra@gmail.com>
54
55 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
56 twice.
57
dd905818
NC
582016-08-19 Nick Clifton <nickc@redhat.com>
59
576438f0
NC
60 * emultempl/aarch64elf.em (before_parse): Initialise the relro
61 field in the link_info structure.
62 * emultempl/armelf.em (before_parse): Likewise.
63 * emultempl/linux.em (before_parse): Likewise.
64 * emultempl/scoreelf.em (before_parse): Likewise.
65
dd905818
NC
66 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
67 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
68 * testsuite/ld-alpha/tlspic.rd: Likewise.
69 * testsuite/ld-cris/libdso-2.d: Likewise.
70 * testsuite/ld-i386/nogot1.d: Likewise.
71 * testsuite/ld-i386/pr12718.d: Likewise.
72 * testsuite/ld-i386/pr12921.d: Likewise.
73 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
74 * testsuite/ld-i386/tlsbin.rd: Likewise.
75 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
76 * testsuite/ld-i386/tlsbin2.rd: Likewise.
77 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
78 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
79 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
80 * testsuite/ld-i386/tlsdesc.rd: Likewise.
81 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
82 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
83 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
84 * testsuite/ld-i386/tlsnopic.rd: Likewise.
85 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
86 * testsuite/ld-i386/tlspic.rd: Likewise.
87 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
88 * testsuite/ld-i386/tlspic2.rd: Likewise.
89 * testsuite/ld-ia64/tlsbin.rd: Likewise.
90 * testsuite/ld-ia64/tlspic.rd: Likewise.
91 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
92 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
93 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
94 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
95 * testsuite/ld-mmix/bspec1.d: Likewise.
96 * testsuite/ld-mmix/bspec2.d: Likewise.
97 * testsuite/ld-mmix/local1.d: Likewise.
98 * testsuite/ld-mmix/local3.d: Likewise.
99 * testsuite/ld-mmix/local5.d: Likewise.
100 * testsuite/ld-mmix/local7.d: Likewise.
101 * testsuite/ld-mmix/undef-3.d: Likewise.
102 * testsuite/ld-powerpc/tlsexe.r: Likewise.
103 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
104 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
105 * testsuite/ld-powerpc/tlsso.r: Likewise.
106 * testsuite/ld-powerpc/tlsso32.r: Likewise.
107 * testsuite/ld-powerpc/tlstocso.r: Likewise.
108 * testsuite/ld-s390/tlsbin.rd: Likewise.
109 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
110 * testsuite/ld-s390/tlspic.rd: Likewise.
111 * testsuite/ld-s390/tlspic_64.rd: Likewise.
112 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
113 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
114 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
115 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
116 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
117 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
118 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
119 * testsuite/ld-sh/tlsbin-2.d: Likewise.
120 * testsuite/ld-sh/tlspic-2.d: Likewise.
121 * testsuite/ld-sparc/gotop32.rd: Likewise.
122 * testsuite/ld-sparc/gotop64.rd: Likewise.
123 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
124 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
125 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
126 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
127 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
128 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
129 * testsuite/ld-tic6x/common.d: Likewise.
130 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
131 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
132 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
133 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
134 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
135 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
136 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
137 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
138 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
139 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
140 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
141 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
142 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
143 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
144 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
145 * testsuite/ld-x86-64/nogot1.d: Likewise.
146 * testsuite/ld-x86-64/pr12718.d: Likewise.
147 * testsuite/ld-x86-64/pr12921.d: Likewise.
148 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
149 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
150 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
151 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
152 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
153 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
154 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
155 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
156 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
157 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
158 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
159 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
160 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
161 * testsuite/ld-x86-64/tlspic.rd: Likewise.
162 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
163 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
164 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
165 * testsuite/ld-xtensa/tlspic.rd: Likewise.
166
626c539f
AM
1672016-08-18 Alan Modra <amodra@gmail.com>
168
169 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
170 unresolved.
171
90ac2420
AM
1722016-08-12 Alan Modra <amodra@gmail.com>
173
174 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
175 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
176 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
177 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
178 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
179 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
180 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
181 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
182 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
183 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
184 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
185 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
186 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
187
bf174910
AM
1882016-08-12 Alan Modra <amodra@gmail.com>
189
190 * testsuite/ld-undefined/weak-fundef.s: New.
191 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
192 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
193 much of old code. Use is_elf_format to select targets.
194
8be1e369
AM
1952016-08-11 Alan Modra <amodra@gmail.com>
196
197 PR ld/20436
198 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
199 remote_exec status.
200 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
201
7f6bf02d
NC
2022016-08-11 Nick Clifton <nickc@redhat.com>
203
204 PR ld/20436
205 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
206 testing remotely, check to see if target compiler is installed
207 before trying to run it.
208
3807734d
MR
2092016-08-10 Maciej W. Rozycki <macro@imgtec.com>
210
211 PR ld/15428
212 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
213 test 2.
214
0375b0a5
MR
2152016-08-10 Maciej W. Rozycki <macro@imgtec.com>
216
217 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
218 test.
219 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
220 test.
221 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
222 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
223 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
224 source.
225 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
226 source.
227 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
228
5ff55910
L
2292016-08-09 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR ld/20436
232 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
233 proc.
234 (check_lto_available): Return 0 if check_gcc_plugin_enabled
235 returns 0.
236 (check_lto_fat_available): Likewise.
237 (check_lto_shared_available): Likewise.
238
7cfee229
RM
2392016-08-09 Roland McGrath <roland@hack.frob.com>
240
241 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
242
54ddd295
TP
2432016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
244
245 * emultempl/armelf.em (cmse_implib): Declare and define this new
246 static variable.
247 (arm_elf_create_output_section_statements): Add new cmse_implib
248 parameter.
249 (OPTION_CMSE_IMPLIB): Define macro.
250 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
251 (PARSE_AND_LIST_OPTIONS): Likewise.
252 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
253 * ld.texinfo (--cmse-implib): Document new option.
254 * testsuite/ld-arm/arm-elf.exp
255 (Secure gateway import library generation): New test.
256 (Secure gateway import library generation: errors): Likewise.
257 * testsuite/ld-arm/cmse-implib.s: New file.
258 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
259 * testsuite/ld-arm/cmse-implib.rd: Likewise.
260
4ba2ef8f
TP
2612016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
262
263 * ld.texinfo (Placement of SG veneers): New concept entry.
264 * testsuite/ld-arm/arm-elf.exp
265 (Secure gateway veneers: no .gnu.sgstubs section): New test.
266 (Secure gateway veneers: wrong entry functions): Likewise.
267 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
268 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
269 * testsuite/ld-arm/cmse-veneers.s: New file.
270 * testsuite/ld-arm/cmse-veneers.d: Likewise.
271 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
272 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
273 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
274 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
275
a94d834c
NC
2762016-08-02 Nick Clifton <nickc@redhat.com>
277
278 PR ld/17739
279 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
280 valye 'yes'.
281 * emulparams/shelf32.sh: Likewise.
282 * emulparams/shelf32.sh: Likewise.
283 * emulparams/shelf_nto.sh: Likewise.
284 * emulparams/shelf_nto.sh: Likewise.
285 * emulparams/shelf_vxworks.sh: Likewise.
286 * emulparams/shelf_vxworks.sh: Likewise.
287 * emulparams/shlelf32_linux.sh: Likewise.
288 * emulparams/shlelf32_linux.sh: Likewise.
289 * emulparams/shlelf_linux.sh: Likewise.
290 * emulparams/shlelf_linux.sh: Likewise.
291 * emulparams/shlelf_nto.sh: Likewise.
292 * emulparams/shlelf_nto.sh: Likewise.
293
7bd374a4
MR
2942016-07-27 Maciej W. Rozycki <macro@imgtec.com>
295
296 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
297 patterns for branch compaction.
298 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
299 Likewise.
300
61d2d2b5
NC
3012016-07-27 Nick Clifton <nickc@redhat.com>
302
303 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
304 test to targets which support cfi.
305
7fca8e8f
IK
3062016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
307
308 * ldbuildid.c (generate_build_id): Warning fix.
309
54806ffa
MR
3102016-07-26 Maciej W. Rozycki <macro@imgtec.com>
311
312 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
313 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
314 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
315 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
316 test.
317 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
318 test.
319 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
320 New test.
321 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
322 New test.
323 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
324 New test.
325 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
326 New test.
327 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
328 New test.
329 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
330 New test.
331 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
332 New test.
333 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
334 New test.
335 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
336
d0d4152f
IK
3372016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
338
339 * ldbuildid.c: Changes for MinGW32:
340 Include windows.h and rpcdce.h.
341 (validate_build_id_style): Allow "uuid" style.
342 (generate_build_id): Fill in id_bits using UuidCreate().
343
95804507
AM
3442016-07-25 Alan Modra <amodra@gmail.com>
345
346 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
347 and m32r. Correct comment. Relax ld -r match to account for
348 msp increased number of default sections.
349
c02d11a5
CM
3502016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
351
352 * testsuite/ld-arc/got-01.d: New file.
353 * testsuite/ld-arc/got-01.s: New file.
354
fecd57f9
L
3552016-07-21 H.J. Lu <hongjiu.lu@intel.com>
356
357 * configure: Regenerated.
358
982c6f26
AM
3592016-07-21 Alan Modra <amodra@gmail.com>
360
361 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
362 "targets_to_xfail" parameter with "args".
363 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
364 all calls to run_ld_link_exec_tests.
365 * testsuite/ld-elf/dwarf.exp: Likewise.
366 * testsuite/ld-elf/indirect.exp: Likewise.
367 * testsuite/ld-elf/wrap.exp: Likewise.
368 * testsuite/ld-i386/i386.exp: Likewise.
369 * testsuite/ld-i386/no-plt.exp: Likewise.
370 * testsuite/ld-i386/tls.exp: Likewise.
371 * testsuite/ld-ifunc/ifunc.exp: Likewise.
372 * testsuite/ld-pie/pie.exp: Likewise.
373 * testsuite/ld-plugin/lto.exp: Likewise.
374 * testsuite/ld-size/size.exp: Likewise.
375 * testsuite/ld-x86-64/mpx.exp: Likewise.
376 * testsuite/ld-x86-64/no-plt.exp: Likewise.
377 * testsuite/ld-x86-64/tls.exp: Likewise.
378 * testsuite/ld-x86-64/x86-64.exp: Likewise.
379 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
380 xfails and simplify lists.
381 * testsuite/ld-elf/shared.exp: Likewise.
382
5df1bc57
AM
3832016-07-21 Alan Modra <amodra@gmail.com>
384
385 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
386 parameter to pass list of xfails.
387 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
388 implib test formatting. Don't set .data start address.
389 * testsuite/ld-elf/implib.s: Remove first .bss directive and
390 replace second one with equivalent .section directive.
391 * testsuite/ld-elf/empty-implib.out: Add expected final error.
392 * testsuite/ld-elf/implib.rd: Update.
393
b751e639
AM
3942016-07-20 Alan Modra <amodra@gmail.com>
395
396 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
397 fold expression.
398 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
399
3af09e8d
RM
4002016-07-19 Roland McGrath <roland@hack.frob.com>
401
402 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
403 * emulparams/aarch64elf32.sh: Likewise.
404
a6ebf616
MR
4052016-07-19 Maciej W. Rozycki <macro@imgtec.com>
406
407 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
408 messages expected.
409 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
410 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
411 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
412 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
413 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
414 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
415 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
416 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
417 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
418 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
419 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
420 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
421 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
422 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
423 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
424 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
425 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
426 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
427 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
428 source.
429 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
430 source.
431 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
432
9d862524
MR
4332016-07-19 Maciej W. Rozycki <macro@imgtec.com>
434
435 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
436 expected.
437 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
438 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
439 Likewise.
440 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
441 Likewise.
442 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
443 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
444 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
445 microMIPS BAL and MIPS16 instructions.
446 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
447 accordingly.
448 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
449 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
450 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
451 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
452 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
453 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
454 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
455 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
456 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
457
ace667e5
AB
4582016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * plugin.c (plugin_call_claim_file): Restore the file offset after
461 an unsuccessful attempt to claim a file.
462 * testplug.c (bytes_to_read_before_claim): New global.
463 (record_read_length): New function, sets new global
464 bytes_to_read_before_claim.
465 (parse_option): Handle 'read:<NUMBER>' option.
466 (onclaim_file): Read file content before checking for claim.
467 * testsuite/ld-plugin/plugin-30.d: New file.
468 * testsuite/ld-plugin/plugin.exp: Add new test.
469
7d0b9ebc
AM
4702016-07-16 Alan Modra <amodra@gmail.com>
471
472 * plugin.c: Don't include libbfd.h. Include plugin-api.h
473 before bfd/plugin.h.
474 (plugin_object_p): Use bfd_plugin_open_input.
475
4212b42d
AM
4762016-07-16 Alan Modra <amodra@gmail.com>
477
478 * ldlang.c (open_output): Replace bfd_search_for_target with
479 bfd_iterate_over_targets. Localize vars.
480
76e7a751
AM
4812016-07-16 Alan Modra <amodra@gmail.com>
482
483 * ldlang.c: Don't include libbfd.h.
484 * emultempl/nds32elf.em: Likewise.
485 * emultempl/ppc64elf.em: Likewise.
486 * emultempl/ppc32elf.em: Likewise.
487 (pagesize): Delete.
488 (params): Update init.
489 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
490 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
491 * emultempl/sh64elf.em: Don't include libbfd.h.
492 (after_allocation): Use ASSERT, not BFD_ASSERT.
493 * emultempl/xtensaelf.em: Don't include libbfd.h.
494 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
495 * Makefile.am: Update dependencies.
496 * Makefile.in: Regenerate.
497
76359541
TP
4982016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
499 Nick Clifton <nickc@redhat.com>
500
501 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
502 library file for writing and initialize implib_bfd field of link_info
503 structure.
504 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
505 (OPTION_IMPLIB_FILENAME): Remove macro definition.
506 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
507 (gld_${EMULATION_NAME}_list_options): Likewise.
508 (gld${EMULATION_NAME}_handle_option): Likewise.
509 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
510 instead of pe_implib_filename.
511 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
512 (OPTION_IMPLIB_FILENAME): Remove enumerator.
513 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
514 (gld_${EMULATION_NAME}_list_options): Likewise.
515 (gld${EMULATION_NAME}_handle_option): Likewise.
516 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
517 instead of pep_implib_filename.
518 * ld.h (args_type): Declare new out_implib_filename field.
519 * ld.texinfo (--out-implib): Move documentation to arch-independent
520 part and rephrase to apply to ELF targets.
521 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
522 defined in linker scripts.
523 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
524 enumerator.
525 * lexsup.c (ld_options): Add entry for new --out-implib switch.
526 (parse_args): Handle OPTION_OUT_IMPLIB case.
527 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
528 (Generate import library): Likewise.
529 * testsuite/ld-elf/implib.s: Likewise.
530 * testsuite/ld-elf/implib.rd: New file.
531 * testsuite/ld-elf/empty-implib.out: Likewise
532
f7e8b360
NC
5332016-07-15 Nick Clifton <nickc@redhat.com>
534
535 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
536 little endian mode.
537
b416ba9b
MR
5382016-07-14 Maciej W. Rozycki <macro@imgtec.com>
539
540 * testsuite/ld-mips-elf/mips-elf.exp: Run
541 `branch-absolute-addend', `mips16-branch-absolute',
542 `mips16-branch-absolute-addend' and
543 `micromips-branch-absolute-addend'.
544
96e9ba5f
MR
5452016-07-14 Maciej W. Rozycki <macro@imgtec.com>
546
547 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
548 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
549 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
550 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
551 test.
552 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
553 test.
554 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
555 test.
556 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
557 from `mips16-branch-absolute' and
558 `mips16-branch-absolute-addend', referred indirectly only.
559
0c117286
MR
5602016-07-14 Maciej W. Rozycki <macro@imgtec.com>
561
562 * testsuite/ld-mips-elf/branch-absolute.d: New test.
563 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
564 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
565 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
566 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
567 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
568 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
569 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
570 test.
571 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
572 test.
573 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
574 test.
575 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
576 New test.
577 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
578 New test.
579 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
580 from `branch-absolute-addend' and
581 `micromips-branch-absolute-addend', referred indirectly only.
582
fa1c0170
CZ
5832016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
584
585 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
586 * testsuite/ld-arc/sda-relocs.dd: New file.
587 * testsuite/ld-arc/sda-relocs.ld: Likewise.
588 * testsuite/ld-arc/sda-relocs.rd: Likewise.
589 * testsuite/ld-arc/sda-relocs.s: Likewise.
590 * testsuite/ld-arc/arc.exp: Add SDA tests.
591
764cfd4a
CZ
5922016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
593
594 * testsuite/ld-arc/nps-1b.err: Update test to handle more
595 verbosity.
596
32a0481f
AM
5972016-07-09 Alan Modra <amodra@gmail.com>
598
599 * testsuite/ld-powerpc/elfv2exe.d: Update.
600
3a5ce950 6012016-07-06 James Bowman <james.bowman@ftdichip.com>
602
603 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
604 (DATA): add ALIGN.
605 (BSS): add ALIGN
606
29d7478b
L
6072016-07-05 H.J. Lu <hongjiu.lu@intel.com>
608
609 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
610
d5a67c02
AV
6112016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
612
613 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
614 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
615 * testsuite/ld-arm/arm-elf.exp: Run it.
616
f0728ee3
AV
6172016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
618
619 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
620 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
621 all noread's by purecode.
622
1753ed68
JB
6232016-07-05 Jan Beulich <jbeulich@suse.com>
624
625 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
626 assignment line number.
627 * ldlex.l (lineno): Drop initializer.
628 (<<EOF>>): Set lineno to zero after reaching top of stack.
629
c3e1c28e
L
6302016-07-04 H.J. Lu <hongjiu.lu@intel.com>
631
632 PR ld/20321
633 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
634 been loaded already.
635 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
636 * testsuite/ld-plugin/pr20321.c: New file.
637
1dc8bf19
NC
6382016-07-04 Nick Clifton <nickc@redhat.com>
639
640 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
641 (__RAMSIZE): If not defined, set to 64K.
642 (MEMORY): Set the flash region size to __PMSIZE and the ram region
643 size to __RAMSIZE.
644
6f50d611
MR
6452016-07-02 Maciej W. Rozycki <macro@imgtec.com>
646
647 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
648 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
649
5e866f5a
TP
6502016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
651
652 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
653 (Thumb-2 BL on ARMv6-M): New testcase.
654 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
655 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
656
96a84ea3
TG
6572016-07-01 Tristan Gingold <gingold@adacore.com>
658
659 * NEWS: Add marker for 2.27.
660
f4ab0e2d
L
6612016-06-28 H.J. Lu <hongjiu.lu@intel.com>
662
663 * testsuite/ld-gc/gc.exp: Run pr20306 test.
664 * ld-gc/pr20306.c: New file.
665 * ld-gc/pr20306.d: Likewise.
666
1b857aee
NC
6672016-06-28 Nick Clifton <nickc@redhat.com>
668
669 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
670 for bfin.
671 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
672 tests to fail for bfin.
673 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
674 nds32 and visium.
675 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
676 microblaze.
677 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
678 mcore-pe.
679
6802016-06-28 Nick Clifton <nickc@redhat.com>
681
682 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
683 expect to fail this test.
684 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
685 RX.
686 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
687 fail for the RX.
688 * testsuite/ld-scripts/rgn-at11.d: Likewise.
689 * testsuite/ld-scripts/rgn-at2.d: Likewise.
690 * testsuite/ld-scripts/rgn-at6.d: Likewise.
691 * testsuite/ld-scripts/rgn-at7.d: Likewise.
692 * testsuite/ld-scripts/rgn-at8.d: Likewise.
693
7160c10d
JC
6942016-06-28 James Clarke <jrtc27@jrtc27.com>
695
696 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
697 .text.
698
6c9a7fb6
MR
6992016-06-28 Maciej W. Rozycki <macro@imgtec.com>
700
701 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
702 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
703 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
704 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
705
56a30421
AM
7062016-06-28 Alan Modra <amodra@gmail.com>
707
708 PR ld/20302
709 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
710
c9775dde
MR
7112016-06-28 Maciej W. Rozycki <macro@imgtec.com>
712
713 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
714 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
715 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
716 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
717 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
718 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
719
42b7a39b
NC
7202016-06-27 Nick Clifton <nickc@redhat.com>
721
722 PR ld/20302
723 * lexsup.c (set_segment_start): If resetting the start address of
724 a section, remember to generate a new script element as well.
725 * testsuite/ld-scripts/pr20302.d: New test.
726 * testsuite/ld-scripts/scripts.exp: Run the new test.
727
78da3bc1
AM
7282016-06-24 Alan Modra <amodra@gmail.com>
729
730 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
731 Don't error out, always return an emulation.
732
da4463c7
L
7332016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
734 H.J. Lu <hongjiu.lu@intel.com>
735
736 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
737 for -z relro help message.
738
4041bc9b
MR
7392016-06-22 Maciej W. Rozycki <macro@imgtec.com>
740
741 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
742 address matching.
743
4861b804
MR
7442016-06-22 Maciej W. Rozycki <macro@imgtec.com>
745
746 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
747 `undefweak-overflow' tests.
748
647e4d46
L
7492016-06-22 H.J. Lu <hongjiu.lu@intel.com>
750
751 PR ld/20283
752 * NEWS: Mention --enable-relro.
753 * configure.ac: Add --enable-relro.
754 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
755 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
756 some Linux targets.
757 * config.in: Regenerated.
758 * configure: Likewise.
759 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
760 link_info.relro to DEFAULT_LD_Z_RELRO.
761 * testsuite/config/default.exp (ld_elf_shared_opt): New.
762 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
763 $ld_elf_shared_opt to ld for ELF targets with shared object
764 support.
765 (run_ld_link_tests): Likewise.
766
5f68df25
MR
7672016-06-21 Maciej W. Rozycki <macro@imgtec.com>
768
769 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
770 twice rather than once.
771 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
772 accordingly. Remove the full stop from the end of the message.
773
bdd582db
GM
7742016-06-21 Graham Markall <graham.markall@embecosm.com>
775
776 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
777 * testsuite/ld-arc/nps-1b.d: Likewise.
778
7dc3990e
L
7792016-06-20 H.J. Lu <hongjiu.lu@intel.com>
780
781 PR ld/20267
782 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
783 PR ld/20267.
784 (lto_run_tests): Likewise.
785 * testsuite/ld-plugin/pr20267a.c: New file.
786 * testsuite/ld-plugin/pr20267b.c: Likewise.
787
0616a280
AM
7882016-06-20 H.J. Lu <hongjiu.lu@intel.com>
789 Alan Modra <amodra@gmail.com>
790
791 PR ld/20276
792 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
793 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
794 PR ld/20276.
795 (lto_run_tests): Likewise.
796 * testsuite/ld-plugin/pass.out: New file.
797 * testsuite/ld-plugin/pr20276a.c: Likewise.
798 * testsuite/ld-plugin/pr20276b.c: Likewise.
799
49f30d83
L
8002016-06-18 H.J. Lu <hongjiu.lu@intel.com>
801
802 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
803 with bfd_plugin_unknown.
804
233cc9c1
L
8052016-06-18 H.J. Lu <hongjiu.lu@intel.com>
806
807 PR ld/20253
808 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
809 * testsuite/ld-i386/no-plt.exp: Likewise.
810 * testsuite/ld-x86-64/no-plt.exp: Likewise.
811 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
812 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
813 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
814 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
815 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
816 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
817 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
818 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
819 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
820 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
821 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
822 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
823 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
824 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
825 * testsuite/ld-i386/pr20244-2b.d: Updated.
826 * testsuite/ld-i386/pr20244-2c.d: Likewise.
827 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
828 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
829 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
830 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
831 * testsuite/ld-i386/pr20253-1a.c: New file.
832 * testsuite/ld-i386/pr20253-1b.S: Likewise.
833 * testsuite/ld-i386/pr20253-1c.S: Likewise.
834 * testsuite/ld-i386/pr20253-1d.S: Likewise.
835 * testsuite/ld-i386/pr20253-2a.c: Likewise.
836 * testsuite/ld-i386/pr20253-2b.S: Likewise.
837 * testsuite/ld-i386/pr20253-2c.S: Likewise.
838 * testsuite/ld-i386/pr20253-2d.S: Likewise.
839 * testsuite/ld-i386/pr20253-3.d: Likewise.
840 * testsuite/ld-i386/pr20253-3.s: Likewise.
841 * testsuite/ld-i386/pr20253-4.s: Likewise.
842 * testsuite/ld-i386/pr20253-4a.d: Likewise.
843 * testsuite/ld-i386/pr20253-4b.d: Likewise.
844 * testsuite/ld-i386/pr20253-4c.d: Likewise.
845 * testsuite/ld-i386/pr20253-5.d: Likewise.
846 * testsuite/ld-i386/pr20253-5.s: Likewise.
847 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
848 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
849 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
850 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
851 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
852 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
853 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
854 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
855 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
856 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
857 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
858 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
859 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
860 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
861 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
862 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
863 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
864 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
865 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
866 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
867 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
868 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
869 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
870 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
871 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
872 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
873 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
874 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
875 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
876 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
877 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
878 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
879 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
880 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
881 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
882 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
883 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
884 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
885 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
886 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
887 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
888 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
889 relocation.
890 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
891 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
892 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
893 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
894 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
895
80c135e5
TP
8962016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
897 Tony Wang <tony.wang@arm.com>
898
899 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
900 Assemble for ARMv6-M.
901 (Thumb2-Thumb2 farcall M profile): New testcase.
902 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
903 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
904 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
905 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
906
ca45f6e9
L
9072016-06-16 H.J. Lu <hongjiu.lu@intel.com>
908
909 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
910 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
911 Remove .rel.plt section.
912 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
913
3a4b0e0f
L
9142016-06-15 H.J. Lu <hongjiu.lu@intel.com>
915
916 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
917 function pointer.
918 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
919 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
920 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
921 function pointer.
922 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
923 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
924 * testsuite/ld-i386/no-plt-1a.dd: Updated.
925 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
926 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
927 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
928 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
929 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
930 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
931 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
932 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
933 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
934 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
935 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
936 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
937 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
938 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
939 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
940 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
941
31eef93e
SKS
9422016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
943
944 PR ld/20254
945 * testsuite/ld-avr/avr-prop-6.d: New test.
946 * testsuite/ld-avr/avr-prop-6.s: New test.
947
0aa7f586
AM
9482016-06-14 Alan Modra <amodra@gmail.com>
949
950 * ldbuildid.c: Formatting.
951 * ldcref.c: Formatting.
952 * ldctor.c: Formatting.
953 * ldemul.c: Formatting.
954 * ldexp.c: Formatting.
955 * ldfile.c: Formatting.
956 * ldlang.c: Formatting.
957 * ldmain.c: Formatting.
958 * ldwrite.c: Formatting.
959
3860d2b4
AM
9602016-06-14 Alan Modra <amodra@gmail.com>
961
962 * ldlang.c: Expand uses of bfd_my_archive.
963 * ldmain.c: Likewise.
964 * ldmisc.c: Likewise.
965 * plugin.c: Likewise.
966
b0cffb47
AM
9672016-06-14 Alan Modra <amodra@gmail.com>
968
969 PR ld/20241
970 * ldmain.c (add_archive_element): Just print file name of file within
971 thin archives.
972 * ldmisc.c (vfinfo): Likewise.
973 * plugin.c (plugin_object_p): Open file within thin archives.
974 (plugin_maybe_claim): Expand comment.
975
712ec279
L
9762016-06-13 H.J. Lu <hongjiu.lu@intel.com>
977
978 PR ld/20244
979 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
980 pr20244-2c and pr20244-2d.
981 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
982 * testsuite/ld-i386/pr20244-2.s: New file.
983 * testsuite/ld-i386/pr20244-2a.d: Likewise.
984 * testsuite/ld-i386/pr20244-2b.d: Likewise.
985 * testsuite/ld-i386/pr20244-2c.d: Likewise.
986 * testsuite/ld-i386/pr20244-2d.d: Likewise.
987 * testsuite/ld-i386/pr20244-3a.c: Likewise.
988 * testsuite/ld-i386/pr20244-3b.S: Likewise.
989 * testsuite/ld-i386/pr20244-3c.S: Likewise.
990 * testsuite/ld-i386/pr20244-3d.S: Likewise.
991
ca8c86ef
L
9922016-06-13 H.J. Lu <hongjiu.lu@intel.com>
993
994 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
995 * testsuite/ld-i386/ifunc-1a.c: New file.
996 * testsuite/ld-i386/ifunc-1b.S: Likewise.
997 * testsuite/ld-i386/ifunc-1c.S: Likewise.
998 * testsuite/ld-i386/ifunc-1d.S: Likewise.
999
82f46e2c
CM
10002016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1001
1002 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1003 big endian ARC targets.
1004
6d84fed1
L
10052016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1008 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1009 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1010 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1011 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1012 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1013 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1014 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1015 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1016 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1017 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1018 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1019 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1020 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1021 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1022
74d7f0aa
L
10232016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 PR ld/20244
1026 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1027 * testsuite/ld-i386/pr20244-1.s: New file.
1028 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1029 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1030 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1031
5c41dbc3
DC
10322016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1033
1034 PR ld/20221
1035 * testsuite/ld-avr/avr-prop-5.d: New.
1036 * testsuite/ld-avr/avr-prop-5.s: New.
1037
1857fe72 10382016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 1039
1857fe72
DC
1040 * testsuite/ld-avr/lds-mega.d: New test.
1041 * testsuite/ld-avr/lds-mega.s: New test source.
1042 * testsuite/ld-avr/lds-tiny.d: New test.
1043 * testsuite/ld-avr/lds-tiny.s: New test source.
1044
cd41072b
L
10452016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1048 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1049 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1050 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1051 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1052 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1053 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1054 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1055 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1056 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1057 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1058 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1059 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1060 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1061 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1062 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1063 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1064 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1065 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1066 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1067 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1068 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1069 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1070 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1071 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1072 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1073 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1074 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1075 * testsuite/ld-i386/no-plt.exp: Likewise.
1076
dcc03cb3
L
10772016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1080 name.
1081
6eaa7fb5
L
10822016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1085 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1086 * testsuite/ld-i386/pass.out: New file.
1087 * testsuite/ld-i386/tls-def1.c: Likewise.
1088 * testsuite/ld-i386/tls-gd1.S: Likewise.
1089 * testsuite/ld-i386/tls-ld1.S: Likewise.
1090 * testsuite/ld-i386/tls-main1.c: Likewise.
1091 * testsuite/ld-i386/tls.exp: Likewise.
1092 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1093 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1094 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1095 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1096 * testsuite/ld-i386/tlsbin2.td: Likewise.
1097 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1098 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1099 * testsuite/ld-i386/tlsgd3.s: Likewise.
1100 * testsuite/ld-i386/tlsgd4.d: Likewise.
1101 * testsuite/ld-i386/tlsgd4.s: Likewise.
1102 * testsuite/ld-i386/tlsld2.s: Likewise.
1103 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1104 * testsuite/ld-i386/tlspic2.dd: Likewise.
1105 * testsuite/ld-i386/tlspic2.rd: Likewise.
1106 * testsuite/ld-i386/tlspic2.sd: Likewise.
1107 * testsuite/ld-i386/tlspic2.td: Likewise.
1108 * testsuite/ld-i386/tlspic3.s: Likewise.
1109 * testsuite/ld-i386/tlspie3.s: Likewise.
1110 * testsuite/ld-i386/tlspie3a.d: Likewise.
1111 * testsuite/ld-i386/tlspie3b.d: Likewise.
1112 * testsuite/ld-i386/tlspie3c.d: Likewise.
1113
010bc3ce
L
11142016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1117 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1118 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1119 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1120 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1121 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1122 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1123 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1124
1f26b7ae
L
11252016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1126
1127 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1128 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1129 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1130 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1131 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1132 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1133 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1134 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1135 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1136 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1137 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1138 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1139 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1140 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1141 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1142 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1143 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1144 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1145 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1146 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1147 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1148
1133012c
MR
11492016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1150
1151 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1152
161db279
AK
11532016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1154
1155 * testsuite/ld-s390/pltoffset-1.dd: New test.
1156 * testsuite/ld-s390/pltoffset-1.ld: New test.
1157 * testsuite/ld-s390/pltoffset-1.s: New test.
1158 * testsuite/ld-s390/s390.exp: Run new test.
1159
14b57c7c
AM
11602016-06-07 Alan Modra <amodra@gmail.com>
1161
1162 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1163 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1164 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1165
e2cbcd91
L
11662016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 * testsuite/ld-x86-64/pass.out: New file.
1169 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1170 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1171 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1172 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1173 * testsuite/ld-x86-64/tls.exp: Likewise.
1174 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1175 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1176 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1177 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1178 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1179 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1180 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1181 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1182 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1183 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1184 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1185 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1186 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1187 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1188 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1189 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1190 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1191 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1192 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1193 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1194 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1195 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1196 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1197 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1198 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1199 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1200 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1201 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1202 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1203 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1204 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1205 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1206 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1207 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1208 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1209 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1210 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1211 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1212 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1213 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1214 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1215 tlspie2c.
1216
2ac27cd3
CG
12172016-06-04 Christian Groessler <chris@groessler.org>
1218
67cb102b
CG
1219 * testsuite/ld-z8k/0filler.s: New file.
1220 * testsuite/ld-z8k/branch-target.s: New file.
1221 * testsuite/ld-z8k/branch-target2.s: New file.
1222 * testsuite/ld-z8k/calr-back-8001.d: New file.
1223 * testsuite/ld-z8k/calr-back-8002.d: New file.
1224 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1225 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1226 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1227 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1228 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1229 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1230 * testsuite/ld-z8k/calr-opcode.s: New file.
1231 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1232 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1233 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1234 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1235 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1236 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1237 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1238 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1239 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1240 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1241 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1242 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1243 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1244 * testsuite/ld-z8k/djnz-opcode.s: New file.
1245 * testsuite/ld-z8k/filler.s: New file.
1246 * testsuite/ld-z8k/jr-back-8001.d: New file.
1247 * testsuite/ld-z8k/jr-back-8002.d: New file.
1248 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1249 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1250 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1251 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1252 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1253 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1254 * testsuite/ld-z8k/jr-opcode.s: New file.
1255 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1256 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1257 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1258 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1259 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1260 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1261 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1262 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1263 * testsuite/ld-z8k/ldr-opcode.s: New file.
1264 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1265 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1266 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1267 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1268 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1269 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1270 * testsuite/ld-z8k/other-file.s: New file.
1271 * testsuite/ld-z8k/reloc.dd: New file.
1272 * testsuite/ld-z8k/reloc.ld: New file.
1273 * testsuite/ld-z8k/relocseg.dd: New file.
1274 * testsuite/ld-z8k/relocseg.ld: New file.
1275 * testsuite/ld-z8k/relocseg1.dd: New file.
1276 * testsuite/ld-z8k/this-file.s: New file.
1277 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 1278
b1058ce9
L
12792016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1282 with -mrelax-relocations=yes.
1283 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1284 * testsuite/ld-i386/lea1b.d (as): Likewise.
1285 * testsuite/ld-i386/lea1d.d (as): Likewise.
1286 * testsuite/ld-i386/lea1e.d (as): Likewise.
1287 * testsuite/ld-i386/lea1f.d (as): Likewise.
1288 * testsuite/ld-i386/load7.d (as): Likewise.
1289 * testsuite/ld-i386/mov1b.d (as): Likewise.
1290 * testsuite/ld-i386/pr19175.d (as): Likewise.
1291 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1292 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1293 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1294 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1295 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1296
4ad0bb5f
VG
12972016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1298
1299 * configure.tgt: Replace -uclibc with *.
1300
99aefae6
MR
13012016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1302
1303 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1304 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1305 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1306 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1307
3b4412a0
MR
13082016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1309
1310 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1311 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1312 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1313 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1314 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1315 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1316
77434823
MR
13172016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1318
1319 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1320 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1321 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1322 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1323 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1324 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1325 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1326
1a72702b
AM
13272016-05-28 Alan Modra <amodra@gmail.com>
1328
1329 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1330 constructor_callback, warning_callback, undefined_symbol,
1331 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1332 * emultempl/elf32.em: Adjust callback calls.
1333
bc27bb05
MR
13342016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1335
1336 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1337 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1338 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1339 test.
1340 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1341 test.
1342 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1343 test.
1344 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1345 test.
1346 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1347 source.
1348 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1349 source.
1350 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1351
ceab86af
MR
13522016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1353
1354 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1355 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1356 new test.
1357 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1358
ed53407e
MR
13592016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1360
1361 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1362 `unaligned-jalx-2' here.
1363 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1364 `unaligned-jalx-mips16-2' here.
1365 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1366 `unaligned-jalx-micromips-2' here.
1367 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1368 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1369 message.
1370 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1371 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1372 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1373 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1374 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1375 test.
1376 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1377 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1378 `unaligned-lwpc-3' here.
1379 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1380 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1381 `unaligned-lwpc-2' here.
1382 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1383 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1384 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1385 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1386 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1387 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1388 `unaligned-ldpc-4' here.
1389 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1390 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1391 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1392 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1393 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1394 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1395 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1396 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1397 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1398 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1399 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1400
0d832c8e
NC
14012016-05-26 Nick Clifton <nickc@redhat.com>
1402
1403 PR target/20134
1404 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1405 __bsssize.
1406 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1407
de341542 14082016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 1409
de341542
MR
1410 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1411 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1412 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1413 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1414 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1415 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1416 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1417 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1418 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1419 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1420 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1421 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1422 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1423 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1424 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1425 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1426 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1427 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1428 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1429 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1430 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1431 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1432 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1433 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1434 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1435 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1436 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1437 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1438 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1439 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1440 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1441 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1442 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1443
b95a0a31
L
14442016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 PR ld/20103
1447 * ldmain.c (add_archive_element): Don't claim new IR symbols
1448 after all IR symbols have been claimed.
1449 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1450 check.
1451 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1452 Run PR ld/20103 tests.
1453 * testsuite/ld-plugin/pr20103a.c: New file.
1454 * testsuite/ld-plugin/pr20103b.c: Likewise.
1455 * testsuite/ld-plugin/pr20103c.c: Likewise.
1456
44d3da23 14572016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3af09e8d 1458
44d3da23
MR
1459 * testsuite/ld-mips-elf/jalx-local.d: New test.
1460 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1461 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1462 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1463
a2bea324
KS
14642016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1465
1466 * Makefile.am: Add earmelf_phoenix.c.
1467 * Makefile.in: Regenerate.
1468 * configure.tgt: Add entry for arm-phoenix.
1469 * emulparams/armelf_phoenix.sh: New file.
1470
daa4adae
TP
14712016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1472
1473 * emultempl/armelf.em (arm_elf_before_allocation): Call
1474 bfd_elf32_arm_keep_private_stub_output_sections before generic
1475 before_allocation function.
1476
17c6c9d9
MR
14772016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1478
1479 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1480 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1481 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1482 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1483
7d4d9709
L
14842016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR ld/20117
1487 * testsuite/ld-i386/i386.exp: Run pr20117.
1488 * testsuite/ld-i386/pr19609-1i.d: Updated.
1489 * testsuite/ld-i386/pr20117.d: New file.
1490 * testsuite/ld-i386/pr20117.s: Likewise.
1491
fc3eec7e
CZ
14922016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1493
1494 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1495 * testsuite/ld-elf/group8a.d: Likewise.
1496 * testsuite/ld-elf/group8b.d: Likewise.
1497 * testsuite/ld-elf/group9a.d: Likewise.
1498 * testsuite/ld-elf/group9b.d: Likewise.
1499 * testsuite/ld-elf/pr12851.d: Likewise.
1500 * testsuite/ld-elf/pr12975.d: Likewise.
1501 * testsuite/ld-elf/pr13177.d: Likewise.
1502 * testsuite/ld-elf/pr13195.d: Likewise.
1503 * testsuite/ld-elf/pr17615.d: Likewise.
1504 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1505 * testsuite/ld-elf/group3b.d: Likewise.
1506 * testsuite/ld-srec/srec.exp: Likewise.
1507 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1508 as supporting gc.
1509 (check_shared_lib_support): Mark ARC as supporting.
1510
c0913ebf
CZ
15112016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1512
1513 * emulparams/arcelf.sh: Changed.
1514 * emulparams/arclinux.sh: Likewise.
1515 * scripttempl/arclinux.sc: Moved to a more standard implementation
1516 similar to elf.sc.
1517
c4107a7d
MR
15182016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1519
1520 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1521 `ft32-*-*' behind `frv-*-*'.
1522
6b200de0
MR
15232016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1524
1525 * configure.tgt: Remove `am34-*-linux*' support.
1526
82bc9362
AM
15272016-05-19 Alan Modra <amodra@gmail.com>
1528
1529 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1530 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1531 * testsuite/ld-scripts/cross3.t: Likewise.
1532 * testsuite/ld-scripts/cross4.t: Likewise.
1533 * testsuite/ld-scripts/cross5.t: Likewise.
1534 * testsuite/ld-scripts/cross6.t: Likewise.
1535 * testsuite/ld-scripts/cross7.t: Likewise.
1536
f1b2ca70
AM
15372016-05-19 Alan Modra <amodra@gmail.com>
1538
1539 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1540 exe name rather than constructing testname. Fix typo in
1541 sub-test name. Log copying. Use -rpath rather than -R.
1542
d1f70bdc
NC
15432016-05-18 Nick Clifton <nickc@redhat.com>
1544
1545 * scripttempl/ft32.sc: Use fixed constants for memory region
1546 lengths. Include DWARF debug sections.
1547 (.data .bss): Do not assign locations during relocatable links.
1548 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1549 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1550 * testsuite/ld-elf/sec64k.exp: Likewise.
1551 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1552 * testsuite/ld-elf/merge.d: Likewise.
1553 * testsuite/ld-elf/orphan-region.d: Likewise.
1554 * testsuite/ld-elf/orphan.s: Likewise.
1555 * testsuite/ld-elf/orphan3.d: Likewise.
1556 * testsuite/ld-elf/pr349.d: Likewise.
1557 * testsuite/ld-elf/warn2.d: Likewise.
1558 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1559 that the FT32 does not support shared libraries.
1560
68bce020
L
15612016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1564 global CC.
1565
23b5dc39 15662016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
1567
1568 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1569 above .progmem*.
1570 * scripttempl/avrtiny.sc (text): Likewise.
1571
a43942db
MR
15722016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1573
1574 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1575 `supports_gnu_unique' to qualify testing.
1576
69a1c856
MR
15772016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1578
1579 * testsuite/ld-elf/flags1.d: Update the xfail list.
1580
180c87d9
MR
15812016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1582
1583 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1584 removal.
1585
bf6f87e7
L
15862016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 PR ld/20097
1589 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1590 on EXPECTED_VIEW_LENGTH.
1591 * testplug4.c (onall_symbols_read): Likewise.
1592
2168b268
L
15932016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 PR ld/20093
1596 * testsuite/ld-x86-64/pr20093-1.d: New file.
1597 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1598 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1599 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1600 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1601
4ade44b7
AM
16022016-05-13 Alan Modra <amodra@gmail.com>
1603
1604 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1605 Use different output file name for static app without .rel.plt.
1606 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1607 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1608 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1609 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1610 * testsuite/ld-arm/arm-static-app.r: Likewise.
1611
3355cb3b
L
16122016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 PR ld/20070
1615 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1616 (libldtestplug4_la_SOURCES): New.
1617 (libldtestplug4_la_CFLAGS): Likewise.
1618 (libldtestplug4_la_LDFLAGS): Likewise.
1619 * Makefile.in: Regenerated.
1620 * plugin.c (get_symbols): Return resolution based on IR symbol
1621 kinds for symbols defined/referenced only within IR.
1622 * testplug4.c: New file.
1623 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1624 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1625 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1626 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1627 (plugin4_path): Likewise.
1628 Add a test for ld/20070.
1629
a464198b
AM
16302016-05-11 Alan Modra <amodra@gmail.com>
1631
1632 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1633 Call elf32_hppa_init_stub_bfd.
1634
3bd43ebc
AM
16352016-05-11 Alan Modra <amodra@gmail.com>
1636
1637 PR 20060
1638 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1639 * testsuite/ld-powerpc/tlsdll.s: New.
1640 * testsuite/ld-powerpc/tlsdll.ver: New.
1641 * testsuite/ld-powerpc/tlsdll_32.s: New.
1642 * testsuite/ld-powerpc/tlsopt5.d: New.
1643 * testsuite/ld-powerpc/tlsopt5.s: New.
1644 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1645 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1646
39d911fc
TP
16472016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1648
1649 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1650 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1651
6bde4c52
TP
16522016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1653
1654 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1655 parameter and rename input_section parameter to after_input_section.
1656 Append input stub section to the output section if after_input_section
1657 is NULL.
1658
15afaa63
TP
16592016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1660
1661 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1662 test.
1663 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1664 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1665
d63a50b7
CL
16662016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1667
1668 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1669
9239bbd3
CM
16702016-05-09 Christophe Monat <christophe.monat@st.com>
1671
1672 PR ld/20030
1673 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1674 tests. Fix misnamed stm32l4xx-fix-all.
1675 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1676 loads with DP registers.
1677 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1678 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1679 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1680 loads with DP registers.
1681 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1682
924bc11b
PS
16832016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1684
1685 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1686 program headers.
1687 (xfail): Remove avr-*-*.
1688 Update regex to check the section flags.
1689 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1690
a64f5ba1
AM
16912016-05-09 Alan Modra <amodra@gmail.com>
1692
1693 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1694 * Makefile.in: Regenerate.
1695
cc969da9
AM
16962016-05-09 Alan Modra <amodra@gmail.com>
1697
1698 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1699 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1700 * testsuite/ld-scripts/section-match-1.t: Likewise.
1701
97196564
L
17022016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1703
1704 PR ld/17550
1705 * testsuite/ld-elf/pr17550-1.s: New file.
1706 * testsuite/ld-elf/pr17550-2.s: Likewise.
1707 * testsuite/ld-elf/pr17550-3.s: Likewise.
1708 * testsuite/ld-elf/pr17550-4.s: Likewise.
1709 * testsuite/ld-elf/pr17550a.d: Likewise.
1710 * testsuite/ld-elf/pr17550b.d: Likewise.
1711 * testsuite/ld-elf/pr17550c.d: Likewise.
1712 * testsuite/ld-elf/pr17550d.d: Likewise.
1713
887cf791
SKS
17142016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1715
1716 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1717
2856a627
L
17182016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 * testsuite/ld-i386/i386.exp: Run load7.
1721 * testsuite/ld-i386/load7.d: New file.
1722 * testsuite/ld-i386/load7.map: Likewise.
1723 * testsuite/ld-i386/load7.s: Likewise.
1724 * testsuite/ld-x86-64/load2.d: Likewise.
1725 * testsuite/ld-x86-64/load2.map: Likewise.
1726 * testsuite/ld-x86-64/load2.s: Likewise.
1727 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1728
004b1309
L
17292016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1732 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1733 Likewise.
1734 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1735 Likewise.
1736
d7adef8b
L
17372016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1740
d4758f96
L
17412016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1744
c3fbf828
MR
17452016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1746
1747 * testsuite/ld-unique/unique.d: New test.
1748 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1749 messages for compiled tests.
1750
4a85cc09
SKS
17512016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1752
1753 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1754 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1755 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1756 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1757 plugin_tests only if check_shared_lib_support is true.
1758 * testsuite/ld-selective/selective.exp: Add --section-start
1759 flag for avr.
1760
6d6a648c
MR
17612016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1762
1763 PR 10549
1764 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1765
1f56df9d
JW
17662016-05-03 Jiong Wang <jiong.wang@arm.com>
1767
1768 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1769 * NEWS: Mention --no-apply-dynamic-relocs.
1770 * ld.texinfo (ld and the ARM family): Document
1771 --no-apply-dynamic-relocs.
1772 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1773 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1774 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1775 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1776 option.
1777
a2076b34
SKS
17782016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1779
1780 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1781 before running STT_COMMON tests.
1782
010f98a5
L
17832016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 * config/default.exp (NOPIE_CFLAGS): Download source only on
1786 remote host.
1787 (NOPIE_LDFLAGS): Likewise.
1788 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1789 (check_lto_fat_available): Likewise.
1790 (check_lto_shared_available): Likewise.
1791 (check_ifunc_available): Likewise.
1792 (check_ifunc_attribute_available): Likewise.
1793
83a471c3
L
17942016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1797
52728a42
L
17982016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1799
91f8bf69
L
1800 PR ld/20006
1801 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1802 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1803 ELF targets.
1804
18052016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 * testsuite/ld-elf/compressed1b.d: Pass
1808 --compress-debug-sections=none to ld.
1809 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 1810
13b8c335
AM
18112016-04-27 Alan Modra <amodra@gmail.com>
1812
1813 PR target/19985
1814 * configure.tgt: Don't use var+=.
1815
731bb67a
NC
18162016-04-25 Nick Clifton <nickc@redhat.com>
1817
1818 PR target/19985
1819 * configure.tgt: Include big endian PPC64 emulations with little
1820 endian PPC64 targets.
1821
0e03d18a
SKS
18222016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1823
1824 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1825
ed1b027a
L
18262016-04-21 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
1829 Linux with GCC 4.9 or newer.
1830 (check_lto_fat_available): Likewise.
1831 (check_lto_shared_available): Likewise.
1832
4f3b23b3
NC
18332016-04-21 Nick Clifton <nickc@redhat.com>
1834
1835 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1836 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1837 targets. Do not stop the checks when problems are encountered.
1838
96bf8cb0
AM
18392016-04-21 Alan Modra <amodra@gmail.com>
1840
1841 * testsuite/ld-scripts/cross3.t: Add commonly used data
1842 and text section names to output section statements.
1843 * testsuite/ld-scripts/cross4.t: Likewise.
1844 * testsuite/ld-scripts/cross5.t: Likewise.
1845 * testsuite/ld-scripts/cross6.t: Likewise.
1846 * testsuite/ld-scripts/cross7.t: Likewise.
1847
fbf05aa7
L
18482016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 * ldlang.c (lang_check_relocs): New function.
1851 (lang_process): Call lang_check_relocs after lang_gc_sections.
1852 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1853 call _bfd_elf_link_check_relocs here.
1854
c7ce9410
L
18552016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 PR ld/19972
1858 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1859 R_386_NONE or R_X86_64_NONE.
1860
03f2309a
L
18612016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * testsuite/ld-x86-64/pic1.d: New file.
1864 * testsuite/ld-x86-64/pic1.s: Likewise.
1865 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1866
126697d1
L
18672016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1868
1869 * testsuite/ld-x86-64/pie2.d: New file.
1870 * testsuite/ld-x86-64/pie2.s: Likewise.
1871 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1872
338c190a
L
18732016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 PR ld/19969
1876 * testsuite/ld-x86-64/pr19969.d: New file.
1877 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1878 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1879 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1880
d9689752
L
18812016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1884 New.
1885 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1886 Likewise.
1887 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1888 Likewise.
1889 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1890 Likewise.
1891 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1892 Likewise.
1893 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1894 Likewise.
1895 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1896 Likewise.
1897 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1898 Likewise.
1899 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1900 Set check_relocs_after_open_input to TRUE if
1901 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1902 (gld${EMULATION_NAME}_after_open): Call
1903 _bfd_elf_link_check_relocs on all inputs if
1904 check_relocs_after_open_input is TRUE.
1905
7cc9c114
L
19062016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1909 my_personality_v0.
1910
e6c7cdec
TS
19112016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1912
1913 * emultempl/scoreelf.em: Likewise.
1914
87d455c0
L
19152016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 PR ld/19719
1918 * testsuite/ld-x86-64/pr19719.d: New file.
1919 * testsuite/ld-x86-64/pr19719.s: Likewise.
1920 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1921
cdf96953
MF
19222016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1923
1924 * ld.texinfo: Document NOCROSSREFS_TO script command.
1925 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1926 (lang_add_nocrossref_to): New prototype.
1927 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1928 symbols defined in the first section.
1929 (check_nocrossref): Likewise.
1930 * ldgram.y (NOCROSSREFS_TO): New script command.
1931 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1932 (lang_add_nocrossref_to): New function.
1933 * ldlex.l (NOCROSSREFS_TO): New token.
1934 * NEWS: Mention NOCROSSREFS_TO.
1935 * testsuite/ld-scripts/cross4.t: New file.
1936 * testsuite/ld-scripts/cross5.t: Likewise.
1937 * testsuite/ld-scripts/cross6.t: Likewise.
1938 * testsuite/ld-scripts/cross7.t: Likewise.
1939 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1940 tests.
1941
6fd8e7c2
L
19422016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1943
1944 * Makefile.in: Regenerated with automake 1.11.6.
1945 * aclocal.m4: Likewise.
1946
4b0c052e
AB
19472016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1948
1949 * testsuite/ld-arc/arc.exp: New file.
1950 * testsuite/ld-arc/nps-1.s: New file.
1951 * testsuite/ld-arc/nps-1a.d: New file.
1952 * testsuite/ld-arc/nps-1b.d: New file.
1953 * testsuite/ld-arc/nps-1b.err: New file.
1954
8dc483a0
NC
19552016-04-14 Nick Clifton <nickc@redhat.com>
1956
1957 PR 19457
1958 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1959 exceptions for Mingw and Cygwin.
1960
758c5495
AB
19612016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1962
1963 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1964 check_ld(terminal).
1965
37ce0cc4
L
19662016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 PR ld/19774
1969 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1970 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1971 tests.
1972
2df3368d
L
19732016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 PR ld/19939
1976 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1977 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1978 * testsuite/ld-i386/pr19939.s: New file.
1979 * testsuite/ld-i386/pr19939a.d: Likewise.
1980 * testsuite/ld-i386/pr19939b.d: Likewise.
1981 * testsuite/ld-x86-64/pr19939.s: Likewise.
1982 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1983 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1984
417a667c
OE
19852016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1986
1987 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1988
136a43b7
AM
19892016-04-08 Alan Modra <amodra@gmail.com>
1990
1991 PR 18452
1992 * ldlang.c (maybe_overlays): Delete.
1993 (lang_size_sections_1): Remove code setting maybe_overlays.
1994 (lang_check_section_addresses): Instead detect overlays by
1995 exact match of section VMAs here. Fix memory leak.
1996
953dd97e
DG
19972016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1998
1999 * ldlang.c (print_output_section_statement): Show minfo size
2000 in target machine address units.
2001 (print_reloc_statement): Likewise.
2002 (print_padding_statement): Likewise.
2003 (print_data_statement): Likewise. Ensure minimum print_dot
2004 increment of one address unit.
2005
1a295c62
AB
20062016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2007
2008 * emulparams/arc-endianness.sh: Make little endian default choice.
2009
df154dc1
NC
20102016-04-07 Nick Clifton <nickc@redhat.com>
2011
2012 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2013 section name.
2014 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2015
9a5f28ae
AB
20162016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2017
2018 * emulparams/arc-endianness.sh: New file.
2019 * emulparams/arcebelf.sh: Deleted.
2020 * emulparams/arcebelf_prof.sh: Deleted.
2021 * emulparams/arceblinux.sh: Deleted.
2022 * emulparams/arceblinux_prof.sh: Deleted.
2023 * emulparams/arcelf.sh: Include arc-endinness.sh.
2024 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2025 * emulparams/arclinux.sh: Include arc-endinness.sh.
2026 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2027 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2028 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2029 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2030 little endian arc targets.
2031 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2032 * testsuite/ld-elf/group1.d: Likewise.
2033 * testsuite/ld-elf/group3b.d: Likewise.
2034 * testsuite/ld-elf/group8a.d: Likewise.
2035 * testsuite/ld-elf/group8b.d: Likewise.
2036 * testsuite/ld-elf/group9a.d: Likewise.
2037 * testsuite/ld-elf/group9b.d: Likewise.
2038 * testsuite/ld-elf/linkonce2.d: Likewise.
2039 * testsuite/ld-elf/pr12851.d: Likewise.
2040 * testsuite/ld-elf/pr12975.d: Likewise.
2041 * testsuite/ld-elf/pr13177.d: Likewise.
2042 * testsuite/ld-elf/pr13195.d: Likewise.
2043 * testsuite/ld-elf/pr17615.d: Likewise.
2044 * testsuite/ld-elf/pr19162.d: Likewise.
2045 * testsuite/ld-elf/sec64k.exp: Likewise.
2046 * testsuite/lib/ld-lib.exp: Likewise.
2047
1f599d0e
MR
20482016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2049
2050 PR ld/19908
2051 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2052 handling fix.
2053 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2054 * testsuite/ld-cris/tls-e-21.d: Likewise.
2055 * testsuite/ld-cris/tls-e-23.d: Likewise.
2056 * testsuite/ld-cris/tls-e-80.d: Likewise.
2057 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2058 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2059 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2060 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2061 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2062 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2063 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2064 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2065 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2066 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2067
a9fa4610
CZ
20682016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2069
2070 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2071 * testsuite/ld-discard/start.d: Likewise.
2072 * testsuite/ld-discard/static.d: Likewise.
2073 * testsuite/ld-elf/group1.d: Likewise.
2074 * testsuite/ld-elf/group3b.d: Likewise.
2075 * testsuite/ld-elf/orphan-region.d: Likewise.
2076 * testsuite/ld-elf/orphan.d: Likewise.
2077 * testsuite/ld-elf/orphan3.d: Likewise.
2078 * testsuite/ld-elf/pr349.d: Likewise.
2079 * testsuite/ld-elf/warn1.d: Likewise.
2080 * testsuite/ld-elf/warn2.d: Likewise.
2081 * testsuite/ld-elf/warn3.d: Likewise.
2082 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2083 through linker flags.
2084 * testsuite/ld-srec/srec.exp: Set as xfail.
2085
5fdf3872
L
20862016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 PR ld/19827
2089 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2090 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2091
a061de07
NC
20922016-04-04 Nick Clifton <nickc@redhat.com>
2093
2094 PR 19803
2095 * emultempl/pe.em (change_undef): New function. Encapsulates
2096 duplicated code in pe_fixup_stdcalls and adds the newly defined
2097 sym to the gc root list.
2098 (pe_fixup_stdcall): Use the new function.
2099 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2100 symbol to gc root list.
2101
fc90c280
AM
21022016-03-31 Alan Modra <amodra@gmail.com>
2103
2104 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2105 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2106 (print_input_section): Don't use TO_ADDR when printing section
2107 size.
2108 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2109 (lang_size_sections): Use TO_ADDR in relro end calculation.
2110
62bdf2d6
AB
21112016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2112
2113 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2114 value from regexp_diff.
2115 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2116 * testsuite/ld-elf/orphan-6.l: Likewise.
2117
a87dd97a
AM
21182016-03-30 Alan Modra <amodra@gmail.com>
2119
2120 PR 18452
2121 * ldlang.c (maybe_overlays): New static var.
2122 (lang_size_sections_1): Set it here.
2123 (struct check_sec): New.
2124 (sort_sections_by_lma): Adjust for array of structs.
2125 (sort_sections_by_vma): New function.
2126 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2127 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2128
ca62bc4a
AM
21292016-03-30 Alan Modra <amodra@gmail.com>
2130
2131 * ldlang.c (lang_size_sections_1): Correct code detecting a
2132 backward non-overlapping move.
2133
2e4a7aea
AM
21342016-03-30 Alan Modra <amodra@gmail.com>
2135
2136 * ldlang.c (IS_TBSS): New macro, extracted from..
2137 (IGNORE_SECTION): ..here.
2138 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2139 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2140
4153b6db
NC
21412016-03-22 Nick Clifton <nickc@redhat.com>
2142
2143 PR ld/19803
2144 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2145 symbol name to the list of gc symbols.
2146 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2147 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2148 and fini function names.
2149 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2150 the gc symbol list.
2151 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2152 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2153
9780e045
NC
21542016-03-22 Nick Clifton <nickc@redhat.com>
2155
2156 * configure: Regenerate.
2157
e1fa0163
NC
21582016-03-21 Nick Clifton <nickc@redhat.com>
2159
2160 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2161 * plugin.c: Likewise.
2162 * pe-dll.c: Likewise.
2163
45821bef
A
21642016-03-18 Awson <kyrab@mail.ru>
2165
2166 PR 19531
2167 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2168 this section.
2169 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2170
41f46ed9
SKS
21712016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2172
2173 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2174
4e0c91e4
L
21752016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 PR ld/19827
2178 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2179 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2180 * testsuite/ld-i386/pr19827.rd: New file.
2181 * testsuite/ld-i386/pr19827a.S: Likewise.
2182 * testsuite/ld-i386/pr19827b.S: Likewise.
2183 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2184 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2185 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2186
4c10bbaa
L
21872016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2188
2189 PR ld/19807
2190 * Makefile.am (ELF_X86_DEPS): Add
2191 $(srcdir)/emulparams/reloc_overflow.sh.
2192 * Makefile.in: Regenerated.
2193 * NEWS: Mention -z noreloc-overflow.
2194 * ld.texinfo: Document -z noreloc-overflow.
2195 * emulparams/elf32_x86_64.sh: Source
2196 ${srcdir}/emulparams/reloc_overflow.sh.
2197 * emulparams/elf_x86_64.sh: Likewise.
2198 * emulparams/reloc_overflow.sh: New file.
2199 * testsuite/ld-x86-64/pr19807-1.s: New file.
2200 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2201 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2202 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2203 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2204 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2205 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2206 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2207 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2208 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2209
3ab94f96
L
22102016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 PR ld/19539
2213 * testsuite/ld-i386/i386.exp: Run pr19539.
2214 * testsuite/ld-i386/pr19539.d: New file.
2215 * testsuite/ld-i386/pr19539.s: Likewise.
2216 * testsuite/ld-i386/pr19539.t: Likewise.
2217 * testsuite/ld-x86-64/pr19539.s: Likewise.
2218 * testsuite/ld-x86-64/pr19539.t: Likewise.
2219 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2220 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2221 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2222
a9f02af8
MG
22232016-03-10 Mickael Guene <mickael.guene@st.com>
2224
2225 PR gas/19744
2226 * testsuite/ld-arm/arm-elf.exp: New tests.
2227 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2228 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2229
878a6877
NC
22302016-03-10 Nick Clifton <nickc@redhat.com>
2231
2232 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2233
4b05e0a7
PA
22342016-03-09 Pedro Alves <palves@redhat.com>
2235
2236 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2237 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2238
9c1d7a08
L
22392016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 PR ld/19789
2242 * testsuite/ld-elf/pr19789.d: New file.
2243 * testsuite/ld-elf/pr19789.s: Likewise.
2244
d1ed1c7d
L
22452016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 PR ld/19784
2248 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2249 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2250 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2251 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2252 * testsuite/ld-ifunc/pass.out: New file.
2253 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2254 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2255 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2256
205ac185
L
22572016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 PR ld/19774
2260 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2261 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2262 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2263 --as-needed for pr18841c.
2264
23a4bd22
L
22652016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2266
2267 PR ld/19774
2268 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2269 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2270 before tmpdir/got1d.so and test --as-needed.
2271 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2272 tmpdir/pr18900.so and test --as-needed.
2273
18f822a0
JW
22742016-03-07 Jiong Wang <jiong.wang@arm.com>
2275
2276 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2277 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2278 result.
2279 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2280
46175b4e
L
22812016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2282
2283 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2284 before tmpdir/copyreloc-lib.so and test --as-needed.
2285 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2286
07492f66
L
22872016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 PR ld/19579
2290 * testsuite/ld-elf/pr19579a.c: New file.
2291 * testsuite/ld-elf/pr19579b.c: Likewise.
2292 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2293
7bcc503f
L
22942016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2295
2296 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2297
7494161b
L
22982016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2301 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2302
523f4c92
L
23032016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 PR ld/19739
2306 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2307 input sections for relocatable link.
2308 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2309 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2310
23112016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 PR ld/19739
e18b24a4 2314 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
2315 merge flags of other input sections for relocatable link.
2316
ef621b15
L
23172016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2320
2955a517
L
23212016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2322
2323 * testsuite/ld-elf/pr19162.d: Skip arc target.
2324
7f50ebc1
L
23252016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 PR ld/19162
2328 * testsuite/ld-elf/pr19162.d: New file.
2329 * testsuite/ld-elf/pr19162a.s: Likwise.
2330 * testsuite/ld-elf/pr19162b.s: Likwise.
2331
841fdfcd
CZ
23322016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2333
2334 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2335 * testsuite/ld-elf/merge2.d: Likewise.
2336 * testsuite/ld-elf/merge3.d: Likewise.
2337
7e458899
CZ
23382016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2339
2340 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2341 generated.
2342
c5e3a364
RL
23432016-02-26 Renlin Li <renlin.li@arm.com>
2344
2345 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2346 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2347 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2348 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2349 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2350 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2351 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2352 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2353 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2354 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2355
bae420ef
L
23562016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 PR ld/19609
2359 * testsuite/ld-i386/got1.dd: Updated.
2360 * testsuite/ld-i386/lea1c.d: Likewise.
2361 * testsuite/ld-i386/load1-nacl.d: Likewise.
2362 * testsuite/ld-i386/load1.d: Likewise.
2363 * testsuite/ld-i386/load4b.d: Likewise.
2364 * testsuite/ld-i386/load5b.d: Likewise.
2365 * testsuite/ld-i386/mov1b.d: Likewise.
2366 * testsuite/ld-x86-64/mov1b.d: Likewise.
2367 * testsuite/ld-x86-64/mov1d.d: Likewise.
2368 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2369 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2370 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2371 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2372 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2373 * testsuite/ld-x86-64/lea1a.d: Likewise.
2374 * testsuite/ld-x86-64/lea1b.d: Likewise.
2375 * testsuite/ld-x86-64/lea1c.d: Likewise.
2376 * testsuite/ld-x86-64/lea1d.d: Likewise.
2377 * testsuite/ld-x86-64/lea1e.d: Likewise.
2378 * testsuite/ld-x86-64/lea1f.d: Likewise.
2379 * testsuite/ld-x86-64/mov1b.d: Likewise.
2380 * testsuite/ld-x86-64/mov1d.d: Likewise.
2381 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2382 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2383 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2384 * testsuite/ld-i386/pr19609-1.s: New file.
2385 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2386 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2387 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2388 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2389 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2390 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2391 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2392 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2393 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2394 * testsuite/ld-i386/pr19609-2.s: Likewise.
2395 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2396 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2397 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2398 * testsuite/ld-i386/undefweak.s: Likewise.
2399 * testsuite/ld-i386/undefweaka.d: Likewise.
2400 * testsuite/ld-i386/undefweakb.d: Likewise.
2401 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2402 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2403 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2404 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2405 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2406 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2407 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2408 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2409 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2410 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2411 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2412 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2413 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2414 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2415 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2416 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2417 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2418 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2419 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2420 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2421 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2422 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2423 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2424 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2425 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2426 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2427 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2428 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2429 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2430 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2431 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2432 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2433 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2434 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2435 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2436 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2437 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2438 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2439 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2440 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2441 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2442 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2443 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2444 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2445 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2446 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2447 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2448 PR ld/19609.
2449 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2450 and tests for PR ld/19609.
2451
11e5f1ec
L
24522016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 PR ld/19645
2455 * NEWS: Mention -z common/-z nocommon for ELF targets.
2456 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2457 -z common and -z nocommon.
2458 * ld.texinfo: Document -z common/-z nocommon.
2459 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2460 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2461 --elf-stt-common=yes with assembler.
2462 * testsuite/ld-elfcomm/common-1.s: New file.
2463 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2464 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2465 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2466 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2467 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2468 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2469 * testsuite/ld-elfcomm/common-2.s: Likewise.
2470 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2471 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2472 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2473 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2474 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2475 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2476 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2477 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2478 * testsuite/ld-i386/pr19645.d: Likewise.
2479 * testsuite/ld-i386/pr19645.s: Likewise.
2480 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2481 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2482 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2483 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2484 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2485 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2486 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2487 * testsuite/ld-x86-64/pr19645.d: Likewise.
2488 * testsuite/ld-x86-64/pr19645.s: Likewise.
2489 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2490 with assembler.
2491 (assembler_generates_commons): Removed.
2492 Run -z common/-z nocommon tests. Run *.d tests.
2493 * testsuite/ld-i386/i386.exp: Run pr19645.
2494 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2495 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2496 assembler. Test STT_COMMON with readelf.
2497
aec6b87e
L
24982016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 PR ld/19636
2501 PR ld/19704
2502 PR ld/19719
2503 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2504 * Makefile.in: Regenerated.
2505 * NEWS: Mention -z nodynamic-undefined-weak.
2506 * ld.texinfo: Document -z nodynamic-undefined-weak.
2507 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2508 * emulparams/dynamic_undefined_weak.sh: New file.
2509 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2510 * emulparams/elf_i386.sh: Likewise.
2511 * emulparams/elf_i386_be.sh: Likewise.
2512 * emulparams/elf_i386_chaos.sh: Likewise.
2513 * emulparams/elf_i386_ldso.sh: Likewise.
2514 * emulparams/elf_i386_vxworks.sh: Likewise.
2515 * emulparams/elf_iamcu.sh: Likewise.
2516 * emulparams/elf_k1om.sh: Likewise.
2517 * emulparams/elf_l1om.sh: Likewise.
2518 * emulparams/elf_x86_64.sh: Likewise.
2519 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2520 Append.
2521 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2522 * testsuite/ld-elf/pr19719a.c: New file.
2523 * testsuite/ld-elf/pr19719b.c: Likewise.
2524 * testsuite/ld-elf/pr19719c.c: Likewise.
2525 * testsuite/ld-elf/pr19719d.c: Likewise.
2526 * testsuite/ld-i386/pr19636-1.s: Likewise.
2527 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2528 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2529 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2530 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2531 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2532 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2533 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2534 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2535 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2536 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2537 * testsuite/ld-i386/pr19636-2.s: Likewise.
2538 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2539 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2540 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2541 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2542 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2543 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2544 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2545 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2546 * testsuite/ld-i386/pr19636-3.s: Likewise.
2547 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2548 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2549 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2550 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2551 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2552 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2553 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2554 * testsuite/ld-i386/pr19636-4.s: Likewise.
2555 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2556 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2557 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2558 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2559 * testsuite/ld-i386/pr19704.out: Likewise.
2560 * testsuite/ld-i386/pr19704a.c: Likewise.
2561 * testsuite/ld-i386/pr19704b.c: Likewise.
2562 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2563 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2564 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2565 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2566 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2567 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2568 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2569 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2570 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2571 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2572 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2573 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2574 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2575 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2576 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2577 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2578 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2579 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2580 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2581 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2582 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2583 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2584 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2585 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2586 * testsuite/ld-x86-64/pr19704.out: Likewise.
2587 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2588 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2589 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2590 Run mix_pic_and_non_pic.
2591 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2592 Run undefined_weak and PR ld/19636 tests.
2593 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2594 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2595 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2596
920e4862
NC
25972016-02-25 Nick Clifton <nickc@redhat.com>
2598
2599 * ld.h (struct ld_config_type): Remove specified_data_size field.
2600
0f550b3d
L
26012016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 PR ld/19698
2604 * testsuite/ld-elf/pr19698.d: New file.
2605 * testsuite/ld-elf/pr19698.s: Likewise.
2606 * testsuite/ld-elf/pr19698.t: Likewise.
2607
31866b2c
L
26082016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * Makefile.am (ELF_X86_DEPS): New.
2611 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2612 (eelf_i386_chaos.c): Likewise.
2613 (eelf_i386_fbsd.c): Likewise.
2614 (eelf_i386_ldso.c): Likewise.
2615 (eelf_i386_nacl.c): Likewise.
2616 (eelf_i386_sol2.c): Likewise.
2617 (eelf_iamcu.c): Likewise.
2618 (eelf32_x86_64.c): Likewise.
2619 (eelf32_x86_64_nacl.c): Likewise.
2620 (eelf_l1om.c): Likewise.
2621 (eelf_l1om_fbsd.c): Likewise.
2622 (eelf_k1om.c): Likewise.
2623 (eelf_k1om_fbsd.c): Likewise.
2624 (eelf_x86_64.c): Likewise.
2625 (eelf_x86_64_cloudabi.c): Likewise.
2626 (eelf_x86_64_fbsd.c): Likewise.
2627 (eelf_x86_64_sol2.c): Likewise.
2628 * Makefile.in: Regenerated.
2629
6b3b0ab8
L
26302016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2633 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2634 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2635 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2636
de818c22
L
26372016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2640
c304e18e
L
26412016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2644 *-*-gnu* and *-*-solaris*.
2645 * testsuite/ld-elf/pr19617b.d: Likewise.
2646 * testsuite/ld-elf/pr19617c.d: Likewise.
2647
bf89386a
L
26482016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 PR ld/19617
2651 * testsuite/ld-elf/pr19617.s: New file.
2652 * testsuite/ld-elf/pr19617a.d: Likewise.
2653 * testsuite/ld-elf/pr19617b.d: Likewise.
2654 * testsuite/ld-elf/pr19617c.d: Likewise.
2655
06ea285d
NC
26562016-02-18 Nick Clifton <nickc@redhat.com>
2657
2658 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2659 in-tree xg++ executable after checking for the presence of an
2660 in-tree g++ executable.
2661 * Makefile.in: Regenerate.
2662
b27ab9ad
L
26632016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2666 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2667 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2668
8f79b794
L
26692016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2672 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2673 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2674 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2675 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2676 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2677 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2678 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2679 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2680 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2681 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2682 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2683 * testsuite/ld-x86-64/load1c.d: Likewise.
2684 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2685 * testsuite/ld-x86-64/load1d.d: Likewise.
2686 * testsuite/ld-x86-64/pr14207.d: Likewise.
2687 * testsuite/ld-x86-64/pr19162.d: Likewise.
2688 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2689 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2690 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2691 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2692 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2693 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2694
b3e3e0b7
NC
26952016-02-17 Nick Clifton <nickc@redhat.com>
2696
2697 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2698
9fb71ee4
NC
26992016-02-15 Nick Clifton <nickc@redhat.com>
2700
2701 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2702 description of the flags produced by readelf.
2703 * testsuite/ld-i386/pr12921.d: Likewise.
2704 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2705 * testsuite/ld-i386/tlsbin.rd: Likewise.
2706 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2707 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2708 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2709 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2710 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2711 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2712 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2713 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2714 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2715 * testsuite/ld-i386/tlspic.rd: Likewise.
2716 * testsuite/ld-s390/tlsbin.rd: Likewise.
2717 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2718 * testsuite/ld-s390/tlspic.rd: Likewise.
2719 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2720 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2721 * testsuite/ld-sh/tlspic-2.d: Likewise.
2722 * testsuite/ld-tic6x/common.d: Likewise.
2723 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2724 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2725 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2726 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2727 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2728 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2729 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2730 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2731 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2732 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2733 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2734 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2735 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2736 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2737 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2738 * testsuite/ld-x86-64/pr12718.d: Likewise.
2739 * testsuite/ld-x86-64/pr12921.d: Likewise.
2740 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2741 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2742 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2743 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2744 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2745 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2746 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2747 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2748 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2749 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2750 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2751 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2752 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2753 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2754
21a90cf1
L
27552016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 PR ld/19615
2758 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2759 PIE.
2760 * lexsup.c (parse_args): Enable -Bsymbolic and
2761 -Bsymbolic-functions for PIE.
ee5db48b 2762 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
2763 * testsuite/ld-i386/pr19615.d: New file.
2764 * testsuite/ld-i386/pr19615.s: Likewise.
2765 * testsuite/ld-x86-64/pr19615.d: Likewise.
2766 * testsuite/ld-x86-64/pr19615.s: Likewise.
2767
027e9c75
NC
27682016-02-09 Nick Clifton <nickc@redhat.com>
2769
2770 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2771 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2772 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2773 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2774
39306124
NC
27752016-02-04 Nick Clifton <nickc@redhat.com>
2776
2777 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2778 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2779 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2780 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2781 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2782 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2783 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2784 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2785 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2786
0cb4071e
L
27872016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 PR gas/19520
2790 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2791 * testsuite/ld-i386/call1.d: Likewise.
2792 * testsuite/ld-i386/call2.d: Likewise.
2793 * testsuite/ld-i386/call3a.d: Likewise.
2794 * testsuite/ld-i386/call3b.d: Likewise.
2795 * testsuite/ld-i386/call3c.d: Likewise.
2796 * testsuite/ld-i386/call3d.d: Likewise.
2797 * testsuite/ld-i386/call3e.d: Likewise.
2798 * testsuite/ld-i386/call3f.d: Likewise.
2799 * testsuite/ld-i386/call3g.d: Likewise.
2800 * testsuite/ld-i386/call3h.d: Likewise.
2801 * testsuite/ld-i386/jmp1.d: Likewise.
2802 * testsuite/ld-i386/jmp2.d: Likewise.
2803 * testsuite/ld-i386/lea1c.d: Likewise.
2804 * testsuite/ld-i386/load1.d: Likewise.
2805 * testsuite/ld-i386/load2.d: Likewise.
2806 * testsuite/ld-i386/load3.d: Likewise.
2807 * testsuite/ld-i386/load4a.d: Likewise.
2808 * testsuite/ld-i386/load5a.d: Likewise.
2809 * testsuite/ld-i386/mov2b.d: Likewise.
2810 * testsuite/ld-i386/mov3.d: Likewise.
2811 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2812 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2813 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2814 * testsuite/ld-x86-64/call1a.d: Likewise.
2815 * testsuite/ld-x86-64/call1b.d: Likewise.
2816 * testsuite/ld-x86-64/call1c.d: Likewise.
2817 * testsuite/ld-x86-64/call1d.d: Likewise.
2818 * testsuite/ld-x86-64/call1e.d: Likewise.
2819 * testsuite/ld-x86-64/call1f.d: Likewise.
2820 * testsuite/ld-x86-64/call1h.d: Likewise.
2821 * testsuite/ld-x86-64/call1i.d: Likewise.
2822 * testsuite/ld-x86-64/load1a.d: Likewise.
2823 * testsuite/ld-x86-64/load1b.d: Likewise.
2824 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2825 * testsuite/ld-i386/got1.dd: Updated.
2826 * testsuite/ld-i386/got1d.S (1): Removed.
2827 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2828 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2829
6ba2af25
L
28302016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 PR ld/18591
2833 * testsuite/ld-x86-64/pr18591.d: New file.
2834 * testsuite/ld-x86-64/pr18591.s: Likewise.
2835 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2836
aef28989
L
28372016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 PR ld/19553
2840 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2841 * testsuite/ld-elf/pr19553.map: New file.
2842 * testsuite/ld-elf/pr19553.map: Likewise.
2843 * testsuite/ld-elf/pr19553a.c: Likewise.
2844 * testsuite/ld-elf/pr19553b.c: Likewise.
2845 * testsuite/ld-elf/pr19553b.out: Likewise.
2846 * testsuite/ld-elf/pr19553c.c: Likewise.
2847 * testsuite/ld-elf/pr19553c.out: Likewise.
2848 * testsuite/ld-elf/pr19553d.c: Likewise.
2849 * testsuite/ld-elf/pr19553d.out: Likewise.
2850
d9e3b590
L
28512016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 PR ld/19539
2854 * testsuite/ld-elf/pr19539.d: New file.
2855 * testsuite/ld-elf/pr19539.s: Likewise.
2856 * testsuite/ld-elf/pr19539.t: Likewise.
2857
621ff761
L
28582016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 PR ld/19533
2861 * configure.ac (compressed_debug_sections): Replace == with =.
2862 * configure: Regenerated.
2863
7585b2b8
DC
28642016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2865
2866 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2867 * scripttempl/avrtiny.sc (.noinit): Likewise.
2868
aebf9be7
NC
28692016-01-21 Nick Clifton <nickc@redhat.com>
2870
dfc43940
NC
2871 PR ld/19453
2872 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2873 the arm-netbsdelf target.
2874
aebf9be7
NC
2875 PR ld/19455
2876 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2877 disassmebler output.
2878 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2879 * testsuite/ld-arm/vxworks1.dd: Likewise.
2880 * testsuite/ld-arm/vxworks1.rd: Likewise.
2881 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2882
2f340668
JW
28832016-01-20 Jiong Wang <jiong.wang@arm.com>
2884
2885 * testsuite/ld-aarch64/farcall-section.d: Delete.
2886 * testsuite/ld-aarch64/farcall-section.s: Delete.
2887 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2888 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2889 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2890 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2891 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2892
fdbd3e95
NC
28932016-01-20 Nick Clifton <nickc@redhat.com>
2894
2895 PR 19457
2896 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2897 early for PE based targets.
2898 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2899 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2900
91f68a68
MG
29012016-01-20 Mickael Guene <mickael.guene@st.com>
2902
2903 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2904 Add 'y' attribute usage.
2905 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2906 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2907 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2908
a4af960a
NC
29092016-01-19 Nick Clifton <nickc@redhat.com>
2910
2911 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2912 foo@FOO and bar@@FOO.
2913
3d961d0d
AM
29142016-01-18 Alan Modra <amodra@gmail.com>
2915
2916 * configure: Regenerate.
2917
760f6ee8
NC
29182016-01-18 Nick Clifton <nickc@redhat.com>
2919
2920 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2921 is not configured to support plugins.
2922
24f03d4e
NC
2923 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2924 but with 16 byte section alignment.
2925 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2926 test for MIPS targets.
2927
5c14705f
AM
29282016-01-17 Alan Modra <amodra@gmail.com>
2929
2930 * configure: Regenerate.
2931
b3066ae8
AM
29322016-01-17 Alan Modra <amodra@gmail.com>
2933
2934 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2935 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2936 * testsuite/ld-elf/pr14156a.d: Likewise.
2937 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2938 * testsuite/ld-elf/sec64k.exp: Likewise.
2939
4c4ac964
TP
29402016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2941
2942 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2943 Set address of .foo section when linking.
2944 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2945 in .foo section.
2946 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2947 output to the above changes.
2948
1bce3adf
NC
29492016-01-13 Nick Clifton <nickc@redhat.com>
2950
84054199
NC
2951 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2952 for MIPS targets.
2953
13ce3603
NC
2954 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2955 fail for MIPS targets.
2956
1bce3adf
NC
2957 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2958 MIPS targets.
2959
ac06903d
YU
29602016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2961
2962 * testsuite/ld-arm/arm-elf.exp: New test.
2963 * testsuite/ld-arm/unwind-mix.d: New file.
2964 * testsuite/ld-arm/unwind-mix1.s: New file.
2965 * testsuite/ld-arm/unwind-mix2.s: New file.
2966
109575d7
JW
29672016-01-08 Jiong Wang <jiong.wang@arm.com>
2968
2969 PR ld/19368
2970 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2971 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2972 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2973 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2974 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2975 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2976
296ebfbb
NC
29772016-01-05 Nick Clifton <nickc@redhat.com>
2978
2979 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2980 MSP430 hardware multiply address range.
2981 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2982 (__romdatacopysize): Define.
2983 * scripttempl/elf32msp430_3.sc: Likewise.
2984
2f2da8fd
MR
29852016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2986
2987 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2988 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2989
d537eeb5
MR
29902016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2991
2992 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2993 messages expected according to MIPS BFD private data merge
2994 changes.
2995 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2996 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2997 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2998 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2999 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3000 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3001 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3002 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3003 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3004 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3005 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3006 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3007 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3008
6f2750fe
AM
30092016-01-01 Alan Modra <amodra@gmail.com>
3010
3011 Update year range in copyright notice of all files.
3012
3499769a
AM
3013For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3014\f
3015Copyright (C) 2016 Free Software Foundation, Inc.
3016
3017Copying and distribution of this file, with or without modification,
3018are permitted in any medium without royalty provided the copyright
3019notice and this notice are preserved.
3020
3021Local Variables:
3022mode: change-log
3023left-margin: 8
3024fill-column: 74
3025version-control: never
3026End:
This page took 0.178786 seconds and 4 git commands to generate.