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