1 2016-10-11 Nick Clifton <nickc@redhat.com>
4 * emultempl/elf32.em (_search_needed): Add support for pseudo
5 environment variables supported by ld.so. Namely $ORIGIN, $LIB
7 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
8 * config.in: Regenerate.
9 * configure: Regenerate.
11 2016-10-11 Alan Modra <amodra@gmail.com>
13 * ldlang.c (lang_do_assignments_1): Descend into output section
14 statements that do not yet have bfd sections. Set symbol section
15 temporarily for symbols defined in such statements to the undefined
16 section. Don't error on data or reloc statements until final phase.
17 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
19 * testsuite/ld-mmix/bpo-10.d: Adjust.
20 * testsuite/ld-mmix/bpo-11.d: Adjust.
22 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
24 * emulparams/elf64_s390.sh: Move binary start to 16M.
25 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
26 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
28 2016-10-07 Alan Modra <amodra@gmail.com>
30 * ldexp.c (MAX): Define.
31 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
34 2016-10-07 Alan Modra <amodra@gmail.com>
36 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
37 * testsuite/ld-elf/elf.exp: ..here.
39 2016-10-06 Ludovic Courtès <ludo@gnu.org>
41 * emulparams/elf32bmipn32-defs.sh: Shift quote of
42 "x$EMULATION_NAME" to the left to work around
43 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
45 2016-10-06 Alan Modra <amodra@gmail.com>
47 * lexsup.c: Spell fall through comments consistently and add
48 missing fall through comments.
50 2016-10-06 Alan Modra <amodra@gmail.com>
52 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
55 2016-10-04 Alan Modra <amodra@gmail.com>
57 * ld.texinfo (Expression Section): Update result of arithmetic
59 * ldexp.c (arith_result_section): New function.
60 (fold_binary): Use it.
62 2016-10-04 Alan Modra <amodra@gmail.com>
64 * ldexp.c (exp_value_fold): New function.
65 (exp_unop, exp_binop, exp_trinop): Use it.
67 2016-09-30 Alan Modra <amodra@gmail.com>
69 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
71 * scripttempl/v850_rh850.sc: Likewise.
73 2016-09-30 Alan Modra <amodra@gmail.com>
76 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
77 multiple .text sections for hppa-linux.
78 * testsuite/ld-elf/pr20528b.d: Likewise.
80 2016-09-30 Alan Modra <amodra@gmail.com>
82 * ldmain.c (default_bfd_error_handler): New function pointer.
83 (ld_bfd_error_handler): New function.
84 (main): Arrange to call it on bfd errors/warnings.
85 (ld_bfd_assert_handler): Enable tail call.
87 2016-09-30 Alan Modra <amodra@gmail.com>
89 * ldlang.c (ignore_bfd_errors): Update params.
91 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
94 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
95 merge 2 sections with different SHF_EXCLUDE.
96 * testsuite/ld-elf/pr20528a.d: New file.
97 * testsuite/ld-elf/pr20528a.s: Likewise.
98 * testsuite/ld-elf/pr20528b.d: Likewise.
99 * testsuite/ld-elf/pr20528b.s: Likewise.
101 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
104 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
105 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
106 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
107 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
108 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
110 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
112 * Makefile.in: Regenerate.
113 * configure: Likewise.
115 2016-09-26 Alan Modra <amodra@gmail.com>
117 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
118 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
119 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
120 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
121 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
122 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
123 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
124 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
125 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
126 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
127 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
128 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
129 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
130 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
131 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
132 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
133 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
135 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
138 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
139 line and -r option to objdump command line. Match emitted relocs
140 to make sure that superflous relocs are not generated.
142 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
144 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
145 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
146 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
148 2016-09-22 Nick Clifton <nickc@redhat.com>
150 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
151 attempts to find a needed library.
153 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
155 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
157 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
158 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
159 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
160 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
161 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
162 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
163 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
164 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
165 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
166 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
167 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
168 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
169 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
170 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
171 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
172 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
173 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
174 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
175 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
176 * testsuite/ld-aarch64/erratum835769.d: Likewise.
177 * testsuite/ld-aarch64/erratum843419.d: Likewise.
178 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
179 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
180 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
181 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
182 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
183 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
184 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
185 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
186 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
187 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
188 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
189 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
190 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
191 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
192 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
193 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
194 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
195 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
197 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
199 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
200 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
202 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
204 * ld.texinfo (Input Section Basics): Expand the description of
207 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
209 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
210 Extensions entry functions in absolute section.
211 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
213 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
215 * testsuite/ld-arc/tls-dtpoff.dd: New file.
216 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
217 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
218 * testsuite/ld-arc/tls-relocs.ld: Likewise.
219 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
221 2016-09-14 Nick Clifton <nickc@redhat.com>
224 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
225 OPTION_NO_EH_FRAME_HDR.
226 (_add_options): Add support for --no-eh-frame-hdr.
227 * ld.texinfo: Document new option.
228 * lexsup.c (elf_shlib_list_options): List new option.
229 * NEWS: Mention the new option.
231 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
234 * testsuite/ld-x86-64/pr20550a.s: New file.
235 * testsuite/ld-x86-64/pr20550b.s: Likewise.
236 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
239 2016-09-06 Nick Clifton <nickc@redhat.com>
241 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
242 without any sanitization options.
243 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
244 any sanitization options.
245 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
246 as CFLAGS and CXXFLAGS respectively.
248 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
251 * testsuite/ld-avr/avr-prop-7.d: New test.
252 * testsuite/ld-avr/avr-prop-7.s: New test.
253 * testsuite/ld-avr/avr-prop-8.d: New test.
254 * testsuite/ld-avr/avr-prop-8.s: New test.
256 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
258 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
260 * testsuite/ld-elf/pr20513d.d: Likewise.
262 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
265 * testsuite/ld-elf/pr20513a.d: New file.
266 * testsuite/ld-elf/pr20513a.s: Likewise.
267 * testsuite/ld-elf/pr20513b.d: Likewise.
268 * testsuite/ld-elf/pr20513b.s: Likewise.
269 * testsuite/ld-elf/pr20513c.d: Likewise.
270 * testsuite/ld-elf/pr20513d.d: Likewise.
271 * testsuite/ld-elf/pr20513e.d: Likewise.
272 * testsuite/ld-elf/pr20513f.d: Likewise.
274 2016-08-31 Alan Modra <amodra@gmail.com>
277 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
279 2016-08-31 Alan Modra <amodra@gmail.com>
281 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
282 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
283 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
284 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
285 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
287 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
289 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
290 * testsuite/ld-arc/tls_ie-01.d: Likewise.
292 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
294 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
295 if ifunc attribute works.
297 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
301 * testsuite/ld-i386/i386.exp: Run pr20515.
302 * testsuite/ld-i386/pr20515.d: New file.
303 * testsuite/ld-i386/pr20515.s: Likewise.
304 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
306 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
307 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
308 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
309 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
310 * testsuite/ld-x86-64/x86-64.exp: Here.
311 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
312 * testsuite/ld-x86-64/pr19784a.c: Here.
313 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
314 * testsuite/ld-x86-64/pr19784b.c: Here.
315 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
316 * testsuite/ld-x86-64/pr19784c.c: Here.
318 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
320 * emultempl/armelf.em (params): New static variable.
321 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
322 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
323 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
324 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
326 (arm_elf_before_allocation): Access static variable from the params
328 (gld${EMULATION_NAME}_finish): Likewise.
329 (arm_elf_create_output_section_statements): Likewise and pass the
330 address of that structure to bfd_elf32_arm_set_target_relocs instead
331 of the static variables.
332 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
335 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
337 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
338 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
340 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
342 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
343 * testsuite/ld-arc/tls_ie-01.d: Likewise
345 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
347 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
349 (arm_elf_create_output_section_statements): Open import input library
350 file for writing and pass resulting in_implib_bfd to
351 bfd_elf32_arm_set_target_relocs.
352 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
353 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
354 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
355 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
356 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
357 (--in-implib): Document new option.
359 * testsuite/ld-arm/arm-elf.exp
360 (Secure gateway import library generation): add --defsym VER=1 to gas
362 (Secure gateway import library generation: errors): Likewise.
363 (Input secure gateway import library): New test.
364 (Input secure gateway import library: no output import library):
366 (Input secure gateway import library: not an SG input import library):
368 (Input secure gateway import library: earlier stub section base):
370 (Input secure gateway import library: later stub section base):
372 (Input secure gateway import library: veneer comeback): Likewise.
373 (Input secure gateway import library: entry function change):
375 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
376 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
377 * testsuite/ld-arm/cmse-new-implib.out: New file.
378 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
379 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
380 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
381 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
382 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
383 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
385 2016-08-25 Alan Modra <amodra@gmail.com>
387 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
388 support for BE. First output all target endian configury
389 values, then opposite endian. Handle more tooldirs. Fix
390 bogus matches with strings in MANUF-OS part of target triple.
392 2016-08-23 Alan Modra <amodra@gmail.com>
394 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
397 2016-08-19 Nick Clifton <nickc@redhat.com>
399 * emultempl/aarch64elf.em (before_parse): Initialise the relro
400 field in the link_info structure.
401 * emultempl/armelf.em (before_parse): Likewise.
402 * emultempl/linux.em (before_parse): Likewise.
403 * emultempl/scoreelf.em (before_parse): Likewise.
405 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
406 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
407 * testsuite/ld-alpha/tlspic.rd: Likewise.
408 * testsuite/ld-cris/libdso-2.d: Likewise.
409 * testsuite/ld-i386/nogot1.d: Likewise.
410 * testsuite/ld-i386/pr12718.d: Likewise.
411 * testsuite/ld-i386/pr12921.d: Likewise.
412 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
413 * testsuite/ld-i386/tlsbin.rd: Likewise.
414 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
415 * testsuite/ld-i386/tlsbin2.rd: Likewise.
416 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
417 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
418 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
419 * testsuite/ld-i386/tlsdesc.rd: Likewise.
420 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
421 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
422 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
423 * testsuite/ld-i386/tlsnopic.rd: Likewise.
424 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
425 * testsuite/ld-i386/tlspic.rd: Likewise.
426 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
427 * testsuite/ld-i386/tlspic2.rd: Likewise.
428 * testsuite/ld-ia64/tlsbin.rd: Likewise.
429 * testsuite/ld-ia64/tlspic.rd: Likewise.
430 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
431 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
432 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
433 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
434 * testsuite/ld-mmix/bspec1.d: Likewise.
435 * testsuite/ld-mmix/bspec2.d: Likewise.
436 * testsuite/ld-mmix/local1.d: Likewise.
437 * testsuite/ld-mmix/local3.d: Likewise.
438 * testsuite/ld-mmix/local5.d: Likewise.
439 * testsuite/ld-mmix/local7.d: Likewise.
440 * testsuite/ld-mmix/undef-3.d: Likewise.
441 * testsuite/ld-powerpc/tlsexe.r: Likewise.
442 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
443 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
444 * testsuite/ld-powerpc/tlsso.r: Likewise.
445 * testsuite/ld-powerpc/tlsso32.r: Likewise.
446 * testsuite/ld-powerpc/tlstocso.r: Likewise.
447 * testsuite/ld-s390/tlsbin.rd: Likewise.
448 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
449 * testsuite/ld-s390/tlspic.rd: Likewise.
450 * testsuite/ld-s390/tlspic_64.rd: Likewise.
451 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
452 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
453 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
454 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
455 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
456 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
457 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
458 * testsuite/ld-sh/tlsbin-2.d: Likewise.
459 * testsuite/ld-sh/tlspic-2.d: Likewise.
460 * testsuite/ld-sparc/gotop32.rd: Likewise.
461 * testsuite/ld-sparc/gotop64.rd: Likewise.
462 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
463 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
464 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
465 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
466 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
467 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
468 * testsuite/ld-tic6x/common.d: Likewise.
469 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
470 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
471 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
472 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
473 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
474 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
475 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
476 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
477 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
478 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
479 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
480 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
481 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
482 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
483 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
484 * testsuite/ld-x86-64/nogot1.d: Likewise.
485 * testsuite/ld-x86-64/pr12718.d: Likewise.
486 * testsuite/ld-x86-64/pr12921.d: Likewise.
487 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
488 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
489 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
490 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
491 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
492 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
493 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
494 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
495 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
496 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
497 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
498 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
499 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
500 * testsuite/ld-x86-64/tlspic.rd: Likewise.
501 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
502 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
503 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
504 * testsuite/ld-xtensa/tlspic.rd: Likewise.
506 2016-08-18 Alan Modra <amodra@gmail.com>
508 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
511 2016-08-12 Alan Modra <amodra@gmail.com>
513 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
514 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
515 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
516 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
517 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
518 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
519 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
520 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
521 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
522 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
523 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
524 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
525 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
527 2016-08-12 Alan Modra <amodra@gmail.com>
529 * testsuite/ld-undefined/weak-fundef.s: New.
530 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
531 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
532 much of old code. Use is_elf_format to select targets.
534 2016-08-11 Alan Modra <amodra@gmail.com>
537 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
539 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
541 2016-08-11 Nick Clifton <nickc@redhat.com>
544 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
545 testing remotely, check to see if target compiler is installed
546 before trying to run it.
548 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
551 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
554 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
556 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
558 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
560 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
561 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
562 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
564 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
566 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
568 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
571 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
573 (check_lto_available): Return 0 if check_gcc_plugin_enabled
575 (check_lto_fat_available): Likewise.
576 (check_lto_shared_available): Likewise.
578 2016-08-09 Roland McGrath <roland@hack.frob.com>
580 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
582 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
584 * emultempl/armelf.em (cmse_implib): Declare and define this new
586 (arm_elf_create_output_section_statements): Add new cmse_implib
588 (OPTION_CMSE_IMPLIB): Define macro.
589 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
590 (PARSE_AND_LIST_OPTIONS): Likewise.
591 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
592 * ld.texinfo (--cmse-implib): Document new option.
593 * testsuite/ld-arm/arm-elf.exp
594 (Secure gateway import library generation): New test.
595 (Secure gateway import library generation: errors): Likewise.
596 * testsuite/ld-arm/cmse-implib.s: New file.
597 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
598 * testsuite/ld-arm/cmse-implib.rd: Likewise.
600 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
602 * ld.texinfo (Placement of SG veneers): New concept entry.
603 * testsuite/ld-arm/arm-elf.exp
604 (Secure gateway veneers: no .gnu.sgstubs section): New test.
605 (Secure gateway veneers: wrong entry functions): Likewise.
606 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
607 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
608 * testsuite/ld-arm/cmse-veneers.s: New file.
609 * testsuite/ld-arm/cmse-veneers.d: Likewise.
610 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
611 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
612 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
613 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
615 2016-08-02 Nick Clifton <nickc@redhat.com>
618 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
620 * emulparams/shelf32.sh: Likewise.
621 * emulparams/shelf32.sh: Likewise.
622 * emulparams/shelf_nto.sh: Likewise.
623 * emulparams/shelf_nto.sh: Likewise.
624 * emulparams/shelf_vxworks.sh: Likewise.
625 * emulparams/shelf_vxworks.sh: Likewise.
626 * emulparams/shlelf32_linux.sh: Likewise.
627 * emulparams/shlelf32_linux.sh: Likewise.
628 * emulparams/shlelf_linux.sh: Likewise.
629 * emulparams/shlelf_linux.sh: Likewise.
630 * emulparams/shlelf_nto.sh: Likewise.
631 * emulparams/shlelf_nto.sh: Likewise.
633 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
635 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
636 patterns for branch compaction.
637 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
640 2016-07-27 Nick Clifton <nickc@redhat.com>
642 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
643 test to targets which support cfi.
645 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
647 * ldbuildid.c (generate_build_id): Warning fix.
649 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
651 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
652 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
653 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
654 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
656 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
658 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
660 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
662 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
664 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
666 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
668 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
670 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
672 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
674 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
676 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
678 * ldbuildid.c: Changes for MinGW32:
679 Include windows.h and rpcdce.h.
680 (validate_build_id_style): Allow "uuid" style.
681 (generate_build_id): Fill in id_bits using UuidCreate().
683 2016-07-25 Alan Modra <amodra@gmail.com>
685 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
686 and m32r. Correct comment. Relax ld -r match to account for
687 msp increased number of default sections.
689 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
691 * testsuite/ld-arc/got-01.d: New file.
692 * testsuite/ld-arc/got-01.s: New file.
694 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
696 * configure: Regenerated.
698 2016-07-21 Alan Modra <amodra@gmail.com>
700 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
701 "targets_to_xfail" parameter with "args".
702 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
703 all calls to run_ld_link_exec_tests.
704 * testsuite/ld-elf/dwarf.exp: Likewise.
705 * testsuite/ld-elf/indirect.exp: Likewise.
706 * testsuite/ld-elf/wrap.exp: Likewise.
707 * testsuite/ld-i386/i386.exp: Likewise.
708 * testsuite/ld-i386/no-plt.exp: Likewise.
709 * testsuite/ld-i386/tls.exp: Likewise.
710 * testsuite/ld-ifunc/ifunc.exp: Likewise.
711 * testsuite/ld-pie/pie.exp: Likewise.
712 * testsuite/ld-plugin/lto.exp: Likewise.
713 * testsuite/ld-size/size.exp: Likewise.
714 * testsuite/ld-x86-64/mpx.exp: Likewise.
715 * testsuite/ld-x86-64/no-plt.exp: Likewise.
716 * testsuite/ld-x86-64/tls.exp: Likewise.
717 * testsuite/ld-x86-64/x86-64.exp: Likewise.
718 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
719 xfails and simplify lists.
720 * testsuite/ld-elf/shared.exp: Likewise.
722 2016-07-21 Alan Modra <amodra@gmail.com>
724 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
725 parameter to pass list of xfails.
726 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
727 implib test formatting. Don't set .data start address.
728 * testsuite/ld-elf/implib.s: Remove first .bss directive and
729 replace second one with equivalent .section directive.
730 * testsuite/ld-elf/empty-implib.out: Add expected final error.
731 * testsuite/ld-elf/implib.rd: Update.
733 2016-07-20 Alan Modra <amodra@gmail.com>
735 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
737 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
739 2016-07-19 Roland McGrath <roland@hack.frob.com>
741 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
742 * emulparams/aarch64elf32.sh: Likewise.
744 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
746 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
748 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
749 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
750 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
751 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
752 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
753 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
754 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
755 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
756 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
757 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
758 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
759 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
760 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
761 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
762 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
763 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
764 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
765 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
766 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
768 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
770 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
772 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
774 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
776 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
777 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
779 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
781 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
782 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
783 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
784 microMIPS BAL and MIPS16 instructions.
785 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
787 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
788 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
789 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
790 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
791 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
792 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
793 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
794 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
795 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
797 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
799 * plugin.c (plugin_call_claim_file): Restore the file offset after
800 an unsuccessful attempt to claim a file.
801 * testplug.c (bytes_to_read_before_claim): New global.
802 (record_read_length): New function, sets new global
803 bytes_to_read_before_claim.
804 (parse_option): Handle 'read:<NUMBER>' option.
805 (onclaim_file): Read file content before checking for claim.
806 * testsuite/ld-plugin/plugin-30.d: New file.
807 * testsuite/ld-plugin/plugin.exp: Add new test.
809 2016-07-16 Alan Modra <amodra@gmail.com>
811 * plugin.c: Don't include libbfd.h. Include plugin-api.h
813 (plugin_object_p): Use bfd_plugin_open_input.
815 2016-07-16 Alan Modra <amodra@gmail.com>
817 * ldlang.c (open_output): Replace bfd_search_for_target with
818 bfd_iterate_over_targets. Localize vars.
820 2016-07-16 Alan Modra <amodra@gmail.com>
822 * ldlang.c: Don't include libbfd.h.
823 * emultempl/nds32elf.em: Likewise.
824 * emultempl/ppc64elf.em: Likewise.
825 * emultempl/ppc32elf.em: Likewise.
827 (params): Update init.
828 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
829 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
830 * emultempl/sh64elf.em: Don't include libbfd.h.
831 (after_allocation): Use ASSERT, not BFD_ASSERT.
832 * emultempl/xtensaelf.em: Don't include libbfd.h.
833 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
834 * Makefile.am: Update dependencies.
835 * Makefile.in: Regenerate.
837 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
838 Nick Clifton <nickc@redhat.com>
840 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
841 library file for writing and initialize implib_bfd field of link_info
843 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
844 (OPTION_IMPLIB_FILENAME): Remove macro definition.
845 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
846 (gld_${EMULATION_NAME}_list_options): Likewise.
847 (gld${EMULATION_NAME}_handle_option): Likewise.
848 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
849 instead of pe_implib_filename.
850 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
851 (OPTION_IMPLIB_FILENAME): Remove enumerator.
852 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
853 (gld_${EMULATION_NAME}_list_options): Likewise.
854 (gld${EMULATION_NAME}_handle_option): Likewise.
855 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
856 instead of pep_implib_filename.
857 * ld.h (args_type): Declare new out_implib_filename field.
858 * ld.texinfo (--out-implib): Move documentation to arch-independent
859 part and rephrase to apply to ELF targets.
860 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
861 defined in linker scripts.
862 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
864 * lexsup.c (ld_options): Add entry for new --out-implib switch.
865 (parse_args): Handle OPTION_OUT_IMPLIB case.
866 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
867 (Generate import library): Likewise.
868 * testsuite/ld-elf/implib.s: Likewise.
869 * testsuite/ld-elf/implib.rd: New file.
870 * testsuite/ld-elf/empty-implib.out: Likewise
872 2016-07-15 Nick Clifton <nickc@redhat.com>
874 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
877 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
879 * testsuite/ld-mips-elf/mips-elf.exp: Run
880 `branch-absolute-addend', `mips16-branch-absolute',
881 `mips16-branch-absolute-addend' and
882 `micromips-branch-absolute-addend'.
884 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
886 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
887 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
888 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
889 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
891 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
893 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
895 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
896 from `mips16-branch-absolute' and
897 `mips16-branch-absolute-addend', referred indirectly only.
899 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
901 * testsuite/ld-mips-elf/branch-absolute.d: New test.
902 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
903 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
904 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
905 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
906 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
907 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
908 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
910 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
912 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
914 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
916 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
918 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
919 from `branch-absolute-addend' and
920 `micromips-branch-absolute-addend', referred indirectly only.
922 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
924 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
925 * testsuite/ld-arc/sda-relocs.dd: New file.
926 * testsuite/ld-arc/sda-relocs.ld: Likewise.
927 * testsuite/ld-arc/sda-relocs.rd: Likewise.
928 * testsuite/ld-arc/sda-relocs.s: Likewise.
929 * testsuite/ld-arc/arc.exp: Add SDA tests.
931 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
933 * testsuite/ld-arc/nps-1b.err: Update test to handle more
936 2016-07-09 Alan Modra <amodra@gmail.com>
938 * testsuite/ld-powerpc/elfv2exe.d: Update.
940 2016-07-06 James Bowman <james.bowman@ftdichip.com>
942 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
946 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
948 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
950 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
952 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
953 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
954 * testsuite/ld-arm/arm-elf.exp: Run it.
956 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
958 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
959 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
960 all noread's by purecode.
962 2016-07-05 Jan Beulich <jbeulich@suse.com>
964 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
965 assignment line number.
966 * ldlex.l (lineno): Drop initializer.
967 (<<EOF>>): Set lineno to zero after reaching top of stack.
969 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
972 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
974 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
975 * testsuite/ld-plugin/pr20321.c: New file.
977 2016-07-04 Nick Clifton <nickc@redhat.com>
979 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
980 (__RAMSIZE): If not defined, set to 64K.
981 (MEMORY): Set the flash region size to __PMSIZE and the ram region
984 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
986 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
987 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
989 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
991 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
992 (Thumb-2 BL on ARMv6-M): New testcase.
993 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
994 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
996 2016-07-01 Tristan Gingold <gingold@adacore.com>
998 * NEWS: Add marker for 2.27.
1000 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1002 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1003 * ld-gc/pr20306.c: New file.
1004 * ld-gc/pr20306.d: Likewise.
1006 2016-06-28 Nick Clifton <nickc@redhat.com>
1008 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1010 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1011 tests to fail for bfin.
1012 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1014 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1016 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1019 2016-06-28 Nick Clifton <nickc@redhat.com>
1021 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1022 expect to fail this test.
1023 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1025 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1027 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1028 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1029 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1030 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1031 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1033 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1035 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1038 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1040 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1041 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1042 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1043 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1045 2016-06-28 Alan Modra <amodra@gmail.com>
1048 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1050 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1052 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1053 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1054 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1055 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1056 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1057 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1059 2016-06-27 Nick Clifton <nickc@redhat.com>
1062 * lexsup.c (set_segment_start): If resetting the start address of
1063 a section, remember to generate a new script element as well.
1064 * testsuite/ld-scripts/pr20302.d: New test.
1065 * testsuite/ld-scripts/scripts.exp: Run the new test.
1067 2016-06-24 Alan Modra <amodra@gmail.com>
1069 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1070 Don't error out, always return an emulation.
1072 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1073 H.J. Lu <hongjiu.lu@intel.com>
1075 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1076 for -z relro help message.
1078 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1080 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1083 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1085 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1086 `undefweak-overflow' tests.
1088 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1091 * NEWS: Mention --enable-relro.
1092 * configure.ac: Add --enable-relro.
1093 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1094 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1096 * config.in: Regenerated.
1097 * configure: Likewise.
1098 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1099 link_info.relro to DEFAULT_LD_Z_RELRO.
1100 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1101 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1102 $ld_elf_shared_opt to ld for ELF targets with shared object
1104 (run_ld_link_tests): Likewise.
1106 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1108 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1109 twice rather than once.
1110 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1111 accordingly. Remove the full stop from the end of the message.
1113 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1115 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1116 * testsuite/ld-arc/nps-1b.d: Likewise.
1118 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1121 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1123 (lto_run_tests): Likewise.
1124 * testsuite/ld-plugin/pr20267a.c: New file.
1125 * testsuite/ld-plugin/pr20267b.c: Likewise.
1127 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1128 Alan Modra <amodra@gmail.com>
1131 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1132 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1134 (lto_run_tests): Likewise.
1135 * testsuite/ld-plugin/pass.out: New file.
1136 * testsuite/ld-plugin/pr20276a.c: Likewise.
1137 * testsuite/ld-plugin/pr20276b.c: Likewise.
1139 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1141 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1142 with bfd_plugin_unknown.
1144 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1147 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1148 * testsuite/ld-i386/no-plt.exp: Likewise.
1149 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1150 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1151 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1152 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1153 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1154 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1155 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1156 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1157 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1158 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1159 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1160 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1161 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1162 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1163 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1164 * testsuite/ld-i386/pr20244-2b.d: Updated.
1165 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1166 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1167 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1168 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1169 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1170 * testsuite/ld-i386/pr20253-1a.c: New file.
1171 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1172 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1173 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1174 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1175 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1176 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1177 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1178 * testsuite/ld-i386/pr20253-3.d: Likewise.
1179 * testsuite/ld-i386/pr20253-3.s: Likewise.
1180 * testsuite/ld-i386/pr20253-4.s: Likewise.
1181 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1182 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1183 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1184 * testsuite/ld-i386/pr20253-5.d: Likewise.
1185 * testsuite/ld-i386/pr20253-5.s: Likewise.
1186 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1187 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1188 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1189 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1190 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1191 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1192 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1193 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1194 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1195 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1196 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1197 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1198 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1199 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1200 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1201 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1202 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1203 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1204 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1205 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1206 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1207 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1208 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1209 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1210 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1211 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1212 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1213 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1214 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1215 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1216 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1217 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1218 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1219 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1220 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1221 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1222 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1223 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1224 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1225 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1226 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1227 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1229 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1230 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1231 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1232 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1233 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1235 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1236 Tony Wang <tony.wang@arm.com>
1238 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1239 Assemble for ARMv6-M.
1240 (Thumb2-Thumb2 farcall M profile): New testcase.
1241 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1242 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1243 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1244 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1246 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1248 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1249 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1250 Remove .rel.plt section.
1251 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1253 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1255 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1257 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1258 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1259 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1261 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1262 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1263 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1264 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1265 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1266 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1267 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1268 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1269 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1270 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1271 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1272 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1273 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1274 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1275 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1276 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1277 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1278 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1279 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1281 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1284 * testsuite/ld-avr/avr-prop-6.d: New test.
1285 * testsuite/ld-avr/avr-prop-6.s: New test.
1287 2016-06-14 Alan Modra <amodra@gmail.com>
1289 * ldbuildid.c: Formatting.
1290 * ldcref.c: Formatting.
1291 * ldctor.c: Formatting.
1292 * ldemul.c: Formatting.
1293 * ldexp.c: Formatting.
1294 * ldfile.c: Formatting.
1295 * ldlang.c: Formatting.
1296 * ldmain.c: Formatting.
1297 * ldwrite.c: Formatting.
1299 2016-06-14 Alan Modra <amodra@gmail.com>
1301 * ldlang.c: Expand uses of bfd_my_archive.
1302 * ldmain.c: Likewise.
1303 * ldmisc.c: Likewise.
1304 * plugin.c: Likewise.
1306 2016-06-14 Alan Modra <amodra@gmail.com>
1309 * ldmain.c (add_archive_element): Just print file name of file within
1311 * ldmisc.c (vfinfo): Likewise.
1312 * plugin.c (plugin_object_p): Open file within thin archives.
1313 (plugin_maybe_claim): Expand comment.
1315 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1318 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1319 pr20244-2c and pr20244-2d.
1320 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1321 * testsuite/ld-i386/pr20244-2.s: New file.
1322 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1323 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1324 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1325 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1326 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1327 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1328 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1329 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1331 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1333 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1334 * testsuite/ld-i386/ifunc-1a.c: New file.
1335 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1336 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1337 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1339 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1341 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1342 big endian ARC targets.
1344 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1346 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1347 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1348 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1349 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1350 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1351 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1352 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1353 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1354 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1355 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1356 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1357 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1358 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1359 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1360 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1362 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1365 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1366 * testsuite/ld-i386/pr20244-1.s: New file.
1367 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1368 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1369 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1371 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1374 * testsuite/ld-avr/avr-prop-5.d: New.
1375 * testsuite/ld-avr/avr-prop-5.s: New.
1377 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1379 * testsuite/ld-avr/lds-mega.d: New test.
1380 * testsuite/ld-avr/lds-mega.s: New test source.
1381 * testsuite/ld-avr/lds-tiny.d: New test.
1382 * testsuite/ld-avr/lds-tiny.s: New test source.
1384 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1386 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1387 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1388 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1389 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1390 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1391 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1392 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1393 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1394 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1395 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1396 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1397 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1398 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1399 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1400 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1401 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1402 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1403 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1404 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1405 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1406 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1407 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1408 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1409 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1410 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1411 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1412 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1413 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1414 * testsuite/ld-i386/no-plt.exp: Likewise.
1416 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1418 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1421 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1423 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1424 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1425 * testsuite/ld-i386/pass.out: New file.
1426 * testsuite/ld-i386/tls-def1.c: Likewise.
1427 * testsuite/ld-i386/tls-gd1.S: Likewise.
1428 * testsuite/ld-i386/tls-ld1.S: Likewise.
1429 * testsuite/ld-i386/tls-main1.c: Likewise.
1430 * testsuite/ld-i386/tls.exp: Likewise.
1431 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1432 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1433 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1434 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1435 * testsuite/ld-i386/tlsbin2.td: Likewise.
1436 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1437 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1438 * testsuite/ld-i386/tlsgd3.s: Likewise.
1439 * testsuite/ld-i386/tlsgd4.d: Likewise.
1440 * testsuite/ld-i386/tlsgd4.s: Likewise.
1441 * testsuite/ld-i386/tlsld2.s: Likewise.
1442 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1443 * testsuite/ld-i386/tlspic2.dd: Likewise.
1444 * testsuite/ld-i386/tlspic2.rd: Likewise.
1445 * testsuite/ld-i386/tlspic2.sd: Likewise.
1446 * testsuite/ld-i386/tlspic2.td: Likewise.
1447 * testsuite/ld-i386/tlspic3.s: Likewise.
1448 * testsuite/ld-i386/tlspie3.s: Likewise.
1449 * testsuite/ld-i386/tlspie3a.d: Likewise.
1450 * testsuite/ld-i386/tlspie3b.d: Likewise.
1451 * testsuite/ld-i386/tlspie3c.d: Likewise.
1453 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1455 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1456 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1457 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1458 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1459 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1460 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1461 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1462 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1464 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1466 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1467 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1468 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1469 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1470 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1471 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1472 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1473 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1474 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1475 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1476 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1477 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1478 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1479 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1480 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1481 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1482 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1483 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1484 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1485 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1486 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1488 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1490 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1492 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1494 * testsuite/ld-s390/pltoffset-1.dd: New test.
1495 * testsuite/ld-s390/pltoffset-1.ld: New test.
1496 * testsuite/ld-s390/pltoffset-1.s: New test.
1497 * testsuite/ld-s390/s390.exp: Run new test.
1499 2016-06-07 Alan Modra <amodra@gmail.com>
1501 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1502 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1503 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1505 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1507 * testsuite/ld-x86-64/pass.out: New file.
1508 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1509 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1510 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1511 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1512 * testsuite/ld-x86-64/tls.exp: Likewise.
1513 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1514 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1515 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1516 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1517 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1518 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1519 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1520 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1521 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1522 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1523 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1524 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1525 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1526 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1527 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1528 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1529 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1530 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1531 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1532 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1533 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1534 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1535 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1536 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1537 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1538 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1539 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1540 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1541 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1542 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1543 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1544 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1545 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1546 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1547 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1548 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1549 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1550 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1551 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1552 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1553 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1556 2016-06-04 Christian Groessler <chris@groessler.org>
1558 * testsuite/ld-z8k/0filler.s: New file.
1559 * testsuite/ld-z8k/branch-target.s: New file.
1560 * testsuite/ld-z8k/branch-target2.s: New file.
1561 * testsuite/ld-z8k/calr-back-8001.d: New file.
1562 * testsuite/ld-z8k/calr-back-8002.d: New file.
1563 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1564 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1565 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1566 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1567 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1568 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1569 * testsuite/ld-z8k/calr-opcode.s: New file.
1570 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1571 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1572 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1573 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1574 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1575 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1576 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1577 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1578 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1579 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1580 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1581 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1582 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1583 * testsuite/ld-z8k/djnz-opcode.s: New file.
1584 * testsuite/ld-z8k/filler.s: New file.
1585 * testsuite/ld-z8k/jr-back-8001.d: New file.
1586 * testsuite/ld-z8k/jr-back-8002.d: New file.
1587 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1588 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1589 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1590 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1591 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1592 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1593 * testsuite/ld-z8k/jr-opcode.s: New file.
1594 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1595 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1596 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1597 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1598 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1599 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1600 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1601 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1602 * testsuite/ld-z8k/ldr-opcode.s: New file.
1603 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1604 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1605 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1606 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1607 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1608 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1609 * testsuite/ld-z8k/other-file.s: New file.
1610 * testsuite/ld-z8k/reloc.dd: New file.
1611 * testsuite/ld-z8k/reloc.ld: New file.
1612 * testsuite/ld-z8k/relocseg.dd: New file.
1613 * testsuite/ld-z8k/relocseg.ld: New file.
1614 * testsuite/ld-z8k/relocseg1.dd: New file.
1615 * testsuite/ld-z8k/this-file.s: New file.
1616 * testsuite/ld-z8k/z8k.exp: New file.
1618 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1620 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1621 with -mrelax-relocations=yes.
1622 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1623 * testsuite/ld-i386/lea1b.d (as): Likewise.
1624 * testsuite/ld-i386/lea1d.d (as): Likewise.
1625 * testsuite/ld-i386/lea1e.d (as): Likewise.
1626 * testsuite/ld-i386/lea1f.d (as): Likewise.
1627 * testsuite/ld-i386/load7.d (as): Likewise.
1628 * testsuite/ld-i386/mov1b.d (as): Likewise.
1629 * testsuite/ld-i386/pr19175.d (as): Likewise.
1630 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1631 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1632 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1633 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1634 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1636 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1638 * configure.tgt: Replace -uclibc with *.
1640 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1642 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1643 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1644 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1645 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1647 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1649 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1650 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1651 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1652 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1653 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1654 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1656 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1658 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1659 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1660 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1661 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1662 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1663 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1664 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1666 2016-05-28 Alan Modra <amodra@gmail.com>
1668 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1669 constructor_callback, warning_callback, undefined_symbol,
1670 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1671 * emultempl/elf32.em: Adjust callback calls.
1673 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1675 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1676 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1677 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1679 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1681 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1683 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1685 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1687 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1689 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1691 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1693 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1694 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1696 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1698 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1700 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1701 `unaligned-jalx-2' here.
1702 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1703 `unaligned-jalx-mips16-2' here.
1704 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1705 `unaligned-jalx-micromips-2' here.
1706 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1707 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1709 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1710 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1711 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1712 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1713 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1715 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1716 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1717 `unaligned-lwpc-3' here.
1718 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1719 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1720 `unaligned-lwpc-2' here.
1721 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1722 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1723 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1724 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1725 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1726 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1727 `unaligned-ldpc-4' here.
1728 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1729 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1730 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1731 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1732 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1733 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1734 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1735 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1736 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1737 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1738 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1740 2016-05-26 Nick Clifton <nickc@redhat.com>
1743 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1745 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1747 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1749 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1750 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1751 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1752 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1753 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1754 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1755 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1756 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1757 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1758 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1759 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1760 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1761 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1762 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1763 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1764 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1765 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1766 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1767 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1768 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1769 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1770 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1771 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1772 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1773 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1774 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1775 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1776 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1777 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1778 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1779 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1780 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1781 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1783 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1786 * ldmain.c (add_archive_element): Don't claim new IR symbols
1787 after all IR symbols have been claimed.
1788 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1790 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1791 Run PR ld/20103 tests.
1792 * testsuite/ld-plugin/pr20103a.c: New file.
1793 * testsuite/ld-plugin/pr20103b.c: Likewise.
1794 * testsuite/ld-plugin/pr20103c.c: Likewise.
1796 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1798 * testsuite/ld-mips-elf/jalx-local.d: New test.
1799 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1800 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1801 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1803 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1805 * Makefile.am: Add earmelf_phoenix.c.
1806 * Makefile.in: Regenerate.
1807 * configure.tgt: Add entry for arm-phoenix.
1808 * emulparams/armelf_phoenix.sh: New file.
1810 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1812 * emultempl/armelf.em (arm_elf_before_allocation): Call
1813 bfd_elf32_arm_keep_private_stub_output_sections before generic
1814 before_allocation function.
1816 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1818 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1819 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1820 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1821 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1823 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1826 * testsuite/ld-i386/i386.exp: Run pr20117.
1827 * testsuite/ld-i386/pr19609-1i.d: Updated.
1828 * testsuite/ld-i386/pr20117.d: New file.
1829 * testsuite/ld-i386/pr20117.s: Likewise.
1831 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1833 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1834 * testsuite/ld-elf/group8a.d: Likewise.
1835 * testsuite/ld-elf/group8b.d: Likewise.
1836 * testsuite/ld-elf/group9a.d: Likewise.
1837 * testsuite/ld-elf/group9b.d: Likewise.
1838 * testsuite/ld-elf/pr12851.d: Likewise.
1839 * testsuite/ld-elf/pr12975.d: Likewise.
1840 * testsuite/ld-elf/pr13177.d: Likewise.
1841 * testsuite/ld-elf/pr13195.d: Likewise.
1842 * testsuite/ld-elf/pr17615.d: Likewise.
1843 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1844 * testsuite/ld-elf/group3b.d: Likewise.
1845 * testsuite/ld-srec/srec.exp: Likewise.
1846 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1848 (check_shared_lib_support): Mark ARC as supporting.
1850 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1852 * emulparams/arcelf.sh: Changed.
1853 * emulparams/arclinux.sh: Likewise.
1854 * scripttempl/arclinux.sc: Moved to a more standard implementation
1857 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1859 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1860 `ft32-*-*' behind `frv-*-*'.
1862 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1864 * configure.tgt: Remove `am34-*-linux*' support.
1866 2016-05-19 Alan Modra <amodra@gmail.com>
1868 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1869 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1870 * testsuite/ld-scripts/cross3.t: Likewise.
1871 * testsuite/ld-scripts/cross4.t: Likewise.
1872 * testsuite/ld-scripts/cross5.t: Likewise.
1873 * testsuite/ld-scripts/cross6.t: Likewise.
1874 * testsuite/ld-scripts/cross7.t: Likewise.
1876 2016-05-19 Alan Modra <amodra@gmail.com>
1878 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1879 exe name rather than constructing testname. Fix typo in
1880 sub-test name. Log copying. Use -rpath rather than -R.
1882 2016-05-18 Nick Clifton <nickc@redhat.com>
1884 * scripttempl/ft32.sc: Use fixed constants for memory region
1885 lengths. Include DWARF debug sections.
1886 (.data .bss): Do not assign locations during relocatable links.
1887 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1888 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1889 * testsuite/ld-elf/sec64k.exp: Likewise.
1890 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1891 * testsuite/ld-elf/merge.d: Likewise.
1892 * testsuite/ld-elf/orphan-region.d: Likewise.
1893 * testsuite/ld-elf/orphan.s: Likewise.
1894 * testsuite/ld-elf/orphan3.d: Likewise.
1895 * testsuite/ld-elf/pr349.d: Likewise.
1896 * testsuite/ld-elf/warn2.d: Likewise.
1897 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1898 that the FT32 does not support shared libraries.
1900 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1902 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1905 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1907 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1909 * scripttempl/avrtiny.sc (text): Likewise.
1911 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1913 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1914 `supports_gnu_unique' to qualify testing.
1916 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1918 * testsuite/ld-elf/flags1.d: Update the xfail list.
1920 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1922 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1925 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1928 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1929 on EXPECTED_VIEW_LENGTH.
1930 * testplug4.c (onall_symbols_read): Likewise.
1932 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1935 * testsuite/ld-x86-64/pr20093-1.d: New file.
1936 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1937 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1938 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1939 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1941 2016-05-13 Alan Modra <amodra@gmail.com>
1943 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1944 Use different output file name for static app without .rel.plt.
1945 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1946 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1947 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1948 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1949 * testsuite/ld-arm/arm-static-app.r: Likewise.
1951 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1954 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1955 (libldtestplug4_la_SOURCES): New.
1956 (libldtestplug4_la_CFLAGS): Likewise.
1957 (libldtestplug4_la_LDFLAGS): Likewise.
1958 * Makefile.in: Regenerated.
1959 * plugin.c (get_symbols): Return resolution based on IR symbol
1960 kinds for symbols defined/referenced only within IR.
1961 * testplug4.c: New file.
1962 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1963 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1964 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1965 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1966 (plugin4_path): Likewise.
1967 Add a test for ld/20070.
1969 2016-05-11 Alan Modra <amodra@gmail.com>
1971 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1972 Call elf32_hppa_init_stub_bfd.
1974 2016-05-11 Alan Modra <amodra@gmail.com>
1977 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1978 * testsuite/ld-powerpc/tlsdll.s: New.
1979 * testsuite/ld-powerpc/tlsdll.ver: New.
1980 * testsuite/ld-powerpc/tlsdll_32.s: New.
1981 * testsuite/ld-powerpc/tlsopt5.d: New.
1982 * testsuite/ld-powerpc/tlsopt5.s: New.
1983 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1984 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1986 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1988 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1989 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1991 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1993 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1994 parameter and rename input_section parameter to after_input_section.
1995 Append input stub section to the output section if after_input_section
1998 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2000 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2002 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2003 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2005 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2007 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2009 2016-05-09 Christophe Monat <christophe.monat@st.com>
2012 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2013 tests. Fix misnamed stm32l4xx-fix-all.
2014 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2015 loads with DP registers.
2016 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2017 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2018 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2019 loads with DP registers.
2020 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2022 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2024 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2026 (xfail): Remove avr-*-*.
2027 Update regex to check the section flags.
2028 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2030 2016-05-09 Alan Modra <amodra@gmail.com>
2032 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2033 * Makefile.in: Regenerate.
2035 2016-05-09 Alan Modra <amodra@gmail.com>
2037 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2038 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2039 * testsuite/ld-scripts/section-match-1.t: Likewise.
2041 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2044 * testsuite/ld-elf/pr17550-1.s: New file.
2045 * testsuite/ld-elf/pr17550-2.s: Likewise.
2046 * testsuite/ld-elf/pr17550-3.s: Likewise.
2047 * testsuite/ld-elf/pr17550-4.s: Likewise.
2048 * testsuite/ld-elf/pr17550a.d: Likewise.
2049 * testsuite/ld-elf/pr17550b.d: Likewise.
2050 * testsuite/ld-elf/pr17550c.d: Likewise.
2051 * testsuite/ld-elf/pr17550d.d: Likewise.
2053 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2055 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2057 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2059 * testsuite/ld-i386/i386.exp: Run load7.
2060 * testsuite/ld-i386/load7.d: New file.
2061 * testsuite/ld-i386/load7.map: Likewise.
2062 * testsuite/ld-i386/load7.s: Likewise.
2063 * testsuite/ld-x86-64/load2.d: Likewise.
2064 * testsuite/ld-x86-64/load2.map: Likewise.
2065 * testsuite/ld-x86-64/load2.s: Likewise.
2066 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2068 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2070 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2071 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2073 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2076 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2078 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2080 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2082 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2084 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2086 * testsuite/ld-unique/unique.d: New test.
2087 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2088 messages for compiled tests.
2090 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2092 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2093 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2094 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2095 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2096 plugin_tests only if check_shared_lib_support is true.
2097 * testsuite/ld-selective/selective.exp: Add --section-start
2100 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2103 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2105 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2107 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2108 * NEWS: Mention --no-apply-dynamic-relocs.
2109 * ld.texinfo (ld and the ARM family): Document
2110 --no-apply-dynamic-relocs.
2111 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2112 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2113 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2114 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2117 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2119 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2120 before running STT_COMMON tests.
2122 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2124 * config/default.exp (NOPIE_CFLAGS): Download source only on
2126 (NOPIE_LDFLAGS): Likewise.
2127 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2128 (check_lto_fat_available): Likewise.
2129 (check_lto_shared_available): Likewise.
2130 (check_ifunc_available): Likewise.
2131 (check_ifunc_attribute_available): Likewise.
2133 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2135 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2137 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2140 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2141 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2144 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2146 * testsuite/ld-elf/compressed1b.d: Pass
2147 --compress-debug-sections=none to ld.
2148 * testsuite/ld-elf/compressed1c.d: Likewise.
2150 2016-04-27 Alan Modra <amodra@gmail.com>
2153 * configure.tgt: Don't use var+=.
2155 2016-04-25 Nick Clifton <nickc@redhat.com>
2158 * configure.tgt: Include big endian PPC64 emulations with little
2159 endian PPC64 targets.
2161 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2163 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2165 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2167 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2168 Linux with GCC 4.9 or newer.
2169 (check_lto_fat_available): Likewise.
2170 (check_lto_shared_available): Likewise.
2172 2016-04-21 Nick Clifton <nickc@redhat.com>
2174 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2175 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2176 targets. Do not stop the checks when problems are encountered.
2178 2016-04-21 Alan Modra <amodra@gmail.com>
2180 * testsuite/ld-scripts/cross3.t: Add commonly used data
2181 and text section names to output section statements.
2182 * testsuite/ld-scripts/cross4.t: Likewise.
2183 * testsuite/ld-scripts/cross5.t: Likewise.
2184 * testsuite/ld-scripts/cross6.t: Likewise.
2185 * testsuite/ld-scripts/cross7.t: Likewise.
2187 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2189 * ldlang.c (lang_check_relocs): New function.
2190 (lang_process): Call lang_check_relocs after lang_gc_sections.
2191 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2192 call _bfd_elf_link_check_relocs here.
2194 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2197 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2198 R_386_NONE or R_X86_64_NONE.
2200 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2202 * testsuite/ld-x86-64/pic1.d: New file.
2203 * testsuite/ld-x86-64/pic1.s: Likewise.
2204 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2206 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2208 * testsuite/ld-x86-64/pie2.d: New file.
2209 * testsuite/ld-x86-64/pie2.s: Likewise.
2210 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2212 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2215 * testsuite/ld-x86-64/pr19969.d: New file.
2216 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2217 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2218 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2220 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2222 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2224 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2226 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2228 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2230 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2232 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2234 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2236 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2238 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2239 Set check_relocs_after_open_input to TRUE if
2240 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2241 (gld${EMULATION_NAME}_after_open): Call
2242 _bfd_elf_link_check_relocs on all inputs if
2243 check_relocs_after_open_input is TRUE.
2245 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2247 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2250 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2252 * emultempl/scoreelf.em: Likewise.
2254 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2257 * testsuite/ld-x86-64/pr19719.d: New file.
2258 * testsuite/ld-x86-64/pr19719.s: Likewise.
2259 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2261 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2263 * ld.texinfo: Document NOCROSSREFS_TO script command.
2264 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2265 (lang_add_nocrossref_to): New prototype.
2266 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2267 symbols defined in the first section.
2268 (check_nocrossref): Likewise.
2269 * ldgram.y (NOCROSSREFS_TO): New script command.
2270 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2271 (lang_add_nocrossref_to): New function.
2272 * ldlex.l (NOCROSSREFS_TO): New token.
2273 * NEWS: Mention NOCROSSREFS_TO.
2274 * testsuite/ld-scripts/cross4.t: New file.
2275 * testsuite/ld-scripts/cross5.t: Likewise.
2276 * testsuite/ld-scripts/cross6.t: Likewise.
2277 * testsuite/ld-scripts/cross7.t: Likewise.
2278 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2281 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2283 * Makefile.in: Regenerated with automake 1.11.6.
2284 * aclocal.m4: Likewise.
2286 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2288 * testsuite/ld-arc/arc.exp: New file.
2289 * testsuite/ld-arc/nps-1.s: New file.
2290 * testsuite/ld-arc/nps-1a.d: New file.
2291 * testsuite/ld-arc/nps-1b.d: New file.
2292 * testsuite/ld-arc/nps-1b.err: New file.
2294 2016-04-14 Nick Clifton <nickc@redhat.com>
2297 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2298 exceptions for Mingw and Cygwin.
2300 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2302 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2305 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2308 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2309 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2312 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2315 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2316 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2317 * testsuite/ld-i386/pr19939.s: New file.
2318 * testsuite/ld-i386/pr19939a.d: Likewise.
2319 * testsuite/ld-i386/pr19939b.d: Likewise.
2320 * testsuite/ld-x86-64/pr19939.s: Likewise.
2321 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2322 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2324 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2326 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2328 2016-04-08 Alan Modra <amodra@gmail.com>
2331 * ldlang.c (maybe_overlays): Delete.
2332 (lang_size_sections_1): Remove code setting maybe_overlays.
2333 (lang_check_section_addresses): Instead detect overlays by
2334 exact match of section VMAs here. Fix memory leak.
2336 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2338 * ldlang.c (print_output_section_statement): Show minfo size
2339 in target machine address units.
2340 (print_reloc_statement): Likewise.
2341 (print_padding_statement): Likewise.
2342 (print_data_statement): Likewise. Ensure minimum print_dot
2343 increment of one address unit.
2345 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2347 * emulparams/arc-endianness.sh: Make little endian default choice.
2349 2016-04-07 Nick Clifton <nickc@redhat.com>
2351 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2353 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2355 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2357 * emulparams/arc-endianness.sh: New file.
2358 * emulparams/arcebelf.sh: Deleted.
2359 * emulparams/arcebelf_prof.sh: Deleted.
2360 * emulparams/arceblinux.sh: Deleted.
2361 * emulparams/arceblinux_prof.sh: Deleted.
2362 * emulparams/arcelf.sh: Include arc-endinness.sh.
2363 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2364 * emulparams/arclinux.sh: Include arc-endinness.sh.
2365 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2366 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2367 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2368 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2369 little endian arc targets.
2370 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2371 * testsuite/ld-elf/group1.d: Likewise.
2372 * testsuite/ld-elf/group3b.d: Likewise.
2373 * testsuite/ld-elf/group8a.d: Likewise.
2374 * testsuite/ld-elf/group8b.d: Likewise.
2375 * testsuite/ld-elf/group9a.d: Likewise.
2376 * testsuite/ld-elf/group9b.d: Likewise.
2377 * testsuite/ld-elf/linkonce2.d: Likewise.
2378 * testsuite/ld-elf/pr12851.d: Likewise.
2379 * testsuite/ld-elf/pr12975.d: Likewise.
2380 * testsuite/ld-elf/pr13177.d: Likewise.
2381 * testsuite/ld-elf/pr13195.d: Likewise.
2382 * testsuite/ld-elf/pr17615.d: Likewise.
2383 * testsuite/ld-elf/pr19162.d: Likewise.
2384 * testsuite/ld-elf/sec64k.exp: Likewise.
2385 * testsuite/lib/ld-lib.exp: Likewise.
2387 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2390 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2392 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2393 * testsuite/ld-cris/tls-e-21.d: Likewise.
2394 * testsuite/ld-cris/tls-e-23.d: Likewise.
2395 * testsuite/ld-cris/tls-e-80.d: Likewise.
2396 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2397 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2398 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2399 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2400 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2401 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2402 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2403 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2404 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2405 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2407 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2409 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2410 * testsuite/ld-discard/start.d: Likewise.
2411 * testsuite/ld-discard/static.d: Likewise.
2412 * testsuite/ld-elf/group1.d: Likewise.
2413 * testsuite/ld-elf/group3b.d: Likewise.
2414 * testsuite/ld-elf/orphan-region.d: Likewise.
2415 * testsuite/ld-elf/orphan.d: Likewise.
2416 * testsuite/ld-elf/orphan3.d: Likewise.
2417 * testsuite/ld-elf/pr349.d: Likewise.
2418 * testsuite/ld-elf/warn1.d: Likewise.
2419 * testsuite/ld-elf/warn2.d: Likewise.
2420 * testsuite/ld-elf/warn3.d: Likewise.
2421 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2422 through linker flags.
2423 * testsuite/ld-srec/srec.exp: Set as xfail.
2425 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2428 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2429 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2431 2016-04-04 Nick Clifton <nickc@redhat.com>
2434 * emultempl/pe.em (change_undef): New function. Encapsulates
2435 duplicated code in pe_fixup_stdcalls and adds the newly defined
2436 sym to the gc root list.
2437 (pe_fixup_stdcall): Use the new function.
2438 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2439 symbol to gc root list.
2441 2016-03-31 Alan Modra <amodra@gmail.com>
2443 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2444 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2445 (print_input_section): Don't use TO_ADDR when printing section
2447 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2448 (lang_size_sections): Use TO_ADDR in relro end calculation.
2450 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2452 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2453 value from regexp_diff.
2454 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2455 * testsuite/ld-elf/orphan-6.l: Likewise.
2457 2016-03-30 Alan Modra <amodra@gmail.com>
2460 * ldlang.c (maybe_overlays): New static var.
2461 (lang_size_sections_1): Set it here.
2462 (struct check_sec): New.
2463 (sort_sections_by_lma): Adjust for array of structs.
2464 (sort_sections_by_vma): New function.
2465 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2466 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2468 2016-03-30 Alan Modra <amodra@gmail.com>
2470 * ldlang.c (lang_size_sections_1): Correct code detecting a
2471 backward non-overlapping move.
2473 2016-03-30 Alan Modra <amodra@gmail.com>
2475 * ldlang.c (IS_TBSS): New macro, extracted from..
2476 (IGNORE_SECTION): ..here.
2477 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2478 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2480 2016-03-22 Nick Clifton <nickc@redhat.com>
2483 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2484 symbol name to the list of gc symbols.
2485 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2486 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2487 and fini function names.
2488 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2490 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2491 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2493 2016-03-22 Nick Clifton <nickc@redhat.com>
2495 * configure: Regenerate.
2497 2016-03-21 Nick Clifton <nickc@redhat.com>
2499 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2500 * plugin.c: Likewise.
2501 * pe-dll.c: Likewise.
2503 2016-03-18 Awson <kyrab@mail.ru>
2506 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2508 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2510 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2512 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2514 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2517 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2518 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2519 * testsuite/ld-i386/pr19827.rd: New file.
2520 * testsuite/ld-i386/pr19827a.S: Likewise.
2521 * testsuite/ld-i386/pr19827b.S: Likewise.
2522 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2523 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2524 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2526 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2529 * Makefile.am (ELF_X86_DEPS): Add
2530 $(srcdir)/emulparams/reloc_overflow.sh.
2531 * Makefile.in: Regenerated.
2532 * NEWS: Mention -z noreloc-overflow.
2533 * ld.texinfo: Document -z noreloc-overflow.
2534 * emulparams/elf32_x86_64.sh: Source
2535 ${srcdir}/emulparams/reloc_overflow.sh.
2536 * emulparams/elf_x86_64.sh: Likewise.
2537 * emulparams/reloc_overflow.sh: New file.
2538 * testsuite/ld-x86-64/pr19807-1.s: New file.
2539 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2540 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2541 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2542 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2543 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2544 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2545 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2546 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2547 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2549 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2552 * testsuite/ld-i386/i386.exp: Run pr19539.
2553 * testsuite/ld-i386/pr19539.d: New file.
2554 * testsuite/ld-i386/pr19539.s: Likewise.
2555 * testsuite/ld-i386/pr19539.t: Likewise.
2556 * testsuite/ld-x86-64/pr19539.s: Likewise.
2557 * testsuite/ld-x86-64/pr19539.t: Likewise.
2558 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2559 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2560 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2562 2016-03-10 Mickael Guene <mickael.guene@st.com>
2565 * testsuite/ld-arm/arm-elf.exp: New tests.
2566 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2567 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2569 2016-03-10 Nick Clifton <nickc@redhat.com>
2571 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2573 2016-03-09 Pedro Alves <palves@redhat.com>
2575 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2576 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2578 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2581 * testsuite/ld-elf/pr19789.d: New file.
2582 * testsuite/ld-elf/pr19789.s: Likewise.
2584 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2587 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2588 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2589 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2590 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2591 * testsuite/ld-ifunc/pass.out: New file.
2592 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2593 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2594 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2596 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2599 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2600 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2601 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2602 --as-needed for pr18841c.
2604 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2607 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2608 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2609 before tmpdir/got1d.so and test --as-needed.
2610 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2611 tmpdir/pr18900.so and test --as-needed.
2613 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2615 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2616 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2618 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2620 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2622 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2623 before tmpdir/copyreloc-lib.so and test --as-needed.
2624 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2626 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2629 * testsuite/ld-elf/pr19579a.c: New file.
2630 * testsuite/ld-elf/pr19579b.c: Likewise.
2631 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2633 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2635 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2637 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2639 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2640 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2642 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2645 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2646 input sections for relocatable link.
2647 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2648 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2650 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2653 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2654 merge flags of other input sections for relocatable link.
2656 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2658 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2660 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2662 * testsuite/ld-elf/pr19162.d: Skip arc target.
2664 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2667 * testsuite/ld-elf/pr19162.d: New file.
2668 * testsuite/ld-elf/pr19162a.s: Likwise.
2669 * testsuite/ld-elf/pr19162b.s: Likwise.
2671 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2673 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2674 * testsuite/ld-elf/merge2.d: Likewise.
2675 * testsuite/ld-elf/merge3.d: Likewise.
2677 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2679 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2682 2016-02-26 Renlin Li <renlin.li@arm.com>
2684 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2685 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2686 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2687 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2688 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2689 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2690 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2691 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2692 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2693 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2695 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2698 * testsuite/ld-i386/got1.dd: Updated.
2699 * testsuite/ld-i386/lea1c.d: Likewise.
2700 * testsuite/ld-i386/load1-nacl.d: Likewise.
2701 * testsuite/ld-i386/load1.d: Likewise.
2702 * testsuite/ld-i386/load4b.d: Likewise.
2703 * testsuite/ld-i386/load5b.d: Likewise.
2704 * testsuite/ld-i386/mov1b.d: Likewise.
2705 * testsuite/ld-x86-64/mov1b.d: Likewise.
2706 * testsuite/ld-x86-64/mov1d.d: Likewise.
2707 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2708 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2709 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2710 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2711 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2712 * testsuite/ld-x86-64/lea1a.d: Likewise.
2713 * testsuite/ld-x86-64/lea1b.d: Likewise.
2714 * testsuite/ld-x86-64/lea1c.d: Likewise.
2715 * testsuite/ld-x86-64/lea1d.d: Likewise.
2716 * testsuite/ld-x86-64/lea1e.d: Likewise.
2717 * testsuite/ld-x86-64/lea1f.d: Likewise.
2718 * testsuite/ld-x86-64/mov1b.d: Likewise.
2719 * testsuite/ld-x86-64/mov1d.d: Likewise.
2720 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2721 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2722 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2723 * testsuite/ld-i386/pr19609-1.s: New file.
2724 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2725 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2726 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2727 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2728 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2729 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2730 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2731 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2732 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2733 * testsuite/ld-i386/pr19609-2.s: Likewise.
2734 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2735 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2736 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2737 * testsuite/ld-i386/undefweak.s: Likewise.
2738 * testsuite/ld-i386/undefweaka.d: Likewise.
2739 * testsuite/ld-i386/undefweakb.d: Likewise.
2740 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2741 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2742 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2743 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2744 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2745 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2746 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2747 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2748 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2749 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2750 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2751 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2752 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2753 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2754 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2755 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2756 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2757 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2758 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2759 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2760 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2761 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2762 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2763 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2764 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2765 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2766 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2767 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2768 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2769 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2770 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2771 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2772 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2773 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2774 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2775 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2776 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2777 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2778 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2779 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2780 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2781 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2782 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2783 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2784 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2785 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2786 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2788 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2789 and tests for PR ld/19609.
2791 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2794 * NEWS: Mention -z common/-z nocommon for ELF targets.
2795 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2796 -z common and -z nocommon.
2797 * ld.texinfo: Document -z common/-z nocommon.
2798 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2799 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2800 --elf-stt-common=yes with assembler.
2801 * testsuite/ld-elfcomm/common-1.s: New file.
2802 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2803 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2804 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2805 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2806 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2807 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2808 * testsuite/ld-elfcomm/common-2.s: Likewise.
2809 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2810 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2811 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2812 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2813 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2814 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2815 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2816 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2817 * testsuite/ld-i386/pr19645.d: Likewise.
2818 * testsuite/ld-i386/pr19645.s: Likewise.
2819 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2820 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2821 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2822 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2823 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2824 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2825 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2826 * testsuite/ld-x86-64/pr19645.d: Likewise.
2827 * testsuite/ld-x86-64/pr19645.s: Likewise.
2828 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2830 (assembler_generates_commons): Removed.
2831 Run -z common/-z nocommon tests. Run *.d tests.
2832 * testsuite/ld-i386/i386.exp: Run pr19645.
2833 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2834 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2835 assembler. Test STT_COMMON with readelf.
2837 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2842 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2843 * Makefile.in: Regenerated.
2844 * NEWS: Mention -z nodynamic-undefined-weak.
2845 * ld.texinfo: Document -z nodynamic-undefined-weak.
2846 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2847 * emulparams/dynamic_undefined_weak.sh: New file.
2848 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2849 * emulparams/elf_i386.sh: Likewise.
2850 * emulparams/elf_i386_be.sh: Likewise.
2851 * emulparams/elf_i386_chaos.sh: Likewise.
2852 * emulparams/elf_i386_ldso.sh: Likewise.
2853 * emulparams/elf_i386_vxworks.sh: Likewise.
2854 * emulparams/elf_iamcu.sh: Likewise.
2855 * emulparams/elf_k1om.sh: Likewise.
2856 * emulparams/elf_l1om.sh: Likewise.
2857 * emulparams/elf_x86_64.sh: Likewise.
2858 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2860 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2861 * testsuite/ld-elf/pr19719a.c: New file.
2862 * testsuite/ld-elf/pr19719b.c: Likewise.
2863 * testsuite/ld-elf/pr19719c.c: Likewise.
2864 * testsuite/ld-elf/pr19719d.c: Likewise.
2865 * testsuite/ld-i386/pr19636-1.s: Likewise.
2866 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2867 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2868 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2869 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2870 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2871 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2872 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2873 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2874 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2875 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2876 * testsuite/ld-i386/pr19636-2.s: Likewise.
2877 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2878 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2879 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2880 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2881 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2882 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2883 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2884 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2885 * testsuite/ld-i386/pr19636-3.s: Likewise.
2886 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2887 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2888 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2889 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2890 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2891 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2892 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2893 * testsuite/ld-i386/pr19636-4.s: Likewise.
2894 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2895 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2896 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2897 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2898 * testsuite/ld-i386/pr19704.out: Likewise.
2899 * testsuite/ld-i386/pr19704a.c: Likewise.
2900 * testsuite/ld-i386/pr19704b.c: Likewise.
2901 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2902 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2903 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2904 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2905 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2906 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2907 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2908 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2909 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2910 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2911 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2912 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2913 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2914 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2915 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2916 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2917 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2918 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2919 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2920 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2921 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2922 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2923 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2924 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2925 * testsuite/ld-x86-64/pr19704.out: Likewise.
2926 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2927 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2928 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2929 Run mix_pic_and_non_pic.
2930 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2931 Run undefined_weak and PR ld/19636 tests.
2932 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2933 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2934 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2936 2016-02-25 Nick Clifton <nickc@redhat.com>
2938 * ld.h (struct ld_config_type): Remove specified_data_size field.
2940 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2943 * testsuite/ld-elf/pr19698.d: New file.
2944 * testsuite/ld-elf/pr19698.s: Likewise.
2945 * testsuite/ld-elf/pr19698.t: Likewise.
2947 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2949 * Makefile.am (ELF_X86_DEPS): New.
2950 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2951 (eelf_i386_chaos.c): Likewise.
2952 (eelf_i386_fbsd.c): Likewise.
2953 (eelf_i386_ldso.c): Likewise.
2954 (eelf_i386_nacl.c): Likewise.
2955 (eelf_i386_sol2.c): Likewise.
2956 (eelf_iamcu.c): Likewise.
2957 (eelf32_x86_64.c): Likewise.
2958 (eelf32_x86_64_nacl.c): Likewise.
2959 (eelf_l1om.c): Likewise.
2960 (eelf_l1om_fbsd.c): Likewise.
2961 (eelf_k1om.c): Likewise.
2962 (eelf_k1om_fbsd.c): Likewise.
2963 (eelf_x86_64.c): Likewise.
2964 (eelf_x86_64_cloudabi.c): Likewise.
2965 (eelf_x86_64_fbsd.c): Likewise.
2966 (eelf_x86_64_sol2.c): Likewise.
2967 * Makefile.in: Regenerated.
2969 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2971 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2972 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2973 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2974 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2976 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2978 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2980 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2982 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2983 *-*-gnu* and *-*-solaris*.
2984 * testsuite/ld-elf/pr19617b.d: Likewise.
2985 * testsuite/ld-elf/pr19617c.d: Likewise.
2987 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2990 * testsuite/ld-elf/pr19617.s: New file.
2991 * testsuite/ld-elf/pr19617a.d: Likewise.
2992 * testsuite/ld-elf/pr19617b.d: Likewise.
2993 * testsuite/ld-elf/pr19617c.d: Likewise.
2995 2016-02-18 Nick Clifton <nickc@redhat.com>
2997 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2998 in-tree xg++ executable after checking for the presence of an
2999 in-tree g++ executable.
3000 * Makefile.in: Regenerate.
3002 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3004 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3005 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3006 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3008 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3010 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3011 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3012 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3013 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3014 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3015 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3016 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3017 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3018 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3019 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3020 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3021 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3022 * testsuite/ld-x86-64/load1c.d: Likewise.
3023 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3024 * testsuite/ld-x86-64/load1d.d: Likewise.
3025 * testsuite/ld-x86-64/pr14207.d: Likewise.
3026 * testsuite/ld-x86-64/pr19162.d: Likewise.
3027 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3028 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3029 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3030 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3031 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3032 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3034 2016-02-17 Nick Clifton <nickc@redhat.com>
3036 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3038 2016-02-15 Nick Clifton <nickc@redhat.com>
3040 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3041 description of the flags produced by readelf.
3042 * testsuite/ld-i386/pr12921.d: Likewise.
3043 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3044 * testsuite/ld-i386/tlsbin.rd: Likewise.
3045 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3046 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3047 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3048 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3049 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3050 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3051 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3052 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3053 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3054 * testsuite/ld-i386/tlspic.rd: Likewise.
3055 * testsuite/ld-s390/tlsbin.rd: Likewise.
3056 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3057 * testsuite/ld-s390/tlspic.rd: Likewise.
3058 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3059 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3060 * testsuite/ld-sh/tlspic-2.d: Likewise.
3061 * testsuite/ld-tic6x/common.d: Likewise.
3062 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3063 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3064 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3065 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3066 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3067 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3068 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3069 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3070 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3071 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3072 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3073 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3074 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3075 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3076 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3077 * testsuite/ld-x86-64/pr12718.d: Likewise.
3078 * testsuite/ld-x86-64/pr12921.d: Likewise.
3079 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3080 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3081 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3082 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3083 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3084 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3085 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3086 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3087 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3088 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3089 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3090 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3091 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3092 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3094 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3097 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3099 * lexsup.c (parse_args): Enable -Bsymbolic and
3100 -Bsymbolic-functions for PIE.
3101 * testsuite/ld-i386/i386.exp: Run pr19615.
3102 * testsuite/ld-i386/pr19615.d: New file.
3103 * testsuite/ld-i386/pr19615.s: Likewise.
3104 * testsuite/ld-x86-64/pr19615.d: Likewise.
3105 * testsuite/ld-x86-64/pr19615.s: Likewise.
3107 2016-02-09 Nick Clifton <nickc@redhat.com>
3109 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3110 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3111 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3112 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3114 2016-02-04 Nick Clifton <nickc@redhat.com>
3116 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3117 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3118 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3119 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3120 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3121 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3122 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3123 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3124 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3126 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3129 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3130 * testsuite/ld-i386/call1.d: Likewise.
3131 * testsuite/ld-i386/call2.d: Likewise.
3132 * testsuite/ld-i386/call3a.d: Likewise.
3133 * testsuite/ld-i386/call3b.d: Likewise.
3134 * testsuite/ld-i386/call3c.d: Likewise.
3135 * testsuite/ld-i386/call3d.d: Likewise.
3136 * testsuite/ld-i386/call3e.d: Likewise.
3137 * testsuite/ld-i386/call3f.d: Likewise.
3138 * testsuite/ld-i386/call3g.d: Likewise.
3139 * testsuite/ld-i386/call3h.d: Likewise.
3140 * testsuite/ld-i386/jmp1.d: Likewise.
3141 * testsuite/ld-i386/jmp2.d: Likewise.
3142 * testsuite/ld-i386/lea1c.d: Likewise.
3143 * testsuite/ld-i386/load1.d: Likewise.
3144 * testsuite/ld-i386/load2.d: Likewise.
3145 * testsuite/ld-i386/load3.d: Likewise.
3146 * testsuite/ld-i386/load4a.d: Likewise.
3147 * testsuite/ld-i386/load5a.d: Likewise.
3148 * testsuite/ld-i386/mov2b.d: Likewise.
3149 * testsuite/ld-i386/mov3.d: Likewise.
3150 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3151 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3152 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3153 * testsuite/ld-x86-64/call1a.d: Likewise.
3154 * testsuite/ld-x86-64/call1b.d: Likewise.
3155 * testsuite/ld-x86-64/call1c.d: Likewise.
3156 * testsuite/ld-x86-64/call1d.d: Likewise.
3157 * testsuite/ld-x86-64/call1e.d: Likewise.
3158 * testsuite/ld-x86-64/call1f.d: Likewise.
3159 * testsuite/ld-x86-64/call1h.d: Likewise.
3160 * testsuite/ld-x86-64/call1i.d: Likewise.
3161 * testsuite/ld-x86-64/load1a.d: Likewise.
3162 * testsuite/ld-x86-64/load1b.d: Likewise.
3163 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3164 * testsuite/ld-i386/got1.dd: Updated.
3165 * testsuite/ld-i386/got1d.S (1): Removed.
3166 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3167 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3169 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3172 * testsuite/ld-x86-64/pr18591.d: New file.
3173 * testsuite/ld-x86-64/pr18591.s: Likewise.
3174 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3176 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3179 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3180 * testsuite/ld-elf/pr19553.map: New file.
3181 * testsuite/ld-elf/pr19553.map: Likewise.
3182 * testsuite/ld-elf/pr19553a.c: Likewise.
3183 * testsuite/ld-elf/pr19553b.c: Likewise.
3184 * testsuite/ld-elf/pr19553b.out: Likewise.
3185 * testsuite/ld-elf/pr19553c.c: Likewise.
3186 * testsuite/ld-elf/pr19553c.out: Likewise.
3187 * testsuite/ld-elf/pr19553d.c: Likewise.
3188 * testsuite/ld-elf/pr19553d.out: Likewise.
3190 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3193 * testsuite/ld-elf/pr19539.d: New file.
3194 * testsuite/ld-elf/pr19539.s: Likewise.
3195 * testsuite/ld-elf/pr19539.t: Likewise.
3197 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3200 * configure.ac (compressed_debug_sections): Replace == with =.
3201 * configure: Regenerated.
3203 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3205 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3206 * scripttempl/avrtiny.sc (.noinit): Likewise.
3208 2016-01-21 Nick Clifton <nickc@redhat.com>
3211 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3212 the arm-netbsdelf target.
3215 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3216 disassmebler output.
3217 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3218 * testsuite/ld-arm/vxworks1.dd: Likewise.
3219 * testsuite/ld-arm/vxworks1.rd: Likewise.
3220 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3222 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3224 * testsuite/ld-aarch64/farcall-section.d: Delete.
3225 * testsuite/ld-aarch64/farcall-section.s: Delete.
3226 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3227 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3228 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3229 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3230 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3232 2016-01-20 Nick Clifton <nickc@redhat.com>
3235 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3236 early for PE based targets.
3237 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3238 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3240 2016-01-20 Mickael Guene <mickael.guene@st.com>
3242 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3243 Add 'y' attribute usage.
3244 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3245 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3246 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3248 2016-01-19 Nick Clifton <nickc@redhat.com>
3250 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3251 foo@FOO and bar@@FOO.
3253 2016-01-18 Alan Modra <amodra@gmail.com>
3255 * configure: Regenerate.
3257 2016-01-18 Nick Clifton <nickc@redhat.com>
3259 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3260 is not configured to support plugins.
3262 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3263 but with 16 byte section alignment.
3264 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3265 test for MIPS targets.
3267 2016-01-17 Alan Modra <amodra@gmail.com>
3269 * configure: Regenerate.
3271 2016-01-17 Alan Modra <amodra@gmail.com>
3273 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3274 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3275 * testsuite/ld-elf/pr14156a.d: Likewise.
3276 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3277 * testsuite/ld-elf/sec64k.exp: Likewise.
3279 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3281 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3282 Set address of .foo section when linking.
3283 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3285 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3286 output to the above changes.
3288 2016-01-13 Nick Clifton <nickc@redhat.com>
3290 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3293 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3294 fail for MIPS targets.
3296 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3299 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3301 * testsuite/ld-arm/arm-elf.exp: New test.
3302 * testsuite/ld-arm/unwind-mix.d: New file.
3303 * testsuite/ld-arm/unwind-mix1.s: New file.
3304 * testsuite/ld-arm/unwind-mix2.s: New file.
3306 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3309 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3310 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3311 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3312 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3313 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3314 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3316 2016-01-05 Nick Clifton <nickc@redhat.com>
3318 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3319 MSP430 hardware multiply address range.
3320 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3321 (__romdatacopysize): Define.
3322 * scripttempl/elf32msp430_3.sc: Likewise.
3324 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3326 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3327 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3329 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3331 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3332 messages expected according to MIPS BFD private data merge
3334 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3335 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3336 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3337 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3338 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3339 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3340 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3341 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3342 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3343 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3344 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3345 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3346 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3348 2016-01-01 Alan Modra <amodra@gmail.com>
3350 Update year range in copyright notice of all files.
3352 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3354 Copyright (C) 2016 Free Software Foundation, Inc.
3356 Copying and distribution of this file, with or without modification,
3357 are permitted in any medium without royalty provided the copyright
3358 notice and this notice are preserved.
3364 version-control: never