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