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