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