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