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