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