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