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