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