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