Fix seg-fault attempting to strip a corrupt binary.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8c5b4e52
AM
12016-12-03 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
4 ppc64_elf_restore_symbols.
5 * testsuite/ld-powerpc/dotsym1.d: New.
6 * testsuite/ld-powerpc/dotsym2.d: New.
7 * testsuite/ld-powerpc/dotsym3.d: New.
8 * testsuite/ld-powerpc/dotsym4.d: New.
9 * testsuite/ld-powerpc/dotsymref.s: New.
10 * testsuite/ld-powerpc/nodotsym.s: New.
11 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
12
4e95fbcd
AM
132016-12-03 Alan Modra <amodra@gmail.com>
14
15 * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
16 * testsuite/ld-elf/indirect2.c: Likewise.
17 * testsuite/ld-elf/indirect3b.c: Likewise.
18 * testsuite/ld-elf/indirect4b.c: Likewise.
19 * testsuite/ld-elf/pr18718.c: Likewise.
20 * testsuite/ld-elf/pr18720b.c: Likewise.
21 * testsuite/ld-elf/pr19553c.c: Likewise.
22 * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
23 * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
24 * testsuite/ld-elfvers/vers4.c: Likewise.
25 * testsuite/ld-elfvers/vers5.c: Likewise.
26 * testsuite/ld-elfvers/vers6.c: Likewise.
27 * testsuite/ld-elfvers/vers7a.c: Likewise.
28 * testsuite/ld-elfvers/vers9.c: Likewise.
29 * testsuite/ld-elfvers/vers15.c: Likewise.
30 * testsuite/ld-elfvers/vers18.c: Likewise.
31 * testsuite/ld-elfvers/vers22a.c: Likewise.
32 * testsuite/ld-elfvers/vers23a.c: Likewise.
33 * testsuite/ld-elfvers/vers27d1.c: Likewise.
34 * testsuite/ld-elfvers/vers21.c: Likewise.
35 (_old_bar): Use attribute weak rather than asm weak.
36 * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
37 * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
38 bar for ppc64 -mcall-aixdesc.
39 * testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
40 * testsuite/ld-plugin/pr16746b.c: Likewise.
41 * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
42 * testsuite/ld-plugin/lto.exp: Likewise.
43 * testsuite/ld-plugin/plugin-6.d: Likewise.
44 * testsuite/ld-plugin/plugin-7.d: Likewise.
45 * testsuite/ld-plugin/plugin-8.d: Likewise.
46 * testsuite/ld-plugin/plugin-13.d: Likewise.
47 * testsuite/ld-plugin/plugin-14.d: Likewise.
48 * testsuite/ld-plugin/plugin-15.d: Likewise.
49 * testsuite/ld-plugin/plugin-16.d: Likewise.
50 * testsuite/ld-plugin/plugin-20.d: Likewise.
51 * testsuite/ld-plugin/plugin-21.d: Likewise.
52 * testsuite/ld-plugin/plugin-22.d: Likewise.
53 * testsuite/ld-plugin/plugin-23.d: Likewise.
54 * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
55 -mcall-aixdesc.
56 * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
57 (objdump_dynsymstuff): Likewise.
58 (objdump_symstuff): Likewise. Pack flags to keep column count
59 consistent.
60 * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
61 objdump_symstuff): As for vers.exp.
62 * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
63 * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
64 -mcall-aixdesc .opd syms and adjust for flag packing.
65 * testsuite/ld-elfvers/vers4.sym: Likewise.
66 * testsuite/ld-elfvers/vers4a.sym: Likewise.
67 * testsuite/ld-elfvers/vers7a.sym: Likewise.
68 * testsuite/ld-elfvers/vers9.sym: Likewise.
69 * testsuite/ld-elfvers/vers15.sym: Likewise.
70 * testsuite/ld-elfvers/vers18.sym: Likewise.
71 * testsuite/ld-elfvers/vers21.sym: Likewise.
72 * testsuite/ld-elfvers/vers22a.sym: Likewise.
73 * testsuite/ld-elfvers/vers23a.sym: Likewise.
74 * testsuite/ld-elfvers/vers27d.sym: Likewise.
75 * testsuite/ld-elfweak/strong.sym: Likewise.
76 * testsuite/ld-elfweak/strongcomm.sym: Likewise.
77 * testsuite/ld-elfweak/strongdata.sym: Likewise.
78
ca16c5b3
AM
792016-12-03 Alan Modra <amodra@gmail.com>
80
81 * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
82 on non-empty results with empty expected.
83
f522190f
AM
842016-12-03 Alan Modra <amodra@gmail.com>
85
86 * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
87
4193bc58
AM
882016-12-03 Alan Modra <amodra@gmail.com>
89
90 * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
91
68c638d6
NC
922016-12-02 Nick Clifton <nickc@redhat.com>
93
f5ac6ab3
NC
94 PR ld/20910
95 * ldmain.c (main): Prevent evaluation of %<char> sequences when
96 printing out a linker script.
97
fe6fae07
NC
98 PR ld/20911
99 * ldctor.c (ldctor_build_sets): Produce alternative error message
100 if the reloc was being applied to a special section.
101
68c638d6
NC
102 PR ld/20912
103 * emultempl/elf32.em (_place_orphan): Test for ELF format of the
104 orphan before looking for the SHF_EXCLUDE flag.
105
d5451cd4
JC
1062016-12-02 Josh Conner <joshconner@google.com>
107
108 * Makefile.am: Add dependency information for earmelf_fuchsia.c.
109 * Makefile.in: Regenerate.
110 * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
111 x86_64-*-fuchsia* targets.
112 * emulparams/armelf_fuchsia.sh: New file.
113 * emulparams/armelfb_fuchsia.sh: New file.
114
4ee1d7e4
R
1152016-12-01 Rudy Y <rudyy.id@gmail.com>
116
117 PR ld/20880
118 * pe-dll.c (make_one): Use the hint if the ordinal is -1.
119
5cd1d8bc
YN
1202016-12-01 Yury Norov <ynorov@caviumnetworks.com>
121
122 PR ld/20868
123 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
124 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
125 test.
126 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
127
268ebe95
AB
1282016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
131
157686a8
NC
1322016-11-28 Nick Clifton <nickc@redhat.com>
133
134 PR 20815
135 * testsuite/ld-elf/loadaddr1.d: Update.
136 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
137 * testsuite/ld-scripts/phdrs3a.d: Update.
138
4deb8f71
L
1392016-11-28 H.J. Lu <hongjiu.lu@intel.com>
140
141 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
142 * testsuite/ld-elf/pr18720.rd: New file.
143
ae9a1986
AM
1442016-11-27 Alan Modra <amodra@gmail.com>
145
146 PR 20815
147 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
148
cb55e96b
AM
1492016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
150
151 * deffilep.y: Fix spelling in comments.
152
b81c93c8
AM
1532016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
154
155 * scripttempl/ia64vms.sc: Fix spelling in comments.
156 * scripttempl/ip2k.sc: Fix spelling in comments.
157 * scripttempl/v850.sc: Fix spelling in comments.
158 * scripttempl/v850_rh850.sc: Fix spelling in comments.
159
839b0b3f
AM
1602016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
161
162 * emultempl/avrelf.em: Fix spelling in comments.
163 * emultempl/elf32.em: Fix spelling in comments.
164 * emultempl/pe.em: Fix spelling in comments.
165 * emultempl/pep.em: Fix spelling in comments.
166 * emultempl/spuelf.em: Fix spelling in comments.
167
d14a6a9e
AM
1682016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
169
170 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
171 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
172 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
173 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
174
15a086be
AM
1752016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
176
177 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
178 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
179 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
180 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
181 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
182 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
183
370dfff4
AM
1842016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
185
186 * deffile.h: Fix spelling in comments.
187 * ld.h: Fix spelling in comments.
188 * ldlang.c: Fix spelling in comments.
189 * ldmisc.c: Fix spelling in comments.
190 * pe-dll.c: Fix spelling in comments.
191
1dcb9720
JW
1922016-11-24 Jiong Wang <jiong.wang@arm.com>
193
194 PR target/20737
195 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
196 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
197 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
198 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
199
51750acd
NC
2002016-11-24 Nick Clifton <nickc@redhat.com>
201
202 PR ld/20858
203 * emultempl/elf32.em (_search_needed): Allow for path separator
204 and terminating NUL byte when allocating space for new $ORIGIN
205 path.
206
1a9ccd70
NC
2072016-11-23 Nick Clifton <nickc@redhat.com>
208
7836e407
NC
209 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
210
1a9ccd70
NC
211 PR ld/20815
212 * ld.texinfo: Note that PT_TLS can be used as a segment type.
213 * testsuite/ld-discard/discard.ld: Add space for program headers.
214 * testsuite/ld-elf/flags1.ld: Likewise.
215 * testsuite/ld-elf/maxpage3.t: Likewise.
216 * testsuite/ld-elf/noload-1.t: Likewise.
217 * testsuite/ld-elf/orphan.ld: Likewise.
218 * testsuite/ld-elf/overlay.t: Likewise.
219 * testsuite/ld-elf/pr14052.t: Likewise.
220 * testsuite/ld-elf/pr19539.t: Likewise.
221 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
222 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
223 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
224 * testsuite/ld-i386/pr19539.t: Likewise.
225 * testsuite/ld-scripts/defined.t: Likewise.
226 * testsuite/ld-scripts/defined6.t: Likewise.
227 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
228 * testsuite/ld-scripts/empty-aligned.t: Likewise.
229 * testsuite/ld-scripts/provide-2.t: Likewise.
230 * testsuite/ld-scripts/provide-4.t: Likewise.
231 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
232 * testsuite/ld-x86-64/pr19539.t: Likewise.
233 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
234 dynamic linker.
235 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
236 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
237 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
238 * testsuite/ld-elf/noload-2.d: Likewise.
239 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
240 * testsuite/ld-scripts/phdrs3a.d: Likewise.
241 * testsuite/ld-scripts/size-2.d: Likewise.
242 * testsuite/ld-elf/group.ld: Add program headers.
243 * testsuite/ld-elf/overlay.d: Skip for SPU.
244 * testsuite/ld-elf/flags1.d: Skip for RX.
245 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
246 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
247 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
248 * testsuite/ld-scripts/size-2.t: Likewise.
249
96fe4562
AM
2502016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
251
252 * configure: Regenerate.
253
08dc996f
AM
2542016-11-22 Alan Modra <amodra@gmail.com>
255
256 PR 20744
257 * emultempl/ppc32elf.em (params): Update initializer. Handle
258 --vle-reloc-fixup command line arg.
259
4cb771f2
SKS
2602016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
261
262 PR ld/20789
263 * ld/testsuite/ld-avr/pr20789.d: New test.
264 * ld/testsuite/ld-avr/pr20789.s: New test.
265
266
9d734efa
L
2672016-11-14 H.J. Lu <hongjiu.lu@intel.com>
268
269 PR ld/20800
270 * testsuite/ld-x86-64/pr20800a.S: New file.
271 * testsuite/ld-x86-64/pr20800b.S: Likewise.
272 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
273
80bb3407
NC
2742016-11-14 Nick Clifton <nickc@redhat.com>
275
276 * lexsup.c (parse_args): Add break at end of default case.
277
ac33b731
JW
2782016-11-10 Jiong Wang <jiong.wang@arm.com>
279
280 PR target/20737
281 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
282 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
283 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
284 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
285
e680a6b6
NC
2862016-11-07 Nick Clifton <nickc@redhat.com>
287
288 PR ld/20784
289 * emultempl/elf32.em (search_needed): Fix infinite loop when
290 unable to process a token. Add support for curly braced enclosed
291 tokens.
292 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
293 $LIB.
294
9af89fba
NC
2952016-11-07 Nick Clifton <nickc@redhat.com>
296
297 * ld.texinfo (--compress-debug-sections): Expand documentation of
298 this option.
299
88ba72a2
NC
3002016-11-04 Nick Clifton <nickc@redhat.com>
301
302 * emultempl/elf32.em (search_needed): Remove use of getauxval and
303 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
304 warning message.
305 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
306 * configure: Regenerate.
307 * config.in: Regenerate.
308
8f1732fc
AB
3092016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
310
311 * ldlang.h (struct lang_wild_statement_struct): Add
312 exclude_name_list field.
313 * ldlang.c (walk_wild_file_in_exclude_list): New function.
314 (walk_wild_consider_section): Use new
315 walk_wild_file_in_exclude_list function.
316 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
317 (print_wild_statement): Print new exclude_name_list field.
318 (lang_add_wild): Initialise new exclude_name_list field.
319 * testsuite/ld-scripts/exclude-file-1.d: New file.
320 * testsuite/ld-scripts/exclude-file-1.map: New file.
321 * testsuite/ld-scripts/exclude-file-1.t: New file.
322 * testsuite/ld-scripts/exclude-file-2.d: New file.
323 * testsuite/ld-scripts/exclude-file-2.map: New file.
324 * testsuite/ld-scripts/exclude-file-2.t: New file.
325 * testsuite/ld-scripts/exclude-file-3.d: New file.
326 * testsuite/ld-scripts/exclude-file-3.map: New file.
327 * testsuite/ld-scripts/exclude-file-3.t: New file.
328 * testsuite/ld-scripts/exclude-file-4.d: New file.
329 * testsuite/ld-scripts/exclude-file-4.map: New file.
330 * testsuite/ld-scripts/exclude-file-4.t: New file.
331 * testsuite/ld-scripts/exclude-file-a.s: New file.
332 * testsuite/ld-scripts/exclude-file-b.s: New file.
333 * testsuite/ld-scripts/exclude-file.exp: New file.
334 * ld.texinfo (Input Section Basics): Update description of
335 EXCLUDE_FILE to cover the new features.
336 * NEWS: Mention new EXCLUDE_FILE usage.
337
88bd1539
AB
3382016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
341 based on the original source file name.
342 * testsuite/ld-discard/extern.d: Update object file names.
343 * testsuite/ld-discard/start.d: Likewise.
344 * testsuite/ld-discard/static.d: Likewise.
345 * testsuite/ld-elf/orphan-8.map: Likewise.
346
b709ef7c
AB
3472016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
350 xc16x-*-elf to the list of targets that don't support -shared.
351
6b211b9c
AB
3522016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * ldgram.y: Rename file_NAME_list to section_NAME_list
355 throughout.
356
e23eba97
NC
3572016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
358 Andrew Waterman <andrew@sifive.com>
359
360 Add support for RISC-V architecture.
361 * Makefile.am: Add riscv files.
362 * Makefile.in: Regenerate.
363 * NEWS: Mention the support for this target.
364 * configure.tgt: Add riscv entries.
365 * emulparams/elf32lriscv-defs.sh: New file.
366 * emulparams/elf32lriscv.sh: New file.
367 * emulparams/elf64lriscv-defs.sh: New file.
368 * emulparams/elf64lriscv.sh: New file.
369 * emultempl/riscvelf.em: New file.
370
fb47deda
TP
3712016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
372
373 * ldmain.c (add_archive_element): Initialize input->header.type.
374 * plugin.c (plugin_maybe_claim): Assert the statement is an input
375 statement.
376
e4ce4d94
AM
3772016-10-15 Alan Modra <amodra@gmail.com>
378
379 * emultempl/spu_ovl.o_c: Regenerate.
380
ab2c2251
AM
3812016-10-14 Alan Modra <amodra@gmail.com>
382
383 * scripttempl/DWARF.sc: Add .debug_addr.
384
56fdab47
AM
3852016-10-12 Alan Modra <amodra@gmail.com>
386
387 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
388 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
389 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
390 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
391 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
392
a24bb4f0
NC
3932016-10-11 Nick Clifton <nickc@redhat.com>
394
395 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
396 in objdump.
397 * ld-aarch64/emit-relocs-515.d: Likewise.
398 * ld-aarch64/emit-relocs-516-be.d: Likewise.
399 * ld-aarch64/emit-relocs-516.d: Likewise.
400 * ld-aarch64/farcall-b-plt.d: Likewise.
401 * ld-aarch64/farcall-bl-plt.d: Likewise.
402 * ld-aarch64/gc-plt-relocs.d: Likewise.
403 * ld-aarch64/tls-desc-ie.d: Likewise.
404 * ld-aarch64/tls-tiny-desc.d: Likewise.
405 * ld-aarch64/tls-tiny-gd.d: Likewise.
406 * ld-aarch64/tls-tiny-ie.d: Likewise.
407 * ld-arm/arm-app-abs32.d: Likewise.
408 * ld-arm/arm-app.d: Likewise.
409 * ld-arm/arm-lib-plt32.d: Likewise.
410 * ld-arm/arm-lib.d: Likewise.
411 * ld-arm/armthumb-lib.d: Likewise.
412 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
413 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
414 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
415 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
416 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
417 * ld-arm/farcall-mixed-app-v5.d: Likewise.
418 * ld-arm/farcall-mixed-app.d: Likewise.
419 * ld-arm/farcall-mixed-app2.d: Likewise.
420 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
421 * ld-arm/farcall-mixed-lib.d: Likewise.
422 * ld-arm/ifunc-10.dd: Likewise.
423 * ld-arm/ifunc-14.dd: Likewise.
424 * ld-arm/ifunc-15.dd: Likewise.
425 * ld-arm/ifunc-3.dd: Likewise.
426 * ld-arm/ifunc-4.dd: Likewise.
427 * ld-arm/ifunc-9.dd: Likewise.
428 * ld-arm/long-plt-format.d: Likewise.
429 * ld-arm/mixed-app-v5.d: Likewise.
430 * ld-arm/mixed-app.d: Likewise.
431 * ld-arm/mixed-lib.d: Likewise.
432 * ld-arm/tls-lib-loc.d: Likewise.
433 * ld-cris/dso-pltdis1.d: Likewise.
434 * ld-cris/dso-pltdis2.d: Likewise.
435 * ld-cris/dso12-pltdis.d: Likewise.
436 * ld-elf/symbolic-func.r: Likewise.
437 * ld-frv/fdpic-pie-1.d: Likewise.
438 * ld-frv/fdpic-pie-2.d: Likewise.
439 * ld-frv/fdpic-pie-6.d: Likewise.
440 * ld-frv/fdpic-pie-7.d: Likewise.
441 * ld-frv/fdpic-pie-8.d: Likewise.
442 * ld-frv/fdpic-shared-1.d: Likewise.
443 * ld-frv/fdpic-shared-2.d: Likewise.
444 * ld-frv/fdpic-shared-3.d: Likewise.
445 * ld-frv/fdpic-shared-4.d: Likewise.
446 * ld-frv/fdpic-shared-5.d: Likewise.
447 * ld-frv/fdpic-shared-6.d: Likewise.
448 * ld-frv/fdpic-shared-7.d: Likewise.
449 * ld-frv/fdpic-shared-8.d: Likewise.
450 * ld-frv/fdpic-shared-local-2.d: Likewise.
451 * ld-frv/fdpic-shared-local-8.d: Likewise.
452 * ld-frv/fdpic-static-1.d: Likewise.
453 * ld-frv/fdpic-static-2.d: Likewise.
454 * ld-frv/fdpic-static-6.d: Likewise.
455 * ld-frv/fdpic-static-7.d: Likewise.
456 * ld-frv/fdpic-static-8.d: Likewise.
457 * ld-frv/tls-dynamic-2.d: Likewise.
458 * ld-frv/tls-initial-shared-2.d: Likewise.
459 * ld-frv/tls-relax-shared-2.d: Likewise.
460 * ld-frv/tls-shared-2.d: Likewise.
461 * ld-i386/plt-nacl.pd: Likewise.
462 * ld-i386/plt-pic-nacl.pd: Likewise.
463 * ld-i386/plt-pic.pd: Likewise.
464 * ld-i386/plt.pd: Likewise.
465 * ld-i386/pr19636-1d-nacl.d: Likewise.
466 * ld-i386/pr19636-1d.d: Likewise.
467 * ld-i386/pr19636-2c-nacl.d: Likewise.
468 * ld-i386/pr19636-2c.d: Likewise.
469 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
470 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
471 * ld-ifunc/pr17154-i386.d: Likewise.
472 * ld-ifunc/pr17154-x86-64.d: Likewise.
473 * ld-m68k/plt1-68020.d: Likewise.
474 * ld-m68k/plt1-cpu32.d: Likewise.
475 * ld-m68k/plt1-isab.d: Likewise.
476 * ld-m68k/plt1-isac.d: Likewise.
477 * ld-metag/shared.d: Likewise.
478 * ld-metag/stub_pic_app.d: Likewise.
479 * ld-metag/stub_pic_shared.d: Likewise.
480 * ld-metag/stub_shared.d: Likewise.
481 * ld-s390/tlsbin_64.dd: Likewise.
482 * ld-s390/tlspic_64.dd: Likewise.
483 * ld-tic6x/shlib-1.dd: Likewise.
484 * ld-tic6x/shlib-1b.dd: Likewise.
485 * ld-tic6x/shlib-1rb.dd: Likewise.
486 * ld-tic6x/shlib-app-1.dd: Likewise.
487 * ld-tic6x/shlib-app-1b.dd: Likewise.
488 * ld-tic6x/shlib-app-1r.dd: Likewise.
489 * ld-tic6x/shlib-app-1rb.dd: Likewise.
490 * ld-tic6x/shlib-noindex.dd: Likewise.
491 * ld-vax-elf/export-class-data.dd: Likewise.
492 * ld-vax-elf/plt-local-lib.dd: Likewise.
493 * ld-vax-elf/plt-local.dd: Likewise.
494 * ld-x86-64/bnd-ifunc-2.d: Likewise.
495 * ld-x86-64/bnd-plt-1.d: Likewise.
496 * ld-x86-64/gotpcrel1.dd: Likewise.
497 * ld-x86-64/libno-plt-1b.dd: Likewise.
498 * ld-x86-64/load1c-nacl.d: Likewise.
499 * ld-x86-64/load1c.d: Likewise.
500 * ld-x86-64/load1d-nacl.d: Likewise.
501 * ld-x86-64/load1d.d: Likewise.
502 * ld-x86-64/mov1a.d: Likewise.
503 * ld-x86-64/mov1b.d: Likewise.
504 * ld-x86-64/mov1c.d: Likewise.
505 * ld-x86-64/mov1d.d: Likewise.
506 * ld-x86-64/mov2a.d: Likewise.
507 * ld-x86-64/mov2b.d: Likewise.
508 * ld-x86-64/mov2c.d: Likewise.
509 * ld-x86-64/mov2d.d: Likewise.
510 * ld-x86-64/mpx3.dd: Likewise.
511 * ld-x86-64/mpx4.dd: Likewise.
512 * ld-x86-64/no-plt-1a.dd: Likewise.
513 * ld-x86-64/no-plt-1b.dd: Likewise.
514 * ld-x86-64/no-plt-1c.dd: Likewise.
515 * ld-x86-64/no-plt-1e.dd: Likewise.
516 * ld-x86-64/no-plt-1f.dd: Likewise.
517 * ld-x86-64/no-plt-1g.dd: Likewise.
518 * ld-x86-64/plt-main-bnd.dd: Likewise.
519 * ld-x86-64/plt-nacl.pd: Likewise.
520 * ld-x86-64/plt.pd: Likewise.
521 * ld-x86-64/pr18591.d: Likewise.
522 * ld-x86-64/pr19609-1c.d: Likewise.
523 * ld-x86-64/pr19609-1e.d: Likewise.
524 * ld-x86-64/pr19609-1j.d: Likewise.
525 * ld-x86-64/pr19609-1l.d: Likewise.
526 * ld-x86-64/pr19609-1m.d: Likewise.
527 * ld-x86-64/pr19609-5b.d: Likewise.
528 * ld-x86-64/pr19609-5c.d: Likewise.
529 * ld-x86-64/pr19609-5e.d: Likewise.
530 * ld-x86-64/pr19609-6b.d: Likewise.
531 * ld-x86-64/pr19609-7b.d: Likewise.
532 * ld-x86-64/pr19609-7d.d: Likewise.
533 * ld-x86-64/pr19636-2d.d: Likewise.
534 * ld-x86-64/pr20093-1.d: Likewise.
535 * ld-x86-64/pr20093-2.d: Likewise.
536 * ld-x86-64/pr20253-1b.d: Likewise.
537 * ld-x86-64/pr20253-1d.d: Likewise.
538 * ld-x86-64/pr20253-1f.d: Likewise.
539 * ld-x86-64/pr20253-1h.d: Likewise.
540 * ld-x86-64/pr20253-1j.d: Likewise.
541 * ld-x86-64/pr20253-1l.d: Likewise.
542 * ld-x86-64/protected3.d: Likewise.
543 * ld-x86-64/tlsbin.dd: Likewise.
544 * ld-x86-64/tlsbin2.dd: Likewise.
545 * ld-x86-64/tlsbindesc.dd: Likewise.
546 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
547 * ld-x86-64/tlsdesc.dd: Likewise.
548 * ld-x86-64/tlsdesc.pd: Likewise.
549 * ld-x86-64/tlsgd10.dd: Likewise.
550 * ld-x86-64/tlsgd5.dd: Likewise.
551 * ld-x86-64/tlsgd6.dd: Likewise.
552 * ld-x86-64/tlsgd8.dd: Likewise.
553 * ld-x86-64/tlsgdesc.dd: Likewise.
554 * ld-x86-64/tlspic.dd: Likewise.
555 * ld-x86-64/tlspic2.dd: Likewise.
556
199fa1b7
NC
5572016-10-11 Nick Clifton <nickc@redhat.com>
558
559 PR ld/20535
560 * emultempl/elf32.em (_search_needed): Add support for pseudo
561 environment variables supported by ld.so. Namely $ORIGIN, $LIB
562 and $PLATFORM.
563 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
564 * config.in: Regenerate.
565 * configure: Regenerate.
566
f02cb058
AM
5672016-10-11 Alan Modra <amodra@gmail.com>
568
569 * ldlang.c (lang_do_assignments_1): Descend into output section
570 statements that do not yet have bfd sections. Set symbol section
571 temporarily for symbols defined in such statements to the undefined
572 section. Don't error on data or reloc statements until final phase.
573 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
574 in expld.section.
575 * testsuite/ld-mmix/bpo-10.d: Adjust.
576 * testsuite/ld-mmix/bpo-11.d: Adjust.
577
82057c77
AK
5782016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
579
580 * emulparams/elf64_s390.sh: Move binary start to 16M.
581 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
582 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
583
769553e6
AM
5842016-10-07 Alan Modra <amodra@gmail.com>
585
586 * ldexp.c (MAX): Define.
587 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
588 etree_type.value.
589
b62b1f71
AM
5902016-10-07 Alan Modra <amodra@gmail.com>
591
592 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
593 * testsuite/ld-elf/elf.exp: ..here.
594
249471c0
LC
5952016-10-06 Ludovic Courtès <ludo@gnu.org>
596
597 * emulparams/elf32bmipn32-defs.sh: Shift quote of
598 "x$EMULATION_NAME" to the left to work around
599 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
600
1a0670f3
AM
6012016-10-06 Alan Modra <amodra@gmail.com>
602
603 * lexsup.c: Spell fall through comments consistently and add
604 missing fall through comments.
605
2b804145
AM
6062016-10-06 Alan Modra <amodra@gmail.com>
607
608 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
609 by adding return.
610
94b41882
AM
6112016-10-04 Alan Modra <amodra@gmail.com>
612
613 * ld.texinfo (Expression Section): Update result of arithmetic
614 expressions.
615 * ldexp.c (arith_result_section): New function.
616 (fold_binary): Use it.
617
9ad39107
AM
6182016-10-04 Alan Modra <amodra@gmail.com>
619
620 * ldexp.c (exp_value_fold): New function.
621 (exp_unop, exp_binop, exp_trinop): Use it.
622
76276ff6
AM
6232016-09-30 Alan Modra <amodra@gmail.com>
624
625 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
626 not relocating.
627 * scripttempl/v850_rh850.sc: Likewise.
628
80169c8a
AM
6292016-09-30 Alan Modra <amodra@gmail.com>
630
631 PR ld/20528
632 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
633 multiple .text sections for hppa-linux.
634 * testsuite/ld-elf/pr20528b.d: Likewise.
635
4519d071
AM
6362016-09-30 Alan Modra <amodra@gmail.com>
637
638 * ldmain.c (default_bfd_error_handler): New function pointer.
639 (ld_bfd_error_handler): New function.
640 (main): Arrange to call it on bfd errors/warnings.
641 (ld_bfd_assert_handler): Enable tail call.
642
52d45da3
AM
6432016-09-30 Alan Modra <amodra@gmail.com>
644
645 * ldlang.c (ignore_bfd_errors): Update params.
646
93dc595d
L
6472016-09-29 H.J. Lu <hongjiu.lu@intel.com>
648
649 PR ld/20528
650 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
651 merge 2 sections with different SHF_EXCLUDE.
652 * testsuite/ld-elf/pr20528a.d: New file.
653 * testsuite/ld-elf/pr20528a.s: Likewise.
654 * testsuite/ld-elf/pr20528b.d: Likewise.
655 * testsuite/ld-elf/pr20528b.s: Likewise.
656
2df2751d
CL
6572016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
658
659 PR ld/20608
660 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
661 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
662 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
663 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
664 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
665
c5da1932
VZ
6662016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
667
668 * Makefile.in: Regenerate.
669 * configure: Likewise.
670
005d79fd
AM
6712016-09-26 Alan Modra <amodra@gmail.com>
672
673 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
674 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
675 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
676 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
677 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
678 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
679 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
680 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
681 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
682 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
683 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
684 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
685 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
686 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
687 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
688 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
689 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
690
5025eb7c
AO
6912016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
692
693 PR ld/20595
694 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
695 line and -r option to objdump command line. Match emitted relocs
696 to make sure that superflous relocs are not generated.
697
7c4236c3
AK
6982016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
699
700 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
701 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
702 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
703
0ec22c2c
NC
7042016-09-22 Nick Clifton <nickc@redhat.com>
705
706 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
707 attempts to find a needed library.
708
ad43e107
RS
7092016-09-21 Richard Sandiford <richard.sandiford@arm.com>
710
711 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
712 in addresses.
713 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
714 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
715 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
716 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
717 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
718 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
719 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
720 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
721 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
722 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
723 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
724 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
725 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
726 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
727 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
728 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
729 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
730 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
731 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
732 * testsuite/ld-aarch64/erratum835769.d: Likewise.
733 * testsuite/ld-aarch64/erratum843419.d: Likewise.
734 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
735 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
736 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
737 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
738 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
739 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
740 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
741 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
742 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
743 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
744 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
745 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
746 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
747 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
748 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
749 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
750 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
751 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
752
bb7eff52
RS
7532016-09-21 Richard Sandiford <richard.sandiford@arm.com>
754
755 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
756 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
757
a5bf7d4f
AB
7582016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
759
d4ed4da3 760 * ld.texinfo (Input Section Basics): Expand the description of
a5bf7d4f
AB
761 EXCLUDE_FILE.
762
4f90d84b
TP
7632016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
764
765 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
766 Extensions entry functions in absolute section.
767 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
768
32348c58
CZ
7692016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
770
771 * testsuite/ld-arc/tls-dtpoff.dd: New file.
772 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
773 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
774 * testsuite/ld-arc/tls-relocs.ld: Likewise.
775 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
776
29063f8b
NC
7772016-09-14 Nick Clifton <nickc@redhat.com>
778
779 PR ld/20537
780 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
781 OPTION_NO_EH_FRAME_HDR.
782 (_add_options): Add support for --no-eh-frame-hdr.
783 * ld.texinfo: Document new option.
784 * lexsup.c (elf_shlib_list_options): List new option.
785 * NEWS: Mention the new option.
786
d8457a04
L
7872016-09-06 H.J. Lu <hongjiu.lu@intel.com>
788
789 PR ld/20550
790 * testsuite/ld-x86-64/pr20550a.s: New file.
791 * testsuite/ld-x86-64/pr20550b.s: Likewise.
792 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
793 PR ld/20550.
794
22d6c51b
NC
7952016-09-06 Nick Clifton <nickc@redhat.com>
796
797 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
798 without any sanitization options.
799 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
800 any sanitization options.
801 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
802 as CFLAGS and CXXFLAGS respectively.
803
bf186506
SKS
8042016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
805
806 PR ld/20545
807 * testsuite/ld-avr/avr-prop-7.d: New test.
808 * testsuite/ld-avr/avr-prop-7.s: New test.
809 * testsuite/ld-avr/avr-prop-8.d: New test.
810 * testsuite/ld-avr/avr-prop-8.s: New test.
811
1b2d85b2
L
8122016-09-02 H.J. Lu <hongjiu.lu@intel.com>
813
814 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
815 targets.
816 * testsuite/ld-elf/pr20513d.d: Likewise.
817
652a8f4f
L
8182016-09-01 H.J. Lu <hongjiu.lu@intel.com>
819
820 PR ld/20513
821 * testsuite/ld-elf/pr20513a.d: New file.
822 * testsuite/ld-elf/pr20513a.s: Likewise.
823 * testsuite/ld-elf/pr20513b.d: Likewise.
824 * testsuite/ld-elf/pr20513b.s: Likewise.
825 * testsuite/ld-elf/pr20513c.d: Likewise.
826 * testsuite/ld-elf/pr20513d.d: Likewise.
827 * testsuite/ld-elf/pr20513e.d: Likewise.
828 * testsuite/ld-elf/pr20513f.d: Likewise.
829
2e84f9c1
AM
8302016-08-31 Alan Modra <amodra@gmail.com>
831
832 PR 20513
833 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
834
3e8c34ea
AM
8352016-08-31 Alan Modra <amodra@gmail.com>
836
837 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
838 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
839 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
840 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
841 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
842
b2b38362
CM
8432016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
844
845 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
846 * testsuite/ld-arc/tls_ie-01.d: Likewise.
847
3c4f3228
L
8482016-08-29 H.J. Lu <hongjiu.lu@intel.com>
849
850 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
851 if ifunc attribute works.
852
74437ea2
L
8532016-08-29 H.J. Lu <hongjiu.lu@intel.com>
854
855 PR ld/14961
856 PR ld/20515
857 * testsuite/ld-i386/i386.exp: Run pr20515.
858 * testsuite/ld-i386/pr20515.d: New file.
859 * testsuite/ld-i386/pr20515.s: Likewise.
860 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
861 function.
862 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
863 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
864 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
865 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
866 * testsuite/ld-x86-64/x86-64.exp: Here.
867 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
868 * testsuite/ld-x86-64/pr19784a.c: Here.
869 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
870 * testsuite/ld-x86-64/pr19784b.c: Here.
871 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
872 * testsuite/ld-x86-64/pr19784c.c: Here.
873
68c39892
TP
8742016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
875
876 * emultempl/armelf.em (params): New static variable.
877 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
878 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
879 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
880 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
881 above new structure.
882 (arm_elf_before_allocation): Access static variable from the params
883 structure.
884 (gld${EMULATION_NAME}_finish): Likewise.
885 (arm_elf_create_output_section_statements): Likewise and pass the
886 address of that structure to bfd_elf32_arm_set_target_relocs instead
887 of the static variables.
888 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
889 structure.
890
980aa3e6
CM
8912016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
892
893 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
894 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
895
4dd72ffd
CM
8962016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
897
898 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
899 * testsuite/ld-arc/tls_ie-01.d: Likewise
900
0955507f
TP
9012016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
902
903 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
904 variable.
905 (arm_elf_create_output_section_statements): Open import input library
906 file for writing and pass resulting in_implib_bfd to
907 bfd_elf32_arm_set_target_relocs.
908 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
909 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
910 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
911 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
912 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
913 (--in-implib): Document new option.
914 * NEWS: Likewise.
915 * testsuite/ld-arm/arm-elf.exp
916 (Secure gateway import library generation): add --defsym VER=1 to gas
917 CLI.
918 (Secure gateway import library generation: errors): Likewise.
919 (Input secure gateway import library): New test.
920 (Input secure gateway import library: no output import library):
921 Likewise.
922 (Input secure gateway import library: not an SG input import library):
923 Likewise.
924 (Input secure gateway import library: earlier stub section base):
925 Likewise.
926 (Input secure gateway import library: later stub section base):
927 Likewise.
928 (Input secure gateway import library: veneer comeback): Likewise.
929 (Input secure gateway import library: entry function change):
930 Likewise.
931 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
932 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
933 * testsuite/ld-arm/cmse-new-implib.out: New file.
934 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
935 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
936 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
937 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
938 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
939 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
940
4811ccb4
AM
9412016-08-25 Alan Modra <amodra@gmail.com>
942
943 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
944 support for BE. First output all target endian configury
945 values, then opposite endian. Handle more tooldirs. Fix
946 bogus matches with strings in MANUF-OS part of target triple.
947
d44ea5d0
AM
9482016-08-23 Alan Modra <amodra@gmail.com>
949
950 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
951 twice.
952
dd905818
NC
9532016-08-19 Nick Clifton <nickc@redhat.com>
954
576438f0
NC
955 * emultempl/aarch64elf.em (before_parse): Initialise the relro
956 field in the link_info structure.
957 * emultempl/armelf.em (before_parse): Likewise.
958 * emultempl/linux.em (before_parse): Likewise.
959 * emultempl/scoreelf.em (before_parse): Likewise.
960
dd905818
NC
961 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
962 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
963 * testsuite/ld-alpha/tlspic.rd: Likewise.
964 * testsuite/ld-cris/libdso-2.d: Likewise.
965 * testsuite/ld-i386/nogot1.d: Likewise.
966 * testsuite/ld-i386/pr12718.d: Likewise.
967 * testsuite/ld-i386/pr12921.d: Likewise.
968 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
969 * testsuite/ld-i386/tlsbin.rd: Likewise.
970 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
971 * testsuite/ld-i386/tlsbin2.rd: Likewise.
972 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
973 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
974 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
975 * testsuite/ld-i386/tlsdesc.rd: Likewise.
976 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
977 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
978 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
979 * testsuite/ld-i386/tlsnopic.rd: Likewise.
980 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
981 * testsuite/ld-i386/tlspic.rd: Likewise.
982 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
983 * testsuite/ld-i386/tlspic2.rd: Likewise.
984 * testsuite/ld-ia64/tlsbin.rd: Likewise.
985 * testsuite/ld-ia64/tlspic.rd: Likewise.
986 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
987 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
988 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
989 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
990 * testsuite/ld-mmix/bspec1.d: Likewise.
991 * testsuite/ld-mmix/bspec2.d: Likewise.
992 * testsuite/ld-mmix/local1.d: Likewise.
993 * testsuite/ld-mmix/local3.d: Likewise.
994 * testsuite/ld-mmix/local5.d: Likewise.
995 * testsuite/ld-mmix/local7.d: Likewise.
996 * testsuite/ld-mmix/undef-3.d: Likewise.
997 * testsuite/ld-powerpc/tlsexe.r: Likewise.
998 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
999 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1000 * testsuite/ld-powerpc/tlsso.r: Likewise.
1001 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1002 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1003 * testsuite/ld-s390/tlsbin.rd: Likewise.
1004 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1005 * testsuite/ld-s390/tlspic.rd: Likewise.
1006 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1007 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
1008 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
1009 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
1010 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
1011 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
1012 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
1013 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
1014 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1015 * testsuite/ld-sh/tlspic-2.d: Likewise.
1016 * testsuite/ld-sparc/gotop32.rd: Likewise.
1017 * testsuite/ld-sparc/gotop64.rd: Likewise.
1018 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1019 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1020 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1021 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1022 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1023 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1024 * testsuite/ld-tic6x/common.d: Likewise.
1025 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1026 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1027 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1028 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1029 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1030 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1031 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1032 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1033 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1034 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1035 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1036 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1037 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1038 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1039 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1040 * testsuite/ld-x86-64/nogot1.d: Likewise.
1041 * testsuite/ld-x86-64/pr12718.d: Likewise.
1042 * testsuite/ld-x86-64/pr12921.d: Likewise.
1043 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1044 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1045 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1046 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1047 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1048 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1049 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1050 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1051 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1052 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1053 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1054 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1055 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1056 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1057 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1058 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1059 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1060 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1061
626c539f
AM
10622016-08-18 Alan Modra <amodra@gmail.com>
1063
1064 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
1065 unresolved.
1066
90ac2420
AM
10672016-08-12 Alan Modra <amodra@gmail.com>
1068
1069 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
1070 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1071 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1072 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1073 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1074 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1075 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1076 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1077 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1078 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1079 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1080 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1081 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1082
bf174910
AM
10832016-08-12 Alan Modra <amodra@gmail.com>
1084
1085 * testsuite/ld-undefined/weak-fundef.s: New.
1086 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
1087 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
1088 much of old code. Use is_elf_format to select targets.
1089
8be1e369
AM
10902016-08-11 Alan Modra <amodra@gmail.com>
1091
1092 PR ld/20436
1093 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
1094 remote_exec status.
1095 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
1096
7f6bf02d
NC
10972016-08-11 Nick Clifton <nickc@redhat.com>
1098
1099 PR ld/20436
1100 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
1101 testing remotely, check to see if target compiler is installed
1102 before trying to run it.
1103
3807734d
MR
11042016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1105
1106 PR ld/15428
1107 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
1108 test 2.
1109
0375b0a5
MR
11102016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1111
1112 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
1113 test.
1114 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
1115 test.
1116 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
1117 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
1118 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1119 source.
1120 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1121 source.
1122 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1123
5ff55910
L
11242016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 PR ld/20436
1127 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1128 proc.
1129 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1130 returns 0.
1131 (check_lto_fat_available): Likewise.
1132 (check_lto_shared_available): Likewise.
1133
7cfee229
RM
11342016-08-09 Roland McGrath <roland@hack.frob.com>
1135
1136 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1137
54ddd295
TP
11382016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1139
1140 * emultempl/armelf.em (cmse_implib): Declare and define this new
1141 static variable.
1142 (arm_elf_create_output_section_statements): Add new cmse_implib
1143 parameter.
1144 (OPTION_CMSE_IMPLIB): Define macro.
1145 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1146 (PARSE_AND_LIST_OPTIONS): Likewise.
1147 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1148 * ld.texinfo (--cmse-implib): Document new option.
1149 * testsuite/ld-arm/arm-elf.exp
1150 (Secure gateway import library generation): New test.
1151 (Secure gateway import library generation: errors): Likewise.
1152 * testsuite/ld-arm/cmse-implib.s: New file.
1153 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1154 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1155
4ba2ef8f
TP
11562016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1157
1158 * ld.texinfo (Placement of SG veneers): New concept entry.
1159 * testsuite/ld-arm/arm-elf.exp
1160 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1161 (Secure gateway veneers: wrong entry functions): Likewise.
1162 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1163 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1164 * testsuite/ld-arm/cmse-veneers.s: New file.
1165 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1166 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1167 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1168 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1169 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1170
a94d834c
NC
11712016-08-02 Nick Clifton <nickc@redhat.com>
1172
1173 PR ld/17739
1174 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1175 valye 'yes'.
1176 * emulparams/shelf32.sh: Likewise.
1177 * emulparams/shelf32.sh: Likewise.
1178 * emulparams/shelf_nto.sh: Likewise.
1179 * emulparams/shelf_nto.sh: Likewise.
1180 * emulparams/shelf_vxworks.sh: Likewise.
1181 * emulparams/shelf_vxworks.sh: Likewise.
1182 * emulparams/shlelf32_linux.sh: Likewise.
1183 * emulparams/shlelf32_linux.sh: Likewise.
1184 * emulparams/shlelf_linux.sh: Likewise.
1185 * emulparams/shlelf_linux.sh: Likewise.
1186 * emulparams/shlelf_nto.sh: Likewise.
1187 * emulparams/shlelf_nto.sh: Likewise.
1188
7bd374a4
MR
11892016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1190
1191 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1192 patterns for branch compaction.
1193 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1194 Likewise.
1195
61d2d2b5
NC
11962016-07-27 Nick Clifton <nickc@redhat.com>
1197
1198 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1199 test to targets which support cfi.
1200
7fca8e8f
IK
12012016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1202
1203 * ldbuildid.c (generate_build_id): Warning fix.
1204
54806ffa
MR
12052016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1206
1207 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1208 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1209 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1210 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1211 test.
1212 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1213 test.
1214 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1215 New test.
1216 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1217 New test.
1218 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1219 New test.
1220 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1221 New test.
1222 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1223 New test.
1224 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1225 New test.
1226 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1227 New test.
1228 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1229 New test.
1230 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1231
d0d4152f
IK
12322016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1233
1234 * ldbuildid.c: Changes for MinGW32:
1235 Include windows.h and rpcdce.h.
1236 (validate_build_id_style): Allow "uuid" style.
1237 (generate_build_id): Fill in id_bits using UuidCreate().
1238
95804507
AM
12392016-07-25 Alan Modra <amodra@gmail.com>
1240
1241 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1242 and m32r. Correct comment. Relax ld -r match to account for
1243 msp increased number of default sections.
1244
c02d11a5
CM
12452016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1246
1247 * testsuite/ld-arc/got-01.d: New file.
1248 * testsuite/ld-arc/got-01.s: New file.
1249
fecd57f9
L
12502016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * configure: Regenerated.
1253
982c6f26
AM
12542016-07-21 Alan Modra <amodra@gmail.com>
1255
1256 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1257 "targets_to_xfail" parameter with "args".
1258 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1259 all calls to run_ld_link_exec_tests.
1260 * testsuite/ld-elf/dwarf.exp: Likewise.
1261 * testsuite/ld-elf/indirect.exp: Likewise.
1262 * testsuite/ld-elf/wrap.exp: Likewise.
1263 * testsuite/ld-i386/i386.exp: Likewise.
1264 * testsuite/ld-i386/no-plt.exp: Likewise.
1265 * testsuite/ld-i386/tls.exp: Likewise.
1266 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1267 * testsuite/ld-pie/pie.exp: Likewise.
1268 * testsuite/ld-plugin/lto.exp: Likewise.
1269 * testsuite/ld-size/size.exp: Likewise.
1270 * testsuite/ld-x86-64/mpx.exp: Likewise.
1271 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1272 * testsuite/ld-x86-64/tls.exp: Likewise.
1273 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1274 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1275 xfails and simplify lists.
1276 * testsuite/ld-elf/shared.exp: Likewise.
1277
5df1bc57
AM
12782016-07-21 Alan Modra <amodra@gmail.com>
1279
1280 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1281 parameter to pass list of xfails.
1282 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1283 implib test formatting. Don't set .data start address.
1284 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1285 replace second one with equivalent .section directive.
1286 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1287 * testsuite/ld-elf/implib.rd: Update.
1288
b751e639
AM
12892016-07-20 Alan Modra <amodra@gmail.com>
1290
1291 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1292 fold expression.
1293 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1294
3af09e8d
RM
12952016-07-19 Roland McGrath <roland@hack.frob.com>
1296
1297 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1298 * emulparams/aarch64elf32.sh: Likewise.
1299
a6ebf616
MR
13002016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1301
1302 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1303 messages expected.
1304 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1305 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1306 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1307 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1308 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1309 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1310 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1311 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1312 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1313 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1314 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1315 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1316 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1317 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1318 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1319 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1320 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1321 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1322 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1323 source.
1324 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1325 source.
1326 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1327
9d862524
MR
13282016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1329
1330 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1331 expected.
1332 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1333 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1334 Likewise.
1335 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1336 Likewise.
1337 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1338 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1339 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1340 microMIPS BAL and MIPS16 instructions.
1341 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1342 accordingly.
1343 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1344 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1345 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1346 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1347 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1348 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1349 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1350 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1351 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1352
ace667e5
AB
13532016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1354
1355 * plugin.c (plugin_call_claim_file): Restore the file offset after
1356 an unsuccessful attempt to claim a file.
1357 * testplug.c (bytes_to_read_before_claim): New global.
1358 (record_read_length): New function, sets new global
1359 bytes_to_read_before_claim.
1360 (parse_option): Handle 'read:<NUMBER>' option.
1361 (onclaim_file): Read file content before checking for claim.
1362 * testsuite/ld-plugin/plugin-30.d: New file.
1363 * testsuite/ld-plugin/plugin.exp: Add new test.
1364
7d0b9ebc
AM
13652016-07-16 Alan Modra <amodra@gmail.com>
1366
1367 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1368 before bfd/plugin.h.
1369 (plugin_object_p): Use bfd_plugin_open_input.
1370
4212b42d
AM
13712016-07-16 Alan Modra <amodra@gmail.com>
1372
1373 * ldlang.c (open_output): Replace bfd_search_for_target with
1374 bfd_iterate_over_targets. Localize vars.
1375
76e7a751
AM
13762016-07-16 Alan Modra <amodra@gmail.com>
1377
1378 * ldlang.c: Don't include libbfd.h.
1379 * emultempl/nds32elf.em: Likewise.
1380 * emultempl/ppc64elf.em: Likewise.
1381 * emultempl/ppc32elf.em: Likewise.
1382 (pagesize): Delete.
1383 (params): Update init.
1384 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1385 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1386 * emultempl/sh64elf.em: Don't include libbfd.h.
1387 (after_allocation): Use ASSERT, not BFD_ASSERT.
1388 * emultempl/xtensaelf.em: Don't include libbfd.h.
1389 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1390 * Makefile.am: Update dependencies.
1391 * Makefile.in: Regenerate.
1392
76359541
TP
13932016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1394 Nick Clifton <nickc@redhat.com>
1395
1396 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1397 library file for writing and initialize implib_bfd field of link_info
1398 structure.
1399 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1400 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1401 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1402 (gld_${EMULATION_NAME}_list_options): Likewise.
1403 (gld${EMULATION_NAME}_handle_option): Likewise.
1404 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1405 instead of pe_implib_filename.
1406 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1407 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1408 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1409 (gld_${EMULATION_NAME}_list_options): Likewise.
1410 (gld${EMULATION_NAME}_handle_option): Likewise.
1411 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1412 instead of pep_implib_filename.
1413 * ld.h (args_type): Declare new out_implib_filename field.
1414 * ld.texinfo (--out-implib): Move documentation to arch-independent
1415 part and rephrase to apply to ELF targets.
1416 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1417 defined in linker scripts.
1418 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1419 enumerator.
1420 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1421 (parse_args): Handle OPTION_OUT_IMPLIB case.
1422 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1423 (Generate import library): Likewise.
1424 * testsuite/ld-elf/implib.s: Likewise.
1425 * testsuite/ld-elf/implib.rd: New file.
1426 * testsuite/ld-elf/empty-implib.out: Likewise
1427
f7e8b360
NC
14282016-07-15 Nick Clifton <nickc@redhat.com>
1429
1430 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1431 little endian mode.
1432
b416ba9b
MR
14332016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1434
1435 * testsuite/ld-mips-elf/mips-elf.exp: Run
1436 `branch-absolute-addend', `mips16-branch-absolute',
1437 `mips16-branch-absolute-addend' and
1438 `micromips-branch-absolute-addend'.
1439
96e9ba5f
MR
14402016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1441
1442 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1443 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1444 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1445 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1446 test.
1447 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1448 test.
1449 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1450 test.
1451 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1452 from `mips16-branch-absolute' and
1453 `mips16-branch-absolute-addend', referred indirectly only.
1454
0c117286
MR
14552016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1456
1457 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1458 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1459 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1460 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1461 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1462 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1463 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1464 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1465 test.
1466 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1467 test.
1468 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1469 test.
1470 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1471 New test.
1472 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1473 New test.
1474 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1475 from `branch-absolute-addend' and
1476 `micromips-branch-absolute-addend', referred indirectly only.
1477
fa1c0170
CZ
14782016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1479
1480 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1481 * testsuite/ld-arc/sda-relocs.dd: New file.
1482 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1483 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1484 * testsuite/ld-arc/sda-relocs.s: Likewise.
1485 * testsuite/ld-arc/arc.exp: Add SDA tests.
1486
764cfd4a
CZ
14872016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1488
1489 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1490 verbosity.
1491
32a0481f
AM
14922016-07-09 Alan Modra <amodra@gmail.com>
1493
1494 * testsuite/ld-powerpc/elfv2exe.d: Update.
1495
3a5ce950 14962016-07-06 James Bowman <james.bowman@ftdichip.com>
1497
1498 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1499 (DATA): add ALIGN.
1500 (BSS): add ALIGN
1501
29d7478b
L
15022016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1505
d5a67c02
AV
15062016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1507
1508 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1509 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1510 * testsuite/ld-arm/arm-elf.exp: Run it.
1511
f0728ee3
AV
15122016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1513
1514 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1515 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1516 all noread's by purecode.
1517
1753ed68
JB
15182016-07-05 Jan Beulich <jbeulich@suse.com>
1519
1520 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1521 assignment line number.
1522 * ldlex.l (lineno): Drop initializer.
1523 (<<EOF>>): Set lineno to zero after reaching top of stack.
1524
c3e1c28e
L
15252016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 PR ld/20321
1528 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1529 been loaded already.
1530 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1531 * testsuite/ld-plugin/pr20321.c: New file.
1532
1dc8bf19
NC
15332016-07-04 Nick Clifton <nickc@redhat.com>
1534
1535 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1536 (__RAMSIZE): If not defined, set to 64K.
1537 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1538 size to __RAMSIZE.
1539
6f50d611
MR
15402016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1541
1542 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1543 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1544
5e866f5a
TP
15452016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1546
1547 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1548 (Thumb-2 BL on ARMv6-M): New testcase.
1549 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1550 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1551
96a84ea3
TG
15522016-07-01 Tristan Gingold <gingold@adacore.com>
1553
1554 * NEWS: Add marker for 2.27.
1555
f4ab0e2d
L
15562016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1557
1558 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1559 * ld-gc/pr20306.c: New file.
1560 * ld-gc/pr20306.d: Likewise.
1561
1b857aee
NC
15622016-06-28 Nick Clifton <nickc@redhat.com>
1563
1564 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1565 for bfin.
1566 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1567 tests to fail for bfin.
1568 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1569 nds32 and visium.
1570 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1571 microblaze.
1572 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1573 mcore-pe.
1574
15752016-06-28 Nick Clifton <nickc@redhat.com>
1576
1577 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1578 expect to fail this test.
1579 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1580 RX.
1581 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1582 fail for the RX.
1583 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1584 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1585 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1586 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1587 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1588
7160c10d
JC
15892016-06-28 James Clarke <jrtc27@jrtc27.com>
1590
1591 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1592 .text.
1593
6c9a7fb6
MR
15942016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1595
1596 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1597 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1598 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1599 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1600
56a30421
AM
16012016-06-28 Alan Modra <amodra@gmail.com>
1602
1603 PR ld/20302
1604 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1605
c9775dde
MR
16062016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1607
1608 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1609 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1610 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1611 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1612 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1613 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1614
42b7a39b
NC
16152016-06-27 Nick Clifton <nickc@redhat.com>
1616
1617 PR ld/20302
1618 * lexsup.c (set_segment_start): If resetting the start address of
1619 a section, remember to generate a new script element as well.
1620 * testsuite/ld-scripts/pr20302.d: New test.
1621 * testsuite/ld-scripts/scripts.exp: Run the new test.
1622
78da3bc1
AM
16232016-06-24 Alan Modra <amodra@gmail.com>
1624
1625 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1626 Don't error out, always return an emulation.
1627
da4463c7
L
16282016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1629 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1632 for -z relro help message.
1633
4041bc9b
MR
16342016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1635
1636 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1637 address matching.
1638
4861b804
MR
16392016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1640
1641 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1642 `undefweak-overflow' tests.
1643
647e4d46
L
16442016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 PR ld/20283
1647 * NEWS: Mention --enable-relro.
1648 * configure.ac: Add --enable-relro.
1649 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1650 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1651 some Linux targets.
1652 * config.in: Regenerated.
1653 * configure: Likewise.
1654 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1655 link_info.relro to DEFAULT_LD_Z_RELRO.
1656 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1657 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1658 $ld_elf_shared_opt to ld for ELF targets with shared object
1659 support.
1660 (run_ld_link_tests): Likewise.
1661
5f68df25
MR
16622016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1663
1664 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1665 twice rather than once.
1666 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1667 accordingly. Remove the full stop from the end of the message.
1668
bdd582db
GM
16692016-06-21 Graham Markall <graham.markall@embecosm.com>
1670
1671 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1672 * testsuite/ld-arc/nps-1b.d: Likewise.
1673
7dc3990e
L
16742016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1675
1676 PR ld/20267
1677 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1678 PR ld/20267.
1679 (lto_run_tests): Likewise.
1680 * testsuite/ld-plugin/pr20267a.c: New file.
1681 * testsuite/ld-plugin/pr20267b.c: Likewise.
1682
0616a280
AM
16832016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1684 Alan Modra <amodra@gmail.com>
1685
1686 PR ld/20276
1687 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1688 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1689 PR ld/20276.
1690 (lto_run_tests): Likewise.
1691 * testsuite/ld-plugin/pass.out: New file.
1692 * testsuite/ld-plugin/pr20276a.c: Likewise.
1693 * testsuite/ld-plugin/pr20276b.c: Likewise.
1694
49f30d83
L
16952016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1696
1697 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1698 with bfd_plugin_unknown.
1699
233cc9c1
L
17002016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 PR ld/20253
1703 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1704 * testsuite/ld-i386/no-plt.exp: Likewise.
1705 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1706 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1707 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1708 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1709 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1710 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1711 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1712 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1713 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1714 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1715 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1716 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1717 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1718 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1719 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1720 * testsuite/ld-i386/pr20244-2b.d: Updated.
1721 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1722 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1723 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1724 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1725 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1726 * testsuite/ld-i386/pr20253-1a.c: New file.
1727 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1728 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1729 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1730 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1731 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1732 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1733 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1734 * testsuite/ld-i386/pr20253-3.d: Likewise.
1735 * testsuite/ld-i386/pr20253-3.s: Likewise.
1736 * testsuite/ld-i386/pr20253-4.s: Likewise.
1737 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1738 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1739 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1740 * testsuite/ld-i386/pr20253-5.d: Likewise.
1741 * testsuite/ld-i386/pr20253-5.s: Likewise.
1742 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1743 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1744 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1745 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1746 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1747 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1748 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1749 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1750 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1751 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1752 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1753 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1754 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1755 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1756 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1757 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1758 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1759 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1760 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1761 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1762 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1763 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1764 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1765 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1766 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1767 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1768 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1769 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1770 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1771 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1772 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1773 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1774 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1775 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1776 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1777 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1778 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1779 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1780 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1781 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1782 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1783 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1784 relocation.
1785 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1786 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1787 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1788 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1789 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1790
80c135e5
TP
17912016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1792 Tony Wang <tony.wang@arm.com>
1793
1794 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1795 Assemble for ARMv6-M.
1796 (Thumb2-Thumb2 farcall M profile): New testcase.
1797 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1798 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1799 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1800 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1801
ca45f6e9
L
18022016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1805 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1806 Remove .rel.plt section.
1807 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1808
3a4b0e0f
L
18092016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1812 function pointer.
1813 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1814 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1815 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1816 function pointer.
1817 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1818 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1819 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1820 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1821 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1822 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1823 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1824 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1825 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1826 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1827 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1828 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1829 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1830 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1831 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1832 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1833 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1834 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1835 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1836
31eef93e
SKS
18372016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1838
1839 PR ld/20254
1840 * testsuite/ld-avr/avr-prop-6.d: New test.
1841 * testsuite/ld-avr/avr-prop-6.s: New test.
1842
0aa7f586
AM
18432016-06-14 Alan Modra <amodra@gmail.com>
1844
1845 * ldbuildid.c: Formatting.
1846 * ldcref.c: Formatting.
1847 * ldctor.c: Formatting.
1848 * ldemul.c: Formatting.
1849 * ldexp.c: Formatting.
1850 * ldfile.c: Formatting.
1851 * ldlang.c: Formatting.
1852 * ldmain.c: Formatting.
1853 * ldwrite.c: Formatting.
1854
3860d2b4
AM
18552016-06-14 Alan Modra <amodra@gmail.com>
1856
1857 * ldlang.c: Expand uses of bfd_my_archive.
1858 * ldmain.c: Likewise.
1859 * ldmisc.c: Likewise.
1860 * plugin.c: Likewise.
1861
b0cffb47
AM
18622016-06-14 Alan Modra <amodra@gmail.com>
1863
1864 PR ld/20241
1865 * ldmain.c (add_archive_element): Just print file name of file within
1866 thin archives.
1867 * ldmisc.c (vfinfo): Likewise.
1868 * plugin.c (plugin_object_p): Open file within thin archives.
1869 (plugin_maybe_claim): Expand comment.
1870
712ec279
L
18712016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 PR ld/20244
1874 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1875 pr20244-2c and pr20244-2d.
1876 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1877 * testsuite/ld-i386/pr20244-2.s: New file.
1878 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1879 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1880 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1881 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1882 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1883 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1884 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1885 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1886
ca8c86ef
L
18872016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1890 * testsuite/ld-i386/ifunc-1a.c: New file.
1891 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1892 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1893 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1894
82f46e2c
CM
18952016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1896
1897 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1898 big endian ARC targets.
1899
6d84fed1
L
19002016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1903 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1904 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1905 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1906 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1907 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1908 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1909 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1910 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1911 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1912 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1913 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1914 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1915 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1916 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1917
74d7f0aa
L
19182016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 PR ld/20244
1921 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1922 * testsuite/ld-i386/pr20244-1.s: New file.
1923 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1924 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1925 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1926
5c41dbc3
DC
19272016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1928
1929 PR ld/20221
1930 * testsuite/ld-avr/avr-prop-5.d: New.
1931 * testsuite/ld-avr/avr-prop-5.s: New.
1932
1857fe72 19332016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 1934
1857fe72
DC
1935 * testsuite/ld-avr/lds-mega.d: New test.
1936 * testsuite/ld-avr/lds-mega.s: New test source.
1937 * testsuite/ld-avr/lds-tiny.d: New test.
1938 * testsuite/ld-avr/lds-tiny.s: New test source.
1939
cd41072b
L
19402016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1943 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1944 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1945 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1946 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1947 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1948 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1949 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1950 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1951 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1952 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1953 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1954 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1955 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1956 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1957 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1958 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1959 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1960 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1961 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1962 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1963 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1964 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1965 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1966 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1967 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1968 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1969 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1970 * testsuite/ld-i386/no-plt.exp: Likewise.
1971
dcc03cb3
L
19722016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1973
1974 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1975 name.
1976
6eaa7fb5
L
19772016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1980 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1981 * testsuite/ld-i386/pass.out: New file.
1982 * testsuite/ld-i386/tls-def1.c: Likewise.
1983 * testsuite/ld-i386/tls-gd1.S: Likewise.
1984 * testsuite/ld-i386/tls-ld1.S: Likewise.
1985 * testsuite/ld-i386/tls-main1.c: Likewise.
1986 * testsuite/ld-i386/tls.exp: Likewise.
1987 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1988 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1989 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1990 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1991 * testsuite/ld-i386/tlsbin2.td: Likewise.
1992 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1993 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1994 * testsuite/ld-i386/tlsgd3.s: Likewise.
1995 * testsuite/ld-i386/tlsgd4.d: Likewise.
1996 * testsuite/ld-i386/tlsgd4.s: Likewise.
1997 * testsuite/ld-i386/tlsld2.s: Likewise.
1998 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1999 * testsuite/ld-i386/tlspic2.dd: Likewise.
2000 * testsuite/ld-i386/tlspic2.rd: Likewise.
2001 * testsuite/ld-i386/tlspic2.sd: Likewise.
2002 * testsuite/ld-i386/tlspic2.td: Likewise.
2003 * testsuite/ld-i386/tlspic3.s: Likewise.
2004 * testsuite/ld-i386/tlspie3.s: Likewise.
2005 * testsuite/ld-i386/tlspie3a.d: Likewise.
2006 * testsuite/ld-i386/tlspie3b.d: Likewise.
2007 * testsuite/ld-i386/tlspie3c.d: Likewise.
2008
010bc3ce
L
20092016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
2012 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2013 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2014 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2015 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2016 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2017 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2018 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
2019
1f26b7ae
L
20202016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2021
2022 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
2023 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
2024 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2025 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
2026 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2027 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2028 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2029 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2030 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2031 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2032 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2033 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2034 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2035 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2036 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2037 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2038 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
2039 * testsuite/ld-x86-64/no-plt.exp: Likewise.
2040 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
2041 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
2042 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
2043
1133012c
MR
20442016-06-07 Maciej W. Rozycki <macro@imgtec.com>
2045
2046 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
2047
161db279
AK
20482016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2049
2050 * testsuite/ld-s390/pltoffset-1.dd: New test.
2051 * testsuite/ld-s390/pltoffset-1.ld: New test.
2052 * testsuite/ld-s390/pltoffset-1.s: New test.
2053 * testsuite/ld-s390/s390.exp: Run new test.
2054
14b57c7c
AM
20552016-06-07 Alan Modra <amodra@gmail.com>
2056
2057 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
2058 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
2059 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
2060
e2cbcd91
L
20612016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 * testsuite/ld-x86-64/pass.out: New file.
2064 * testsuite/ld-x86-64/tls-def1.c: Likewise.
2065 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
2066 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
2067 * testsuite/ld-x86-64/tls-main1.c: Likewise.
2068 * testsuite/ld-x86-64/tls.exp: Likewise.
2069 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
2070 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
2071 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2072 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
2073 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
2074 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
2075 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
2076 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
2077 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
2078 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
2079 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
2080 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
2081 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
2082 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
2083 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
2084 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
2085 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
2086 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
2087 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
2088 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
2089 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
2090 * testsuite/ld-x86-64/tlsld4.s: Likewise.
2091 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
2092 * testsuite/ld-x86-64/tlsld5.s: Likewise.
2093 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
2094 * testsuite/ld-x86-64/tlsld6.s: Likewise.
2095 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
2096 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
2097 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2098 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
2099 * testsuite/ld-x86-64/tlspic2.td: Likewise.
2100 * testsuite/ld-x86-64/tlspic3.s: Likewise.
2101 * testsuite/ld-x86-64/tlspie2.s: Likewise.
2102 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
2103 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
2104 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
2105 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
2106 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
2107 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
2108 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
2109 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
2110 tlspie2c.
2111
2ac27cd3
CG
21122016-06-04 Christian Groessler <chris@groessler.org>
2113
67cb102b
CG
2114 * testsuite/ld-z8k/0filler.s: New file.
2115 * testsuite/ld-z8k/branch-target.s: New file.
2116 * testsuite/ld-z8k/branch-target2.s: New file.
2117 * testsuite/ld-z8k/calr-back-8001.d: New file.
2118 * testsuite/ld-z8k/calr-back-8002.d: New file.
2119 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2120 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2121 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2122 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2123 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2124 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2125 * testsuite/ld-z8k/calr-opcode.s: New file.
2126 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2127 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2128 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2129 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2130 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2131 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2132 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2133 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2134 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2135 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2136 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2137 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2138 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2139 * testsuite/ld-z8k/djnz-opcode.s: New file.
2140 * testsuite/ld-z8k/filler.s: New file.
2141 * testsuite/ld-z8k/jr-back-8001.d: New file.
2142 * testsuite/ld-z8k/jr-back-8002.d: New file.
2143 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2144 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2145 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2146 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2147 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2148 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2149 * testsuite/ld-z8k/jr-opcode.s: New file.
2150 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2151 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2152 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2153 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2154 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2155 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2156 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2157 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2158 * testsuite/ld-z8k/ldr-opcode.s: New file.
2159 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2160 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2161 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2162 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2163 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2164 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2165 * testsuite/ld-z8k/other-file.s: New file.
2166 * testsuite/ld-z8k/reloc.dd: New file.
2167 * testsuite/ld-z8k/reloc.ld: New file.
2168 * testsuite/ld-z8k/relocseg.dd: New file.
2169 * testsuite/ld-z8k/relocseg.ld: New file.
2170 * testsuite/ld-z8k/relocseg1.dd: New file.
2171 * testsuite/ld-z8k/this-file.s: New file.
2172 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 2173
b1058ce9
L
21742016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2175
2176 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2177 with -mrelax-relocations=yes.
2178 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2179 * testsuite/ld-i386/lea1b.d (as): Likewise.
2180 * testsuite/ld-i386/lea1d.d (as): Likewise.
2181 * testsuite/ld-i386/lea1e.d (as): Likewise.
2182 * testsuite/ld-i386/lea1f.d (as): Likewise.
2183 * testsuite/ld-i386/load7.d (as): Likewise.
2184 * testsuite/ld-i386/mov1b.d (as): Likewise.
2185 * testsuite/ld-i386/pr19175.d (as): Likewise.
2186 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2187 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2188 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2189 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2190 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2191
4ad0bb5f
VG
21922016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2193
2194 * configure.tgt: Replace -uclibc with *.
2195
99aefae6
MR
21962016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2197
2198 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2199 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2200 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2201 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2202
3b4412a0
MR
22032016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2204
2205 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2206 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2207 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2208 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2209 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2210 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2211
77434823
MR
22122016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2213
2214 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2215 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2216 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2217 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2218 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2219 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2220 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2221
1a72702b
AM
22222016-05-28 Alan Modra <amodra@gmail.com>
2223
2224 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2225 constructor_callback, warning_callback, undefined_symbol,
2226 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2227 * emultempl/elf32.em: Adjust callback calls.
2228
bc27bb05
MR
22292016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2230
2231 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2232 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2233 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2234 test.
2235 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2236 test.
2237 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2238 test.
2239 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2240 test.
2241 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2242 source.
2243 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2244 source.
2245 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2246
ceab86af
MR
22472016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2248
2249 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2250 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2251 new test.
2252 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2253
ed53407e
MR
22542016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2255
2256 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2257 `unaligned-jalx-2' here.
2258 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2259 `unaligned-jalx-mips16-2' here.
2260 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2261 `unaligned-jalx-micromips-2' here.
2262 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2263 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2264 message.
2265 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2266 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2267 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2268 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2269 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2270 test.
2271 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2272 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2273 `unaligned-lwpc-3' here.
2274 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2275 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2276 `unaligned-lwpc-2' here.
2277 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2278 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2279 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2280 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2281 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2282 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2283 `unaligned-ldpc-4' here.
2284 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2285 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2286 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2287 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2288 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2289 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2290 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2291 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2292 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2293 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2294 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2295
0d832c8e
NC
22962016-05-26 Nick Clifton <nickc@redhat.com>
2297
2298 PR target/20134
2299 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2300 __bsssize.
2301 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2302
de341542 23032016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 2304
de341542
MR
2305 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2306 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2307 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2308 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2309 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2310 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2311 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2312 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2313 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2314 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2315 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2316 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2317 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2318 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2319 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2320 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2321 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2322 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2323 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2324 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2325 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2326 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2327 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2328 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2329 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2330 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2331 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2332 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2333 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2334 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2335 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2336 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2337 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2338
b95a0a31
L
23392016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2340
2341 PR ld/20103
2342 * ldmain.c (add_archive_element): Don't claim new IR symbols
2343 after all IR symbols have been claimed.
2344 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2345 check.
2346 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2347 Run PR ld/20103 tests.
2348 * testsuite/ld-plugin/pr20103a.c: New file.
2349 * testsuite/ld-plugin/pr20103b.c: Likewise.
2350 * testsuite/ld-plugin/pr20103c.c: Likewise.
2351
44d3da23 23522016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3af09e8d 2353
44d3da23
MR
2354 * testsuite/ld-mips-elf/jalx-local.d: New test.
2355 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2356 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2357 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2358
a2bea324
KS
23592016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2360
2361 * Makefile.am: Add earmelf_phoenix.c.
2362 * Makefile.in: Regenerate.
2363 * configure.tgt: Add entry for arm-phoenix.
2364 * emulparams/armelf_phoenix.sh: New file.
2365
daa4adae
TP
23662016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2367
2368 * emultempl/armelf.em (arm_elf_before_allocation): Call
2369 bfd_elf32_arm_keep_private_stub_output_sections before generic
2370 before_allocation function.
2371
17c6c9d9
MR
23722016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2373
2374 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2375 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2376 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2377 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2378
7d4d9709
L
23792016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 PR ld/20117
2382 * testsuite/ld-i386/i386.exp: Run pr20117.
2383 * testsuite/ld-i386/pr19609-1i.d: Updated.
2384 * testsuite/ld-i386/pr20117.d: New file.
2385 * testsuite/ld-i386/pr20117.s: Likewise.
2386
fc3eec7e
CZ
23872016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2388
2389 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2390 * testsuite/ld-elf/group8a.d: Likewise.
2391 * testsuite/ld-elf/group8b.d: Likewise.
2392 * testsuite/ld-elf/group9a.d: Likewise.
2393 * testsuite/ld-elf/group9b.d: Likewise.
2394 * testsuite/ld-elf/pr12851.d: Likewise.
2395 * testsuite/ld-elf/pr12975.d: Likewise.
2396 * testsuite/ld-elf/pr13177.d: Likewise.
2397 * testsuite/ld-elf/pr13195.d: Likewise.
2398 * testsuite/ld-elf/pr17615.d: Likewise.
2399 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2400 * testsuite/ld-elf/group3b.d: Likewise.
2401 * testsuite/ld-srec/srec.exp: Likewise.
2402 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2403 as supporting gc.
2404 (check_shared_lib_support): Mark ARC as supporting.
2405
c0913ebf
CZ
24062016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2407
2408 * emulparams/arcelf.sh: Changed.
2409 * emulparams/arclinux.sh: Likewise.
2410 * scripttempl/arclinux.sc: Moved to a more standard implementation
2411 similar to elf.sc.
2412
c4107a7d
MR
24132016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2414
2415 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2416 `ft32-*-*' behind `frv-*-*'.
2417
6b200de0
MR
24182016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2419
2420 * configure.tgt: Remove `am34-*-linux*' support.
2421
82bc9362
AM
24222016-05-19 Alan Modra <amodra@gmail.com>
2423
2424 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2425 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2426 * testsuite/ld-scripts/cross3.t: Likewise.
2427 * testsuite/ld-scripts/cross4.t: Likewise.
2428 * testsuite/ld-scripts/cross5.t: Likewise.
2429 * testsuite/ld-scripts/cross6.t: Likewise.
2430 * testsuite/ld-scripts/cross7.t: Likewise.
2431
f1b2ca70
AM
24322016-05-19 Alan Modra <amodra@gmail.com>
2433
2434 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2435 exe name rather than constructing testname. Fix typo in
2436 sub-test name. Log copying. Use -rpath rather than -R.
2437
d1f70bdc
NC
24382016-05-18 Nick Clifton <nickc@redhat.com>
2439
2440 * scripttempl/ft32.sc: Use fixed constants for memory region
2441 lengths. Include DWARF debug sections.
2442 (.data .bss): Do not assign locations during relocatable links.
2443 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2444 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2445 * testsuite/ld-elf/sec64k.exp: Likewise.
2446 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2447 * testsuite/ld-elf/merge.d: Likewise.
2448 * testsuite/ld-elf/orphan-region.d: Likewise.
2449 * testsuite/ld-elf/orphan.s: Likewise.
2450 * testsuite/ld-elf/orphan3.d: Likewise.
2451 * testsuite/ld-elf/pr349.d: Likewise.
2452 * testsuite/ld-elf/warn2.d: Likewise.
2453 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2454 that the FT32 does not support shared libraries.
2455
68bce020
L
24562016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2459 global CC.
2460
23b5dc39 24612016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
2462
2463 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2464 above .progmem*.
2465 * scripttempl/avrtiny.sc (text): Likewise.
2466
a43942db
MR
24672016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2468
2469 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2470 `supports_gnu_unique' to qualify testing.
2471
69a1c856
MR
24722016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2473
2474 * testsuite/ld-elf/flags1.d: Update the xfail list.
2475
180c87d9
MR
24762016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2477
2478 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2479 removal.
2480
bf6f87e7
L
24812016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 PR ld/20097
2484 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2485 on EXPECTED_VIEW_LENGTH.
2486 * testplug4.c (onall_symbols_read): Likewise.
2487
2168b268
L
24882016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2489
2490 PR ld/20093
2491 * testsuite/ld-x86-64/pr20093-1.d: New file.
2492 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2493 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2494 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2495 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2496
4ade44b7
AM
24972016-05-13 Alan Modra <amodra@gmail.com>
2498
2499 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2500 Use different output file name for static app without .rel.plt.
2501 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2502 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2503 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2504 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2505 * testsuite/ld-arm/arm-static-app.r: Likewise.
2506
3355cb3b
L
25072016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2508
2509 PR ld/20070
2510 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2511 (libldtestplug4_la_SOURCES): New.
2512 (libldtestplug4_la_CFLAGS): Likewise.
2513 (libldtestplug4_la_LDFLAGS): Likewise.
2514 * Makefile.in: Regenerated.
2515 * plugin.c (get_symbols): Return resolution based on IR symbol
2516 kinds for symbols defined/referenced only within IR.
2517 * testplug4.c: New file.
2518 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2519 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2520 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2521 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2522 (plugin4_path): Likewise.
2523 Add a test for ld/20070.
2524
a464198b
AM
25252016-05-11 Alan Modra <amodra@gmail.com>
2526
2527 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2528 Call elf32_hppa_init_stub_bfd.
2529
3bd43ebc
AM
25302016-05-11 Alan Modra <amodra@gmail.com>
2531
2532 PR 20060
2533 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2534 * testsuite/ld-powerpc/tlsdll.s: New.
2535 * testsuite/ld-powerpc/tlsdll.ver: New.
2536 * testsuite/ld-powerpc/tlsdll_32.s: New.
2537 * testsuite/ld-powerpc/tlsopt5.d: New.
2538 * testsuite/ld-powerpc/tlsopt5.s: New.
2539 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2540 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2541
39d911fc
TP
25422016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2543
2544 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2545 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2546
6bde4c52
TP
25472016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2548
2549 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2550 parameter and rename input_section parameter to after_input_section.
2551 Append input stub section to the output section if after_input_section
2552 is NULL.
2553
15afaa63
TP
25542016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2555
2556 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2557 test.
2558 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2559 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2560
d63a50b7
CL
25612016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2562
2563 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2564
9239bbd3
CM
25652016-05-09 Christophe Monat <christophe.monat@st.com>
2566
2567 PR ld/20030
2568 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2569 tests. Fix misnamed stm32l4xx-fix-all.
2570 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2571 loads with DP registers.
2572 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2573 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2574 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2575 loads with DP registers.
2576 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2577
924bc11b
PS
25782016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2579
2580 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2581 program headers.
2582 (xfail): Remove avr-*-*.
2583 Update regex to check the section flags.
2584 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2585
a64f5ba1
AM
25862016-05-09 Alan Modra <amodra@gmail.com>
2587
2588 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2589 * Makefile.in: Regenerate.
2590
cc969da9
AM
25912016-05-09 Alan Modra <amodra@gmail.com>
2592
2593 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2594 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2595 * testsuite/ld-scripts/section-match-1.t: Likewise.
2596
97196564
L
25972016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2598
2599 PR ld/17550
2600 * testsuite/ld-elf/pr17550-1.s: New file.
2601 * testsuite/ld-elf/pr17550-2.s: Likewise.
2602 * testsuite/ld-elf/pr17550-3.s: Likewise.
2603 * testsuite/ld-elf/pr17550-4.s: Likewise.
2604 * testsuite/ld-elf/pr17550a.d: Likewise.
2605 * testsuite/ld-elf/pr17550b.d: Likewise.
2606 * testsuite/ld-elf/pr17550c.d: Likewise.
2607 * testsuite/ld-elf/pr17550d.d: Likewise.
2608
887cf791
SKS
26092016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2610
2611 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2612
2856a627
L
26132016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2614
2615 * testsuite/ld-i386/i386.exp: Run load7.
2616 * testsuite/ld-i386/load7.d: New file.
2617 * testsuite/ld-i386/load7.map: Likewise.
2618 * testsuite/ld-i386/load7.s: Likewise.
2619 * testsuite/ld-x86-64/load2.d: Likewise.
2620 * testsuite/ld-x86-64/load2.map: Likewise.
2621 * testsuite/ld-x86-64/load2.s: Likewise.
2622 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2623
004b1309
L
26242016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2627 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2628 Likewise.
2629 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2630 Likewise.
2631
d7adef8b
L
26322016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2633
2634 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2635
d4758f96
L
26362016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2639
c3fbf828
MR
26402016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2641
2642 * testsuite/ld-unique/unique.d: New test.
2643 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2644 messages for compiled tests.
2645
4a85cc09
SKS
26462016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2647
2648 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2649 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2650 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2651 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2652 plugin_tests only if check_shared_lib_support is true.
2653 * testsuite/ld-selective/selective.exp: Add --section-start
2654 flag for avr.
2655
6d6a648c
MR
26562016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2657
2658 PR 10549
2659 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2660
1f56df9d
JW
26612016-05-03 Jiong Wang <jiong.wang@arm.com>
2662
2663 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2664 * NEWS: Mention --no-apply-dynamic-relocs.
2665 * ld.texinfo (ld and the ARM family): Document
2666 --no-apply-dynamic-relocs.
2667 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2668 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2669 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2670 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2671 option.
2672
a2076b34
SKS
26732016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2674
2675 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2676 before running STT_COMMON tests.
2677
010f98a5
L
26782016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 * config/default.exp (NOPIE_CFLAGS): Download source only on
2681 remote host.
2682 (NOPIE_LDFLAGS): Likewise.
2683 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2684 (check_lto_fat_available): Likewise.
2685 (check_lto_shared_available): Likewise.
2686 (check_ifunc_available): Likewise.
2687 (check_ifunc_attribute_available): Likewise.
2688
83a471c3
L
26892016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2692
52728a42
L
26932016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2694
91f8bf69
L
2695 PR ld/20006
2696 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2697 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2698 ELF targets.
2699
27002016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2701
2702 * testsuite/ld-elf/compressed1b.d: Pass
2703 --compress-debug-sections=none to ld.
2704 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 2705
13b8c335
AM
27062016-04-27 Alan Modra <amodra@gmail.com>
2707
2708 PR target/19985
2709 * configure.tgt: Don't use var+=.
2710
731bb67a
NC
27112016-04-25 Nick Clifton <nickc@redhat.com>
2712
2713 PR target/19985
2714 * configure.tgt: Include big endian PPC64 emulations with little
2715 endian PPC64 targets.
2716
0e03d18a
SKS
27172016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2718
2719 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2720
ed1b027a
L
27212016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2724 Linux with GCC 4.9 or newer.
2725 (check_lto_fat_available): Likewise.
2726 (check_lto_shared_available): Likewise.
2727
4f3b23b3
NC
27282016-04-21 Nick Clifton <nickc@redhat.com>
2729
2730 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2731 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2732 targets. Do not stop the checks when problems are encountered.
2733
96bf8cb0
AM
27342016-04-21 Alan Modra <amodra@gmail.com>
2735
2736 * testsuite/ld-scripts/cross3.t: Add commonly used data
2737 and text section names to output section statements.
2738 * testsuite/ld-scripts/cross4.t: Likewise.
2739 * testsuite/ld-scripts/cross5.t: Likewise.
2740 * testsuite/ld-scripts/cross6.t: Likewise.
2741 * testsuite/ld-scripts/cross7.t: Likewise.
2742
fbf05aa7
L
27432016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2744
2745 * ldlang.c (lang_check_relocs): New function.
2746 (lang_process): Call lang_check_relocs after lang_gc_sections.
2747 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2748 call _bfd_elf_link_check_relocs here.
2749
c7ce9410
L
27502016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 PR ld/19972
2753 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2754 R_386_NONE or R_X86_64_NONE.
2755
03f2309a
L
27562016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 * testsuite/ld-x86-64/pic1.d: New file.
2759 * testsuite/ld-x86-64/pic1.s: Likewise.
2760 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2761
126697d1
L
27622016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * testsuite/ld-x86-64/pie2.d: New file.
2765 * testsuite/ld-x86-64/pie2.s: Likewise.
2766 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2767
338c190a
L
27682016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 PR ld/19969
2771 * testsuite/ld-x86-64/pr19969.d: New file.
2772 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2773 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2774 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2775
d9689752
L
27762016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2779 New.
2780 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2781 Likewise.
2782 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2783 Likewise.
2784 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2785 Likewise.
2786 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2787 Likewise.
2788 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2789 Likewise.
2790 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2791 Likewise.
2792 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2793 Likewise.
2794 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2795 Set check_relocs_after_open_input to TRUE if
2796 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2797 (gld${EMULATION_NAME}_after_open): Call
2798 _bfd_elf_link_check_relocs on all inputs if
2799 check_relocs_after_open_input is TRUE.
2800
7cc9c114
L
28012016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2804 my_personality_v0.
2805
e6c7cdec
TS
28062016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2807
2808 * emultempl/scoreelf.em: Likewise.
2809
87d455c0
L
28102016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 PR ld/19719
2813 * testsuite/ld-x86-64/pr19719.d: New file.
2814 * testsuite/ld-x86-64/pr19719.s: Likewise.
2815 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2816
cdf96953
MF
28172016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2818
2819 * ld.texinfo: Document NOCROSSREFS_TO script command.
2820 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2821 (lang_add_nocrossref_to): New prototype.
2822 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2823 symbols defined in the first section.
2824 (check_nocrossref): Likewise.
2825 * ldgram.y (NOCROSSREFS_TO): New script command.
2826 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2827 (lang_add_nocrossref_to): New function.
2828 * ldlex.l (NOCROSSREFS_TO): New token.
2829 * NEWS: Mention NOCROSSREFS_TO.
2830 * testsuite/ld-scripts/cross4.t: New file.
2831 * testsuite/ld-scripts/cross5.t: Likewise.
2832 * testsuite/ld-scripts/cross6.t: Likewise.
2833 * testsuite/ld-scripts/cross7.t: Likewise.
2834 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2835 tests.
2836
6fd8e7c2
L
28372016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 * Makefile.in: Regenerated with automake 1.11.6.
2840 * aclocal.m4: Likewise.
2841
4b0c052e
AB
28422016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * testsuite/ld-arc/arc.exp: New file.
2845 * testsuite/ld-arc/nps-1.s: New file.
2846 * testsuite/ld-arc/nps-1a.d: New file.
2847 * testsuite/ld-arc/nps-1b.d: New file.
2848 * testsuite/ld-arc/nps-1b.err: New file.
2849
8dc483a0
NC
28502016-04-14 Nick Clifton <nickc@redhat.com>
2851
2852 PR 19457
2853 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2854 exceptions for Mingw and Cygwin.
2855
758c5495
AB
28562016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2859 check_ld(terminal).
2860
37ce0cc4
L
28612016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 PR ld/19774
2864 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2865 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2866 tests.
2867
2df3368d
L
28682016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2869
2870 PR ld/19939
2871 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2872 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2873 * testsuite/ld-i386/pr19939.s: New file.
2874 * testsuite/ld-i386/pr19939a.d: Likewise.
2875 * testsuite/ld-i386/pr19939b.d: Likewise.
2876 * testsuite/ld-x86-64/pr19939.s: Likewise.
2877 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2878 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2879
417a667c
OE
28802016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2881
2882 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2883
136a43b7
AM
28842016-04-08 Alan Modra <amodra@gmail.com>
2885
2886 PR 18452
2887 * ldlang.c (maybe_overlays): Delete.
2888 (lang_size_sections_1): Remove code setting maybe_overlays.
2889 (lang_check_section_addresses): Instead detect overlays by
2890 exact match of section VMAs here. Fix memory leak.
2891
953dd97e
DG
28922016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2893
2894 * ldlang.c (print_output_section_statement): Show minfo size
2895 in target machine address units.
2896 (print_reloc_statement): Likewise.
2897 (print_padding_statement): Likewise.
2898 (print_data_statement): Likewise. Ensure minimum print_dot
2899 increment of one address unit.
2900
1a295c62
AB
29012016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2902
2903 * emulparams/arc-endianness.sh: Make little endian default choice.
2904
df154dc1
NC
29052016-04-07 Nick Clifton <nickc@redhat.com>
2906
2907 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2908 section name.
2909 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2910
9a5f28ae
AB
29112016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2912
2913 * emulparams/arc-endianness.sh: New file.
2914 * emulparams/arcebelf.sh: Deleted.
2915 * emulparams/arcebelf_prof.sh: Deleted.
2916 * emulparams/arceblinux.sh: Deleted.
2917 * emulparams/arceblinux_prof.sh: Deleted.
2918 * emulparams/arcelf.sh: Include arc-endinness.sh.
2919 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2920 * emulparams/arclinux.sh: Include arc-endinness.sh.
2921 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2922 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2923 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2924 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2925 little endian arc targets.
2926 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2927 * testsuite/ld-elf/group1.d: Likewise.
2928 * testsuite/ld-elf/group3b.d: Likewise.
2929 * testsuite/ld-elf/group8a.d: Likewise.
2930 * testsuite/ld-elf/group8b.d: Likewise.
2931 * testsuite/ld-elf/group9a.d: Likewise.
2932 * testsuite/ld-elf/group9b.d: Likewise.
2933 * testsuite/ld-elf/linkonce2.d: Likewise.
2934 * testsuite/ld-elf/pr12851.d: Likewise.
2935 * testsuite/ld-elf/pr12975.d: Likewise.
2936 * testsuite/ld-elf/pr13177.d: Likewise.
2937 * testsuite/ld-elf/pr13195.d: Likewise.
2938 * testsuite/ld-elf/pr17615.d: Likewise.
2939 * testsuite/ld-elf/pr19162.d: Likewise.
2940 * testsuite/ld-elf/sec64k.exp: Likewise.
2941 * testsuite/lib/ld-lib.exp: Likewise.
2942
1f599d0e
MR
29432016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2944
2945 PR ld/19908
2946 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2947 handling fix.
2948 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2949 * testsuite/ld-cris/tls-e-21.d: Likewise.
2950 * testsuite/ld-cris/tls-e-23.d: Likewise.
2951 * testsuite/ld-cris/tls-e-80.d: Likewise.
2952 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2953 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2954 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2955 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2956 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2957 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2958 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2959 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2960 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2961 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2962
a9fa4610
CZ
29632016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2964
2965 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2966 * testsuite/ld-discard/start.d: Likewise.
2967 * testsuite/ld-discard/static.d: Likewise.
2968 * testsuite/ld-elf/group1.d: Likewise.
2969 * testsuite/ld-elf/group3b.d: Likewise.
2970 * testsuite/ld-elf/orphan-region.d: Likewise.
2971 * testsuite/ld-elf/orphan.d: Likewise.
2972 * testsuite/ld-elf/orphan3.d: Likewise.
2973 * testsuite/ld-elf/pr349.d: Likewise.
2974 * testsuite/ld-elf/warn1.d: Likewise.
2975 * testsuite/ld-elf/warn2.d: Likewise.
2976 * testsuite/ld-elf/warn3.d: Likewise.
2977 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2978 through linker flags.
2979 * testsuite/ld-srec/srec.exp: Set as xfail.
2980
5fdf3872
L
29812016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2982
2983 PR ld/19827
2984 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2985 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2986
a061de07
NC
29872016-04-04 Nick Clifton <nickc@redhat.com>
2988
2989 PR 19803
2990 * emultempl/pe.em (change_undef): New function. Encapsulates
2991 duplicated code in pe_fixup_stdcalls and adds the newly defined
2992 sym to the gc root list.
2993 (pe_fixup_stdcall): Use the new function.
2994 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2995 symbol to gc root list.
2996
fc90c280
AM
29972016-03-31 Alan Modra <amodra@gmail.com>
2998
2999 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
3000 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
3001 (print_input_section): Don't use TO_ADDR when printing section
3002 size.
3003 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
3004 (lang_size_sections): Use TO_ADDR in relro end calculation.
3005
62bdf2d6
AB
30062016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
3007
3008 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
3009 value from regexp_diff.
3010 * testsuite/ld-elf/orphan-5.l: Fix expected output.
3011 * testsuite/ld-elf/orphan-6.l: Likewise.
3012
a87dd97a
AM
30132016-03-30 Alan Modra <amodra@gmail.com>
3014
3015 PR 18452
3016 * ldlang.c (maybe_overlays): New static var.
3017 (lang_size_sections_1): Set it here.
3018 (struct check_sec): New.
3019 (sort_sections_by_lma): Adjust for array of structs.
3020 (sort_sections_by_vma): New function.
3021 (lang_check_section_addresses): Check both LMA and VMA for overlap.
3022 * testsuite/ld-scripts/rgn-over7.d: Adjust.
3023
ca62bc4a
AM
30242016-03-30 Alan Modra <amodra@gmail.com>
3025
3026 * ldlang.c (lang_size_sections_1): Correct code detecting a
3027 backward non-overlapping move.
3028
2e4a7aea
AM
30292016-03-30 Alan Modra <amodra@gmail.com>
3030
3031 * ldlang.c (IS_TBSS): New macro, extracted from..
3032 (IGNORE_SECTION): ..here.
3033 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
3034 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
3035
4153b6db
NC
30362016-03-22 Nick Clifton <nickc@redhat.com>
3037
3038 PR ld/19803
3039 * ldlang.c (lang_add_gc_name): New function. Adds the provided
3040 symbol name to the list of gc symbols.
3041 (lang_process): Call lang_add_gc_name with entry_symbol_default if
3042 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
3043 and fini function names.
3044 * pe-dll.c (process_def_file_and_drectve): Add exported names to
3045 the gc symbol list.
3046 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
3047 * testsuite/ld-pe/pr19803.d: Tweak expected output.
3048
9780e045
NC
30492016-03-22 Nick Clifton <nickc@redhat.com>
3050
3051 * configure: Regenerate.
3052
e1fa0163
NC
30532016-03-21 Nick Clifton <nickc@redhat.com>
3054
3055 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
3056 * plugin.c: Likewise.
3057 * pe-dll.c: Likewise.
3058
45821bef
A
30592016-03-18 Awson <kyrab@mail.ru>
3060
3061 PR 19531
3062 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
3063 this section.
3064 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
3065
41f46ed9
SKS
30662016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3067
3068 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
3069
4e0c91e4
L
30702016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 PR ld/19827
3073 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
3074 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3075 * testsuite/ld-i386/pr19827.rd: New file.
3076 * testsuite/ld-i386/pr19827a.S: Likewise.
3077 * testsuite/ld-i386/pr19827b.S: Likewise.
3078 * testsuite/ld-x86-64/pr19827.rd: Likewise.
3079 * testsuite/ld-x86-64/pr19827a.S: Likewise.
3080 * testsuite/ld-x86-64/pr19827b.S: Likewise.
3081
4c10bbaa
L
30822016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 PR ld/19807
3085 * Makefile.am (ELF_X86_DEPS): Add
3086 $(srcdir)/emulparams/reloc_overflow.sh.
3087 * Makefile.in: Regenerated.
3088 * NEWS: Mention -z noreloc-overflow.
3089 * ld.texinfo: Document -z noreloc-overflow.
3090 * emulparams/elf32_x86_64.sh: Source
3091 ${srcdir}/emulparams/reloc_overflow.sh.
3092 * emulparams/elf_x86_64.sh: Likewise.
3093 * emulparams/reloc_overflow.sh: New file.
3094 * testsuite/ld-x86-64/pr19807-1.s: New file.
3095 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
3096 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
3097 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
3098 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
3099 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
3100 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
3101 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
3102 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
3103 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
3104
3ab94f96
L
31052016-03-13 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 PR ld/19539
3108 * testsuite/ld-i386/i386.exp: Run pr19539.
3109 * testsuite/ld-i386/pr19539.d: New file.
3110 * testsuite/ld-i386/pr19539.s: Likewise.
3111 * testsuite/ld-i386/pr19539.t: Likewise.
3112 * testsuite/ld-x86-64/pr19539.s: Likewise.
3113 * testsuite/ld-x86-64/pr19539.t: Likewise.
3114 * testsuite/ld-x86-64/pr19539a.d: Likewise.
3115 * testsuite/ld-x86-64/pr19539b.d: Likewise.
3116 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
3117
a9f02af8
MG
31182016-03-10 Mickael Guene <mickael.guene@st.com>
3119
3120 PR gas/19744
3121 * testsuite/ld-arm/arm-elf.exp: New tests.
3122 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3123 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3124
878a6877
NC
31252016-03-10 Nick Clifton <nickc@redhat.com>
3126
3127 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3128
4b05e0a7
PA
31292016-03-09 Pedro Alves <palves@redhat.com>
3130
3131 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3132 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3133
9c1d7a08
L
31342016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3135
3136 PR ld/19789
3137 * testsuite/ld-elf/pr19789.d: New file.
3138 * testsuite/ld-elf/pr19789.s: Likewise.
3139
d1ed1c7d
L
31402016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3141
3142 PR ld/19784
3143 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3144 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3145 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3146 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3147 * testsuite/ld-ifunc/pass.out: New file.
3148 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3149 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3150 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3151
205ac185
L
31522016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3153
3154 PR ld/19774
3155 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3156 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3157 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3158 --as-needed for pr18841c.
3159
23a4bd22
L
31602016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 PR ld/19774
3163 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3164 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3165 before tmpdir/got1d.so and test --as-needed.
3166 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3167 tmpdir/pr18900.so and test --as-needed.
3168
18f822a0
JW
31692016-03-07 Jiong Wang <jiong.wang@arm.com>
3170
3171 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3172 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3173 result.
3174 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3175
46175b4e
L
31762016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3179 before tmpdir/copyreloc-lib.so and test --as-needed.
3180 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3181
07492f66
L
31822016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 PR ld/19579
3185 * testsuite/ld-elf/pr19579a.c: New file.
3186 * testsuite/ld-elf/pr19579b.c: Likewise.
3187 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3188
7bcc503f
L
31892016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3192
7494161b
L
31932016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3194
3195 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3196 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3197
523f4c92
L
31982016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 PR ld/19739
3201 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3202 input sections for relocatable link.
3203 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3204 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3205
32062016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 PR ld/19739
e18b24a4 3209 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
3210 merge flags of other input sections for relocatable link.
3211
ef621b15
L
32122016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3213
3214 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3215
2955a517
L
32162016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 * testsuite/ld-elf/pr19162.d: Skip arc target.
3219
7f50ebc1
L
32202016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 PR ld/19162
3223 * testsuite/ld-elf/pr19162.d: New file.
3224 * testsuite/ld-elf/pr19162a.s: Likwise.
3225 * testsuite/ld-elf/pr19162b.s: Likwise.
3226
841fdfcd
CZ
32272016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3228
3229 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3230 * testsuite/ld-elf/merge2.d: Likewise.
3231 * testsuite/ld-elf/merge3.d: Likewise.
3232
7e458899
CZ
32332016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3234
3235 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3236 generated.
3237
c5e3a364
RL
32382016-02-26 Renlin Li <renlin.li@arm.com>
3239
3240 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3241 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3242 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3243 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3244 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3245 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3246 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3247 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3248 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3249 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3250
bae420ef
L
32512016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 PR ld/19609
3254 * testsuite/ld-i386/got1.dd: Updated.
3255 * testsuite/ld-i386/lea1c.d: Likewise.
3256 * testsuite/ld-i386/load1-nacl.d: Likewise.
3257 * testsuite/ld-i386/load1.d: Likewise.
3258 * testsuite/ld-i386/load4b.d: Likewise.
3259 * testsuite/ld-i386/load5b.d: Likewise.
3260 * testsuite/ld-i386/mov1b.d: Likewise.
3261 * testsuite/ld-x86-64/mov1b.d: Likewise.
3262 * testsuite/ld-x86-64/mov1d.d: Likewise.
3263 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3264 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3265 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3266 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3267 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3268 * testsuite/ld-x86-64/lea1a.d: Likewise.
3269 * testsuite/ld-x86-64/lea1b.d: Likewise.
3270 * testsuite/ld-x86-64/lea1c.d: Likewise.
3271 * testsuite/ld-x86-64/lea1d.d: Likewise.
3272 * testsuite/ld-x86-64/lea1e.d: Likewise.
3273 * testsuite/ld-x86-64/lea1f.d: Likewise.
3274 * testsuite/ld-x86-64/mov1b.d: Likewise.
3275 * testsuite/ld-x86-64/mov1d.d: Likewise.
3276 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3277 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3278 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3279 * testsuite/ld-i386/pr19609-1.s: New file.
3280 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3281 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3282 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3283 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3284 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3285 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3286 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3287 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3288 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3289 * testsuite/ld-i386/pr19609-2.s: Likewise.
3290 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3291 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3292 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3293 * testsuite/ld-i386/undefweak.s: Likewise.
3294 * testsuite/ld-i386/undefweaka.d: Likewise.
3295 * testsuite/ld-i386/undefweakb.d: Likewise.
3296 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3297 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3298 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3299 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3300 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3301 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3302 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3303 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3304 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3305 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3306 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3307 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3308 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3309 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3310 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3311 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3312 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3313 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3314 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3315 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3316 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3317 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3318 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3319 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3320 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3321 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3322 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3323 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3324 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3325 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3326 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3327 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3328 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3329 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3330 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3331 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3332 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3333 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3334 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3335 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3336 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3337 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3338 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3339 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3340 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3341 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3342 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3343 PR ld/19609.
3344 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3345 and tests for PR ld/19609.
3346
11e5f1ec
L
33472016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 PR ld/19645
3350 * NEWS: Mention -z common/-z nocommon for ELF targets.
3351 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3352 -z common and -z nocommon.
3353 * ld.texinfo: Document -z common/-z nocommon.
3354 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3355 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3356 --elf-stt-common=yes with assembler.
3357 * testsuite/ld-elfcomm/common-1.s: New file.
3358 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3359 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3360 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3361 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3362 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3363 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3364 * testsuite/ld-elfcomm/common-2.s: Likewise.
3365 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3366 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3367 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3368 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3369 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3370 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3371 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3372 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3373 * testsuite/ld-i386/pr19645.d: Likewise.
3374 * testsuite/ld-i386/pr19645.s: Likewise.
3375 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3376 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3377 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3378 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3379 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3380 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3381 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3382 * testsuite/ld-x86-64/pr19645.d: Likewise.
3383 * testsuite/ld-x86-64/pr19645.s: Likewise.
3384 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3385 with assembler.
3386 (assembler_generates_commons): Removed.
3387 Run -z common/-z nocommon tests. Run *.d tests.
3388 * testsuite/ld-i386/i386.exp: Run pr19645.
3389 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3390 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3391 assembler. Test STT_COMMON with readelf.
3392
aec6b87e
L
33932016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 PR ld/19636
3396 PR ld/19704
3397 PR ld/19719
3398 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3399 * Makefile.in: Regenerated.
3400 * NEWS: Mention -z nodynamic-undefined-weak.
3401 * ld.texinfo: Document -z nodynamic-undefined-weak.
3402 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3403 * emulparams/dynamic_undefined_weak.sh: New file.
3404 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3405 * emulparams/elf_i386.sh: Likewise.
3406 * emulparams/elf_i386_be.sh: Likewise.
3407 * emulparams/elf_i386_chaos.sh: Likewise.
3408 * emulparams/elf_i386_ldso.sh: Likewise.
3409 * emulparams/elf_i386_vxworks.sh: Likewise.
3410 * emulparams/elf_iamcu.sh: Likewise.
3411 * emulparams/elf_k1om.sh: Likewise.
3412 * emulparams/elf_l1om.sh: Likewise.
3413 * emulparams/elf_x86_64.sh: Likewise.
3414 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3415 Append.
3416 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3417 * testsuite/ld-elf/pr19719a.c: New file.
3418 * testsuite/ld-elf/pr19719b.c: Likewise.
3419 * testsuite/ld-elf/pr19719c.c: Likewise.
3420 * testsuite/ld-elf/pr19719d.c: Likewise.
3421 * testsuite/ld-i386/pr19636-1.s: Likewise.
3422 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3423 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3424 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3425 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3426 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3427 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3428 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3429 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3430 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3431 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3432 * testsuite/ld-i386/pr19636-2.s: Likewise.
3433 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3434 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3435 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3436 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3437 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3438 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3439 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3440 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3441 * testsuite/ld-i386/pr19636-3.s: Likewise.
3442 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3443 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3444 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3445 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3446 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3447 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3448 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3449 * testsuite/ld-i386/pr19636-4.s: Likewise.
3450 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3451 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3452 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3453 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3454 * testsuite/ld-i386/pr19704.out: Likewise.
3455 * testsuite/ld-i386/pr19704a.c: Likewise.
3456 * testsuite/ld-i386/pr19704b.c: Likewise.
3457 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3458 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3459 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3460 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3461 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3462 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3463 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3464 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3465 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3466 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3467 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3468 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3469 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3470 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3471 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3472 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3473 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3474 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3475 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3476 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3477 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3478 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3479 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3480 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3481 * testsuite/ld-x86-64/pr19704.out: Likewise.
3482 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3483 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3484 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3485 Run mix_pic_and_non_pic.
3486 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3487 Run undefined_weak and PR ld/19636 tests.
3488 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3489 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3490 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3491
920e4862
NC
34922016-02-25 Nick Clifton <nickc@redhat.com>
3493
3494 * ld.h (struct ld_config_type): Remove specified_data_size field.
3495
0f550b3d
L
34962016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 PR ld/19698
3499 * testsuite/ld-elf/pr19698.d: New file.
3500 * testsuite/ld-elf/pr19698.s: Likewise.
3501 * testsuite/ld-elf/pr19698.t: Likewise.
3502
31866b2c
L
35032016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 * Makefile.am (ELF_X86_DEPS): New.
3506 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3507 (eelf_i386_chaos.c): Likewise.
3508 (eelf_i386_fbsd.c): Likewise.
3509 (eelf_i386_ldso.c): Likewise.
3510 (eelf_i386_nacl.c): Likewise.
3511 (eelf_i386_sol2.c): Likewise.
3512 (eelf_iamcu.c): Likewise.
3513 (eelf32_x86_64.c): Likewise.
3514 (eelf32_x86_64_nacl.c): Likewise.
3515 (eelf_l1om.c): Likewise.
3516 (eelf_l1om_fbsd.c): Likewise.
3517 (eelf_k1om.c): Likewise.
3518 (eelf_k1om_fbsd.c): Likewise.
3519 (eelf_x86_64.c): Likewise.
3520 (eelf_x86_64_cloudabi.c): Likewise.
3521 (eelf_x86_64_fbsd.c): Likewise.
3522 (eelf_x86_64_sol2.c): Likewise.
3523 * Makefile.in: Regenerated.
3524
6b3b0ab8
L
35252016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3528 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3529 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3530 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3531
de818c22
L
35322016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3535
c304e18e
L
35362016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3537
3538 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3539 *-*-gnu* and *-*-solaris*.
3540 * testsuite/ld-elf/pr19617b.d: Likewise.
3541 * testsuite/ld-elf/pr19617c.d: Likewise.
3542
bf89386a
L
35432016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3544
3545 PR ld/19617
3546 * testsuite/ld-elf/pr19617.s: New file.
3547 * testsuite/ld-elf/pr19617a.d: Likewise.
3548 * testsuite/ld-elf/pr19617b.d: Likewise.
3549 * testsuite/ld-elf/pr19617c.d: Likewise.
3550
06ea285d
NC
35512016-02-18 Nick Clifton <nickc@redhat.com>
3552
3553 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3554 in-tree xg++ executable after checking for the presence of an
3555 in-tree g++ executable.
3556 * Makefile.in: Regenerate.
3557
b27ab9ad
L
35582016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3559
3560 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3561 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3562 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3563
8f79b794
L
35642016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3567 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3568 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3569 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3570 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3571 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3572 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3573 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3574 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3575 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3576 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3577 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3578 * testsuite/ld-x86-64/load1c.d: Likewise.
3579 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3580 * testsuite/ld-x86-64/load1d.d: Likewise.
3581 * testsuite/ld-x86-64/pr14207.d: Likewise.
3582 * testsuite/ld-x86-64/pr19162.d: Likewise.
3583 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3584 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3585 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3586 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3587 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3588 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3589
b3e3e0b7
NC
35902016-02-17 Nick Clifton <nickc@redhat.com>
3591
3592 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3593
9fb71ee4
NC
35942016-02-15 Nick Clifton <nickc@redhat.com>
3595
3596 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3597 description of the flags produced by readelf.
3598 * testsuite/ld-i386/pr12921.d: Likewise.
3599 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3600 * testsuite/ld-i386/tlsbin.rd: Likewise.
3601 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3602 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3603 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3604 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3605 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3606 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3607 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3608 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3609 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3610 * testsuite/ld-i386/tlspic.rd: Likewise.
3611 * testsuite/ld-s390/tlsbin.rd: Likewise.
3612 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3613 * testsuite/ld-s390/tlspic.rd: Likewise.
3614 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3615 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3616 * testsuite/ld-sh/tlspic-2.d: Likewise.
3617 * testsuite/ld-tic6x/common.d: Likewise.
3618 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3619 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3620 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3621 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3622 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3623 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3624 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3625 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3626 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3627 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3628 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3629 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3630 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3631 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3632 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3633 * testsuite/ld-x86-64/pr12718.d: Likewise.
3634 * testsuite/ld-x86-64/pr12921.d: Likewise.
3635 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3636 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3637 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3638 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3639 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3640 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3641 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3642 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3643 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3644 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3645 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3646 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3647 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3648 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3649
21a90cf1
L
36502016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 PR ld/19615
3653 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3654 PIE.
3655 * lexsup.c (parse_args): Enable -Bsymbolic and
3656 -Bsymbolic-functions for PIE.
ee5db48b 3657 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
3658 * testsuite/ld-i386/pr19615.d: New file.
3659 * testsuite/ld-i386/pr19615.s: Likewise.
3660 * testsuite/ld-x86-64/pr19615.d: Likewise.
3661 * testsuite/ld-x86-64/pr19615.s: Likewise.
3662
027e9c75
NC
36632016-02-09 Nick Clifton <nickc@redhat.com>
3664
3665 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3666 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3667 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3668 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3669
39306124
NC
36702016-02-04 Nick Clifton <nickc@redhat.com>
3671
3672 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3673 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3674 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3675 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3676 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3677 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3678 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3679 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3680 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3681
0cb4071e
L
36822016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3683
3684 PR gas/19520
3685 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3686 * testsuite/ld-i386/call1.d: Likewise.
3687 * testsuite/ld-i386/call2.d: Likewise.
3688 * testsuite/ld-i386/call3a.d: Likewise.
3689 * testsuite/ld-i386/call3b.d: Likewise.
3690 * testsuite/ld-i386/call3c.d: Likewise.
3691 * testsuite/ld-i386/call3d.d: Likewise.
3692 * testsuite/ld-i386/call3e.d: Likewise.
3693 * testsuite/ld-i386/call3f.d: Likewise.
3694 * testsuite/ld-i386/call3g.d: Likewise.
3695 * testsuite/ld-i386/call3h.d: Likewise.
3696 * testsuite/ld-i386/jmp1.d: Likewise.
3697 * testsuite/ld-i386/jmp2.d: Likewise.
3698 * testsuite/ld-i386/lea1c.d: Likewise.
3699 * testsuite/ld-i386/load1.d: Likewise.
3700 * testsuite/ld-i386/load2.d: Likewise.
3701 * testsuite/ld-i386/load3.d: Likewise.
3702 * testsuite/ld-i386/load4a.d: Likewise.
3703 * testsuite/ld-i386/load5a.d: Likewise.
3704 * testsuite/ld-i386/mov2b.d: Likewise.
3705 * testsuite/ld-i386/mov3.d: Likewise.
3706 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3707 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3708 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3709 * testsuite/ld-x86-64/call1a.d: Likewise.
3710 * testsuite/ld-x86-64/call1b.d: Likewise.
3711 * testsuite/ld-x86-64/call1c.d: Likewise.
3712 * testsuite/ld-x86-64/call1d.d: Likewise.
3713 * testsuite/ld-x86-64/call1e.d: Likewise.
3714 * testsuite/ld-x86-64/call1f.d: Likewise.
3715 * testsuite/ld-x86-64/call1h.d: Likewise.
3716 * testsuite/ld-x86-64/call1i.d: Likewise.
3717 * testsuite/ld-x86-64/load1a.d: Likewise.
3718 * testsuite/ld-x86-64/load1b.d: Likewise.
3719 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3720 * testsuite/ld-i386/got1.dd: Updated.
3721 * testsuite/ld-i386/got1d.S (1): Removed.
3722 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3723 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3724
6ba2af25
L
37252016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 PR ld/18591
3728 * testsuite/ld-x86-64/pr18591.d: New file.
3729 * testsuite/ld-x86-64/pr18591.s: Likewise.
3730 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3731
aef28989
L
37322016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 PR ld/19553
3735 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3736 * testsuite/ld-elf/pr19553.map: New file.
3737 * testsuite/ld-elf/pr19553.map: Likewise.
3738 * testsuite/ld-elf/pr19553a.c: Likewise.
3739 * testsuite/ld-elf/pr19553b.c: Likewise.
3740 * testsuite/ld-elf/pr19553b.out: Likewise.
3741 * testsuite/ld-elf/pr19553c.c: Likewise.
3742 * testsuite/ld-elf/pr19553c.out: Likewise.
3743 * testsuite/ld-elf/pr19553d.c: Likewise.
3744 * testsuite/ld-elf/pr19553d.out: Likewise.
3745
d9e3b590
L
37462016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 PR ld/19539
3749 * testsuite/ld-elf/pr19539.d: New file.
3750 * testsuite/ld-elf/pr19539.s: Likewise.
3751 * testsuite/ld-elf/pr19539.t: Likewise.
3752
621ff761
L
37532016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3754
3755 PR ld/19533
3756 * configure.ac (compressed_debug_sections): Replace == with =.
3757 * configure: Regenerated.
3758
7585b2b8
DC
37592016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3760
3761 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3762 * scripttempl/avrtiny.sc (.noinit): Likewise.
3763
aebf9be7
NC
37642016-01-21 Nick Clifton <nickc@redhat.com>
3765
dfc43940
NC
3766 PR ld/19453
3767 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3768 the arm-netbsdelf target.
3769
aebf9be7
NC
3770 PR ld/19455
3771 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3772 disassmebler output.
3773 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3774 * testsuite/ld-arm/vxworks1.dd: Likewise.
3775 * testsuite/ld-arm/vxworks1.rd: Likewise.
3776 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3777
2f340668
JW
37782016-01-20 Jiong Wang <jiong.wang@arm.com>
3779
3780 * testsuite/ld-aarch64/farcall-section.d: Delete.
3781 * testsuite/ld-aarch64/farcall-section.s: Delete.
3782 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3783 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3784 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3785 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3786 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3787
fdbd3e95
NC
37882016-01-20 Nick Clifton <nickc@redhat.com>
3789
3790 PR 19457
3791 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3792 early for PE based targets.
3793 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3794 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3795
91f68a68
MG
37962016-01-20 Mickael Guene <mickael.guene@st.com>
3797
3798 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3799 Add 'y' attribute usage.
3800 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3801 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3802 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3803
a4af960a
NC
38042016-01-19 Nick Clifton <nickc@redhat.com>
3805
3806 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3807 foo@FOO and bar@@FOO.
3808
3d961d0d
AM
38092016-01-18 Alan Modra <amodra@gmail.com>
3810
3811 * configure: Regenerate.
3812
760f6ee8
NC
38132016-01-18 Nick Clifton <nickc@redhat.com>
3814
3815 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3816 is not configured to support plugins.
3817
24f03d4e
NC
3818 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3819 but with 16 byte section alignment.
3820 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3821 test for MIPS targets.
3822
5c14705f
AM
38232016-01-17 Alan Modra <amodra@gmail.com>
3824
3825 * configure: Regenerate.
3826
b3066ae8
AM
38272016-01-17 Alan Modra <amodra@gmail.com>
3828
3829 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3830 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3831 * testsuite/ld-elf/pr14156a.d: Likewise.
3832 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3833 * testsuite/ld-elf/sec64k.exp: Likewise.
3834
4c4ac964
TP
38352016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3836
3837 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3838 Set address of .foo section when linking.
3839 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3840 in .foo section.
3841 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3842 output to the above changes.
3843
1bce3adf
NC
38442016-01-13 Nick Clifton <nickc@redhat.com>
3845
84054199
NC
3846 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3847 for MIPS targets.
3848
13ce3603
NC
3849 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3850 fail for MIPS targets.
3851
1bce3adf
NC
3852 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3853 MIPS targets.
3854
ac06903d
YU
38552016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3856
3857 * testsuite/ld-arm/arm-elf.exp: New test.
3858 * testsuite/ld-arm/unwind-mix.d: New file.
3859 * testsuite/ld-arm/unwind-mix1.s: New file.
3860 * testsuite/ld-arm/unwind-mix2.s: New file.
3861
109575d7
JW
38622016-01-08 Jiong Wang <jiong.wang@arm.com>
3863
3864 PR ld/19368
3865 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3866 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3867 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3868 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3869 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3870 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3871
296ebfbb
NC
38722016-01-05 Nick Clifton <nickc@redhat.com>
3873
3874 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3875 MSP430 hardware multiply address range.
3876 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3877 (__romdatacopysize): Define.
3878 * scripttempl/elf32msp430_3.sc: Likewise.
3879
2f2da8fd
MR
38802016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3881
3882 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3883 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3884
d537eeb5
MR
38852016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3886
3887 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3888 messages expected according to MIPS BFD private data merge
3889 changes.
3890 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3891 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3892 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3893 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3894 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3895 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3896 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3897 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3898 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3899 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3900 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3901 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3902 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3903
6f2750fe
AM
39042016-01-01 Alan Modra <amodra@gmail.com>
3905
3906 Update year range in copyright notice of all files.
3907
3499769a
AM
3908For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3909\f
3910Copyright (C) 2016 Free Software Foundation, Inc.
3911
3912Copying and distribution of this file, with or without modification,
3913are permitted in any medium without royalty provided the copyright
3914notice and this notice are preserved.
3915
3916Local Variables:
3917mode: change-log
3918left-margin: 8
3919fill-column: 74
3920version-control: never
3921End:
This page took 0.258545 seconds and 4 git commands to generate.