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