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