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