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