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