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