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