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