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