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