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