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