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