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