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