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