[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f02cb058
AM
12016-10-11 Alan Modra <amodra@gmail.com>
2
3 * ldlang.c (lang_do_assignments_1): Descend into output section
4 statements that do not yet have bfd sections. Set symbol section
5 temporarily for symbols defined in such statements to the undefined
6 section. Don't error on data or reloc statements until final phase.
7 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
8 in expld.section.
9 * testsuite/ld-mmix/bpo-10.d: Adjust.
10 * testsuite/ld-mmix/bpo-11.d: Adjust.
11
82057c77
AK
122016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
13
14 * emulparams/elf64_s390.sh: Move binary start to 16M.
15 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
16 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
17
769553e6
AM
182016-10-07 Alan Modra <amodra@gmail.com>
19
20 * ldexp.c (MAX): Define.
21 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
22 etree_type.value.
23
b62b1f71
AM
242016-10-07 Alan Modra <amodra@gmail.com>
25
26 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
27 * testsuite/ld-elf/elf.exp: ..here.
28
249471c0
LC
292016-10-06 Ludovic Courtès <ludo@gnu.org>
30
31 * emulparams/elf32bmipn32-defs.sh: Shift quote of
32 "x$EMULATION_NAME" to the left to work around
33 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
34
1a0670f3
AM
352016-10-06 Alan Modra <amodra@gmail.com>
36
37 * lexsup.c: Spell fall through comments consistently and add
38 missing fall through comments.
39
2b804145
AM
402016-10-06 Alan Modra <amodra@gmail.com>
41
42 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
43 by adding return.
44
94b41882
AM
452016-10-04 Alan Modra <amodra@gmail.com>
46
47 * ld.texinfo (Expression Section): Update result of arithmetic
48 expressions.
49 * ldexp.c (arith_result_section): New function.
50 (fold_binary): Use it.
51
9ad39107
AM
522016-10-04 Alan Modra <amodra@gmail.com>
53
54 * ldexp.c (exp_value_fold): New function.
55 (exp_unop, exp_binop, exp_trinop): Use it.
56
76276ff6
AM
572016-09-30 Alan Modra <amodra@gmail.com>
58
59 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
60 not relocating.
61 * scripttempl/v850_rh850.sc: Likewise.
62
80169c8a
AM
632016-09-30 Alan Modra <amodra@gmail.com>
64
65 PR ld/20528
66 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
67 multiple .text sections for hppa-linux.
68 * testsuite/ld-elf/pr20528b.d: Likewise.
69
4519d071
AM
702016-09-30 Alan Modra <amodra@gmail.com>
71
72 * ldmain.c (default_bfd_error_handler): New function pointer.
73 (ld_bfd_error_handler): New function.
74 (main): Arrange to call it on bfd errors/warnings.
75 (ld_bfd_assert_handler): Enable tail call.
76
52d45da3
AM
772016-09-30 Alan Modra <amodra@gmail.com>
78
79 * ldlang.c (ignore_bfd_errors): Update params.
80
93dc595d
L
812016-09-29 H.J. Lu <hongjiu.lu@intel.com>
82
83 PR ld/20528
84 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
85 merge 2 sections with different SHF_EXCLUDE.
86 * testsuite/ld-elf/pr20528a.d: New file.
87 * testsuite/ld-elf/pr20528a.s: Likewise.
88 * testsuite/ld-elf/pr20528b.d: Likewise.
89 * testsuite/ld-elf/pr20528b.s: Likewise.
90
2df2751d
CL
912016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
92
93 PR ld/20608
94 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
95 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
96 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
97 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
98 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
99
c5da1932
VZ
1002016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
101
102 * Makefile.in: Regenerate.
103 * configure: Likewise.
104
005d79fd
AM
1052016-09-26 Alan Modra <amodra@gmail.com>
106
107 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
108 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
109 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
110 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
111 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
112 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
113 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
114 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
115 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
116 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
117 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
118 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
119 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
120 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
121 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
122 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
123 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
124
5025eb7c
AO
1252016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
126
127 PR ld/20595
128 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
129 line and -r option to objdump command line. Match emitted relocs
130 to make sure that superflous relocs are not generated.
131
7c4236c3
AK
1322016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
133
134 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
135 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
136 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
137
0ec22c2c
NC
1382016-09-22 Nick Clifton <nickc@redhat.com>
139
140 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
141 attempts to find a needed library.
142
ad43e107
RS
1432016-09-21 Richard Sandiford <richard.sandiford@arm.com>
144
145 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
146 in addresses.
147 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
148 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
149 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
150 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
151 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
152 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
153 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
154 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
155 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
156 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
157 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
158 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
159 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
160 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
161 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
162 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
163 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
164 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
165 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
166 * testsuite/ld-aarch64/erratum835769.d: Likewise.
167 * testsuite/ld-aarch64/erratum843419.d: Likewise.
168 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
169 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
170 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
171 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
172 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
173 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
174 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
175 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
176 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
177 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
178 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
179 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
180 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
181 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
182 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
183 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
184 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
185 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
186
bb7eff52
RS
1872016-09-21 Richard Sandiford <richard.sandiford@arm.com>
188
189 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
190 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
191
a5bf7d4f
AB
1922016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
193
d4ed4da3 194 * ld.texinfo (Input Section Basics): Expand the description of
a5bf7d4f
AB
195 EXCLUDE_FILE.
196
4f90d84b
TP
1972016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
198
199 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
200 Extensions entry functions in absolute section.
201 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
202
32348c58
CZ
2032016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
204
205 * testsuite/ld-arc/tls-dtpoff.dd: New file.
206 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
207 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
208 * testsuite/ld-arc/tls-relocs.ld: Likewise.
209 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
210
29063f8b
NC
2112016-09-14 Nick Clifton <nickc@redhat.com>
212
213 PR ld/20537
214 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
215 OPTION_NO_EH_FRAME_HDR.
216 (_add_options): Add support for --no-eh-frame-hdr.
217 * ld.texinfo: Document new option.
218 * lexsup.c (elf_shlib_list_options): List new option.
219 * NEWS: Mention the new option.
220
d8457a04
L
2212016-09-06 H.J. Lu <hongjiu.lu@intel.com>
222
223 PR ld/20550
224 * testsuite/ld-x86-64/pr20550a.s: New file.
225 * testsuite/ld-x86-64/pr20550b.s: Likewise.
226 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
227 PR ld/20550.
228
22d6c51b
NC
2292016-09-06 Nick Clifton <nickc@redhat.com>
230
231 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
232 without any sanitization options.
233 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
234 any sanitization options.
235 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
236 as CFLAGS and CXXFLAGS respectively.
237
bf186506
SKS
2382016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
239
240 PR ld/20545
241 * testsuite/ld-avr/avr-prop-7.d: New test.
242 * testsuite/ld-avr/avr-prop-7.s: New test.
243 * testsuite/ld-avr/avr-prop-8.d: New test.
244 * testsuite/ld-avr/avr-prop-8.s: New test.
245
1b2d85b2
L
2462016-09-02 H.J. Lu <hongjiu.lu@intel.com>
247
248 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
249 targets.
250 * testsuite/ld-elf/pr20513d.d: Likewise.
251
652a8f4f
L
2522016-09-01 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR ld/20513
255 * testsuite/ld-elf/pr20513a.d: New file.
256 * testsuite/ld-elf/pr20513a.s: Likewise.
257 * testsuite/ld-elf/pr20513b.d: Likewise.
258 * testsuite/ld-elf/pr20513b.s: Likewise.
259 * testsuite/ld-elf/pr20513c.d: Likewise.
260 * testsuite/ld-elf/pr20513d.d: Likewise.
261 * testsuite/ld-elf/pr20513e.d: Likewise.
262 * testsuite/ld-elf/pr20513f.d: Likewise.
263
2e84f9c1
AM
2642016-08-31 Alan Modra <amodra@gmail.com>
265
266 PR 20513
267 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
268
3e8c34ea
AM
2692016-08-31 Alan Modra <amodra@gmail.com>
270
271 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
272 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
273 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
274 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
275 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
276
b2b38362
CM
2772016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
278
279 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
280 * testsuite/ld-arc/tls_ie-01.d: Likewise.
281
3c4f3228
L
2822016-08-29 H.J. Lu <hongjiu.lu@intel.com>
283
284 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
285 if ifunc attribute works.
286
74437ea2
L
2872016-08-29 H.J. Lu <hongjiu.lu@intel.com>
288
289 PR ld/14961
290 PR ld/20515
291 * testsuite/ld-i386/i386.exp: Run pr20515.
292 * testsuite/ld-i386/pr20515.d: New file.
293 * testsuite/ld-i386/pr20515.s: Likewise.
294 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
295 function.
296 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
297 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
298 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
299 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
300 * testsuite/ld-x86-64/x86-64.exp: Here.
301 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
302 * testsuite/ld-x86-64/pr19784a.c: Here.
303 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
304 * testsuite/ld-x86-64/pr19784b.c: Here.
305 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
306 * testsuite/ld-x86-64/pr19784c.c: Here.
307
68c39892
TP
3082016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
309
310 * emultempl/armelf.em (params): New static variable.
311 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
312 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
313 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
314 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
315 above new structure.
316 (arm_elf_before_allocation): Access static variable from the params
317 structure.
318 (gld${EMULATION_NAME}_finish): Likewise.
319 (arm_elf_create_output_section_statements): Likewise and pass the
320 address of that structure to bfd_elf32_arm_set_target_relocs instead
321 of the static variables.
322 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
323 structure.
324
980aa3e6
CM
3252016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
326
327 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
328 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
329
4dd72ffd
CM
3302016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
331
332 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
333 * testsuite/ld-arc/tls_ie-01.d: Likewise
334
0955507f
TP
3352016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
336
337 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
338 variable.
339 (arm_elf_create_output_section_statements): Open import input library
340 file for writing and pass resulting in_implib_bfd to
341 bfd_elf32_arm_set_target_relocs.
342 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
343 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
344 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
345 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
346 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
347 (--in-implib): Document new option.
348 * NEWS: Likewise.
349 * testsuite/ld-arm/arm-elf.exp
350 (Secure gateway import library generation): add --defsym VER=1 to gas
351 CLI.
352 (Secure gateway import library generation: errors): Likewise.
353 (Input secure gateway import library): New test.
354 (Input secure gateway import library: no output import library):
355 Likewise.
356 (Input secure gateway import library: not an SG input import library):
357 Likewise.
358 (Input secure gateway import library: earlier stub section base):
359 Likewise.
360 (Input secure gateway import library: later stub section base):
361 Likewise.
362 (Input secure gateway import library: veneer comeback): Likewise.
363 (Input secure gateway import library: entry function change):
364 Likewise.
365 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
366 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
367 * testsuite/ld-arm/cmse-new-implib.out: New file.
368 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
369 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
370 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
371 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
372 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
373 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
374
4811ccb4
AM
3752016-08-25 Alan Modra <amodra@gmail.com>
376
377 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
378 support for BE. First output all target endian configury
379 values, then opposite endian. Handle more tooldirs. Fix
380 bogus matches with strings in MANUF-OS part of target triple.
381
d44ea5d0
AM
3822016-08-23 Alan Modra <amodra@gmail.com>
383
384 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
385 twice.
386
dd905818
NC
3872016-08-19 Nick Clifton <nickc@redhat.com>
388
576438f0
NC
389 * emultempl/aarch64elf.em (before_parse): Initialise the relro
390 field in the link_info structure.
391 * emultempl/armelf.em (before_parse): Likewise.
392 * emultempl/linux.em (before_parse): Likewise.
393 * emultempl/scoreelf.em (before_parse): Likewise.
394
dd905818
NC
395 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
396 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
397 * testsuite/ld-alpha/tlspic.rd: Likewise.
398 * testsuite/ld-cris/libdso-2.d: Likewise.
399 * testsuite/ld-i386/nogot1.d: Likewise.
400 * testsuite/ld-i386/pr12718.d: Likewise.
401 * testsuite/ld-i386/pr12921.d: Likewise.
402 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
403 * testsuite/ld-i386/tlsbin.rd: Likewise.
404 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
405 * testsuite/ld-i386/tlsbin2.rd: Likewise.
406 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
407 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
408 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
409 * testsuite/ld-i386/tlsdesc.rd: Likewise.
410 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
411 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
412 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
413 * testsuite/ld-i386/tlsnopic.rd: Likewise.
414 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
415 * testsuite/ld-i386/tlspic.rd: Likewise.
416 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
417 * testsuite/ld-i386/tlspic2.rd: Likewise.
418 * testsuite/ld-ia64/tlsbin.rd: Likewise.
419 * testsuite/ld-ia64/tlspic.rd: Likewise.
420 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
421 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
422 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
423 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
424 * testsuite/ld-mmix/bspec1.d: Likewise.
425 * testsuite/ld-mmix/bspec2.d: Likewise.
426 * testsuite/ld-mmix/local1.d: Likewise.
427 * testsuite/ld-mmix/local3.d: Likewise.
428 * testsuite/ld-mmix/local5.d: Likewise.
429 * testsuite/ld-mmix/local7.d: Likewise.
430 * testsuite/ld-mmix/undef-3.d: Likewise.
431 * testsuite/ld-powerpc/tlsexe.r: Likewise.
432 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
433 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
434 * testsuite/ld-powerpc/tlsso.r: Likewise.
435 * testsuite/ld-powerpc/tlsso32.r: Likewise.
436 * testsuite/ld-powerpc/tlstocso.r: Likewise.
437 * testsuite/ld-s390/tlsbin.rd: Likewise.
438 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
439 * testsuite/ld-s390/tlspic.rd: Likewise.
440 * testsuite/ld-s390/tlspic_64.rd: Likewise.
441 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
442 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
443 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
444 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
445 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
446 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
447 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
448 * testsuite/ld-sh/tlsbin-2.d: Likewise.
449 * testsuite/ld-sh/tlspic-2.d: Likewise.
450 * testsuite/ld-sparc/gotop32.rd: Likewise.
451 * testsuite/ld-sparc/gotop64.rd: Likewise.
452 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
453 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
454 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
455 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
456 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
457 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
458 * testsuite/ld-tic6x/common.d: Likewise.
459 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
460 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
461 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
462 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
463 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
464 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
465 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
466 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
467 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
468 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
469 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
470 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
471 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
472 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
473 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
474 * testsuite/ld-x86-64/nogot1.d: Likewise.
475 * testsuite/ld-x86-64/pr12718.d: Likewise.
476 * testsuite/ld-x86-64/pr12921.d: Likewise.
477 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
478 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
479 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
480 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
481 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
482 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
483 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
484 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
485 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
486 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
487 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
488 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
489 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
490 * testsuite/ld-x86-64/tlspic.rd: Likewise.
491 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
492 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
493 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
494 * testsuite/ld-xtensa/tlspic.rd: Likewise.
495
626c539f
AM
4962016-08-18 Alan Modra <amodra@gmail.com>
497
498 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
499 unresolved.
500
90ac2420
AM
5012016-08-12 Alan Modra <amodra@gmail.com>
502
503 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
504 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
505 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
506 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
507 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
508 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
509 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
510 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
511 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
512 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
513 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
514 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
515 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
516
bf174910
AM
5172016-08-12 Alan Modra <amodra@gmail.com>
518
519 * testsuite/ld-undefined/weak-fundef.s: New.
520 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
521 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
522 much of old code. Use is_elf_format to select targets.
523
8be1e369
AM
5242016-08-11 Alan Modra <amodra@gmail.com>
525
526 PR ld/20436
527 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
528 remote_exec status.
529 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
530
7f6bf02d
NC
5312016-08-11 Nick Clifton <nickc@redhat.com>
532
533 PR ld/20436
534 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
535 testing remotely, check to see if target compiler is installed
536 before trying to run it.
537
3807734d
MR
5382016-08-10 Maciej W. Rozycki <macro@imgtec.com>
539
540 PR ld/15428
541 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
542 test 2.
543
0375b0a5
MR
5442016-08-10 Maciej W. Rozycki <macro@imgtec.com>
545
546 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
547 test.
548 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
549 test.
550 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
551 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
552 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
553 source.
554 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
555 source.
556 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
557
5ff55910
L
5582016-08-09 H.J. Lu <hongjiu.lu@intel.com>
559
560 PR ld/20436
561 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
562 proc.
563 (check_lto_available): Return 0 if check_gcc_plugin_enabled
564 returns 0.
565 (check_lto_fat_available): Likewise.
566 (check_lto_shared_available): Likewise.
567
7cfee229
RM
5682016-08-09 Roland McGrath <roland@hack.frob.com>
569
570 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
571
54ddd295
TP
5722016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
573
574 * emultempl/armelf.em (cmse_implib): Declare and define this new
575 static variable.
576 (arm_elf_create_output_section_statements): Add new cmse_implib
577 parameter.
578 (OPTION_CMSE_IMPLIB): Define macro.
579 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
580 (PARSE_AND_LIST_OPTIONS): Likewise.
581 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
582 * ld.texinfo (--cmse-implib): Document new option.
583 * testsuite/ld-arm/arm-elf.exp
584 (Secure gateway import library generation): New test.
585 (Secure gateway import library generation: errors): Likewise.
586 * testsuite/ld-arm/cmse-implib.s: New file.
587 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
588 * testsuite/ld-arm/cmse-implib.rd: Likewise.
589
4ba2ef8f
TP
5902016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
591
592 * ld.texinfo (Placement of SG veneers): New concept entry.
593 * testsuite/ld-arm/arm-elf.exp
594 (Secure gateway veneers: no .gnu.sgstubs section): New test.
595 (Secure gateway veneers: wrong entry functions): Likewise.
596 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
597 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
598 * testsuite/ld-arm/cmse-veneers.s: New file.
599 * testsuite/ld-arm/cmse-veneers.d: Likewise.
600 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
601 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
602 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
603 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
604
a94d834c
NC
6052016-08-02 Nick Clifton <nickc@redhat.com>
606
607 PR ld/17739
608 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
609 valye 'yes'.
610 * emulparams/shelf32.sh: Likewise.
611 * emulparams/shelf32.sh: Likewise.
612 * emulparams/shelf_nto.sh: Likewise.
613 * emulparams/shelf_nto.sh: Likewise.
614 * emulparams/shelf_vxworks.sh: Likewise.
615 * emulparams/shelf_vxworks.sh: Likewise.
616 * emulparams/shlelf32_linux.sh: Likewise.
617 * emulparams/shlelf32_linux.sh: Likewise.
618 * emulparams/shlelf_linux.sh: Likewise.
619 * emulparams/shlelf_linux.sh: Likewise.
620 * emulparams/shlelf_nto.sh: Likewise.
621 * emulparams/shlelf_nto.sh: Likewise.
622
7bd374a4
MR
6232016-07-27 Maciej W. Rozycki <macro@imgtec.com>
624
625 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
626 patterns for branch compaction.
627 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
628 Likewise.
629
61d2d2b5
NC
6302016-07-27 Nick Clifton <nickc@redhat.com>
631
632 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
633 test to targets which support cfi.
634
7fca8e8f
IK
6352016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
636
637 * ldbuildid.c (generate_build_id): Warning fix.
638
54806ffa
MR
6392016-07-26 Maciej W. Rozycki <macro@imgtec.com>
640
641 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
642 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
643 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
644 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
645 test.
646 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
647 test.
648 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
649 New test.
650 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
651 New test.
652 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
653 New test.
654 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
655 New test.
656 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
657 New test.
658 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
659 New test.
660 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
661 New test.
662 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
663 New test.
664 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
665
d0d4152f
IK
6662016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
667
668 * ldbuildid.c: Changes for MinGW32:
669 Include windows.h and rpcdce.h.
670 (validate_build_id_style): Allow "uuid" style.
671 (generate_build_id): Fill in id_bits using UuidCreate().
672
95804507
AM
6732016-07-25 Alan Modra <amodra@gmail.com>
674
675 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
676 and m32r. Correct comment. Relax ld -r match to account for
677 msp increased number of default sections.
678
c02d11a5
CM
6792016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
680
681 * testsuite/ld-arc/got-01.d: New file.
682 * testsuite/ld-arc/got-01.s: New file.
683
fecd57f9
L
6842016-07-21 H.J. Lu <hongjiu.lu@intel.com>
685
686 * configure: Regenerated.
687
982c6f26
AM
6882016-07-21 Alan Modra <amodra@gmail.com>
689
690 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
691 "targets_to_xfail" parameter with "args".
692 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
693 all calls to run_ld_link_exec_tests.
694 * testsuite/ld-elf/dwarf.exp: Likewise.
695 * testsuite/ld-elf/indirect.exp: Likewise.
696 * testsuite/ld-elf/wrap.exp: Likewise.
697 * testsuite/ld-i386/i386.exp: Likewise.
698 * testsuite/ld-i386/no-plt.exp: Likewise.
699 * testsuite/ld-i386/tls.exp: Likewise.
700 * testsuite/ld-ifunc/ifunc.exp: Likewise.
701 * testsuite/ld-pie/pie.exp: Likewise.
702 * testsuite/ld-plugin/lto.exp: Likewise.
703 * testsuite/ld-size/size.exp: Likewise.
704 * testsuite/ld-x86-64/mpx.exp: Likewise.
705 * testsuite/ld-x86-64/no-plt.exp: Likewise.
706 * testsuite/ld-x86-64/tls.exp: Likewise.
707 * testsuite/ld-x86-64/x86-64.exp: Likewise.
708 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
709 xfails and simplify lists.
710 * testsuite/ld-elf/shared.exp: Likewise.
711
5df1bc57
AM
7122016-07-21 Alan Modra <amodra@gmail.com>
713
714 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
715 parameter to pass list of xfails.
716 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
717 implib test formatting. Don't set .data start address.
718 * testsuite/ld-elf/implib.s: Remove first .bss directive and
719 replace second one with equivalent .section directive.
720 * testsuite/ld-elf/empty-implib.out: Add expected final error.
721 * testsuite/ld-elf/implib.rd: Update.
722
b751e639
AM
7232016-07-20 Alan Modra <amodra@gmail.com>
724
725 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
726 fold expression.
727 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
728
3af09e8d
RM
7292016-07-19 Roland McGrath <roland@hack.frob.com>
730
731 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
732 * emulparams/aarch64elf32.sh: Likewise.
733
a6ebf616
MR
7342016-07-19 Maciej W. Rozycki <macro@imgtec.com>
735
736 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
737 messages expected.
738 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
739 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
740 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
741 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
742 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
743 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
744 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
745 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
746 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
747 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
748 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
749 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
750 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
751 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
752 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
753 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
754 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
755 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
756 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
757 source.
758 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
759 source.
760 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
761
9d862524
MR
7622016-07-19 Maciej W. Rozycki <macro@imgtec.com>
763
764 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
765 expected.
766 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
767 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
768 Likewise.
769 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
770 Likewise.
771 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
772 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
773 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
774 microMIPS BAL and MIPS16 instructions.
775 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
776 accordingly.
777 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
778 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
779 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
780 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
781 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
782 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
783 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
784 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
785 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
786
ace667e5
AB
7872016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * plugin.c (plugin_call_claim_file): Restore the file offset after
790 an unsuccessful attempt to claim a file.
791 * testplug.c (bytes_to_read_before_claim): New global.
792 (record_read_length): New function, sets new global
793 bytes_to_read_before_claim.
794 (parse_option): Handle 'read:<NUMBER>' option.
795 (onclaim_file): Read file content before checking for claim.
796 * testsuite/ld-plugin/plugin-30.d: New file.
797 * testsuite/ld-plugin/plugin.exp: Add new test.
798
7d0b9ebc
AM
7992016-07-16 Alan Modra <amodra@gmail.com>
800
801 * plugin.c: Don't include libbfd.h. Include plugin-api.h
802 before bfd/plugin.h.
803 (plugin_object_p): Use bfd_plugin_open_input.
804
4212b42d
AM
8052016-07-16 Alan Modra <amodra@gmail.com>
806
807 * ldlang.c (open_output): Replace bfd_search_for_target with
808 bfd_iterate_over_targets. Localize vars.
809
76e7a751
AM
8102016-07-16 Alan Modra <amodra@gmail.com>
811
812 * ldlang.c: Don't include libbfd.h.
813 * emultempl/nds32elf.em: Likewise.
814 * emultempl/ppc64elf.em: Likewise.
815 * emultempl/ppc32elf.em: Likewise.
816 (pagesize): Delete.
817 (params): Update init.
818 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
819 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
820 * emultempl/sh64elf.em: Don't include libbfd.h.
821 (after_allocation): Use ASSERT, not BFD_ASSERT.
822 * emultempl/xtensaelf.em: Don't include libbfd.h.
823 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
824 * Makefile.am: Update dependencies.
825 * Makefile.in: Regenerate.
826
76359541
TP
8272016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
828 Nick Clifton <nickc@redhat.com>
829
830 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
831 library file for writing and initialize implib_bfd field of link_info
832 structure.
833 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
834 (OPTION_IMPLIB_FILENAME): Remove macro definition.
835 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
836 (gld_${EMULATION_NAME}_list_options): Likewise.
837 (gld${EMULATION_NAME}_handle_option): Likewise.
838 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
839 instead of pe_implib_filename.
840 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
841 (OPTION_IMPLIB_FILENAME): Remove enumerator.
842 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
843 (gld_${EMULATION_NAME}_list_options): Likewise.
844 (gld${EMULATION_NAME}_handle_option): Likewise.
845 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
846 instead of pep_implib_filename.
847 * ld.h (args_type): Declare new out_implib_filename field.
848 * ld.texinfo (--out-implib): Move documentation to arch-independent
849 part and rephrase to apply to ELF targets.
850 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
851 defined in linker scripts.
852 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
853 enumerator.
854 * lexsup.c (ld_options): Add entry for new --out-implib switch.
855 (parse_args): Handle OPTION_OUT_IMPLIB case.
856 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
857 (Generate import library): Likewise.
858 * testsuite/ld-elf/implib.s: Likewise.
859 * testsuite/ld-elf/implib.rd: New file.
860 * testsuite/ld-elf/empty-implib.out: Likewise
861
f7e8b360
NC
8622016-07-15 Nick Clifton <nickc@redhat.com>
863
864 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
865 little endian mode.
866
b416ba9b
MR
8672016-07-14 Maciej W. Rozycki <macro@imgtec.com>
868
869 * testsuite/ld-mips-elf/mips-elf.exp: Run
870 `branch-absolute-addend', `mips16-branch-absolute',
871 `mips16-branch-absolute-addend' and
872 `micromips-branch-absolute-addend'.
873
96e9ba5f
MR
8742016-07-14 Maciej W. Rozycki <macro@imgtec.com>
875
876 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
877 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
878 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
879 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
880 test.
881 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
882 test.
883 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
884 test.
885 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
886 from `mips16-branch-absolute' and
887 `mips16-branch-absolute-addend', referred indirectly only.
888
0c117286
MR
8892016-07-14 Maciej W. Rozycki <macro@imgtec.com>
890
891 * testsuite/ld-mips-elf/branch-absolute.d: New test.
892 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
893 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
894 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
895 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
896 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
897 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
898 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
899 test.
900 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
901 test.
902 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
903 test.
904 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
905 New test.
906 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
907 New test.
908 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
909 from `branch-absolute-addend' and
910 `micromips-branch-absolute-addend', referred indirectly only.
911
fa1c0170
CZ
9122016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
913
914 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
915 * testsuite/ld-arc/sda-relocs.dd: New file.
916 * testsuite/ld-arc/sda-relocs.ld: Likewise.
917 * testsuite/ld-arc/sda-relocs.rd: Likewise.
918 * testsuite/ld-arc/sda-relocs.s: Likewise.
919 * testsuite/ld-arc/arc.exp: Add SDA tests.
920
764cfd4a
CZ
9212016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
922
923 * testsuite/ld-arc/nps-1b.err: Update test to handle more
924 verbosity.
925
32a0481f
AM
9262016-07-09 Alan Modra <amodra@gmail.com>
927
928 * testsuite/ld-powerpc/elfv2exe.d: Update.
929
3a5ce950 9302016-07-06 James Bowman <james.bowman@ftdichip.com>
931
932 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
933 (DATA): add ALIGN.
934 (BSS): add ALIGN
935
29d7478b
L
9362016-07-05 H.J. Lu <hongjiu.lu@intel.com>
937
938 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
939
d5a67c02
AV
9402016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
941
942 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
943 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
944 * testsuite/ld-arm/arm-elf.exp: Run it.
945
f0728ee3
AV
9462016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
947
948 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
949 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
950 all noread's by purecode.
951
1753ed68
JB
9522016-07-05 Jan Beulich <jbeulich@suse.com>
953
954 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
955 assignment line number.
956 * ldlex.l (lineno): Drop initializer.
957 (<<EOF>>): Set lineno to zero after reaching top of stack.
958
c3e1c28e
L
9592016-07-04 H.J. Lu <hongjiu.lu@intel.com>
960
961 PR ld/20321
962 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
963 been loaded already.
964 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
965 * testsuite/ld-plugin/pr20321.c: New file.
966
1dc8bf19
NC
9672016-07-04 Nick Clifton <nickc@redhat.com>
968
969 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
970 (__RAMSIZE): If not defined, set to 64K.
971 (MEMORY): Set the flash region size to __PMSIZE and the ram region
972 size to __RAMSIZE.
973
6f50d611
MR
9742016-07-02 Maciej W. Rozycki <macro@imgtec.com>
975
976 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
977 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
978
5e866f5a
TP
9792016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
980
981 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
982 (Thumb-2 BL on ARMv6-M): New testcase.
983 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
984 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
985
96a84ea3
TG
9862016-07-01 Tristan Gingold <gingold@adacore.com>
987
988 * NEWS: Add marker for 2.27.
989
f4ab0e2d
L
9902016-06-28 H.J. Lu <hongjiu.lu@intel.com>
991
992 * testsuite/ld-gc/gc.exp: Run pr20306 test.
993 * ld-gc/pr20306.c: New file.
994 * ld-gc/pr20306.d: Likewise.
995
1b857aee
NC
9962016-06-28 Nick Clifton <nickc@redhat.com>
997
998 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
999 for bfin.
1000 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1001 tests to fail for bfin.
1002 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1003 nds32 and visium.
1004 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1005 microblaze.
1006 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1007 mcore-pe.
1008
10092016-06-28 Nick Clifton <nickc@redhat.com>
1010
1011 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1012 expect to fail this test.
1013 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1014 RX.
1015 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1016 fail for the RX.
1017 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1018 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1019 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1020 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1021 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1022
7160c10d
JC
10232016-06-28 James Clarke <jrtc27@jrtc27.com>
1024
1025 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1026 .text.
1027
6c9a7fb6
MR
10282016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1029
1030 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1031 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1032 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1033 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1034
56a30421
AM
10352016-06-28 Alan Modra <amodra@gmail.com>
1036
1037 PR ld/20302
1038 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1039
c9775dde
MR
10402016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1041
1042 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1043 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1044 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1045 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1046 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1047 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1048
42b7a39b
NC
10492016-06-27 Nick Clifton <nickc@redhat.com>
1050
1051 PR ld/20302
1052 * lexsup.c (set_segment_start): If resetting the start address of
1053 a section, remember to generate a new script element as well.
1054 * testsuite/ld-scripts/pr20302.d: New test.
1055 * testsuite/ld-scripts/scripts.exp: Run the new test.
1056
78da3bc1
AM
10572016-06-24 Alan Modra <amodra@gmail.com>
1058
1059 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1060 Don't error out, always return an emulation.
1061
da4463c7
L
10622016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1063 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1066 for -z relro help message.
1067
4041bc9b
MR
10682016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1069
1070 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1071 address matching.
1072
4861b804
MR
10732016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1074
1075 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1076 `undefweak-overflow' tests.
1077
647e4d46
L
10782016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 PR ld/20283
1081 * NEWS: Mention --enable-relro.
1082 * configure.ac: Add --enable-relro.
1083 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1084 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1085 some Linux targets.
1086 * config.in: Regenerated.
1087 * configure: Likewise.
1088 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1089 link_info.relro to DEFAULT_LD_Z_RELRO.
1090 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1091 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1092 $ld_elf_shared_opt to ld for ELF targets with shared object
1093 support.
1094 (run_ld_link_tests): Likewise.
1095
5f68df25
MR
10962016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1097
1098 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1099 twice rather than once.
1100 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1101 accordingly. Remove the full stop from the end of the message.
1102
bdd582db
GM
11032016-06-21 Graham Markall <graham.markall@embecosm.com>
1104
1105 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1106 * testsuite/ld-arc/nps-1b.d: Likewise.
1107
7dc3990e
L
11082016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 PR ld/20267
1111 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1112 PR ld/20267.
1113 (lto_run_tests): Likewise.
1114 * testsuite/ld-plugin/pr20267a.c: New file.
1115 * testsuite/ld-plugin/pr20267b.c: Likewise.
1116
0616a280
AM
11172016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1118 Alan Modra <amodra@gmail.com>
1119
1120 PR ld/20276
1121 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1122 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1123 PR ld/20276.
1124 (lto_run_tests): Likewise.
1125 * testsuite/ld-plugin/pass.out: New file.
1126 * testsuite/ld-plugin/pr20276a.c: Likewise.
1127 * testsuite/ld-plugin/pr20276b.c: Likewise.
1128
49f30d83
L
11292016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1132 with bfd_plugin_unknown.
1133
233cc9c1
L
11342016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 PR ld/20253
1137 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1138 * testsuite/ld-i386/no-plt.exp: Likewise.
1139 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1140 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1141 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1142 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1143 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1144 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1145 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1146 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1147 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1148 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1149 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1150 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1151 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1152 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1153 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1154 * testsuite/ld-i386/pr20244-2b.d: Updated.
1155 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1156 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1157 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1158 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1159 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1160 * testsuite/ld-i386/pr20253-1a.c: New file.
1161 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1162 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1163 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1164 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1165 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1166 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1167 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1168 * testsuite/ld-i386/pr20253-3.d: Likewise.
1169 * testsuite/ld-i386/pr20253-3.s: Likewise.
1170 * testsuite/ld-i386/pr20253-4.s: Likewise.
1171 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1172 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1173 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1174 * testsuite/ld-i386/pr20253-5.d: Likewise.
1175 * testsuite/ld-i386/pr20253-5.s: Likewise.
1176 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1177 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1178 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1179 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1180 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1181 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1182 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1183 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1184 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1185 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1186 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1187 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1188 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1189 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1190 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1191 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1192 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1193 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1194 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1195 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1196 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1197 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1198 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1199 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1200 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1201 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1202 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1203 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1204 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1205 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1206 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1207 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1208 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1209 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1210 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1211 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1212 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1213 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1214 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1215 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1216 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1217 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1218 relocation.
1219 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1220 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1221 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1222 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1223 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1224
80c135e5
TP
12252016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1226 Tony Wang <tony.wang@arm.com>
1227
1228 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1229 Assemble for ARMv6-M.
1230 (Thumb2-Thumb2 farcall M profile): New testcase.
1231 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1232 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1233 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1234 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1235
ca45f6e9
L
12362016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1239 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1240 Remove .rel.plt section.
1241 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1242
3a4b0e0f
L
12432016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1246 function pointer.
1247 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1248 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1249 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1250 function pointer.
1251 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1252 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1253 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1254 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1255 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1256 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1257 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1258 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1259 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1260 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1261 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1262 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1263 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1264 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1265 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1266 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1267 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1268 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1269 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1270
31eef93e
SKS
12712016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1272
1273 PR ld/20254
1274 * testsuite/ld-avr/avr-prop-6.d: New test.
1275 * testsuite/ld-avr/avr-prop-6.s: New test.
1276
0aa7f586
AM
12772016-06-14 Alan Modra <amodra@gmail.com>
1278
1279 * ldbuildid.c: Formatting.
1280 * ldcref.c: Formatting.
1281 * ldctor.c: Formatting.
1282 * ldemul.c: Formatting.
1283 * ldexp.c: Formatting.
1284 * ldfile.c: Formatting.
1285 * ldlang.c: Formatting.
1286 * ldmain.c: Formatting.
1287 * ldwrite.c: Formatting.
1288
3860d2b4
AM
12892016-06-14 Alan Modra <amodra@gmail.com>
1290
1291 * ldlang.c: Expand uses of bfd_my_archive.
1292 * ldmain.c: Likewise.
1293 * ldmisc.c: Likewise.
1294 * plugin.c: Likewise.
1295
b0cffb47
AM
12962016-06-14 Alan Modra <amodra@gmail.com>
1297
1298 PR ld/20241
1299 * ldmain.c (add_archive_element): Just print file name of file within
1300 thin archives.
1301 * ldmisc.c (vfinfo): Likewise.
1302 * plugin.c (plugin_object_p): Open file within thin archives.
1303 (plugin_maybe_claim): Expand comment.
1304
712ec279
L
13052016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 PR ld/20244
1308 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1309 pr20244-2c and pr20244-2d.
1310 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1311 * testsuite/ld-i386/pr20244-2.s: New file.
1312 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1313 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1314 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1315 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1316 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1317 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1318 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1319 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1320
ca8c86ef
L
13212016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1322
1323 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1324 * testsuite/ld-i386/ifunc-1a.c: New file.
1325 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1326 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1327 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1328
82f46e2c
CM
13292016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1330
1331 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1332 big endian ARC targets.
1333
6d84fed1
L
13342016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1337 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1338 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1339 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1340 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1341 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1342 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1343 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1344 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1345 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1346 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1347 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1348 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1349 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1350 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1351
74d7f0aa
L
13522016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1353
1354 PR ld/20244
1355 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1356 * testsuite/ld-i386/pr20244-1.s: New file.
1357 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1358 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1359 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1360
5c41dbc3
DC
13612016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1362
1363 PR ld/20221
1364 * testsuite/ld-avr/avr-prop-5.d: New.
1365 * testsuite/ld-avr/avr-prop-5.s: New.
1366
1857fe72 13672016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 1368
1857fe72
DC
1369 * testsuite/ld-avr/lds-mega.d: New test.
1370 * testsuite/ld-avr/lds-mega.s: New test source.
1371 * testsuite/ld-avr/lds-tiny.d: New test.
1372 * testsuite/ld-avr/lds-tiny.s: New test source.
1373
cd41072b
L
13742016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1375
1376 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1377 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1378 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1379 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1380 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1381 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1382 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1383 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1384 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1385 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1386 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1387 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1388 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1389 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1390 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1391 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1392 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1393 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1394 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1395 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1396 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1397 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1398 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1399 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1400 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1401 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1402 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1403 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1404 * testsuite/ld-i386/no-plt.exp: Likewise.
1405
dcc03cb3
L
14062016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1407
1408 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1409 name.
1410
6eaa7fb5
L
14112016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1414 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1415 * testsuite/ld-i386/pass.out: New file.
1416 * testsuite/ld-i386/tls-def1.c: Likewise.
1417 * testsuite/ld-i386/tls-gd1.S: Likewise.
1418 * testsuite/ld-i386/tls-ld1.S: Likewise.
1419 * testsuite/ld-i386/tls-main1.c: Likewise.
1420 * testsuite/ld-i386/tls.exp: Likewise.
1421 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1422 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1423 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1424 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1425 * testsuite/ld-i386/tlsbin2.td: Likewise.
1426 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1427 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1428 * testsuite/ld-i386/tlsgd3.s: Likewise.
1429 * testsuite/ld-i386/tlsgd4.d: Likewise.
1430 * testsuite/ld-i386/tlsgd4.s: Likewise.
1431 * testsuite/ld-i386/tlsld2.s: Likewise.
1432 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1433 * testsuite/ld-i386/tlspic2.dd: Likewise.
1434 * testsuite/ld-i386/tlspic2.rd: Likewise.
1435 * testsuite/ld-i386/tlspic2.sd: Likewise.
1436 * testsuite/ld-i386/tlspic2.td: Likewise.
1437 * testsuite/ld-i386/tlspic3.s: Likewise.
1438 * testsuite/ld-i386/tlspie3.s: Likewise.
1439 * testsuite/ld-i386/tlspie3a.d: Likewise.
1440 * testsuite/ld-i386/tlspie3b.d: Likewise.
1441 * testsuite/ld-i386/tlspie3c.d: Likewise.
1442
010bc3ce
L
14432016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1446 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1447 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1448 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1449 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1450 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1451 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1452 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1453
1f26b7ae
L
14542016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1457 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1458 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1459 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1460 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1461 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1462 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1463 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1464 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1465 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1466 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1467 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1468 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1469 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1470 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1471 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1472 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1473 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1474 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1475 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1476 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1477
1133012c
MR
14782016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1479
1480 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1481
161db279
AK
14822016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1483
1484 * testsuite/ld-s390/pltoffset-1.dd: New test.
1485 * testsuite/ld-s390/pltoffset-1.ld: New test.
1486 * testsuite/ld-s390/pltoffset-1.s: New test.
1487 * testsuite/ld-s390/s390.exp: Run new test.
1488
14b57c7c
AM
14892016-06-07 Alan Modra <amodra@gmail.com>
1490
1491 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1492 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1493 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1494
e2cbcd91
L
14952016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 * testsuite/ld-x86-64/pass.out: New file.
1498 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1499 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1500 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1501 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1502 * testsuite/ld-x86-64/tls.exp: Likewise.
1503 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1504 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1505 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1506 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1507 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1508 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1509 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1510 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1511 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1512 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1513 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1514 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1515 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1516 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1517 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1518 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1519 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1520 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1521 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1522 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1523 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1524 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1525 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1526 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1527 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1528 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1529 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1530 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1531 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1532 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1533 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1534 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1535 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1536 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1537 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1538 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1539 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1540 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1541 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1542 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1543 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1544 tlspie2c.
1545
2ac27cd3
CG
15462016-06-04 Christian Groessler <chris@groessler.org>
1547
67cb102b
CG
1548 * testsuite/ld-z8k/0filler.s: New file.
1549 * testsuite/ld-z8k/branch-target.s: New file.
1550 * testsuite/ld-z8k/branch-target2.s: New file.
1551 * testsuite/ld-z8k/calr-back-8001.d: New file.
1552 * testsuite/ld-z8k/calr-back-8002.d: New file.
1553 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1554 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1555 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1556 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1557 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1558 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1559 * testsuite/ld-z8k/calr-opcode.s: New file.
1560 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1561 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1562 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1563 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1564 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1565 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1566 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1567 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1568 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1569 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1570 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1571 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1572 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1573 * testsuite/ld-z8k/djnz-opcode.s: New file.
1574 * testsuite/ld-z8k/filler.s: New file.
1575 * testsuite/ld-z8k/jr-back-8001.d: New file.
1576 * testsuite/ld-z8k/jr-back-8002.d: New file.
1577 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1578 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1579 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1580 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1581 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1582 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1583 * testsuite/ld-z8k/jr-opcode.s: New file.
1584 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1585 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1586 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1587 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1588 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1589 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1590 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1591 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1592 * testsuite/ld-z8k/ldr-opcode.s: New file.
1593 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1594 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1595 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1596 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1597 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1598 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1599 * testsuite/ld-z8k/other-file.s: New file.
1600 * testsuite/ld-z8k/reloc.dd: New file.
1601 * testsuite/ld-z8k/reloc.ld: New file.
1602 * testsuite/ld-z8k/relocseg.dd: New file.
1603 * testsuite/ld-z8k/relocseg.ld: New file.
1604 * testsuite/ld-z8k/relocseg1.dd: New file.
1605 * testsuite/ld-z8k/this-file.s: New file.
1606 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 1607
b1058ce9
L
16082016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1611 with -mrelax-relocations=yes.
1612 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1613 * testsuite/ld-i386/lea1b.d (as): Likewise.
1614 * testsuite/ld-i386/lea1d.d (as): Likewise.
1615 * testsuite/ld-i386/lea1e.d (as): Likewise.
1616 * testsuite/ld-i386/lea1f.d (as): Likewise.
1617 * testsuite/ld-i386/load7.d (as): Likewise.
1618 * testsuite/ld-i386/mov1b.d (as): Likewise.
1619 * testsuite/ld-i386/pr19175.d (as): Likewise.
1620 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1621 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1622 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1623 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1624 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1625
4ad0bb5f
VG
16262016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1627
1628 * configure.tgt: Replace -uclibc with *.
1629
99aefae6
MR
16302016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1631
1632 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1633 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1634 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1635 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1636
3b4412a0
MR
16372016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1638
1639 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1640 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1641 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1642 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1643 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1644 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1645
77434823
MR
16462016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1647
1648 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1649 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1650 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1651 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1652 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1653 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1654 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1655
1a72702b
AM
16562016-05-28 Alan Modra <amodra@gmail.com>
1657
1658 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1659 constructor_callback, warning_callback, undefined_symbol,
1660 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1661 * emultempl/elf32.em: Adjust callback calls.
1662
bc27bb05
MR
16632016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1664
1665 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1666 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1667 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1668 test.
1669 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1670 test.
1671 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1672 test.
1673 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1674 test.
1675 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1676 source.
1677 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1678 source.
1679 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1680
ceab86af
MR
16812016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1682
1683 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1684 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1685 new test.
1686 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1687
ed53407e
MR
16882016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1689
1690 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1691 `unaligned-jalx-2' here.
1692 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1693 `unaligned-jalx-mips16-2' here.
1694 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1695 `unaligned-jalx-micromips-2' here.
1696 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1697 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1698 message.
1699 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1700 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1701 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1702 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1703 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1704 test.
1705 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1706 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1707 `unaligned-lwpc-3' here.
1708 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1709 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1710 `unaligned-lwpc-2' here.
1711 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1712 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1713 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1714 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1715 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1716 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1717 `unaligned-ldpc-4' here.
1718 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1719 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1720 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1721 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1722 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1723 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1724 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1725 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1726 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1727 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1728 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1729
0d832c8e
NC
17302016-05-26 Nick Clifton <nickc@redhat.com>
1731
1732 PR target/20134
1733 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1734 __bsssize.
1735 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1736
de341542 17372016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 1738
de341542
MR
1739 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1740 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1741 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1742 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1743 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1744 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1745 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1746 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1747 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1748 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1749 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1750 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1751 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1752 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1753 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1754 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1755 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1756 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1757 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1758 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1759 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1760 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1761 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1762 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1763 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1764 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1765 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1766 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1767 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1768 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1769 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1770 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1771 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1772
b95a0a31
L
17732016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 PR ld/20103
1776 * ldmain.c (add_archive_element): Don't claim new IR symbols
1777 after all IR symbols have been claimed.
1778 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1779 check.
1780 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1781 Run PR ld/20103 tests.
1782 * testsuite/ld-plugin/pr20103a.c: New file.
1783 * testsuite/ld-plugin/pr20103b.c: Likewise.
1784 * testsuite/ld-plugin/pr20103c.c: Likewise.
1785
44d3da23 17862016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3af09e8d 1787
44d3da23
MR
1788 * testsuite/ld-mips-elf/jalx-local.d: New test.
1789 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1790 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1791 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1792
a2bea324
KS
17932016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1794
1795 * Makefile.am: Add earmelf_phoenix.c.
1796 * Makefile.in: Regenerate.
1797 * configure.tgt: Add entry for arm-phoenix.
1798 * emulparams/armelf_phoenix.sh: New file.
1799
daa4adae
TP
18002016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1801
1802 * emultempl/armelf.em (arm_elf_before_allocation): Call
1803 bfd_elf32_arm_keep_private_stub_output_sections before generic
1804 before_allocation function.
1805
17c6c9d9
MR
18062016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1807
1808 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1809 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1810 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1811 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1812
7d4d9709
L
18132016-05-19 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 PR ld/20117
1816 * testsuite/ld-i386/i386.exp: Run pr20117.
1817 * testsuite/ld-i386/pr19609-1i.d: Updated.
1818 * testsuite/ld-i386/pr20117.d: New file.
1819 * testsuite/ld-i386/pr20117.s: Likewise.
1820
fc3eec7e
CZ
18212016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1822
1823 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1824 * testsuite/ld-elf/group8a.d: Likewise.
1825 * testsuite/ld-elf/group8b.d: Likewise.
1826 * testsuite/ld-elf/group9a.d: Likewise.
1827 * testsuite/ld-elf/group9b.d: Likewise.
1828 * testsuite/ld-elf/pr12851.d: Likewise.
1829 * testsuite/ld-elf/pr12975.d: Likewise.
1830 * testsuite/ld-elf/pr13177.d: Likewise.
1831 * testsuite/ld-elf/pr13195.d: Likewise.
1832 * testsuite/ld-elf/pr17615.d: Likewise.
1833 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1834 * testsuite/ld-elf/group3b.d: Likewise.
1835 * testsuite/ld-srec/srec.exp: Likewise.
1836 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1837 as supporting gc.
1838 (check_shared_lib_support): Mark ARC as supporting.
1839
c0913ebf
CZ
18402016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1841
1842 * emulparams/arcelf.sh: Changed.
1843 * emulparams/arclinux.sh: Likewise.
1844 * scripttempl/arclinux.sc: Moved to a more standard implementation
1845 similar to elf.sc.
1846
c4107a7d
MR
18472016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1848
1849 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1850 `ft32-*-*' behind `frv-*-*'.
1851
6b200de0
MR
18522016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1853
1854 * configure.tgt: Remove `am34-*-linux*' support.
1855
82bc9362
AM
18562016-05-19 Alan Modra <amodra@gmail.com>
1857
1858 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1859 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1860 * testsuite/ld-scripts/cross3.t: Likewise.
1861 * testsuite/ld-scripts/cross4.t: Likewise.
1862 * testsuite/ld-scripts/cross5.t: Likewise.
1863 * testsuite/ld-scripts/cross6.t: Likewise.
1864 * testsuite/ld-scripts/cross7.t: Likewise.
1865
f1b2ca70
AM
18662016-05-19 Alan Modra <amodra@gmail.com>
1867
1868 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1869 exe name rather than constructing testname. Fix typo in
1870 sub-test name. Log copying. Use -rpath rather than -R.
1871
d1f70bdc
NC
18722016-05-18 Nick Clifton <nickc@redhat.com>
1873
1874 * scripttempl/ft32.sc: Use fixed constants for memory region
1875 lengths. Include DWARF debug sections.
1876 (.data .bss): Do not assign locations during relocatable links.
1877 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1878 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1879 * testsuite/ld-elf/sec64k.exp: Likewise.
1880 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1881 * testsuite/ld-elf/merge.d: Likewise.
1882 * testsuite/ld-elf/orphan-region.d: Likewise.
1883 * testsuite/ld-elf/orphan.s: Likewise.
1884 * testsuite/ld-elf/orphan3.d: Likewise.
1885 * testsuite/ld-elf/pr349.d: Likewise.
1886 * testsuite/ld-elf/warn2.d: Likewise.
1887 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1888 that the FT32 does not support shared libraries.
1889
68bce020
L
18902016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1893 global CC.
1894
23b5dc39 18952016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
1896
1897 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1898 above .progmem*.
1899 * scripttempl/avrtiny.sc (text): Likewise.
1900
a43942db
MR
19012016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1902
1903 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1904 `supports_gnu_unique' to qualify testing.
1905
69a1c856
MR
19062016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1907
1908 * testsuite/ld-elf/flags1.d: Update the xfail list.
1909
180c87d9
MR
19102016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1911
1912 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1913 removal.
1914
bf6f87e7
L
19152016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 PR ld/20097
1918 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1919 on EXPECTED_VIEW_LENGTH.
1920 * testplug4.c (onall_symbols_read): Likewise.
1921
2168b268
L
19222016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 PR ld/20093
1925 * testsuite/ld-x86-64/pr20093-1.d: New file.
1926 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1927 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1928 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1929 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1930
4ade44b7
AM
19312016-05-13 Alan Modra <amodra@gmail.com>
1932
1933 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1934 Use different output file name for static app without .rel.plt.
1935 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1936 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1937 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1938 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1939 * testsuite/ld-arm/arm-static-app.r: Likewise.
1940
3355cb3b
L
19412016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1942
1943 PR ld/20070
1944 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1945 (libldtestplug4_la_SOURCES): New.
1946 (libldtestplug4_la_CFLAGS): Likewise.
1947 (libldtestplug4_la_LDFLAGS): Likewise.
1948 * Makefile.in: Regenerated.
1949 * plugin.c (get_symbols): Return resolution based on IR symbol
1950 kinds for symbols defined/referenced only within IR.
1951 * testplug4.c: New file.
1952 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1953 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1954 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1955 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1956 (plugin4_path): Likewise.
1957 Add a test for ld/20070.
1958
a464198b
AM
19592016-05-11 Alan Modra <amodra@gmail.com>
1960
1961 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1962 Call elf32_hppa_init_stub_bfd.
1963
3bd43ebc
AM
19642016-05-11 Alan Modra <amodra@gmail.com>
1965
1966 PR 20060
1967 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1968 * testsuite/ld-powerpc/tlsdll.s: New.
1969 * testsuite/ld-powerpc/tlsdll.ver: New.
1970 * testsuite/ld-powerpc/tlsdll_32.s: New.
1971 * testsuite/ld-powerpc/tlsopt5.d: New.
1972 * testsuite/ld-powerpc/tlsopt5.s: New.
1973 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1974 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1975
39d911fc
TP
19762016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1977
1978 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1979 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1980
6bde4c52
TP
19812016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1982
1983 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1984 parameter and rename input_section parameter to after_input_section.
1985 Append input stub section to the output section if after_input_section
1986 is NULL.
1987
15afaa63
TP
19882016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1989
1990 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1991 test.
1992 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1993 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1994
d63a50b7
CL
19952016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1996
1997 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1998
9239bbd3
CM
19992016-05-09 Christophe Monat <christophe.monat@st.com>
2000
2001 PR ld/20030
2002 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2003 tests. Fix misnamed stm32l4xx-fix-all.
2004 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2005 loads with DP registers.
2006 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2007 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2008 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2009 loads with DP registers.
2010 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2011
924bc11b
PS
20122016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2013
2014 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2015 program headers.
2016 (xfail): Remove avr-*-*.
2017 Update regex to check the section flags.
2018 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2019
a64f5ba1
AM
20202016-05-09 Alan Modra <amodra@gmail.com>
2021
2022 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2023 * Makefile.in: Regenerate.
2024
cc969da9
AM
20252016-05-09 Alan Modra <amodra@gmail.com>
2026
2027 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2028 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2029 * testsuite/ld-scripts/section-match-1.t: Likewise.
2030
97196564
L
20312016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 PR ld/17550
2034 * testsuite/ld-elf/pr17550-1.s: New file.
2035 * testsuite/ld-elf/pr17550-2.s: Likewise.
2036 * testsuite/ld-elf/pr17550-3.s: Likewise.
2037 * testsuite/ld-elf/pr17550-4.s: Likewise.
2038 * testsuite/ld-elf/pr17550a.d: Likewise.
2039 * testsuite/ld-elf/pr17550b.d: Likewise.
2040 * testsuite/ld-elf/pr17550c.d: Likewise.
2041 * testsuite/ld-elf/pr17550d.d: Likewise.
2042
887cf791
SKS
20432016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2044
2045 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2046
2856a627
L
20472016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * testsuite/ld-i386/i386.exp: Run load7.
2050 * testsuite/ld-i386/load7.d: New file.
2051 * testsuite/ld-i386/load7.map: Likewise.
2052 * testsuite/ld-i386/load7.s: Likewise.
2053 * testsuite/ld-x86-64/load2.d: Likewise.
2054 * testsuite/ld-x86-64/load2.map: Likewise.
2055 * testsuite/ld-x86-64/load2.s: Likewise.
2056 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2057
004b1309
L
20582016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2061 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2062 Likewise.
2063 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2064 Likewise.
2065
d7adef8b
L
20662016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2069
d4758f96
L
20702016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2073
c3fbf828
MR
20742016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2075
2076 * testsuite/ld-unique/unique.d: New test.
2077 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2078 messages for compiled tests.
2079
4a85cc09
SKS
20802016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2081
2082 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2083 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2084 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2085 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2086 plugin_tests only if check_shared_lib_support is true.
2087 * testsuite/ld-selective/selective.exp: Add --section-start
2088 flag for avr.
2089
6d6a648c
MR
20902016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2091
2092 PR 10549
2093 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2094
1f56df9d
JW
20952016-05-03 Jiong Wang <jiong.wang@arm.com>
2096
2097 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2098 * NEWS: Mention --no-apply-dynamic-relocs.
2099 * ld.texinfo (ld and the ARM family): Document
2100 --no-apply-dynamic-relocs.
2101 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2102 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2103 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2104 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2105 option.
2106
a2076b34
SKS
21072016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2108
2109 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2110 before running STT_COMMON tests.
2111
010f98a5
L
21122016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * config/default.exp (NOPIE_CFLAGS): Download source only on
2115 remote host.
2116 (NOPIE_LDFLAGS): Likewise.
2117 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2118 (check_lto_fat_available): Likewise.
2119 (check_lto_shared_available): Likewise.
2120 (check_ifunc_available): Likewise.
2121 (check_ifunc_attribute_available): Likewise.
2122
83a471c3
L
21232016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2126
52728a42
L
21272016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2128
91f8bf69
L
2129 PR ld/20006
2130 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2131 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2132 ELF targets.
2133
21342016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * testsuite/ld-elf/compressed1b.d: Pass
2137 --compress-debug-sections=none to ld.
2138 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 2139
13b8c335
AM
21402016-04-27 Alan Modra <amodra@gmail.com>
2141
2142 PR target/19985
2143 * configure.tgt: Don't use var+=.
2144
731bb67a
NC
21452016-04-25 Nick Clifton <nickc@redhat.com>
2146
2147 PR target/19985
2148 * configure.tgt: Include big endian PPC64 emulations with little
2149 endian PPC64 targets.
2150
0e03d18a
SKS
21512016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2152
2153 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2154
ed1b027a
L
21552016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2158 Linux with GCC 4.9 or newer.
2159 (check_lto_fat_available): Likewise.
2160 (check_lto_shared_available): Likewise.
2161
4f3b23b3
NC
21622016-04-21 Nick Clifton <nickc@redhat.com>
2163
2164 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2165 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2166 targets. Do not stop the checks when problems are encountered.
2167
96bf8cb0
AM
21682016-04-21 Alan Modra <amodra@gmail.com>
2169
2170 * testsuite/ld-scripts/cross3.t: Add commonly used data
2171 and text section names to output section statements.
2172 * testsuite/ld-scripts/cross4.t: Likewise.
2173 * testsuite/ld-scripts/cross5.t: Likewise.
2174 * testsuite/ld-scripts/cross6.t: Likewise.
2175 * testsuite/ld-scripts/cross7.t: Likewise.
2176
fbf05aa7
L
21772016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * ldlang.c (lang_check_relocs): New function.
2180 (lang_process): Call lang_check_relocs after lang_gc_sections.
2181 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2182 call _bfd_elf_link_check_relocs here.
2183
c7ce9410
L
21842016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2185
2186 PR ld/19972
2187 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2188 R_386_NONE or R_X86_64_NONE.
2189
03f2309a
L
21902016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * testsuite/ld-x86-64/pic1.d: New file.
2193 * testsuite/ld-x86-64/pic1.s: Likewise.
2194 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2195
126697d1
L
21962016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * testsuite/ld-x86-64/pie2.d: New file.
2199 * testsuite/ld-x86-64/pie2.s: Likewise.
2200 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2201
338c190a
L
22022016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2203
2204 PR ld/19969
2205 * testsuite/ld-x86-64/pr19969.d: New file.
2206 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2207 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2208 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2209
d9689752
L
22102016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2213 New.
2214 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2215 Likewise.
2216 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2217 Likewise.
2218 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2219 Likewise.
2220 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2221 Likewise.
2222 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2223 Likewise.
2224 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2225 Likewise.
2226 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2227 Likewise.
2228 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2229 Set check_relocs_after_open_input to TRUE if
2230 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2231 (gld${EMULATION_NAME}_after_open): Call
2232 _bfd_elf_link_check_relocs on all inputs if
2233 check_relocs_after_open_input is TRUE.
2234
7cc9c114
L
22352016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2236
2237 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2238 my_personality_v0.
2239
e6c7cdec
TS
22402016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2241
2242 * emultempl/scoreelf.em: Likewise.
2243
87d455c0
L
22442016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 PR ld/19719
2247 * testsuite/ld-x86-64/pr19719.d: New file.
2248 * testsuite/ld-x86-64/pr19719.s: Likewise.
2249 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2250
cdf96953
MF
22512016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2252
2253 * ld.texinfo: Document NOCROSSREFS_TO script command.
2254 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2255 (lang_add_nocrossref_to): New prototype.
2256 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2257 symbols defined in the first section.
2258 (check_nocrossref): Likewise.
2259 * ldgram.y (NOCROSSREFS_TO): New script command.
2260 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2261 (lang_add_nocrossref_to): New function.
2262 * ldlex.l (NOCROSSREFS_TO): New token.
2263 * NEWS: Mention NOCROSSREFS_TO.
2264 * testsuite/ld-scripts/cross4.t: New file.
2265 * testsuite/ld-scripts/cross5.t: Likewise.
2266 * testsuite/ld-scripts/cross6.t: Likewise.
2267 * testsuite/ld-scripts/cross7.t: Likewise.
2268 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2269 tests.
2270
6fd8e7c2
L
22712016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 * Makefile.in: Regenerated with automake 1.11.6.
2274 * aclocal.m4: Likewise.
2275
4b0c052e
AB
22762016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2277
2278 * testsuite/ld-arc/arc.exp: New file.
2279 * testsuite/ld-arc/nps-1.s: New file.
2280 * testsuite/ld-arc/nps-1a.d: New file.
2281 * testsuite/ld-arc/nps-1b.d: New file.
2282 * testsuite/ld-arc/nps-1b.err: New file.
2283
8dc483a0
NC
22842016-04-14 Nick Clifton <nickc@redhat.com>
2285
2286 PR 19457
2287 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2288 exceptions for Mingw and Cygwin.
2289
758c5495
AB
22902016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2291
2292 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2293 check_ld(terminal).
2294
37ce0cc4
L
22952016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 PR ld/19774
2298 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2299 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2300 tests.
2301
2df3368d
L
23022016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2303
2304 PR ld/19939
2305 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2306 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2307 * testsuite/ld-i386/pr19939.s: New file.
2308 * testsuite/ld-i386/pr19939a.d: Likewise.
2309 * testsuite/ld-i386/pr19939b.d: Likewise.
2310 * testsuite/ld-x86-64/pr19939.s: Likewise.
2311 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2312 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2313
417a667c
OE
23142016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2315
2316 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2317
136a43b7
AM
23182016-04-08 Alan Modra <amodra@gmail.com>
2319
2320 PR 18452
2321 * ldlang.c (maybe_overlays): Delete.
2322 (lang_size_sections_1): Remove code setting maybe_overlays.
2323 (lang_check_section_addresses): Instead detect overlays by
2324 exact match of section VMAs here. Fix memory leak.
2325
953dd97e
DG
23262016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2327
2328 * ldlang.c (print_output_section_statement): Show minfo size
2329 in target machine address units.
2330 (print_reloc_statement): Likewise.
2331 (print_padding_statement): Likewise.
2332 (print_data_statement): Likewise. Ensure minimum print_dot
2333 increment of one address unit.
2334
1a295c62
AB
23352016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2336
2337 * emulparams/arc-endianness.sh: Make little endian default choice.
2338
df154dc1
NC
23392016-04-07 Nick Clifton <nickc@redhat.com>
2340
2341 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2342 section name.
2343 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2344
9a5f28ae
AB
23452016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2346
2347 * emulparams/arc-endianness.sh: New file.
2348 * emulparams/arcebelf.sh: Deleted.
2349 * emulparams/arcebelf_prof.sh: Deleted.
2350 * emulparams/arceblinux.sh: Deleted.
2351 * emulparams/arceblinux_prof.sh: Deleted.
2352 * emulparams/arcelf.sh: Include arc-endinness.sh.
2353 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2354 * emulparams/arclinux.sh: Include arc-endinness.sh.
2355 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2356 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2357 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2358 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2359 little endian arc targets.
2360 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2361 * testsuite/ld-elf/group1.d: Likewise.
2362 * testsuite/ld-elf/group3b.d: Likewise.
2363 * testsuite/ld-elf/group8a.d: Likewise.
2364 * testsuite/ld-elf/group8b.d: Likewise.
2365 * testsuite/ld-elf/group9a.d: Likewise.
2366 * testsuite/ld-elf/group9b.d: Likewise.
2367 * testsuite/ld-elf/linkonce2.d: Likewise.
2368 * testsuite/ld-elf/pr12851.d: Likewise.
2369 * testsuite/ld-elf/pr12975.d: Likewise.
2370 * testsuite/ld-elf/pr13177.d: Likewise.
2371 * testsuite/ld-elf/pr13195.d: Likewise.
2372 * testsuite/ld-elf/pr17615.d: Likewise.
2373 * testsuite/ld-elf/pr19162.d: Likewise.
2374 * testsuite/ld-elf/sec64k.exp: Likewise.
2375 * testsuite/lib/ld-lib.exp: Likewise.
2376
1f599d0e
MR
23772016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2378
2379 PR ld/19908
2380 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2381 handling fix.
2382 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2383 * testsuite/ld-cris/tls-e-21.d: Likewise.
2384 * testsuite/ld-cris/tls-e-23.d: Likewise.
2385 * testsuite/ld-cris/tls-e-80.d: Likewise.
2386 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2387 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2388 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2389 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2390 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2391 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2392 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2393 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2394 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2395 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2396
a9fa4610
CZ
23972016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2398
2399 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2400 * testsuite/ld-discard/start.d: Likewise.
2401 * testsuite/ld-discard/static.d: Likewise.
2402 * testsuite/ld-elf/group1.d: Likewise.
2403 * testsuite/ld-elf/group3b.d: Likewise.
2404 * testsuite/ld-elf/orphan-region.d: Likewise.
2405 * testsuite/ld-elf/orphan.d: Likewise.
2406 * testsuite/ld-elf/orphan3.d: Likewise.
2407 * testsuite/ld-elf/pr349.d: Likewise.
2408 * testsuite/ld-elf/warn1.d: Likewise.
2409 * testsuite/ld-elf/warn2.d: Likewise.
2410 * testsuite/ld-elf/warn3.d: Likewise.
2411 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2412 through linker flags.
2413 * testsuite/ld-srec/srec.exp: Set as xfail.
2414
5fdf3872
L
24152016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 PR ld/19827
2418 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2419 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2420
a061de07
NC
24212016-04-04 Nick Clifton <nickc@redhat.com>
2422
2423 PR 19803
2424 * emultempl/pe.em (change_undef): New function. Encapsulates
2425 duplicated code in pe_fixup_stdcalls and adds the newly defined
2426 sym to the gc root list.
2427 (pe_fixup_stdcall): Use the new function.
2428 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2429 symbol to gc root list.
2430
fc90c280
AM
24312016-03-31 Alan Modra <amodra@gmail.com>
2432
2433 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2434 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2435 (print_input_section): Don't use TO_ADDR when printing section
2436 size.
2437 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2438 (lang_size_sections): Use TO_ADDR in relro end calculation.
2439
62bdf2d6
AB
24402016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2443 value from regexp_diff.
2444 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2445 * testsuite/ld-elf/orphan-6.l: Likewise.
2446
a87dd97a
AM
24472016-03-30 Alan Modra <amodra@gmail.com>
2448
2449 PR 18452
2450 * ldlang.c (maybe_overlays): New static var.
2451 (lang_size_sections_1): Set it here.
2452 (struct check_sec): New.
2453 (sort_sections_by_lma): Adjust for array of structs.
2454 (sort_sections_by_vma): New function.
2455 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2456 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2457
ca62bc4a
AM
24582016-03-30 Alan Modra <amodra@gmail.com>
2459
2460 * ldlang.c (lang_size_sections_1): Correct code detecting a
2461 backward non-overlapping move.
2462
2e4a7aea
AM
24632016-03-30 Alan Modra <amodra@gmail.com>
2464
2465 * ldlang.c (IS_TBSS): New macro, extracted from..
2466 (IGNORE_SECTION): ..here.
2467 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2468 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2469
4153b6db
NC
24702016-03-22 Nick Clifton <nickc@redhat.com>
2471
2472 PR ld/19803
2473 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2474 symbol name to the list of gc symbols.
2475 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2476 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2477 and fini function names.
2478 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2479 the gc symbol list.
2480 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2481 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2482
9780e045
NC
24832016-03-22 Nick Clifton <nickc@redhat.com>
2484
2485 * configure: Regenerate.
2486
e1fa0163
NC
24872016-03-21 Nick Clifton <nickc@redhat.com>
2488
2489 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2490 * plugin.c: Likewise.
2491 * pe-dll.c: Likewise.
2492
45821bef
A
24932016-03-18 Awson <kyrab@mail.ru>
2494
2495 PR 19531
2496 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2497 this section.
2498 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2499
41f46ed9
SKS
25002016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2501
2502 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2503
4e0c91e4
L
25042016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2505
2506 PR ld/19827
2507 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2508 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2509 * testsuite/ld-i386/pr19827.rd: New file.
2510 * testsuite/ld-i386/pr19827a.S: Likewise.
2511 * testsuite/ld-i386/pr19827b.S: Likewise.
2512 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2513 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2514 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2515
4c10bbaa
L
25162016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 PR ld/19807
2519 * Makefile.am (ELF_X86_DEPS): Add
2520 $(srcdir)/emulparams/reloc_overflow.sh.
2521 * Makefile.in: Regenerated.
2522 * NEWS: Mention -z noreloc-overflow.
2523 * ld.texinfo: Document -z noreloc-overflow.
2524 * emulparams/elf32_x86_64.sh: Source
2525 ${srcdir}/emulparams/reloc_overflow.sh.
2526 * emulparams/elf_x86_64.sh: Likewise.
2527 * emulparams/reloc_overflow.sh: New file.
2528 * testsuite/ld-x86-64/pr19807-1.s: New file.
2529 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2530 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2531 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2532 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2533 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2534 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2535 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2536 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2537 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2538
3ab94f96
L
25392016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 PR ld/19539
2542 * testsuite/ld-i386/i386.exp: Run pr19539.
2543 * testsuite/ld-i386/pr19539.d: New file.
2544 * testsuite/ld-i386/pr19539.s: Likewise.
2545 * testsuite/ld-i386/pr19539.t: Likewise.
2546 * testsuite/ld-x86-64/pr19539.s: Likewise.
2547 * testsuite/ld-x86-64/pr19539.t: Likewise.
2548 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2549 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2550 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2551
a9f02af8
MG
25522016-03-10 Mickael Guene <mickael.guene@st.com>
2553
2554 PR gas/19744
2555 * testsuite/ld-arm/arm-elf.exp: New tests.
2556 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2557 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2558
878a6877
NC
25592016-03-10 Nick Clifton <nickc@redhat.com>
2560
2561 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2562
4b05e0a7
PA
25632016-03-09 Pedro Alves <palves@redhat.com>
2564
2565 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2566 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2567
9c1d7a08
L
25682016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 PR ld/19789
2571 * testsuite/ld-elf/pr19789.d: New file.
2572 * testsuite/ld-elf/pr19789.s: Likewise.
2573
d1ed1c7d
L
25742016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 PR ld/19784
2577 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2578 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2579 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2580 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2581 * testsuite/ld-ifunc/pass.out: New file.
2582 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2583 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2584 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2585
205ac185
L
25862016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2587
2588 PR ld/19774
2589 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2590 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2591 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2592 --as-needed for pr18841c.
2593
23a4bd22
L
25942016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2595
2596 PR ld/19774
2597 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2598 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2599 before tmpdir/got1d.so and test --as-needed.
2600 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2601 tmpdir/pr18900.so and test --as-needed.
2602
18f822a0
JW
26032016-03-07 Jiong Wang <jiong.wang@arm.com>
2604
2605 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2606 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2607 result.
2608 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2609
46175b4e
L
26102016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2613 before tmpdir/copyreloc-lib.so and test --as-needed.
2614 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2615
07492f66
L
26162016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2617
2618 PR ld/19579
2619 * testsuite/ld-elf/pr19579a.c: New file.
2620 * testsuite/ld-elf/pr19579b.c: Likewise.
2621 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2622
7bcc503f
L
26232016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2626
7494161b
L
26272016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2628
2629 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2630 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2631
523f4c92
L
26322016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2633
2634 PR ld/19739
2635 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2636 input sections for relocatable link.
2637 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2638 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2639
26402016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 PR ld/19739
e18b24a4 2643 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
2644 merge flags of other input sections for relocatable link.
2645
ef621b15
L
26462016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2647
2648 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2649
2955a517
L
26502016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * testsuite/ld-elf/pr19162.d: Skip arc target.
2653
7f50ebc1
L
26542016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 PR ld/19162
2657 * testsuite/ld-elf/pr19162.d: New file.
2658 * testsuite/ld-elf/pr19162a.s: Likwise.
2659 * testsuite/ld-elf/pr19162b.s: Likwise.
2660
841fdfcd
CZ
26612016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2662
2663 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2664 * testsuite/ld-elf/merge2.d: Likewise.
2665 * testsuite/ld-elf/merge3.d: Likewise.
2666
7e458899
CZ
26672016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2668
2669 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2670 generated.
2671
c5e3a364
RL
26722016-02-26 Renlin Li <renlin.li@arm.com>
2673
2674 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2675 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2676 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2677 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2678 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2679 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2680 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2681 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2682 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2683 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2684
bae420ef
L
26852016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 PR ld/19609
2688 * testsuite/ld-i386/got1.dd: Updated.
2689 * testsuite/ld-i386/lea1c.d: Likewise.
2690 * testsuite/ld-i386/load1-nacl.d: Likewise.
2691 * testsuite/ld-i386/load1.d: Likewise.
2692 * testsuite/ld-i386/load4b.d: Likewise.
2693 * testsuite/ld-i386/load5b.d: Likewise.
2694 * testsuite/ld-i386/mov1b.d: Likewise.
2695 * testsuite/ld-x86-64/mov1b.d: Likewise.
2696 * testsuite/ld-x86-64/mov1d.d: Likewise.
2697 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2698 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2699 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2700 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2701 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2702 * testsuite/ld-x86-64/lea1a.d: Likewise.
2703 * testsuite/ld-x86-64/lea1b.d: Likewise.
2704 * testsuite/ld-x86-64/lea1c.d: Likewise.
2705 * testsuite/ld-x86-64/lea1d.d: Likewise.
2706 * testsuite/ld-x86-64/lea1e.d: Likewise.
2707 * testsuite/ld-x86-64/lea1f.d: Likewise.
2708 * testsuite/ld-x86-64/mov1b.d: Likewise.
2709 * testsuite/ld-x86-64/mov1d.d: Likewise.
2710 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2711 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2712 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2713 * testsuite/ld-i386/pr19609-1.s: New file.
2714 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2715 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2716 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2717 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2718 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2719 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2720 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2721 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2722 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2723 * testsuite/ld-i386/pr19609-2.s: Likewise.
2724 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2725 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2726 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2727 * testsuite/ld-i386/undefweak.s: Likewise.
2728 * testsuite/ld-i386/undefweaka.d: Likewise.
2729 * testsuite/ld-i386/undefweakb.d: Likewise.
2730 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2731 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2732 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2733 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2734 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2735 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2736 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2737 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2738 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2739 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2740 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2741 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2742 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2743 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2744 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2745 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2746 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2747 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2748 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2749 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2750 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2751 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2752 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2753 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2754 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2755 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2756 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2757 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2758 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2759 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2760 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2761 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2762 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2763 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2764 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2765 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2766 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2767 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2768 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2769 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2770 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2771 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2772 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2773 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2774 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2775 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2776 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2777 PR ld/19609.
2778 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2779 and tests for PR ld/19609.
2780
11e5f1ec
L
27812016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 PR ld/19645
2784 * NEWS: Mention -z common/-z nocommon for ELF targets.
2785 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2786 -z common and -z nocommon.
2787 * ld.texinfo: Document -z common/-z nocommon.
2788 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2789 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2790 --elf-stt-common=yes with assembler.
2791 * testsuite/ld-elfcomm/common-1.s: New file.
2792 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2793 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2794 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2795 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2796 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2797 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2798 * testsuite/ld-elfcomm/common-2.s: Likewise.
2799 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2800 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2801 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2802 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2803 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2804 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2805 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2806 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2807 * testsuite/ld-i386/pr19645.d: Likewise.
2808 * testsuite/ld-i386/pr19645.s: Likewise.
2809 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2810 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2811 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2812 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2813 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2814 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2815 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2816 * testsuite/ld-x86-64/pr19645.d: Likewise.
2817 * testsuite/ld-x86-64/pr19645.s: Likewise.
2818 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2819 with assembler.
2820 (assembler_generates_commons): Removed.
2821 Run -z common/-z nocommon tests. Run *.d tests.
2822 * testsuite/ld-i386/i386.exp: Run pr19645.
2823 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2824 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2825 assembler. Test STT_COMMON with readelf.
2826
aec6b87e
L
28272016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 PR ld/19636
2830 PR ld/19704
2831 PR ld/19719
2832 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2833 * Makefile.in: Regenerated.
2834 * NEWS: Mention -z nodynamic-undefined-weak.
2835 * ld.texinfo: Document -z nodynamic-undefined-weak.
2836 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2837 * emulparams/dynamic_undefined_weak.sh: New file.
2838 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2839 * emulparams/elf_i386.sh: Likewise.
2840 * emulparams/elf_i386_be.sh: Likewise.
2841 * emulparams/elf_i386_chaos.sh: Likewise.
2842 * emulparams/elf_i386_ldso.sh: Likewise.
2843 * emulparams/elf_i386_vxworks.sh: Likewise.
2844 * emulparams/elf_iamcu.sh: Likewise.
2845 * emulparams/elf_k1om.sh: Likewise.
2846 * emulparams/elf_l1om.sh: Likewise.
2847 * emulparams/elf_x86_64.sh: Likewise.
2848 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2849 Append.
2850 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2851 * testsuite/ld-elf/pr19719a.c: New file.
2852 * testsuite/ld-elf/pr19719b.c: Likewise.
2853 * testsuite/ld-elf/pr19719c.c: Likewise.
2854 * testsuite/ld-elf/pr19719d.c: Likewise.
2855 * testsuite/ld-i386/pr19636-1.s: Likewise.
2856 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2857 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2858 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2859 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2860 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2861 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2862 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2863 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2864 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2865 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2866 * testsuite/ld-i386/pr19636-2.s: Likewise.
2867 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2868 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2869 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2870 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2871 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2872 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2873 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2874 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2875 * testsuite/ld-i386/pr19636-3.s: Likewise.
2876 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2877 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2878 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2879 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2880 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2881 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2882 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2883 * testsuite/ld-i386/pr19636-4.s: Likewise.
2884 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2885 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2886 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2887 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2888 * testsuite/ld-i386/pr19704.out: Likewise.
2889 * testsuite/ld-i386/pr19704a.c: Likewise.
2890 * testsuite/ld-i386/pr19704b.c: Likewise.
2891 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2892 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2893 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2894 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2895 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2896 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2897 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2898 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2899 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2900 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2901 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2902 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2903 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2904 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2905 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2906 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2907 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2908 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2909 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2910 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2911 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2912 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2913 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2914 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2915 * testsuite/ld-x86-64/pr19704.out: Likewise.
2916 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2917 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2918 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2919 Run mix_pic_and_non_pic.
2920 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2921 Run undefined_weak and PR ld/19636 tests.
2922 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2923 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2924 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2925
920e4862
NC
29262016-02-25 Nick Clifton <nickc@redhat.com>
2927
2928 * ld.h (struct ld_config_type): Remove specified_data_size field.
2929
0f550b3d
L
29302016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 PR ld/19698
2933 * testsuite/ld-elf/pr19698.d: New file.
2934 * testsuite/ld-elf/pr19698.s: Likewise.
2935 * testsuite/ld-elf/pr19698.t: Likewise.
2936
31866b2c
L
29372016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2938
2939 * Makefile.am (ELF_X86_DEPS): New.
2940 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2941 (eelf_i386_chaos.c): Likewise.
2942 (eelf_i386_fbsd.c): Likewise.
2943 (eelf_i386_ldso.c): Likewise.
2944 (eelf_i386_nacl.c): Likewise.
2945 (eelf_i386_sol2.c): Likewise.
2946 (eelf_iamcu.c): Likewise.
2947 (eelf32_x86_64.c): Likewise.
2948 (eelf32_x86_64_nacl.c): Likewise.
2949 (eelf_l1om.c): Likewise.
2950 (eelf_l1om_fbsd.c): Likewise.
2951 (eelf_k1om.c): Likewise.
2952 (eelf_k1om_fbsd.c): Likewise.
2953 (eelf_x86_64.c): Likewise.
2954 (eelf_x86_64_cloudabi.c): Likewise.
2955 (eelf_x86_64_fbsd.c): Likewise.
2956 (eelf_x86_64_sol2.c): Likewise.
2957 * Makefile.in: Regenerated.
2958
6b3b0ab8
L
29592016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2962 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2963 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2964 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2965
de818c22
L
29662016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2967
2968 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2969
c304e18e
L
29702016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2973 *-*-gnu* and *-*-solaris*.
2974 * testsuite/ld-elf/pr19617b.d: Likewise.
2975 * testsuite/ld-elf/pr19617c.d: Likewise.
2976
bf89386a
L
29772016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 PR ld/19617
2980 * testsuite/ld-elf/pr19617.s: New file.
2981 * testsuite/ld-elf/pr19617a.d: Likewise.
2982 * testsuite/ld-elf/pr19617b.d: Likewise.
2983 * testsuite/ld-elf/pr19617c.d: Likewise.
2984
06ea285d
NC
29852016-02-18 Nick Clifton <nickc@redhat.com>
2986
2987 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2988 in-tree xg++ executable after checking for the presence of an
2989 in-tree g++ executable.
2990 * Makefile.in: Regenerate.
2991
b27ab9ad
L
29922016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2995 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2996 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2997
8f79b794
L
29982016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3001 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3002 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3003 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3004 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3005 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3006 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3007 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3008 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3009 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3010 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3011 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3012 * testsuite/ld-x86-64/load1c.d: Likewise.
3013 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3014 * testsuite/ld-x86-64/load1d.d: Likewise.
3015 * testsuite/ld-x86-64/pr14207.d: Likewise.
3016 * testsuite/ld-x86-64/pr19162.d: Likewise.
3017 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3018 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3019 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3020 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3021 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3022 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3023
b3e3e0b7
NC
30242016-02-17 Nick Clifton <nickc@redhat.com>
3025
3026 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3027
9fb71ee4
NC
30282016-02-15 Nick Clifton <nickc@redhat.com>
3029
3030 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3031 description of the flags produced by readelf.
3032 * testsuite/ld-i386/pr12921.d: Likewise.
3033 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3034 * testsuite/ld-i386/tlsbin.rd: Likewise.
3035 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3036 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3037 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3038 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3039 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3040 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3041 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3042 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3043 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3044 * testsuite/ld-i386/tlspic.rd: Likewise.
3045 * testsuite/ld-s390/tlsbin.rd: Likewise.
3046 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3047 * testsuite/ld-s390/tlspic.rd: Likewise.
3048 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3049 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3050 * testsuite/ld-sh/tlspic-2.d: Likewise.
3051 * testsuite/ld-tic6x/common.d: Likewise.
3052 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3053 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3054 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3055 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3056 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3057 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3058 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3059 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3060 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3061 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3062 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3063 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3064 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3065 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3066 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3067 * testsuite/ld-x86-64/pr12718.d: Likewise.
3068 * testsuite/ld-x86-64/pr12921.d: Likewise.
3069 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3070 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3071 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3072 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3073 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3074 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3075 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3076 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3077 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3078 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3079 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3080 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3081 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3082 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3083
21a90cf1
L
30842016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 PR ld/19615
3087 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3088 PIE.
3089 * lexsup.c (parse_args): Enable -Bsymbolic and
3090 -Bsymbolic-functions for PIE.
ee5db48b 3091 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
3092 * testsuite/ld-i386/pr19615.d: New file.
3093 * testsuite/ld-i386/pr19615.s: Likewise.
3094 * testsuite/ld-x86-64/pr19615.d: Likewise.
3095 * testsuite/ld-x86-64/pr19615.s: Likewise.
3096
027e9c75
NC
30972016-02-09 Nick Clifton <nickc@redhat.com>
3098
3099 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3100 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3101 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3102 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3103
39306124
NC
31042016-02-04 Nick Clifton <nickc@redhat.com>
3105
3106 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3107 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3108 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3109 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3110 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3111 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3112 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3113 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3114 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3115
0cb4071e
L
31162016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 PR gas/19520
3119 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3120 * testsuite/ld-i386/call1.d: Likewise.
3121 * testsuite/ld-i386/call2.d: Likewise.
3122 * testsuite/ld-i386/call3a.d: Likewise.
3123 * testsuite/ld-i386/call3b.d: Likewise.
3124 * testsuite/ld-i386/call3c.d: Likewise.
3125 * testsuite/ld-i386/call3d.d: Likewise.
3126 * testsuite/ld-i386/call3e.d: Likewise.
3127 * testsuite/ld-i386/call3f.d: Likewise.
3128 * testsuite/ld-i386/call3g.d: Likewise.
3129 * testsuite/ld-i386/call3h.d: Likewise.
3130 * testsuite/ld-i386/jmp1.d: Likewise.
3131 * testsuite/ld-i386/jmp2.d: Likewise.
3132 * testsuite/ld-i386/lea1c.d: Likewise.
3133 * testsuite/ld-i386/load1.d: Likewise.
3134 * testsuite/ld-i386/load2.d: Likewise.
3135 * testsuite/ld-i386/load3.d: Likewise.
3136 * testsuite/ld-i386/load4a.d: Likewise.
3137 * testsuite/ld-i386/load5a.d: Likewise.
3138 * testsuite/ld-i386/mov2b.d: Likewise.
3139 * testsuite/ld-i386/mov3.d: Likewise.
3140 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3141 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3142 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3143 * testsuite/ld-x86-64/call1a.d: Likewise.
3144 * testsuite/ld-x86-64/call1b.d: Likewise.
3145 * testsuite/ld-x86-64/call1c.d: Likewise.
3146 * testsuite/ld-x86-64/call1d.d: Likewise.
3147 * testsuite/ld-x86-64/call1e.d: Likewise.
3148 * testsuite/ld-x86-64/call1f.d: Likewise.
3149 * testsuite/ld-x86-64/call1h.d: Likewise.
3150 * testsuite/ld-x86-64/call1i.d: Likewise.
3151 * testsuite/ld-x86-64/load1a.d: Likewise.
3152 * testsuite/ld-x86-64/load1b.d: Likewise.
3153 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3154 * testsuite/ld-i386/got1.dd: Updated.
3155 * testsuite/ld-i386/got1d.S (1): Removed.
3156 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3157 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3158
6ba2af25
L
31592016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3160
3161 PR ld/18591
3162 * testsuite/ld-x86-64/pr18591.d: New file.
3163 * testsuite/ld-x86-64/pr18591.s: Likewise.
3164 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3165
aef28989
L
31662016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3167
3168 PR ld/19553
3169 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3170 * testsuite/ld-elf/pr19553.map: New file.
3171 * testsuite/ld-elf/pr19553.map: Likewise.
3172 * testsuite/ld-elf/pr19553a.c: Likewise.
3173 * testsuite/ld-elf/pr19553b.c: Likewise.
3174 * testsuite/ld-elf/pr19553b.out: Likewise.
3175 * testsuite/ld-elf/pr19553c.c: Likewise.
3176 * testsuite/ld-elf/pr19553c.out: Likewise.
3177 * testsuite/ld-elf/pr19553d.c: Likewise.
3178 * testsuite/ld-elf/pr19553d.out: Likewise.
3179
d9e3b590
L
31802016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 PR ld/19539
3183 * testsuite/ld-elf/pr19539.d: New file.
3184 * testsuite/ld-elf/pr19539.s: Likewise.
3185 * testsuite/ld-elf/pr19539.t: Likewise.
3186
621ff761
L
31872016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 PR ld/19533
3190 * configure.ac (compressed_debug_sections): Replace == with =.
3191 * configure: Regenerated.
3192
7585b2b8
DC
31932016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3194
3195 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3196 * scripttempl/avrtiny.sc (.noinit): Likewise.
3197
aebf9be7
NC
31982016-01-21 Nick Clifton <nickc@redhat.com>
3199
dfc43940
NC
3200 PR ld/19453
3201 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3202 the arm-netbsdelf target.
3203
aebf9be7
NC
3204 PR ld/19455
3205 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3206 disassmebler output.
3207 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3208 * testsuite/ld-arm/vxworks1.dd: Likewise.
3209 * testsuite/ld-arm/vxworks1.rd: Likewise.
3210 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3211
2f340668
JW
32122016-01-20 Jiong Wang <jiong.wang@arm.com>
3213
3214 * testsuite/ld-aarch64/farcall-section.d: Delete.
3215 * testsuite/ld-aarch64/farcall-section.s: Delete.
3216 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3217 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3218 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3219 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3220 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3221
fdbd3e95
NC
32222016-01-20 Nick Clifton <nickc@redhat.com>
3223
3224 PR 19457
3225 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3226 early for PE based targets.
3227 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3228 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3229
91f68a68
MG
32302016-01-20 Mickael Guene <mickael.guene@st.com>
3231
3232 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3233 Add 'y' attribute usage.
3234 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3235 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3236 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3237
a4af960a
NC
32382016-01-19 Nick Clifton <nickc@redhat.com>
3239
3240 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3241 foo@FOO and bar@@FOO.
3242
3d961d0d
AM
32432016-01-18 Alan Modra <amodra@gmail.com>
3244
3245 * configure: Regenerate.
3246
760f6ee8
NC
32472016-01-18 Nick Clifton <nickc@redhat.com>
3248
3249 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3250 is not configured to support plugins.
3251
24f03d4e
NC
3252 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3253 but with 16 byte section alignment.
3254 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3255 test for MIPS targets.
3256
5c14705f
AM
32572016-01-17 Alan Modra <amodra@gmail.com>
3258
3259 * configure: Regenerate.
3260
b3066ae8
AM
32612016-01-17 Alan Modra <amodra@gmail.com>
3262
3263 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3264 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3265 * testsuite/ld-elf/pr14156a.d: Likewise.
3266 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3267 * testsuite/ld-elf/sec64k.exp: Likewise.
3268
4c4ac964
TP
32692016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3270
3271 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3272 Set address of .foo section when linking.
3273 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3274 in .foo section.
3275 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3276 output to the above changes.
3277
1bce3adf
NC
32782016-01-13 Nick Clifton <nickc@redhat.com>
3279
84054199
NC
3280 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3281 for MIPS targets.
3282
13ce3603
NC
3283 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3284 fail for MIPS targets.
3285
1bce3adf
NC
3286 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3287 MIPS targets.
3288
ac06903d
YU
32892016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3290
3291 * testsuite/ld-arm/arm-elf.exp: New test.
3292 * testsuite/ld-arm/unwind-mix.d: New file.
3293 * testsuite/ld-arm/unwind-mix1.s: New file.
3294 * testsuite/ld-arm/unwind-mix2.s: New file.
3295
109575d7
JW
32962016-01-08 Jiong Wang <jiong.wang@arm.com>
3297
3298 PR ld/19368
3299 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3300 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3301 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3302 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3303 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3304 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3305
296ebfbb
NC
33062016-01-05 Nick Clifton <nickc@redhat.com>
3307
3308 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3309 MSP430 hardware multiply address range.
3310 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3311 (__romdatacopysize): Define.
3312 * scripttempl/elf32msp430_3.sc: Likewise.
3313
2f2da8fd
MR
33142016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3315
3316 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3317 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3318
d537eeb5
MR
33192016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3320
3321 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3322 messages expected according to MIPS BFD private data merge
3323 changes.
3324 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3325 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3326 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3327 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3328 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3329 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3330 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3331 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3332 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3333 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3334 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3335 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3336 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3337
6f2750fe
AM
33382016-01-01 Alan Modra <amodra@gmail.com>
3339
3340 Update year range in copyright notice of all files.
3341
3499769a
AM
3342For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3343\f
3344Copyright (C) 2016 Free Software Foundation, Inc.
3345
3346Copying and distribution of this file, with or without modification,
3347are permitted in any medium without royalty provided the copyright
3348notice and this notice are preserved.
3349
3350Local Variables:
3351mode: change-log
3352left-margin: 8
3353fill-column: 74
3354version-control: never
3355End:
This page took 0.197727 seconds and 4 git commands to generate.