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