gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / ld / ChangeLog-2016
CommitLineData
5c1ad6b5
AM
12016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
2
3 * NEWS: Mention new PRU target.
4 * Makefile.am: Add PRU target.
5 * configure.tgt: Ditto.
6 * emulparams/pruelf.sh: New file.
7 * emultempl/pruelf.em: New file.
8 * scripttempl/pru.sc: New file.
9 * Makefile.in: Regenerate.
10 * testsuite/ld-pru/emit-relocs-1.d: New PRU testcase file.
11 * testsuite/ld-pru/emit-relocs-1.ld: Ditto.
12 * testsuite/ld-pru/emit-relocs-1a.s: Ditto.
13 * testsuite/ld-pru/emit-relocs-1b.s
14 * testsuite/ld-pru/ldi32.d: Ditto.
15 * testsuite/ld-pru/ldi32.s: Ditto.
16 * testsuite/ld-pru/ldi32_symbol.s: Ditto.
17 * testsuite/ld-pru/norelax_ldi32-data.d: Ditto.
18 * testsuite/ld-pru/norelax_ldi32-dis.d: Ditto.
19 * testsuite/ld-pru/pcrel_s10.d: Ditto.
20 * testsuite/ld-pru/pcrel_s10.s: Ditto.
21 * testsuite/ld-pru/pcrel_s10_label.s: Ditto.
22 * testsuite/ld-pru/pcrel_u8-illegal.d: Ditto.
23 * testsuite/ld-pru/pcrel_u8-illegal.s: Ditto.
24 * testsuite/ld-pru/pcrel_u8-illegal2.d: Ditto.
25 * testsuite/ld-pru/pcrel_u8-illegal2.s: Ditto.
26 * testsuite/ld-pru/pcrel_u8-illegal3.d: Ditto.
27 * testsuite/ld-pru/pcrel_u8-illegal3.s: Ditto.
28 * testsuite/ld-pru/pcrel_u8.d: Ditto.
29 * testsuite/ld-pru/pcrel_u8.s: Ditto.
30 * testsuite/ld-pru/pcrel_u8_label.s: Ditto.
31 * testsuite/ld-pru/pmem.d: Ditto.
32 * testsuite/ld-pru/pmem.s: Ditto.
33 * testsuite/ld-pru/pmem_symbol.s: Ditto.
34 * testsuite/ld-pru/pru.exp: Ditto.
35 * testsuite/ld-pru/relax_ldi32-data.d: Ditto.
36 * testsuite/ld-pru/relax_ldi32-dis.d: Ditto.
37 * testsuite/ld-pru/relax_ldi32.s: Ditto.
38 * testsuite/ld-pru/relax_ldi32_symbol.s: Ditto.
39 * testsuite/ld-pru/reloc.d: Ditto.
40 * testsuite/ld-pru/reloc.s: Ditto.
41 * testsuite/ld-pru/reloc_symbol.s: Ditto.
42 * testsuite/ld-pru/u16.d: Ditto.
43 * testsuite/ld-pru/u16.s: Ditto.
44 * testsuite/ld-pru/u16_symbol.s: Ditto.
45 * testsuite/lib/ld-lib.exp (check_shared_lib_support): No shared
46 libraries are supported for PRU.
47 (check_gc_sections_available): Mark PRU as not supported.
48 * testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU.
49 * testsuite/ld-elf/endsym.d: Likewise.
50 * testsuite/ld-elf/group8a.d: Likewise.
51 * testsuite/ld-elf/group8b.d: Likewise.
52 * testsuite/ld-elf/group9a.d: Likewise.
53 * testsuite/ld-elf/group9b.d: Likewise.
54 * testsuite/ld-elf/merge.d: Likewise.
55 * testsuite/ld-elf/pr12851.d: Likewise.
56 * testsuite/ld-elf/pr14926.d: Likewise.
57 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
58 * testsuite/ld-elf/sec64k.exp: Mark sec64k case as too big for PRU.
59 * testsuite/ld-srec/srec.exp (run_srec_test): Add setup for PRU.
60
612016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
62
63 * testsuite/lib/ld-lib.exp (run_dump_test): Pass -- to send_log.
64
652016-12-28 Alan Modra <amodra@gmail.com>
66
67 PR ld/20995
68 * testsuite/ld-elf/pr20995c.s: New test file.
69 * testsuite/ld-elf/pr20995-2so.r: Likewise.
70 * testsuite/ld-elf/elf.exp: Run it.
71
722016-12-26 Alan Modra <amodra@gmail.com>
73
74 PR ld/20995
75 * testsuite/ld-arm/farcall-mixed-app-v5.d: Update to suit changed
76 stub hash table traversal caused by section id increment. Accept
77 the previous output too.
78 * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
79 * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
80 * testsuite/ld-arm/farcall-mixed-lib.d: Likewise.
81 * testsuite/ld-elf/pr20995a.s, * testsuite/ld-elf/pr20995b.s,
82 * testsuite/ld-elf/pr20995.r: New test.
83 * testsuite/ld-elf/elf.exp: Run it.
84
852016-12-26 Alan Modra <amodra@gmail.com>
86
87 * scripttempl/elf.sc: Don't use $BSS_NAME in .dynbss.
88
892016-12-23 Tristan Gingold <gingold@adacore.com>
90
91 * configure: Regenerate.
92
932016-12-23 Tristan Gingold <gingold@adacore.com>
94
95 * NEWS: Add marker for 2.28.
96
972016-12-23 Tristan Gingold <gingold@adacore.com>
98
99 * po/ld.pot: Regenerate.
100
1012016-12-22 Alan Modra <amodra@gmail.com>
102
103 * testsuite/ld-scripts/sysroot-prefix.exp (sysroot_prefix_test_setup):
104 Call perror rather than error on "as" or "ar" failures.
105
1062016-12-21 Igor Kudrin <ikudrin@accesssoftek.com>
107
108 * ldlang.c (size_input_section): Avoid calling insert_pad
109 if output_section_statement->ignored is set.
110
1112016-12-21 Alan Modra <amodra@gmail.com>
112
113 * testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
114
1152016-12-16 fincs <fincs.alt1@gmail.com>
116
117 * ld.texinfo: Document --gc-keep-exported.
118 * ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
119 * lexsup.c (parse_args): Add handling for --gc-keep-exported.
120
1212016-12-14 Yury Norov <ynorov@caviumnetworks.com>
122
123 * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for tiny and
124 small ld-le relaxations in ilp32 mode.
125 * ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
126 * ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.
127
1282016-12-13 Jiong Wang <jiong.wang@arm.com>
129
130 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New
131 function.
132 (run_dump_test_lp64): New function which pass LP64 mode options to both
133 assembler and linker when building test binary.
134 (aarch64elftests): Remove eh-frame-merge test.
135 (eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only.
136 (run_dump_test): Migrate to run_dump_test_lp64 if the test source was
137 written for LP64 only.
138 * testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode.
139 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
140 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
141 * testsuite/ld-aarch64/farcall-b.d: Likewise.
142 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
143 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
144 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
145 * testsuite/ld-aarch64/ifunc-15.d: Likewise.
146 * testsuite/ld-aarch64/ifunc-16.d: Likewise.
147 * testsuite/ld-aarch64/ifunc-5a-local.d: Likewise.
148 * testsuite/ld-aarch64/ifunc-5a.d: Likewise.
149 * testsuite/ld-aarch64/ifunc-5b-local.d: Likewise.
150 * testsuite/ld-aarch64/ifunc-5b.d: Likewise.
151 * testsuite/ld-aarch64/ifunc-5r-local.d: Likewise.
152 * testsuite/ld-aarch64/ifunc-6a.d: Likewise.
153 * testsuite/ld-aarch64/ifunc-6b.d: Likewise.
154 * testsuite/ld-aarch64/ifunc-7a.d: Likewise.
155 * testsuite/ld-aarch64/ifunc-7b.d: Likewise.
156 * testsuite/ld-aarch64/ifunc-8.d: Likewise.
157 * testsuite/ld-aarch64/limit-b.d: Likewise.
158 * testsuite/ld-aarch64/limit-bl.d: Likewise.
159
1602016-12-13 Awson <kyrab@mail.ru>
161
162 PR ld/19254
163 * scripttempl/pe.sc (.fini): KEEP this section.
164 (.gcc_except_table): Likewise.
165 (.pdata): Also accept .pdata*.
166
1672016-12-13 Alan Modra <amodra@gmail.com>
168
169 * testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64.
170 * testsuite/ld-elf/note-1.d: Likewise.
171 * testsuite/ld-elf/note-2.d: Likewise.
172
1732016-12-13 Alan Modra <amodra@gmail.com>
174
175 * testsuite/ld-elf/flags1.d: Run for RX.
176 * testsuite/ld-scripts/phdrs.exp: Likewise.
177 * testsuite/ld-scripts/pr14962.d: Likewise.
178 * testsuite/ld-scripts/pr14962-2.d: Likewise.
179
1802016-12-08 Alan Modra <amodra@gmail.com>
181
182 * configure: Regenerate.
183
1842016-12-06 Alan Modra <amodra@gmail.com>
185
186 * testsuite/ld-powerpc/tocopt7.s,
187 * testsuite/ld-powerpc/tocopt7.out,
188 * testsuite/ld-powerpc/tocopt7.d: New test.
189 * testsuite/ld-powerpc/tocopt8.s,
190 * testsuite/ld-powerpc/tocopt8.d: New test.
191 * testsuite/ld-powerpc/powerpc.exp: Run them.
192
1932016-12-05 Nick Clifton <nickc@redhat.com>
194
195 PR ld/20906
196 * ldlex.l: Check for bogus strings in linker scripts.
197
1982016-12-05 Alyssa Milburn <amilburn@zall.org>
199
200 * testsuite/ld-sparc/wdispcall.s: New file.
201 * testsuite/ld-sparc/wdispcall.dd: Likewise.
202 * testsuite/ld-sparc/sparc.exp: Run new test.
203
2042016-12-03 Alan Modra <amodra@gmail.com>
205
206 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
207 ppc64_elf_restore_symbols.
208 * testsuite/ld-powerpc/dotsym1.d: New.
209 * testsuite/ld-powerpc/dotsym2.d: New.
210 * testsuite/ld-powerpc/dotsym3.d: New.
211 * testsuite/ld-powerpc/dotsym4.d: New.
212 * testsuite/ld-powerpc/dotsymref.s: New.
213 * testsuite/ld-powerpc/nodotsym.s: New.
214 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
215
2162016-12-03 Alan Modra <amodra@gmail.com>
217
218 * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
219 * testsuite/ld-elf/indirect2.c: Likewise.
220 * testsuite/ld-elf/indirect3b.c: Likewise.
221 * testsuite/ld-elf/indirect4b.c: Likewise.
222 * testsuite/ld-elf/pr18718.c: Likewise.
223 * testsuite/ld-elf/pr18720b.c: Likewise.
224 * testsuite/ld-elf/pr19553c.c: Likewise.
225 * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
226 * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
227 * testsuite/ld-elfvers/vers4.c: Likewise.
228 * testsuite/ld-elfvers/vers5.c: Likewise.
229 * testsuite/ld-elfvers/vers6.c: Likewise.
230 * testsuite/ld-elfvers/vers7a.c: Likewise.
231 * testsuite/ld-elfvers/vers9.c: Likewise.
232 * testsuite/ld-elfvers/vers15.c: Likewise.
233 * testsuite/ld-elfvers/vers18.c: Likewise.
234 * testsuite/ld-elfvers/vers22a.c: Likewise.
235 * testsuite/ld-elfvers/vers23a.c: Likewise.
236 * testsuite/ld-elfvers/vers27d1.c: Likewise.
237 * testsuite/ld-elfvers/vers21.c: Likewise.
238 (_old_bar): Use attribute weak rather than asm weak.
239 * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
240 * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
241 bar for ppc64 -mcall-aixdesc.
242 * testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
243 * testsuite/ld-plugin/pr16746b.c: Likewise.
244 * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
245 * testsuite/ld-plugin/lto.exp: Likewise.
246 * testsuite/ld-plugin/plugin-6.d: Likewise.
247 * testsuite/ld-plugin/plugin-7.d: Likewise.
248 * testsuite/ld-plugin/plugin-8.d: Likewise.
249 * testsuite/ld-plugin/plugin-13.d: Likewise.
250 * testsuite/ld-plugin/plugin-14.d: Likewise.
251 * testsuite/ld-plugin/plugin-15.d: Likewise.
252 * testsuite/ld-plugin/plugin-16.d: Likewise.
253 * testsuite/ld-plugin/plugin-20.d: Likewise.
254 * testsuite/ld-plugin/plugin-21.d: Likewise.
255 * testsuite/ld-plugin/plugin-22.d: Likewise.
256 * testsuite/ld-plugin/plugin-23.d: Likewise.
257 * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
258 -mcall-aixdesc.
259 * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
260 (objdump_dynsymstuff): Likewise.
261 (objdump_symstuff): Likewise. Pack flags to keep column count
262 consistent.
263 * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
264 objdump_symstuff): As for vers.exp.
265 * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
266 * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
267 -mcall-aixdesc .opd syms and adjust for flag packing.
268 * testsuite/ld-elfvers/vers4.sym: Likewise.
269 * testsuite/ld-elfvers/vers4a.sym: Likewise.
270 * testsuite/ld-elfvers/vers7a.sym: Likewise.
271 * testsuite/ld-elfvers/vers9.sym: Likewise.
272 * testsuite/ld-elfvers/vers15.sym: Likewise.
273 * testsuite/ld-elfvers/vers18.sym: Likewise.
274 * testsuite/ld-elfvers/vers21.sym: Likewise.
275 * testsuite/ld-elfvers/vers22a.sym: Likewise.
276 * testsuite/ld-elfvers/vers23a.sym: Likewise.
277 * testsuite/ld-elfvers/vers27d.sym: Likewise.
278 * testsuite/ld-elfweak/strong.sym: Likewise.
279 * testsuite/ld-elfweak/strongcomm.sym: Likewise.
280 * testsuite/ld-elfweak/strongdata.sym: Likewise.
281
2822016-12-03 Alan Modra <amodra@gmail.com>
283
284 * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
285 on non-empty results with empty expected.
286
2872016-12-03 Alan Modra <amodra@gmail.com>
288
289 * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
290
2912016-12-03 Alan Modra <amodra@gmail.com>
292
293 * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
294
2952016-12-02 Nick Clifton <nickc@redhat.com>
296
297 PR ld/20910
298 * ldmain.c (main): Prevent evaluation of %<char> sequences when
299 printing out a linker script.
300
301 PR ld/20911
302 * ldctor.c (ldctor_build_sets): Produce alternative error message
303 if the reloc was being applied to a special section.
304
305 PR ld/20912
306 * emultempl/elf32.em (_place_orphan): Test for ELF format of the
307 orphan before looking for the SHF_EXCLUDE flag.
308
3092016-12-02 Josh Conner <joshconner@google.com>
310
311 * Makefile.am: Add dependency information for earmelf_fuchsia.c.
312 * Makefile.in: Regenerate.
313 * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
314 x86_64-*-fuchsia* targets.
315 * emulparams/armelf_fuchsia.sh: New file.
316 * emulparams/armelfb_fuchsia.sh: New file.
317
3182016-12-01 Rudy Y <rudyy.id@gmail.com>
319
320 PR ld/20880
321 * pe-dll.c (make_one): Use the hint if the ordinal is -1.
322
3232016-12-01 Yury Norov <ynorov@caviumnetworks.com>
324
325 PR ld/20868
326 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
327 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
328 test.
329 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
330
3312016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
334
3352016-11-28 Nick Clifton <nickc@redhat.com>
336
337 PR 20815
338 * testsuite/ld-elf/loadaddr1.d: Update.
339 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
340 * testsuite/ld-scripts/phdrs3a.d: Update.
341
3422016-11-28 H.J. Lu <hongjiu.lu@intel.com>
343
344 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
345 * testsuite/ld-elf/pr18720.rd: New file.
346
3472016-11-27 Alan Modra <amodra@gmail.com>
348
349 PR 20815
350 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
351
3522016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
353
354 * deffilep.y: Fix spelling in comments.
355
3562016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
357
358 * scripttempl/ia64vms.sc: Fix spelling in comments.
359 * scripttempl/ip2k.sc: Fix spelling in comments.
360 * scripttempl/v850.sc: Fix spelling in comments.
361 * scripttempl/v850_rh850.sc: Fix spelling in comments.
362
3632016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
364
365 * emultempl/avrelf.em: Fix spelling in comments.
366 * emultempl/elf32.em: Fix spelling in comments.
367 * emultempl/pe.em: Fix spelling in comments.
368 * emultempl/pep.em: Fix spelling in comments.
369 * emultempl/spuelf.em: Fix spelling in comments.
370
3712016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
372
373 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
374 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
375 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
376 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
377
3782016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
379
380 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
381 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
382 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
383 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
384 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
385 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
386
3872016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
388
389 * deffile.h: Fix spelling in comments.
390 * ld.h: Fix spelling in comments.
391 * ldlang.c: Fix spelling in comments.
392 * ldmisc.c: Fix spelling in comments.
393 * pe-dll.c: Fix spelling in comments.
394
3952016-11-24 Jiong Wang <jiong.wang@arm.com>
396
397 PR target/20737
398 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
399 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
400 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
401 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
402
4032016-11-24 Nick Clifton <nickc@redhat.com>
404
405 PR ld/20858
406 * emultempl/elf32.em (_search_needed): Allow for path separator
407 and terminating NUL byte when allocating space for new $ORIGIN
408 path.
409
4102016-11-23 Nick Clifton <nickc@redhat.com>
411
412 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
413
414 PR ld/20815
415 * ld.texinfo: Note that PT_TLS can be used as a segment type.
416 * testsuite/ld-discard/discard.ld: Add space for program headers.
417 * testsuite/ld-elf/flags1.ld: Likewise.
418 * testsuite/ld-elf/maxpage3.t: Likewise.
419 * testsuite/ld-elf/noload-1.t: Likewise.
420 * testsuite/ld-elf/orphan.ld: Likewise.
421 * testsuite/ld-elf/overlay.t: Likewise.
422 * testsuite/ld-elf/pr14052.t: Likewise.
423 * testsuite/ld-elf/pr19539.t: Likewise.
424 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
425 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
426 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
427 * testsuite/ld-i386/pr19539.t: Likewise.
428 * testsuite/ld-scripts/defined.t: Likewise.
429 * testsuite/ld-scripts/defined6.t: Likewise.
430 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
431 * testsuite/ld-scripts/empty-aligned.t: Likewise.
432 * testsuite/ld-scripts/provide-2.t: Likewise.
433 * testsuite/ld-scripts/provide-4.t: Likewise.
434 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
435 * testsuite/ld-x86-64/pr19539.t: Likewise.
436 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
437 dynamic linker.
438 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
439 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
440 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
441 * testsuite/ld-elf/noload-2.d: Likewise.
442 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
443 * testsuite/ld-scripts/phdrs3a.d: Likewise.
444 * testsuite/ld-scripts/size-2.d: Likewise.
445 * testsuite/ld-elf/group.ld: Add program headers.
446 * testsuite/ld-elf/overlay.d: Skip for SPU.
447 * testsuite/ld-elf/flags1.d: Skip for RX.
448 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
449 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
450 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
451 * testsuite/ld-scripts/size-2.t: Likewise.
452
4532016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
454
455 * configure: Regenerate.
456
4572016-11-22 Alan Modra <amodra@gmail.com>
458
459 PR 20744
460 * emultempl/ppc32elf.em (params): Update initializer. Handle
461 --vle-reloc-fixup command line arg.
462
4632016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
464
465 PR ld/20789
466 * ld/testsuite/ld-avr/pr20789.d: New test.
467 * ld/testsuite/ld-avr/pr20789.s: New test.
468
469
4702016-11-14 H.J. Lu <hongjiu.lu@intel.com>
471
472 PR ld/20800
473 * testsuite/ld-x86-64/pr20800a.S: New file.
474 * testsuite/ld-x86-64/pr20800b.S: Likewise.
475 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
476
4772016-11-14 Nick Clifton <nickc@redhat.com>
478
479 * lexsup.c (parse_args): Add break at end of default case.
480
4812016-11-10 Jiong Wang <jiong.wang@arm.com>
482
483 PR target/20737
484 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
485 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
486 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
487 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
488
4892016-11-07 Nick Clifton <nickc@redhat.com>
490
491 PR ld/20784
492 * emultempl/elf32.em (search_needed): Fix infinite loop when
493 unable to process a token. Add support for curly braced enclosed
494 tokens.
495 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
496 $LIB.
497
4982016-11-07 Nick Clifton <nickc@redhat.com>
499
500 * ld.texinfo (--compress-debug-sections): Expand documentation of
501 this option.
502
5032016-11-04 Nick Clifton <nickc@redhat.com>
504
505 * emultempl/elf32.em (search_needed): Remove use of getauxval and
506 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
507 warning message.
508 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
509 * configure: Regenerate.
510 * config.in: Regenerate.
511
5122016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
513
514 * ldlang.h (struct lang_wild_statement_struct): Add
515 exclude_name_list field.
516 * ldlang.c (walk_wild_file_in_exclude_list): New function.
517 (walk_wild_consider_section): Use new
518 walk_wild_file_in_exclude_list function.
519 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
520 (print_wild_statement): Print new exclude_name_list field.
521 (lang_add_wild): Initialise new exclude_name_list field.
522 * testsuite/ld-scripts/exclude-file-1.d: New file.
523 * testsuite/ld-scripts/exclude-file-1.map: New file.
524 * testsuite/ld-scripts/exclude-file-1.t: New file.
525 * testsuite/ld-scripts/exclude-file-2.d: New file.
526 * testsuite/ld-scripts/exclude-file-2.map: New file.
527 * testsuite/ld-scripts/exclude-file-2.t: New file.
528 * testsuite/ld-scripts/exclude-file-3.d: New file.
529 * testsuite/ld-scripts/exclude-file-3.map: New file.
530 * testsuite/ld-scripts/exclude-file-3.t: New file.
531 * testsuite/ld-scripts/exclude-file-4.d: New file.
532 * testsuite/ld-scripts/exclude-file-4.map: New file.
533 * testsuite/ld-scripts/exclude-file-4.t: New file.
534 * testsuite/ld-scripts/exclude-file-a.s: New file.
535 * testsuite/ld-scripts/exclude-file-b.s: New file.
536 * testsuite/ld-scripts/exclude-file.exp: New file.
537 * ld.texinfo (Input Section Basics): Update description of
538 EXCLUDE_FILE to cover the new features.
539 * NEWS: Mention new EXCLUDE_FILE usage.
540
5412016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
542
543 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
544 based on the original source file name.
545 * testsuite/ld-discard/extern.d: Update object file names.
546 * testsuite/ld-discard/start.d: Likewise.
547 * testsuite/ld-discard/static.d: Likewise.
548 * testsuite/ld-elf/orphan-8.map: Likewise.
549
5502016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
553 xc16x-*-elf to the list of targets that don't support -shared.
554
5552016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * ldgram.y: Rename file_NAME_list to section_NAME_list
558 throughout.
559
5602016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
561 Andrew Waterman <andrew@sifive.com>
562
563 Add support for RISC-V architecture.
564 * Makefile.am: Add riscv files.
565 * Makefile.in: Regenerate.
566 * NEWS: Mention the support for this target.
567 * configure.tgt: Add riscv entries.
568 * emulparams/elf32lriscv-defs.sh: New file.
569 * emulparams/elf32lriscv.sh: New file.
570 * emulparams/elf64lriscv-defs.sh: New file.
571 * emulparams/elf64lriscv.sh: New file.
572 * emultempl/riscvelf.em: New file.
573
5742016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
575
576 * ldmain.c (add_archive_element): Initialize input->header.type.
577 * plugin.c (plugin_maybe_claim): Assert the statement is an input
578 statement.
579
5802016-10-15 Alan Modra <amodra@gmail.com>
581
582 * emultempl/spu_ovl.o_c: Regenerate.
583
5842016-10-14 Alan Modra <amodra@gmail.com>
585
586 * scripttempl/DWARF.sc: Add .debug_addr.
587
5882016-10-12 Alan Modra <amodra@gmail.com>
589
590 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
591 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
592 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
593 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
594 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
595
5962016-10-11 Nick Clifton <nickc@redhat.com>
597
598 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
599 in objdump.
600 * ld-aarch64/emit-relocs-515.d: Likewise.
601 * ld-aarch64/emit-relocs-516-be.d: Likewise.
602 * ld-aarch64/emit-relocs-516.d: Likewise.
603 * ld-aarch64/farcall-b-plt.d: Likewise.
604 * ld-aarch64/farcall-bl-plt.d: Likewise.
605 * ld-aarch64/gc-plt-relocs.d: Likewise.
606 * ld-aarch64/tls-desc-ie.d: Likewise.
607 * ld-aarch64/tls-tiny-desc.d: Likewise.
608 * ld-aarch64/tls-tiny-gd.d: Likewise.
609 * ld-aarch64/tls-tiny-ie.d: Likewise.
610 * ld-arm/arm-app-abs32.d: Likewise.
611 * ld-arm/arm-app.d: Likewise.
612 * ld-arm/arm-lib-plt32.d: Likewise.
613 * ld-arm/arm-lib.d: Likewise.
614 * ld-arm/armthumb-lib.d: Likewise.
615 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
616 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
617 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
618 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
619 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
620 * ld-arm/farcall-mixed-app-v5.d: Likewise.
621 * ld-arm/farcall-mixed-app.d: Likewise.
622 * ld-arm/farcall-mixed-app2.d: Likewise.
623 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
624 * ld-arm/farcall-mixed-lib.d: Likewise.
625 * ld-arm/ifunc-10.dd: Likewise.
626 * ld-arm/ifunc-14.dd: Likewise.
627 * ld-arm/ifunc-15.dd: Likewise.
628 * ld-arm/ifunc-3.dd: Likewise.
629 * ld-arm/ifunc-4.dd: Likewise.
630 * ld-arm/ifunc-9.dd: Likewise.
631 * ld-arm/long-plt-format.d: Likewise.
632 * ld-arm/mixed-app-v5.d: Likewise.
633 * ld-arm/mixed-app.d: Likewise.
634 * ld-arm/mixed-lib.d: Likewise.
635 * ld-arm/tls-lib-loc.d: Likewise.
636 * ld-cris/dso-pltdis1.d: Likewise.
637 * ld-cris/dso-pltdis2.d: Likewise.
638 * ld-cris/dso12-pltdis.d: Likewise.
639 * ld-elf/symbolic-func.r: Likewise.
640 * ld-frv/fdpic-pie-1.d: Likewise.
641 * ld-frv/fdpic-pie-2.d: Likewise.
642 * ld-frv/fdpic-pie-6.d: Likewise.
643 * ld-frv/fdpic-pie-7.d: Likewise.
644 * ld-frv/fdpic-pie-8.d: Likewise.
645 * ld-frv/fdpic-shared-1.d: Likewise.
646 * ld-frv/fdpic-shared-2.d: Likewise.
647 * ld-frv/fdpic-shared-3.d: Likewise.
648 * ld-frv/fdpic-shared-4.d: Likewise.
649 * ld-frv/fdpic-shared-5.d: Likewise.
650 * ld-frv/fdpic-shared-6.d: Likewise.
651 * ld-frv/fdpic-shared-7.d: Likewise.
652 * ld-frv/fdpic-shared-8.d: Likewise.
653 * ld-frv/fdpic-shared-local-2.d: Likewise.
654 * ld-frv/fdpic-shared-local-8.d: Likewise.
655 * ld-frv/fdpic-static-1.d: Likewise.
656 * ld-frv/fdpic-static-2.d: Likewise.
657 * ld-frv/fdpic-static-6.d: Likewise.
658 * ld-frv/fdpic-static-7.d: Likewise.
659 * ld-frv/fdpic-static-8.d: Likewise.
660 * ld-frv/tls-dynamic-2.d: Likewise.
661 * ld-frv/tls-initial-shared-2.d: Likewise.
662 * ld-frv/tls-relax-shared-2.d: Likewise.
663 * ld-frv/tls-shared-2.d: Likewise.
664 * ld-i386/plt-nacl.pd: Likewise.
665 * ld-i386/plt-pic-nacl.pd: Likewise.
666 * ld-i386/plt-pic.pd: Likewise.
667 * ld-i386/plt.pd: Likewise.
668 * ld-i386/pr19636-1d-nacl.d: Likewise.
669 * ld-i386/pr19636-1d.d: Likewise.
670 * ld-i386/pr19636-2c-nacl.d: Likewise.
671 * ld-i386/pr19636-2c.d: Likewise.
672 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
673 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
674 * ld-ifunc/pr17154-i386.d: Likewise.
675 * ld-ifunc/pr17154-x86-64.d: Likewise.
676 * ld-m68k/plt1-68020.d: Likewise.
677 * ld-m68k/plt1-cpu32.d: Likewise.
678 * ld-m68k/plt1-isab.d: Likewise.
679 * ld-m68k/plt1-isac.d: Likewise.
680 * ld-metag/shared.d: Likewise.
681 * ld-metag/stub_pic_app.d: Likewise.
682 * ld-metag/stub_pic_shared.d: Likewise.
683 * ld-metag/stub_shared.d: Likewise.
684 * ld-s390/tlsbin_64.dd: Likewise.
685 * ld-s390/tlspic_64.dd: Likewise.
686 * ld-tic6x/shlib-1.dd: Likewise.
687 * ld-tic6x/shlib-1b.dd: Likewise.
688 * ld-tic6x/shlib-1rb.dd: Likewise.
689 * ld-tic6x/shlib-app-1.dd: Likewise.
690 * ld-tic6x/shlib-app-1b.dd: Likewise.
691 * ld-tic6x/shlib-app-1r.dd: Likewise.
692 * ld-tic6x/shlib-app-1rb.dd: Likewise.
693 * ld-tic6x/shlib-noindex.dd: Likewise.
694 * ld-vax-elf/export-class-data.dd: Likewise.
695 * ld-vax-elf/plt-local-lib.dd: Likewise.
696 * ld-vax-elf/plt-local.dd: Likewise.
697 * ld-x86-64/bnd-ifunc-2.d: Likewise.
698 * ld-x86-64/bnd-plt-1.d: Likewise.
699 * ld-x86-64/gotpcrel1.dd: Likewise.
700 * ld-x86-64/libno-plt-1b.dd: Likewise.
701 * ld-x86-64/load1c-nacl.d: Likewise.
702 * ld-x86-64/load1c.d: Likewise.
703 * ld-x86-64/load1d-nacl.d: Likewise.
704 * ld-x86-64/load1d.d: Likewise.
705 * ld-x86-64/mov1a.d: Likewise.
706 * ld-x86-64/mov1b.d: Likewise.
707 * ld-x86-64/mov1c.d: Likewise.
708 * ld-x86-64/mov1d.d: Likewise.
709 * ld-x86-64/mov2a.d: Likewise.
710 * ld-x86-64/mov2b.d: Likewise.
711 * ld-x86-64/mov2c.d: Likewise.
712 * ld-x86-64/mov2d.d: Likewise.
713 * ld-x86-64/mpx3.dd: Likewise.
714 * ld-x86-64/mpx4.dd: Likewise.
715 * ld-x86-64/no-plt-1a.dd: Likewise.
716 * ld-x86-64/no-plt-1b.dd: Likewise.
717 * ld-x86-64/no-plt-1c.dd: Likewise.
718 * ld-x86-64/no-plt-1e.dd: Likewise.
719 * ld-x86-64/no-plt-1f.dd: Likewise.
720 * ld-x86-64/no-plt-1g.dd: Likewise.
721 * ld-x86-64/plt-main-bnd.dd: Likewise.
722 * ld-x86-64/plt-nacl.pd: Likewise.
723 * ld-x86-64/plt.pd: Likewise.
724 * ld-x86-64/pr18591.d: Likewise.
725 * ld-x86-64/pr19609-1c.d: Likewise.
726 * ld-x86-64/pr19609-1e.d: Likewise.
727 * ld-x86-64/pr19609-1j.d: Likewise.
728 * ld-x86-64/pr19609-1l.d: Likewise.
729 * ld-x86-64/pr19609-1m.d: Likewise.
730 * ld-x86-64/pr19609-5b.d: Likewise.
731 * ld-x86-64/pr19609-5c.d: Likewise.
732 * ld-x86-64/pr19609-5e.d: Likewise.
733 * ld-x86-64/pr19609-6b.d: Likewise.
734 * ld-x86-64/pr19609-7b.d: Likewise.
735 * ld-x86-64/pr19609-7d.d: Likewise.
736 * ld-x86-64/pr19636-2d.d: Likewise.
737 * ld-x86-64/pr20093-1.d: Likewise.
738 * ld-x86-64/pr20093-2.d: Likewise.
739 * ld-x86-64/pr20253-1b.d: Likewise.
740 * ld-x86-64/pr20253-1d.d: Likewise.
741 * ld-x86-64/pr20253-1f.d: Likewise.
742 * ld-x86-64/pr20253-1h.d: Likewise.
743 * ld-x86-64/pr20253-1j.d: Likewise.
744 * ld-x86-64/pr20253-1l.d: Likewise.
745 * ld-x86-64/protected3.d: Likewise.
746 * ld-x86-64/tlsbin.dd: Likewise.
747 * ld-x86-64/tlsbin2.dd: Likewise.
748 * ld-x86-64/tlsbindesc.dd: Likewise.
749 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
750 * ld-x86-64/tlsdesc.dd: Likewise.
751 * ld-x86-64/tlsdesc.pd: Likewise.
752 * ld-x86-64/tlsgd10.dd: Likewise.
753 * ld-x86-64/tlsgd5.dd: Likewise.
754 * ld-x86-64/tlsgd6.dd: Likewise.
755 * ld-x86-64/tlsgd8.dd: Likewise.
756 * ld-x86-64/tlsgdesc.dd: Likewise.
757 * ld-x86-64/tlspic.dd: Likewise.
758 * ld-x86-64/tlspic2.dd: Likewise.
759
7602016-10-11 Nick Clifton <nickc@redhat.com>
761
762 PR ld/20535
763 * emultempl/elf32.em (_search_needed): Add support for pseudo
764 environment variables supported by ld.so. Namely $ORIGIN, $LIB
765 and $PLATFORM.
766 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
767 * config.in: Regenerate.
768 * configure: Regenerate.
769
7702016-10-11 Alan Modra <amodra@gmail.com>
771
772 * ldlang.c (lang_do_assignments_1): Descend into output section
773 statements that do not yet have bfd sections. Set symbol section
774 temporarily for symbols defined in such statements to the undefined
775 section. Don't error on data or reloc statements until final phase.
776 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
777 in expld.section.
778 * testsuite/ld-mmix/bpo-10.d: Adjust.
779 * testsuite/ld-mmix/bpo-11.d: Adjust.
780
7812016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
782
783 * emulparams/elf64_s390.sh: Move binary start to 16M.
784 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
785 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
786
7872016-10-07 Alan Modra <amodra@gmail.com>
788
789 * ldexp.c (MAX): Define.
790 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
791 etree_type.value.
792
7932016-10-07 Alan Modra <amodra@gmail.com>
794
795 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
796 * testsuite/ld-elf/elf.exp: ..here.
797
7982016-10-06 Ludovic Courtès <ludo@gnu.org>
799
800 * emulparams/elf32bmipn32-defs.sh: Shift quote of
801 "x$EMULATION_NAME" to the left to work around
802 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
803
8042016-10-06 Alan Modra <amodra@gmail.com>
805
806 * lexsup.c: Spell fall through comments consistently and add
807 missing fall through comments.
808
8092016-10-06 Alan Modra <amodra@gmail.com>
810
811 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
812 by adding return.
813
8142016-10-04 Alan Modra <amodra@gmail.com>
815
816 * ld.texinfo (Expression Section): Update result of arithmetic
817 expressions.
818 * ldexp.c (arith_result_section): New function.
819 (fold_binary): Use it.
820
8212016-10-04 Alan Modra <amodra@gmail.com>
822
823 * ldexp.c (exp_value_fold): New function.
824 (exp_unop, exp_binop, exp_trinop): Use it.
825
8262016-09-30 Alan Modra <amodra@gmail.com>
827
828 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
829 not relocating.
830 * scripttempl/v850_rh850.sc: Likewise.
831
8322016-09-30 Alan Modra <amodra@gmail.com>
833
834 PR ld/20528
835 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
836 multiple .text sections for hppa-linux.
837 * testsuite/ld-elf/pr20528b.d: Likewise.
838
8392016-09-30 Alan Modra <amodra@gmail.com>
840
841 * ldmain.c (default_bfd_error_handler): New function pointer.
842 (ld_bfd_error_handler): New function.
843 (main): Arrange to call it on bfd errors/warnings.
844 (ld_bfd_assert_handler): Enable tail call.
845
8462016-09-30 Alan Modra <amodra@gmail.com>
847
848 * ldlang.c (ignore_bfd_errors): Update params.
849
8502016-09-29 H.J. Lu <hongjiu.lu@intel.com>
851
852 PR ld/20528
853 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
854 merge 2 sections with different SHF_EXCLUDE.
855 * testsuite/ld-elf/pr20528a.d: New file.
856 * testsuite/ld-elf/pr20528a.s: Likewise.
857 * testsuite/ld-elf/pr20528b.d: Likewise.
858 * testsuite/ld-elf/pr20528b.s: Likewise.
859
8602016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
861
862 PR ld/20608
863 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
864 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
865 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
866 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
867 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
868
8692016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
870
871 * Makefile.in: Regenerate.
872 * configure: Likewise.
873
8742016-09-26 Alan Modra <amodra@gmail.com>
875
876 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
877 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
878 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
879 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
880 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
881 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
882 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
883 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
884 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
885 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
886 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
887 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
888 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
889 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
890 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
891 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
892 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
893
8942016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
895
896 PR ld/20595
897 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
898 line and -r option to objdump command line. Match emitted relocs
899 to make sure that superflous relocs are not generated.
900
9012016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
902
903 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
904 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
905 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
906
9072016-09-22 Nick Clifton <nickc@redhat.com>
908
909 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
910 attempts to find a needed library.
911
9122016-09-21 Richard Sandiford <richard.sandiford@arm.com>
913
914 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
915 in addresses.
916 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
917 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
918 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
919 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
920 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
921 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
922 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
923 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
924 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
925 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
926 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
927 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
928 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
929 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
930 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
931 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
932 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
933 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
934 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
935 * testsuite/ld-aarch64/erratum835769.d: Likewise.
936 * testsuite/ld-aarch64/erratum843419.d: Likewise.
937 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
938 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
939 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
940 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
941 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
942 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
943 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
944 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
945 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
946 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
947 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
948 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
949 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
950 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
951 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
952 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
953 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
954 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
955
9562016-09-21 Richard Sandiford <richard.sandiford@arm.com>
957
958 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
959 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
960
9612016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * ld.texinfo (Input Section Basics): Expand the description of
964 EXCLUDE_FILE.
965
9662016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
967
968 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
969 Extensions entry functions in absolute section.
970 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
971
9722016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
973
974 * testsuite/ld-arc/tls-dtpoff.dd: New file.
975 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
976 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
977 * testsuite/ld-arc/tls-relocs.ld: Likewise.
978 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
979
9802016-09-14 Nick Clifton <nickc@redhat.com>
981
982 PR ld/20537
983 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
984 OPTION_NO_EH_FRAME_HDR.
985 (_add_options): Add support for --no-eh-frame-hdr.
986 * ld.texinfo: Document new option.
987 * lexsup.c (elf_shlib_list_options): List new option.
988 * NEWS: Mention the new option.
989
9902016-09-06 H.J. Lu <hongjiu.lu@intel.com>
991
992 PR ld/20550
993 * testsuite/ld-x86-64/pr20550a.s: New file.
994 * testsuite/ld-x86-64/pr20550b.s: Likewise.
995 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
996 PR ld/20550.
997
9982016-09-06 Nick Clifton <nickc@redhat.com>
999
1000 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
1001 without any sanitization options.
1002 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
1003 any sanitization options.
1004 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
1005 as CFLAGS and CXXFLAGS respectively.
1006
10072016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1008
1009 PR ld/20545
1010 * testsuite/ld-avr/avr-prop-7.d: New test.
1011 * testsuite/ld-avr/avr-prop-7.s: New test.
1012 * testsuite/ld-avr/avr-prop-8.d: New test.
1013 * testsuite/ld-avr/avr-prop-8.s: New test.
1014
10152016-09-02 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
1018 targets.
1019 * testsuite/ld-elf/pr20513d.d: Likewise.
1020
10212016-09-01 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 PR ld/20513
1024 * testsuite/ld-elf/pr20513a.d: New file.
1025 * testsuite/ld-elf/pr20513a.s: Likewise.
1026 * testsuite/ld-elf/pr20513b.d: Likewise.
1027 * testsuite/ld-elf/pr20513b.s: Likewise.
1028 * testsuite/ld-elf/pr20513c.d: Likewise.
1029 * testsuite/ld-elf/pr20513d.d: Likewise.
1030 * testsuite/ld-elf/pr20513e.d: Likewise.
1031 * testsuite/ld-elf/pr20513f.d: Likewise.
1032
10332016-08-31 Alan Modra <amodra@gmail.com>
1034
1035 PR 20513
1036 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
1037
10382016-08-31 Alan Modra <amodra@gmail.com>
1039
1040 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
1041 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
1042 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
1043 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
1044 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
1045
10462016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
1047
1048 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
1049 * testsuite/ld-arc/tls_ie-01.d: Likewise.
1050
10512016-08-29 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
1054 if ifunc attribute works.
1055
10562016-08-29 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 PR ld/14961
1059 PR ld/20515
1060 * testsuite/ld-i386/i386.exp: Run pr20515.
1061 * testsuite/ld-i386/pr20515.d: New file.
1062 * testsuite/ld-i386/pr20515.s: Likewise.
1063 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
1064 function.
1065 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
1066 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
1067 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
1068 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
1069 * testsuite/ld-x86-64/x86-64.exp: Here.
1070 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
1071 * testsuite/ld-x86-64/pr19784a.c: Here.
1072 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
1073 * testsuite/ld-x86-64/pr19784b.c: Here.
1074 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
1075 * testsuite/ld-x86-64/pr19784c.c: Here.
1076
10772016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1078
1079 * emultempl/armelf.em (params): New static variable.
1080 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
1081 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
1082 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
1083 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
1084 above new structure.
1085 (arm_elf_before_allocation): Access static variable from the params
1086 structure.
1087 (gld${EMULATION_NAME}_finish): Likewise.
1088 (arm_elf_create_output_section_statements): Likewise and pass the
1089 address of that structure to bfd_elf32_arm_set_target_relocs instead
1090 of the static variables.
1091 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
1092 structure.
1093
10942016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
1095
1096 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
1097 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
1098
10992016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
1100
1101 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
1102 * testsuite/ld-arc/tls_ie-01.d: Likewise
1103
11042016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1105
1106 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
1107 variable.
1108 (arm_elf_create_output_section_statements): Open import input library
1109 file for writing and pass resulting in_implib_bfd to
1110 bfd_elf32_arm_set_target_relocs.
1111 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
1112 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
1113 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
1114 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
1115 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
1116 (--in-implib): Document new option.
1117 * NEWS: Likewise.
1118 * testsuite/ld-arm/arm-elf.exp
1119 (Secure gateway import library generation): add --defsym VER=1 to gas
1120 CLI.
1121 (Secure gateway import library generation: errors): Likewise.
1122 (Input secure gateway import library): New test.
1123 (Input secure gateway import library: no output import library):
1124 Likewise.
1125 (Input secure gateway import library: not an SG input import library):
1126 Likewise.
1127 (Input secure gateway import library: earlier stub section base):
1128 Likewise.
1129 (Input secure gateway import library: later stub section base):
1130 Likewise.
1131 (Input secure gateway import library: veneer comeback): Likewise.
1132 (Input secure gateway import library: entry function change):
1133 Likewise.
1134 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
1135 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
1136 * testsuite/ld-arm/cmse-new-implib.out: New file.
1137 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
1138 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
1139 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
1140 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
1141 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
1142 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
1143
11442016-08-25 Alan Modra <amodra@gmail.com>
1145
1146 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
1147 support for BE. First output all target endian configury
1148 values, then opposite endian. Handle more tooldirs. Fix
1149 bogus matches with strings in MANUF-OS part of target triple.
1150
11512016-08-23 Alan Modra <amodra@gmail.com>
1152
1153 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
1154 twice.
1155
11562016-08-19 Nick Clifton <nickc@redhat.com>
1157
1158 * emultempl/aarch64elf.em (before_parse): Initialise the relro
1159 field in the link_info structure.
1160 * emultempl/armelf.em (before_parse): Likewise.
1161 * emultempl/linux.em (before_parse): Likewise.
1162 * emultempl/scoreelf.em (before_parse): Likewise.
1163
1164 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
1165 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
1166 * testsuite/ld-alpha/tlspic.rd: Likewise.
1167 * testsuite/ld-cris/libdso-2.d: Likewise.
1168 * testsuite/ld-i386/nogot1.d: Likewise.
1169 * testsuite/ld-i386/pr12718.d: Likewise.
1170 * testsuite/ld-i386/pr12921.d: Likewise.
1171 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1172 * testsuite/ld-i386/tlsbin.rd: Likewise.
1173 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1174 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1175 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1176 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1177 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1178 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1179 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1180 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1181 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1182 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1183 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1184 * testsuite/ld-i386/tlspic.rd: Likewise.
1185 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1186 * testsuite/ld-i386/tlspic2.rd: Likewise.
1187 * testsuite/ld-ia64/tlsbin.rd: Likewise.
1188 * testsuite/ld-ia64/tlspic.rd: Likewise.
1189 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
1190 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1191 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1192 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1193 * testsuite/ld-mmix/bspec1.d: Likewise.
1194 * testsuite/ld-mmix/bspec2.d: Likewise.
1195 * testsuite/ld-mmix/local1.d: Likewise.
1196 * testsuite/ld-mmix/local3.d: Likewise.
1197 * testsuite/ld-mmix/local5.d: Likewise.
1198 * testsuite/ld-mmix/local7.d: Likewise.
1199 * testsuite/ld-mmix/undef-3.d: Likewise.
1200 * testsuite/ld-powerpc/tlsexe.r: Likewise.
1201 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1202 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1203 * testsuite/ld-powerpc/tlsso.r: Likewise.
1204 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1205 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1206 * testsuite/ld-s390/tlsbin.rd: Likewise.
1207 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1208 * testsuite/ld-s390/tlspic.rd: Likewise.
1209 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1210 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
1211 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
1212 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
1213 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
1214 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
1215 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
1216 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
1217 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1218 * testsuite/ld-sh/tlspic-2.d: Likewise.
1219 * testsuite/ld-sparc/gotop32.rd: Likewise.
1220 * testsuite/ld-sparc/gotop64.rd: Likewise.
1221 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1222 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1223 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
1224 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
1225 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
1226 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
1227 * testsuite/ld-tic6x/common.d: Likewise.
1228 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1229 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1230 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1231 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1232 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1233 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1234 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1235 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1236 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1237 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1238 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1239 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1240 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1241 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1242 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1243 * testsuite/ld-x86-64/nogot1.d: Likewise.
1244 * testsuite/ld-x86-64/pr12718.d: Likewise.
1245 * testsuite/ld-x86-64/pr12921.d: Likewise.
1246 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1247 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1248 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1249 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1250 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1251 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1252 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1253 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1254 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1255 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1256 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1257 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1258 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1259 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1260 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1261 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1262 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1263 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1264
12652016-08-18 Alan Modra <amodra@gmail.com>
1266
1267 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
1268 unresolved.
1269
12702016-08-12 Alan Modra <amodra@gmail.com>
1271
1272 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
1273 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1274 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1275 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1276 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1277 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1278 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1279 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1280 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1281 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1282 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1283 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1284 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1285
12862016-08-12 Alan Modra <amodra@gmail.com>
1287
1288 * testsuite/ld-undefined/weak-fundef.s: New.
1289 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
1290 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
1291 much of old code. Use is_elf_format to select targets.
1292
12932016-08-11 Alan Modra <amodra@gmail.com>
1294
1295 PR ld/20436
1296 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
1297 remote_exec status.
1298 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
1299
13002016-08-11 Nick Clifton <nickc@redhat.com>
1301
1302 PR ld/20436
1303 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
1304 testing remotely, check to see if target compiler is installed
1305 before trying to run it.
1306
13072016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1308
1309 PR ld/15428
1310 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
1311 test 2.
1312
13132016-08-10 Maciej W. Rozycki <macro@imgtec.com>
1314
1315 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
1316 test.
1317 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
1318 test.
1319 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
1320 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
1321 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1322 source.
1323 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1324 source.
1325 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1326
13272016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 PR ld/20436
1330 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1331 proc.
1332 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1333 returns 0.
1334 (check_lto_fat_available): Likewise.
1335 (check_lto_shared_available): Likewise.
1336
13372016-08-09 Roland McGrath <roland@hack.frob.com>
1338
1339 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1340
13412016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1342
1343 * emultempl/armelf.em (cmse_implib): Declare and define this new
1344 static variable.
1345 (arm_elf_create_output_section_statements): Add new cmse_implib
1346 parameter.
1347 (OPTION_CMSE_IMPLIB): Define macro.
1348 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1349 (PARSE_AND_LIST_OPTIONS): Likewise.
1350 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1351 * ld.texinfo (--cmse-implib): Document new option.
1352 * testsuite/ld-arm/arm-elf.exp
1353 (Secure gateway import library generation): New test.
1354 (Secure gateway import library generation: errors): Likewise.
1355 * testsuite/ld-arm/cmse-implib.s: New file.
1356 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1357 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1358
13592016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1360
1361 * ld.texinfo (Placement of SG veneers): New concept entry.
1362 * testsuite/ld-arm/arm-elf.exp
1363 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1364 (Secure gateway veneers: wrong entry functions): Likewise.
1365 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1366 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1367 * testsuite/ld-arm/cmse-veneers.s: New file.
1368 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1369 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1370 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1371 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1372 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1373
13742016-08-02 Nick Clifton <nickc@redhat.com>
1375
1376 PR ld/17739
1377 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1378 valye 'yes'.
1379 * emulparams/shelf32.sh: Likewise.
1380 * emulparams/shelf32.sh: Likewise.
1381 * emulparams/shelf_nto.sh: Likewise.
1382 * emulparams/shelf_nto.sh: Likewise.
1383 * emulparams/shelf_vxworks.sh: Likewise.
1384 * emulparams/shelf_vxworks.sh: Likewise.
1385 * emulparams/shlelf32_linux.sh: Likewise.
1386 * emulparams/shlelf32_linux.sh: Likewise.
1387 * emulparams/shlelf_linux.sh: Likewise.
1388 * emulparams/shlelf_linux.sh: Likewise.
1389 * emulparams/shlelf_nto.sh: Likewise.
1390 * emulparams/shlelf_nto.sh: Likewise.
1391
13922016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1393
1394 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1395 patterns for branch compaction.
1396 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1397 Likewise.
1398
13992016-07-27 Nick Clifton <nickc@redhat.com>
1400
1401 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1402 test to targets which support cfi.
1403
14042016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1405
1406 * ldbuildid.c (generate_build_id): Warning fix.
1407
14082016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1409
1410 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1411 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1412 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1413 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1414 test.
1415 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1416 test.
1417 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1418 New test.
1419 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1420 New test.
1421 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1422 New test.
1423 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1424 New test.
1425 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1426 New test.
1427 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1428 New test.
1429 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1430 New test.
1431 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1432 New test.
1433 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1434
14352016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1436
1437 * ldbuildid.c: Changes for MinGW32:
1438 Include windows.h and rpcdce.h.
1439 (validate_build_id_style): Allow "uuid" style.
1440 (generate_build_id): Fill in id_bits using UuidCreate().
1441
14422016-07-25 Alan Modra <amodra@gmail.com>
1443
1444 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1445 and m32r. Correct comment. Relax ld -r match to account for
1446 msp increased number of default sections.
1447
14482016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1449
1450 * testsuite/ld-arc/got-01.d: New file.
1451 * testsuite/ld-arc/got-01.s: New file.
1452
14532016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 * configure: Regenerated.
1456
14572016-07-21 Alan Modra <amodra@gmail.com>
1458
1459 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1460 "targets_to_xfail" parameter with "args".
1461 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1462 all calls to run_ld_link_exec_tests.
1463 * testsuite/ld-elf/dwarf.exp: Likewise.
1464 * testsuite/ld-elf/indirect.exp: Likewise.
1465 * testsuite/ld-elf/wrap.exp: Likewise.
1466 * testsuite/ld-i386/i386.exp: Likewise.
1467 * testsuite/ld-i386/no-plt.exp: Likewise.
1468 * testsuite/ld-i386/tls.exp: Likewise.
1469 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1470 * testsuite/ld-pie/pie.exp: Likewise.
1471 * testsuite/ld-plugin/lto.exp: Likewise.
1472 * testsuite/ld-size/size.exp: Likewise.
1473 * testsuite/ld-x86-64/mpx.exp: Likewise.
1474 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1475 * testsuite/ld-x86-64/tls.exp: Likewise.
1476 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1477 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1478 xfails and simplify lists.
1479 * testsuite/ld-elf/shared.exp: Likewise.
1480
14812016-07-21 Alan Modra <amodra@gmail.com>
1482
1483 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1484 parameter to pass list of xfails.
1485 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1486 implib test formatting. Don't set .data start address.
1487 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1488 replace second one with equivalent .section directive.
1489 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1490 * testsuite/ld-elf/implib.rd: Update.
1491
14922016-07-20 Alan Modra <amodra@gmail.com>
1493
1494 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1495 fold expression.
1496 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1497
14982016-07-19 Roland McGrath <roland@hack.frob.com>
1499
1500 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1501 * emulparams/aarch64elf32.sh: Likewise.
1502
15032016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1504
1505 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1506 messages expected.
1507 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1508 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1509 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1510 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1511 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1512 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1513 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1514 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1515 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1516 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1517 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1518 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1519 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1520 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1521 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1522 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1523 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1524 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1525 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1526 source.
1527 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1528 source.
1529 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1530
15312016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1532
1533 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1534 expected.
1535 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1536 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1537 Likewise.
1538 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1539 Likewise.
1540 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1541 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1542 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1543 microMIPS BAL and MIPS16 instructions.
1544 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1545 accordingly.
1546 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1547 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1548 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1549 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1550 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1551 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1552 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1553 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1554 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1555
15562016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 * plugin.c (plugin_call_claim_file): Restore the file offset after
1559 an unsuccessful attempt to claim a file.
1560 * testplug.c (bytes_to_read_before_claim): New global.
1561 (record_read_length): New function, sets new global
1562 bytes_to_read_before_claim.
1563 (parse_option): Handle 'read:<NUMBER>' option.
1564 (onclaim_file): Read file content before checking for claim.
1565 * testsuite/ld-plugin/plugin-30.d: New file.
1566 * testsuite/ld-plugin/plugin.exp: Add new test.
1567
15682016-07-16 Alan Modra <amodra@gmail.com>
1569
1570 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1571 before bfd/plugin.h.
1572 (plugin_object_p): Use bfd_plugin_open_input.
1573
15742016-07-16 Alan Modra <amodra@gmail.com>
1575
1576 * ldlang.c (open_output): Replace bfd_search_for_target with
1577 bfd_iterate_over_targets. Localize vars.
1578
15792016-07-16 Alan Modra <amodra@gmail.com>
1580
1581 * ldlang.c: Don't include libbfd.h.
1582 * emultempl/nds32elf.em: Likewise.
1583 * emultempl/ppc64elf.em: Likewise.
1584 * emultempl/ppc32elf.em: Likewise.
1585 (pagesize): Delete.
1586 (params): Update init.
1587 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1588 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1589 * emultempl/sh64elf.em: Don't include libbfd.h.
1590 (after_allocation): Use ASSERT, not BFD_ASSERT.
1591 * emultempl/xtensaelf.em: Don't include libbfd.h.
1592 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1593 * Makefile.am: Update dependencies.
1594 * Makefile.in: Regenerate.
1595
15962016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1597 Nick Clifton <nickc@redhat.com>
1598
1599 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1600 library file for writing and initialize implib_bfd field of link_info
1601 structure.
1602 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1603 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1604 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1605 (gld_${EMULATION_NAME}_list_options): Likewise.
1606 (gld${EMULATION_NAME}_handle_option): Likewise.
1607 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1608 instead of pe_implib_filename.
1609 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1610 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1611 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1612 (gld_${EMULATION_NAME}_list_options): Likewise.
1613 (gld${EMULATION_NAME}_handle_option): Likewise.
1614 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1615 instead of pep_implib_filename.
1616 * ld.h (args_type): Declare new out_implib_filename field.
1617 * ld.texinfo (--out-implib): Move documentation to arch-independent
1618 part and rephrase to apply to ELF targets.
1619 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1620 defined in linker scripts.
1621 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1622 enumerator.
1623 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1624 (parse_args): Handle OPTION_OUT_IMPLIB case.
1625 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1626 (Generate import library): Likewise.
1627 * testsuite/ld-elf/implib.s: Likewise.
1628 * testsuite/ld-elf/implib.rd: New file.
1629 * testsuite/ld-elf/empty-implib.out: Likewise
1630
16312016-07-15 Nick Clifton <nickc@redhat.com>
1632
1633 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1634 little endian mode.
1635
16362016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1637
1638 * testsuite/ld-mips-elf/mips-elf.exp: Run
1639 `branch-absolute-addend', `mips16-branch-absolute',
1640 `mips16-branch-absolute-addend' and
1641 `micromips-branch-absolute-addend'.
1642
16432016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1644
1645 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1646 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1647 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1648 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1649 test.
1650 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1651 test.
1652 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1653 test.
1654 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1655 from `mips16-branch-absolute' and
1656 `mips16-branch-absolute-addend', referred indirectly only.
1657
16582016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1659
1660 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1661 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1662 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1663 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1664 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1665 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1666 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1667 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1668 test.
1669 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1670 test.
1671 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1672 test.
1673 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1674 New test.
1675 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1676 New test.
1677 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1678 from `branch-absolute-addend' and
1679 `micromips-branch-absolute-addend', referred indirectly only.
1680
16812016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1682
1683 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1684 * testsuite/ld-arc/sda-relocs.dd: New file.
1685 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1686 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1687 * testsuite/ld-arc/sda-relocs.s: Likewise.
1688 * testsuite/ld-arc/arc.exp: Add SDA tests.
1689
16902016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1691
1692 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1693 verbosity.
1694
16952016-07-09 Alan Modra <amodra@gmail.com>
1696
1697 * testsuite/ld-powerpc/elfv2exe.d: Update.
1698
16992016-07-06 James Bowman <james.bowman@ftdichip.com>
1700
1701 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1702 (DATA): add ALIGN.
1703 (BSS): add ALIGN
1704
17052016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1708
17092016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1710
1711 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1712 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1713 * testsuite/ld-arm/arm-elf.exp: Run it.
1714
17152016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1716
1717 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1718 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1719 all noread's by purecode.
1720
17212016-07-05 Jan Beulich <jbeulich@suse.com>
1722
1723 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1724 assignment line number.
1725 * ldlex.l (lineno): Drop initializer.
1726 (<<EOF>>): Set lineno to zero after reaching top of stack.
1727
17282016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1729
1730 PR ld/20321
1731 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1732 been loaded already.
1733 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1734 * testsuite/ld-plugin/pr20321.c: New file.
1735
17362016-07-04 Nick Clifton <nickc@redhat.com>
1737
1738 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1739 (__RAMSIZE): If not defined, set to 64K.
1740 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1741 size to __RAMSIZE.
1742
17432016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1744
1745 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1746 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1747
17482016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1749
1750 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1751 (Thumb-2 BL on ARMv6-M): New testcase.
1752 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1753 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1754
17552016-07-01 Tristan Gingold <gingold@adacore.com>
1756
1757 * NEWS: Add marker for 2.27.
1758
17592016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1762 * ld-gc/pr20306.c: New file.
1763 * ld-gc/pr20306.d: Likewise.
1764
17652016-06-28 Nick Clifton <nickc@redhat.com>
1766
1767 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1768 for bfin.
1769 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1770 tests to fail for bfin.
1771 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1772 nds32 and visium.
1773 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1774 microblaze.
1775 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1776 mcore-pe.
1777
17782016-06-28 Nick Clifton <nickc@redhat.com>
1779
1780 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1781 expect to fail this test.
1782 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1783 RX.
1784 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1785 fail for the RX.
1786 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1787 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1788 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1789 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1790 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1791
17922016-06-28 James Clarke <jrtc27@jrtc27.com>
1793
1794 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1795 .text.
1796
17972016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1798
1799 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1800 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1801 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1802 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1803
18042016-06-28 Alan Modra <amodra@gmail.com>
1805
1806 PR ld/20302
1807 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1808
18092016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1810
1811 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1812 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1813 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1814 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1815 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1816 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1817
18182016-06-27 Nick Clifton <nickc@redhat.com>
1819
1820 PR ld/20302
1821 * lexsup.c (set_segment_start): If resetting the start address of
1822 a section, remember to generate a new script element as well.
1823 * testsuite/ld-scripts/pr20302.d: New test.
1824 * testsuite/ld-scripts/scripts.exp: Run the new test.
1825
18262016-06-24 Alan Modra <amodra@gmail.com>
1827
1828 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1829 Don't error out, always return an emulation.
1830
18312016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1832 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1835 for -z relro help message.
1836
18372016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1838
1839 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1840 address matching.
1841
18422016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1843
1844 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1845 `undefweak-overflow' tests.
1846
18472016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 PR ld/20283
1850 * NEWS: Mention --enable-relro.
1851 * configure.ac: Add --enable-relro.
1852 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1853 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1854 some Linux targets.
1855 * config.in: Regenerated.
1856 * configure: Likewise.
1857 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1858 link_info.relro to DEFAULT_LD_Z_RELRO.
1859 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1860 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1861 $ld_elf_shared_opt to ld for ELF targets with shared object
1862 support.
1863 (run_ld_link_tests): Likewise.
1864
18652016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1866
1867 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1868 twice rather than once.
1869 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1870 accordingly. Remove the full stop from the end of the message.
1871
18722016-06-21 Graham Markall <graham.markall@embecosm.com>
1873
1874 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1875 * testsuite/ld-arc/nps-1b.d: Likewise.
1876
18772016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 PR ld/20267
1880 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1881 PR ld/20267.
1882 (lto_run_tests): Likewise.
1883 * testsuite/ld-plugin/pr20267a.c: New file.
1884 * testsuite/ld-plugin/pr20267b.c: Likewise.
1885
18862016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1887 Alan Modra <amodra@gmail.com>
1888
1889 PR ld/20276
1890 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1891 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1892 PR ld/20276.
1893 (lto_run_tests): Likewise.
1894 * testsuite/ld-plugin/pass.out: New file.
1895 * testsuite/ld-plugin/pr20276a.c: Likewise.
1896 * testsuite/ld-plugin/pr20276b.c: Likewise.
1897
18982016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1901 with bfd_plugin_unknown.
1902
19032016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 PR ld/20253
1906 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1907 * testsuite/ld-i386/no-plt.exp: Likewise.
1908 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1909 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1910 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1911 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1912 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1913 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1914 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1915 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1916 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1917 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1918 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1919 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1920 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1921 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1922 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1923 * testsuite/ld-i386/pr20244-2b.d: Updated.
1924 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1925 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1926 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1927 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1928 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1929 * testsuite/ld-i386/pr20253-1a.c: New file.
1930 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1931 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1932 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1933 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1934 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1935 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1936 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1937 * testsuite/ld-i386/pr20253-3.d: Likewise.
1938 * testsuite/ld-i386/pr20253-3.s: Likewise.
1939 * testsuite/ld-i386/pr20253-4.s: Likewise.
1940 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1941 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1942 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1943 * testsuite/ld-i386/pr20253-5.d: Likewise.
1944 * testsuite/ld-i386/pr20253-5.s: Likewise.
1945 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1946 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1947 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1948 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1949 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1950 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1951 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1952 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1953 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1954 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1955 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1956 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1957 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1958 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1959 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1960 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1961 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1962 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1963 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1964 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1965 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1966 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1967 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1968 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1969 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1970 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1971 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1972 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1973 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1974 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1975 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1976 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1977 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1978 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1979 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1980 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1981 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1982 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1983 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1984 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1985 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1986 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1987 relocation.
1988 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1989 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1990 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1991 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1992 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1993
19942016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1995 Tony Wang <tony.wang@arm.com>
1996
1997 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1998 Assemble for ARMv6-M.
1999 (Thumb2-Thumb2 farcall M profile): New testcase.
2000 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
2001 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
2002 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
2003 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
2004
20052016-06-16 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
2008 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
2009 Remove .rel.plt section.
2010 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
2011
20122016-06-15 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
2015 function pointer.
2016 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
2017 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
2018 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
2019 function pointer.
2020 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
2021 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
2022 * testsuite/ld-i386/no-plt-1a.dd: Updated.
2023 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
2024 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
2025 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
2026 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
2027 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
2028 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
2029 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
2030 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
2031 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
2032 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2033 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2034 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2035 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2036 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2037 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2038 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2039
20402016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2041
2042 PR ld/20254
2043 * testsuite/ld-avr/avr-prop-6.d: New test.
2044 * testsuite/ld-avr/avr-prop-6.s: New test.
2045
20462016-06-14 Alan Modra <amodra@gmail.com>
2047
2048 * ldbuildid.c: Formatting.
2049 * ldcref.c: Formatting.
2050 * ldctor.c: Formatting.
2051 * ldemul.c: Formatting.
2052 * ldexp.c: Formatting.
2053 * ldfile.c: Formatting.
2054 * ldlang.c: Formatting.
2055 * ldmain.c: Formatting.
2056 * ldwrite.c: Formatting.
2057
20582016-06-14 Alan Modra <amodra@gmail.com>
2059
2060 * ldlang.c: Expand uses of bfd_my_archive.
2061 * ldmain.c: Likewise.
2062 * ldmisc.c: Likewise.
2063 * plugin.c: Likewise.
2064
20652016-06-14 Alan Modra <amodra@gmail.com>
2066
2067 PR ld/20241
2068 * ldmain.c (add_archive_element): Just print file name of file within
2069 thin archives.
2070 * ldmisc.c (vfinfo): Likewise.
2071 * plugin.c (plugin_object_p): Open file within thin archives.
2072 (plugin_maybe_claim): Expand comment.
2073
20742016-06-13 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 PR ld/20244
2077 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
2078 pr20244-2c and pr20244-2d.
2079 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
2080 * testsuite/ld-i386/pr20244-2.s: New file.
2081 * testsuite/ld-i386/pr20244-2a.d: Likewise.
2082 * testsuite/ld-i386/pr20244-2b.d: Likewise.
2083 * testsuite/ld-i386/pr20244-2c.d: Likewise.
2084 * testsuite/ld-i386/pr20244-2d.d: Likewise.
2085 * testsuite/ld-i386/pr20244-3a.c: Likewise.
2086 * testsuite/ld-i386/pr20244-3b.S: Likewise.
2087 * testsuite/ld-i386/pr20244-3c.S: Likewise.
2088 * testsuite/ld-i386/pr20244-3d.S: Likewise.
2089
20902016-06-13 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
2093 * testsuite/ld-i386/ifunc-1a.c: New file.
2094 * testsuite/ld-i386/ifunc-1b.S: Likewise.
2095 * testsuite/ld-i386/ifunc-1c.S: Likewise.
2096 * testsuite/ld-i386/ifunc-1d.S: Likewise.
2097
20982016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
2099
2100 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
2101 big endian ARC targets.
2102
21032016-06-12 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
2106 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
2107 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2108 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
2109 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2110 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2111 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2112 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2113 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2114 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2115 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2116 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2117 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2118 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2119 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2120
21212016-06-11 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 PR ld/20244
2124 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
2125 * testsuite/ld-i386/pr20244-1.s: New file.
2126 * testsuite/ld-i386/pr20244-1a.d: Likewise.
2127 * testsuite/ld-i386/pr20244-1b.d: Likewise.
2128 * testsuite/ld-i386/pr20244-1c.d: Likewise.
2129
21302016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2131
2132 PR ld/20221
2133 * testsuite/ld-avr/avr-prop-5.d: New.
2134 * testsuite/ld-avr/avr-prop-5.s: New.
2135
21362016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2137
2138 * testsuite/ld-avr/lds-mega.d: New test.
2139 * testsuite/ld-avr/lds-mega.s: New test source.
2140 * testsuite/ld-avr/lds-tiny.d: New test.
2141 * testsuite/ld-avr/lds-tiny.s: New test source.
2142
21432016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * testsuite/ld-i386/libno-plt-1b.dd: New file.
2146 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
2147 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
2148 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
2149 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
2150 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
2151 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
2152 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
2153 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
2154 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
2155 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
2156 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
2157 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
2158 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
2159 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
2160 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
2161 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
2162 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
2163 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
2164 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
2165 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
2166 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
2167 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
2168 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
2169 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
2170 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
2171 * testsuite/ld-i386/no-plt-func1.c: Likewise.
2172 * testsuite/ld-i386/no-plt-main1.c: Likewise.
2173 * testsuite/ld-i386/no-plt.exp: Likewise.
2174
21752016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
2178 name.
2179
21802016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
2183 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
2184 * testsuite/ld-i386/pass.out: New file.
2185 * testsuite/ld-i386/tls-def1.c: Likewise.
2186 * testsuite/ld-i386/tls-gd1.S: Likewise.
2187 * testsuite/ld-i386/tls-ld1.S: Likewise.
2188 * testsuite/ld-i386/tls-main1.c: Likewise.
2189 * testsuite/ld-i386/tls.exp: Likewise.
2190 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
2191 * testsuite/ld-i386/tlsbin2.dd: Likewise.
2192 * testsuite/ld-i386/tlsbin2.rd: Likewise.
2193 * testsuite/ld-i386/tlsbin2.sd: Likewise.
2194 * testsuite/ld-i386/tlsbin2.td: Likewise.
2195 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
2196 * testsuite/ld-i386/tlsgd3.dd: Likewise.
2197 * testsuite/ld-i386/tlsgd3.s: Likewise.
2198 * testsuite/ld-i386/tlsgd4.d: Likewise.
2199 * testsuite/ld-i386/tlsgd4.s: Likewise.
2200 * testsuite/ld-i386/tlsld2.s: Likewise.
2201 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
2202 * testsuite/ld-i386/tlspic2.dd: Likewise.
2203 * testsuite/ld-i386/tlspic2.rd: Likewise.
2204 * testsuite/ld-i386/tlspic2.sd: Likewise.
2205 * testsuite/ld-i386/tlspic2.td: Likewise.
2206 * testsuite/ld-i386/tlspic3.s: Likewise.
2207 * testsuite/ld-i386/tlspie3.s: Likewise.
2208 * testsuite/ld-i386/tlspie3a.d: Likewise.
2209 * testsuite/ld-i386/tlspie3b.d: Likewise.
2210 * testsuite/ld-i386/tlspie3c.d: Likewise.
2211
22122016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
2215 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2216 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2217 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2218 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2219 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2220 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2221 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
2222
22232016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2224
2225 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
2226 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
2227 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
2228 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
2229 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
2230 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
2231 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
2232 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
2233 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
2234 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
2235 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
2236 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
2237 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
2238 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
2239 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
2240 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
2241 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
2242 * testsuite/ld-x86-64/no-plt.exp: Likewise.
2243 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
2244 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
2245 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
2246
22472016-06-07 Maciej W. Rozycki <macro@imgtec.com>
2248
2249 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
2250
22512016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2252
2253 * testsuite/ld-s390/pltoffset-1.dd: New test.
2254 * testsuite/ld-s390/pltoffset-1.ld: New test.
2255 * testsuite/ld-s390/pltoffset-1.s: New test.
2256 * testsuite/ld-s390/s390.exp: Run new test.
2257
22582016-06-07 Alan Modra <amodra@gmail.com>
2259
2260 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
2261 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
2262 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
2263
22642016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 * testsuite/ld-x86-64/pass.out: New file.
2267 * testsuite/ld-x86-64/tls-def1.c: Likewise.
2268 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
2269 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
2270 * testsuite/ld-x86-64/tls-main1.c: Likewise.
2271 * testsuite/ld-x86-64/tls.exp: Likewise.
2272 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
2273 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
2274 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
2275 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
2276 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
2277 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
2278 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
2279 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
2280 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
2281 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
2282 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
2283 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
2284 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
2285 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
2286 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
2287 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
2288 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
2289 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
2290 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
2291 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
2292 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
2293 * testsuite/ld-x86-64/tlsld4.s: Likewise.
2294 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
2295 * testsuite/ld-x86-64/tlsld5.s: Likewise.
2296 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
2297 * testsuite/ld-x86-64/tlsld6.s: Likewise.
2298 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
2299 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
2300 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
2301 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
2302 * testsuite/ld-x86-64/tlspic2.td: Likewise.
2303 * testsuite/ld-x86-64/tlspic3.s: Likewise.
2304 * testsuite/ld-x86-64/tlspie2.s: Likewise.
2305 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
2306 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
2307 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
2308 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
2309 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
2310 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
2311 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
2312 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
2313 tlspie2c.
2314
23152016-06-04 Christian Groessler <chris@groessler.org>
2316
2317 * testsuite/ld-z8k/0filler.s: New file.
2318 * testsuite/ld-z8k/branch-target.s: New file.
2319 * testsuite/ld-z8k/branch-target2.s: New file.
2320 * testsuite/ld-z8k/calr-back-8001.d: New file.
2321 * testsuite/ld-z8k/calr-back-8002.d: New file.
2322 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2323 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2324 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2325 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2326 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2327 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2328 * testsuite/ld-z8k/calr-opcode.s: New file.
2329 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2330 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2331 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2332 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2333 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2334 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2335 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2336 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2337 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2338 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2339 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2340 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2341 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2342 * testsuite/ld-z8k/djnz-opcode.s: New file.
2343 * testsuite/ld-z8k/filler.s: New file.
2344 * testsuite/ld-z8k/jr-back-8001.d: New file.
2345 * testsuite/ld-z8k/jr-back-8002.d: New file.
2346 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2347 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2348 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2349 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2350 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2351 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2352 * testsuite/ld-z8k/jr-opcode.s: New file.
2353 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2354 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2355 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2356 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2357 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2358 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2359 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2360 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2361 * testsuite/ld-z8k/ldr-opcode.s: New file.
2362 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2363 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2364 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2365 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2366 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2367 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2368 * testsuite/ld-z8k/other-file.s: New file.
2369 * testsuite/ld-z8k/reloc.dd: New file.
2370 * testsuite/ld-z8k/reloc.ld: New file.
2371 * testsuite/ld-z8k/relocseg.dd: New file.
2372 * testsuite/ld-z8k/relocseg.ld: New file.
2373 * testsuite/ld-z8k/relocseg1.dd: New file.
2374 * testsuite/ld-z8k/this-file.s: New file.
2375 * testsuite/ld-z8k/z8k.exp: New file.
2376
23772016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2380 with -mrelax-relocations=yes.
2381 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2382 * testsuite/ld-i386/lea1b.d (as): Likewise.
2383 * testsuite/ld-i386/lea1d.d (as): Likewise.
2384 * testsuite/ld-i386/lea1e.d (as): Likewise.
2385 * testsuite/ld-i386/lea1f.d (as): Likewise.
2386 * testsuite/ld-i386/load7.d (as): Likewise.
2387 * testsuite/ld-i386/mov1b.d (as): Likewise.
2388 * testsuite/ld-i386/pr19175.d (as): Likewise.
2389 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2390 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2391 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2392 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2393 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2394
23952016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2396
2397 * configure.tgt: Replace -uclibc with *.
2398
23992016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2400
2401 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2402 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2403 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2404 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2405
24062016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2407
2408 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2409 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2410 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2411 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2412 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2413 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2414
24152016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2416
2417 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2418 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2419 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2420 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2421 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2422 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2423 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2424
24252016-05-28 Alan Modra <amodra@gmail.com>
2426
2427 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2428 constructor_callback, warning_callback, undefined_symbol,
2429 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2430 * emultempl/elf32.em: Adjust callback calls.
2431
24322016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2433
2434 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2435 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2436 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2437 test.
2438 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2439 test.
2440 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2441 test.
2442 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2443 test.
2444 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2445 source.
2446 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2447 source.
2448 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2449
24502016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2451
2452 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2453 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2454 new test.
2455 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2456
24572016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2458
2459 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2460 `unaligned-jalx-2' here.
2461 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2462 `unaligned-jalx-mips16-2' here.
2463 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2464 `unaligned-jalx-micromips-2' here.
2465 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2466 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2467 message.
2468 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2469 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2470 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2471 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2472 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2473 test.
2474 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2475 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2476 `unaligned-lwpc-3' here.
2477 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2478 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2479 `unaligned-lwpc-2' here.
2480 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2481 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2482 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2483 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2484 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2485 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2486 `unaligned-ldpc-4' here.
2487 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2488 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2489 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2490 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2491 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2492 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2493 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2494 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2495 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2496 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2497 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2498
24992016-05-26 Nick Clifton <nickc@redhat.com>
2500
2501 PR target/20134
2502 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2503 __bsssize.
2504 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2505
25062016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2507
2508 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2509 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2510 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2511 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2512 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2513 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2514 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2515 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2516 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2517 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2518 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2519 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2520 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2521 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2522 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2523 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2524 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2525 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2526 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2527 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2528 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2529 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2530 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2531 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2532 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2533 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2534 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2535 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2536 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2537 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2538 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2539 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2540 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2541
25422016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 PR ld/20103
2545 * ldmain.c (add_archive_element): Don't claim new IR symbols
2546 after all IR symbols have been claimed.
2547 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2548 check.
2549 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2550 Run PR ld/20103 tests.
2551 * testsuite/ld-plugin/pr20103a.c: New file.
2552 * testsuite/ld-plugin/pr20103b.c: Likewise.
2553 * testsuite/ld-plugin/pr20103c.c: Likewise.
2554
25552016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2556
2557 * testsuite/ld-mips-elf/jalx-local.d: New test.
2558 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2559 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2560 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2561
25622016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2563
2564 * Makefile.am: Add earmelf_phoenix.c.
2565 * Makefile.in: Regenerate.
2566 * configure.tgt: Add entry for arm-phoenix.
2567 * emulparams/armelf_phoenix.sh: New file.
2568
25692016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2570
2571 * emultempl/armelf.em (arm_elf_before_allocation): Call
2572 bfd_elf32_arm_keep_private_stub_output_sections before generic
2573 before_allocation function.
2574
25752016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2576
2577 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2578 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2579 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2580 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2581
25822016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 PR ld/20117
2585 * testsuite/ld-i386/i386.exp: Run pr20117.
2586 * testsuite/ld-i386/pr19609-1i.d: Updated.
2587 * testsuite/ld-i386/pr20117.d: New file.
2588 * testsuite/ld-i386/pr20117.s: Likewise.
2589
25902016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2591
2592 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2593 * testsuite/ld-elf/group8a.d: Likewise.
2594 * testsuite/ld-elf/group8b.d: Likewise.
2595 * testsuite/ld-elf/group9a.d: Likewise.
2596 * testsuite/ld-elf/group9b.d: Likewise.
2597 * testsuite/ld-elf/pr12851.d: Likewise.
2598 * testsuite/ld-elf/pr12975.d: Likewise.
2599 * testsuite/ld-elf/pr13177.d: Likewise.
2600 * testsuite/ld-elf/pr13195.d: Likewise.
2601 * testsuite/ld-elf/pr17615.d: Likewise.
2602 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2603 * testsuite/ld-elf/group3b.d: Likewise.
2604 * testsuite/ld-srec/srec.exp: Likewise.
2605 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2606 as supporting gc.
2607 (check_shared_lib_support): Mark ARC as supporting.
2608
26092016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2610
2611 * emulparams/arcelf.sh: Changed.
2612 * emulparams/arclinux.sh: Likewise.
2613 * scripttempl/arclinux.sc: Moved to a more standard implementation
2614 similar to elf.sc.
2615
26162016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2617
2618 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2619 `ft32-*-*' behind `frv-*-*'.
2620
26212016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2622
2623 * configure.tgt: Remove `am34-*-linux*' support.
2624
26252016-05-19 Alan Modra <amodra@gmail.com>
2626
2627 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2628 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2629 * testsuite/ld-scripts/cross3.t: Likewise.
2630 * testsuite/ld-scripts/cross4.t: Likewise.
2631 * testsuite/ld-scripts/cross5.t: Likewise.
2632 * testsuite/ld-scripts/cross6.t: Likewise.
2633 * testsuite/ld-scripts/cross7.t: Likewise.
2634
26352016-05-19 Alan Modra <amodra@gmail.com>
2636
2637 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2638 exe name rather than constructing testname. Fix typo in
2639 sub-test name. Log copying. Use -rpath rather than -R.
2640
26412016-05-18 Nick Clifton <nickc@redhat.com>
2642
2643 * scripttempl/ft32.sc: Use fixed constants for memory region
2644 lengths. Include DWARF debug sections.
2645 (.data .bss): Do not assign locations during relocatable links.
2646 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2647 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2648 * testsuite/ld-elf/sec64k.exp: Likewise.
2649 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2650 * testsuite/ld-elf/merge.d: Likewise.
2651 * testsuite/ld-elf/orphan-region.d: Likewise.
2652 * testsuite/ld-elf/orphan.s: Likewise.
2653 * testsuite/ld-elf/orphan3.d: Likewise.
2654 * testsuite/ld-elf/pr349.d: Likewise.
2655 * testsuite/ld-elf/warn2.d: Likewise.
2656 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2657 that the FT32 does not support shared libraries.
2658
26592016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2660
2661 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2662 global CC.
2663
26642016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2665
2666 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2667 above .progmem*.
2668 * scripttempl/avrtiny.sc (text): Likewise.
2669
26702016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2671
2672 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2673 `supports_gnu_unique' to qualify testing.
2674
26752016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2676
2677 * testsuite/ld-elf/flags1.d: Update the xfail list.
2678
26792016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2680
2681 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2682 removal.
2683
26842016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 PR ld/20097
2687 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2688 on EXPECTED_VIEW_LENGTH.
2689 * testplug4.c (onall_symbols_read): Likewise.
2690
26912016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 PR ld/20093
2694 * testsuite/ld-x86-64/pr20093-1.d: New file.
2695 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2696 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2697 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2698 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2699
27002016-05-13 Alan Modra <amodra@gmail.com>
2701
2702 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2703 Use different output file name for static app without .rel.plt.
2704 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2705 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2706 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2707 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2708 * testsuite/ld-arm/arm-static-app.r: Likewise.
2709
27102016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 PR ld/20070
2713 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2714 (libldtestplug4_la_SOURCES): New.
2715 (libldtestplug4_la_CFLAGS): Likewise.
2716 (libldtestplug4_la_LDFLAGS): Likewise.
2717 * Makefile.in: Regenerated.
2718 * plugin.c (get_symbols): Return resolution based on IR symbol
2719 kinds for symbols defined/referenced only within IR.
2720 * testplug4.c: New file.
2721 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2722 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2723 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2724 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2725 (plugin4_path): Likewise.
2726 Add a test for ld/20070.
2727
27282016-05-11 Alan Modra <amodra@gmail.com>
2729
2730 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2731 Call elf32_hppa_init_stub_bfd.
2732
27332016-05-11 Alan Modra <amodra@gmail.com>
2734
2735 PR 20060
2736 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2737 * testsuite/ld-powerpc/tlsdll.s: New.
2738 * testsuite/ld-powerpc/tlsdll.ver: New.
2739 * testsuite/ld-powerpc/tlsdll_32.s: New.
2740 * testsuite/ld-powerpc/tlsopt5.d: New.
2741 * testsuite/ld-powerpc/tlsopt5.s: New.
2742 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2743 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2744
27452016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2746
2747 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2748 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2749
27502016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2751
2752 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2753 parameter and rename input_section parameter to after_input_section.
2754 Append input stub section to the output section if after_input_section
2755 is NULL.
2756
27572016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2758
2759 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2760 test.
2761 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2762 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2763
27642016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2765
2766 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2767
27682016-05-09 Christophe Monat <christophe.monat@st.com>
2769
2770 PR ld/20030
2771 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2772 tests. Fix misnamed stm32l4xx-fix-all.
2773 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2774 loads with DP registers.
2775 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2776 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2777 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2778 loads with DP registers.
2779 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2780
27812016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2782
2783 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2784 program headers.
2785 (xfail): Remove avr-*-*.
2786 Update regex to check the section flags.
2787 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2788
27892016-05-09 Alan Modra <amodra@gmail.com>
2790
2791 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2792 * Makefile.in: Regenerate.
2793
27942016-05-09 Alan Modra <amodra@gmail.com>
2795
2796 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2797 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2798 * testsuite/ld-scripts/section-match-1.t: Likewise.
2799
28002016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 PR ld/17550
2803 * testsuite/ld-elf/pr17550-1.s: New file.
2804 * testsuite/ld-elf/pr17550-2.s: Likewise.
2805 * testsuite/ld-elf/pr17550-3.s: Likewise.
2806 * testsuite/ld-elf/pr17550-4.s: Likewise.
2807 * testsuite/ld-elf/pr17550a.d: Likewise.
2808 * testsuite/ld-elf/pr17550b.d: Likewise.
2809 * testsuite/ld-elf/pr17550c.d: Likewise.
2810 * testsuite/ld-elf/pr17550d.d: Likewise.
2811
28122016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2813
2814 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2815
28162016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 * testsuite/ld-i386/i386.exp: Run load7.
2819 * testsuite/ld-i386/load7.d: New file.
2820 * testsuite/ld-i386/load7.map: Likewise.
2821 * testsuite/ld-i386/load7.s: Likewise.
2822 * testsuite/ld-x86-64/load2.d: Likewise.
2823 * testsuite/ld-x86-64/load2.map: Likewise.
2824 * testsuite/ld-x86-64/load2.s: Likewise.
2825 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2826
28272016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2830 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2831 Likewise.
2832 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2833 Likewise.
2834
28352016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2838
28392016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2842
28432016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2844
2845 * testsuite/ld-unique/unique.d: New test.
2846 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2847 messages for compiled tests.
2848
28492016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2850
2851 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2852 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2853 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2854 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2855 plugin_tests only if check_shared_lib_support is true.
2856 * testsuite/ld-selective/selective.exp: Add --section-start
2857 flag for avr.
2858
28592016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2860
2861 PR 10549
2862 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2863
28642016-05-03 Jiong Wang <jiong.wang@arm.com>
2865
2866 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2867 * NEWS: Mention --no-apply-dynamic-relocs.
2868 * ld.texinfo (ld and the ARM family): Document
2869 --no-apply-dynamic-relocs.
2870 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2871 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2872 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2873 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2874 option.
2875
28762016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2877
2878 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2879 before running STT_COMMON tests.
2880
28812016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 * config/default.exp (NOPIE_CFLAGS): Download source only on
2884 remote host.
2885 (NOPIE_LDFLAGS): Likewise.
2886 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2887 (check_lto_fat_available): Likewise.
2888 (check_lto_shared_available): Likewise.
2889 (check_ifunc_available): Likewise.
2890 (check_ifunc_attribute_available): Likewise.
2891
28922016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2895
28962016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 PR ld/20006
2899 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2900 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2901 ELF targets.
2902
29032016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 * testsuite/ld-elf/compressed1b.d: Pass
2906 --compress-debug-sections=none to ld.
2907 * testsuite/ld-elf/compressed1c.d: Likewise.
2908
29092016-04-27 Alan Modra <amodra@gmail.com>
2910
2911 PR target/19985
2912 * configure.tgt: Don't use var+=.
2913
29142016-04-25 Nick Clifton <nickc@redhat.com>
2915
2916 PR target/19985
2917 * configure.tgt: Include big endian PPC64 emulations with little
2918 endian PPC64 targets.
2919
29202016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2921
2922 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2923
29242016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2927 Linux with GCC 4.9 or newer.
2928 (check_lto_fat_available): Likewise.
2929 (check_lto_shared_available): Likewise.
2930
29312016-04-21 Nick Clifton <nickc@redhat.com>
2932
2933 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2934 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2935 targets. Do not stop the checks when problems are encountered.
2936
29372016-04-21 Alan Modra <amodra@gmail.com>
2938
2939 * testsuite/ld-scripts/cross3.t: Add commonly used data
2940 and text section names to output section statements.
2941 * testsuite/ld-scripts/cross4.t: Likewise.
2942 * testsuite/ld-scripts/cross5.t: Likewise.
2943 * testsuite/ld-scripts/cross6.t: Likewise.
2944 * testsuite/ld-scripts/cross7.t: Likewise.
2945
29462016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2947
2948 * ldlang.c (lang_check_relocs): New function.
2949 (lang_process): Call lang_check_relocs after lang_gc_sections.
2950 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2951 call _bfd_elf_link_check_relocs here.
2952
29532016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2954
2955 PR ld/19972
2956 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2957 R_386_NONE or R_X86_64_NONE.
2958
29592016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * testsuite/ld-x86-64/pic1.d: New file.
2962 * testsuite/ld-x86-64/pic1.s: Likewise.
2963 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2964
29652016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 * testsuite/ld-x86-64/pie2.d: New file.
2968 * testsuite/ld-x86-64/pie2.s: Likewise.
2969 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2970
29712016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 PR ld/19969
2974 * testsuite/ld-x86-64/pr19969.d: New file.
2975 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2976 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2977 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2978
29792016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2982 New.
2983 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2984 Likewise.
2985 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2986 Likewise.
2987 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2988 Likewise.
2989 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2990 Likewise.
2991 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2992 Likewise.
2993 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2994 Likewise.
2995 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2996 Likewise.
2997 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2998 Set check_relocs_after_open_input to TRUE if
2999 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
3000 (gld${EMULATION_NAME}_after_open): Call
3001 _bfd_elf_link_check_relocs on all inputs if
3002 check_relocs_after_open_input is TRUE.
3003
30042016-04-20 H.J. Lu <hongjiu.lu@intel.com>
3005
3006 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
3007 my_personality_v0.
3008
30092016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3010
3011 * emultempl/scoreelf.em: Likewise.
3012
30132016-04-19 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 PR ld/19719
3016 * testsuite/ld-x86-64/pr19719.d: New file.
3017 * testsuite/ld-x86-64/pr19719.s: Likewise.
3018 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
3019
30202016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
3021
3022 * ld.texinfo: Document NOCROSSREFS_TO script command.
3023 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
3024 (lang_add_nocrossref_to): New prototype.
3025 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
3026 symbols defined in the first section.
3027 (check_nocrossref): Likewise.
3028 * ldgram.y (NOCROSSREFS_TO): New script command.
3029 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
3030 (lang_add_nocrossref_to): New function.
3031 * ldlex.l (NOCROSSREFS_TO): New token.
3032 * NEWS: Mention NOCROSSREFS_TO.
3033 * testsuite/ld-scripts/cross4.t: New file.
3034 * testsuite/ld-scripts/cross5.t: Likewise.
3035 * testsuite/ld-scripts/cross6.t: Likewise.
3036 * testsuite/ld-scripts/cross7.t: Likewise.
3037 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
3038 tests.
3039
30402016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 * Makefile.in: Regenerated with automake 1.11.6.
3043 * aclocal.m4: Likewise.
3044
30452016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3046
3047 * testsuite/ld-arc/arc.exp: New file.
3048 * testsuite/ld-arc/nps-1.s: New file.
3049 * testsuite/ld-arc/nps-1a.d: New file.
3050 * testsuite/ld-arc/nps-1b.d: New file.
3051 * testsuite/ld-arc/nps-1b.err: New file.
3052
30532016-04-14 Nick Clifton <nickc@redhat.com>
3054
3055 PR 19457
3056 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
3057 exceptions for Mingw and Cygwin.
3058
30592016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
3060
3061 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
3062 check_ld(terminal).
3063
30642016-04-13 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 PR ld/19774
3067 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
3068 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
3069 tests.
3070
30712016-04-11 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 PR ld/19939
3074 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
3075 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3076 * testsuite/ld-i386/pr19939.s: New file.
3077 * testsuite/ld-i386/pr19939a.d: Likewise.
3078 * testsuite/ld-i386/pr19939b.d: Likewise.
3079 * testsuite/ld-x86-64/pr19939.s: Likewise.
3080 * testsuite/ld-x86-64/pr19939a.d: Likewise.
3081 * testsuite/ld-x86-64/pr19939b.d: Likewise.
3082
30832016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
3084
3085 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
3086
30872016-04-08 Alan Modra <amodra@gmail.com>
3088
3089 PR 18452
3090 * ldlang.c (maybe_overlays): Delete.
3091 (lang_size_sections_1): Remove code setting maybe_overlays.
3092 (lang_check_section_addresses): Instead detect overlays by
3093 exact match of section VMAs here. Fix memory leak.
3094
30952016-04-08 Dan Gisselquist <dgisselq@ieee.org>
3096
3097 * ldlang.c (print_output_section_statement): Show minfo size
3098 in target machine address units.
3099 (print_reloc_statement): Likewise.
3100 (print_padding_statement): Likewise.
3101 (print_data_statement): Likewise. Ensure minimum print_dot
3102 increment of one address unit.
3103
31042016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3105
3106 * emulparams/arc-endianness.sh: Make little endian default choice.
3107
31082016-04-07 Nick Clifton <nickc@redhat.com>
3109
3110 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
3111 section name.
3112 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
3113
31142016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * emulparams/arc-endianness.sh: New file.
3117 * emulparams/arcebelf.sh: Deleted.
3118 * emulparams/arcebelf_prof.sh: Deleted.
3119 * emulparams/arceblinux.sh: Deleted.
3120 * emulparams/arceblinux_prof.sh: Deleted.
3121 * emulparams/arcelf.sh: Include arc-endinness.sh.
3122 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
3123 * emulparams/arclinux.sh: Include arc-endinness.sh.
3124 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
3125 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
3126 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
3127 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
3128 little endian arc targets.
3129 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
3130 * testsuite/ld-elf/group1.d: Likewise.
3131 * testsuite/ld-elf/group3b.d: Likewise.
3132 * testsuite/ld-elf/group8a.d: Likewise.
3133 * testsuite/ld-elf/group8b.d: Likewise.
3134 * testsuite/ld-elf/group9a.d: Likewise.
3135 * testsuite/ld-elf/group9b.d: Likewise.
3136 * testsuite/ld-elf/linkonce2.d: Likewise.
3137 * testsuite/ld-elf/pr12851.d: Likewise.
3138 * testsuite/ld-elf/pr12975.d: Likewise.
3139 * testsuite/ld-elf/pr13177.d: Likewise.
3140 * testsuite/ld-elf/pr13195.d: Likewise.
3141 * testsuite/ld-elf/pr17615.d: Likewise.
3142 * testsuite/ld-elf/pr19162.d: Likewise.
3143 * testsuite/ld-elf/sec64k.exp: Likewise.
3144 * testsuite/lib/ld-lib.exp: Likewise.
3145
31462016-04-05 Maciej W. Rozycki <macro@imgtec.com>
3147
3148 PR ld/19908
3149 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
3150 handling fix.
3151 * testsuite/ld-cris/tls-e-20a.d: Likewise.
3152 * testsuite/ld-cris/tls-e-21.d: Likewise.
3153 * testsuite/ld-cris/tls-e-23.d: Likewise.
3154 * testsuite/ld-cris/tls-e-80.d: Likewise.
3155 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
3156 * testsuite/ld-cris/tls-leie-19.d: Likewise.
3157 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
3158 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
3159 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
3160 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
3161 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
3162 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
3163 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
3164 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
3165
31662016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
3167
3168 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
3169 * testsuite/ld-discard/start.d: Likewise.
3170 * testsuite/ld-discard/static.d: Likewise.
3171 * testsuite/ld-elf/group1.d: Likewise.
3172 * testsuite/ld-elf/group3b.d: Likewise.
3173 * testsuite/ld-elf/orphan-region.d: Likewise.
3174 * testsuite/ld-elf/orphan.d: Likewise.
3175 * testsuite/ld-elf/orphan3.d: Likewise.
3176 * testsuite/ld-elf/pr349.d: Likewise.
3177 * testsuite/ld-elf/warn1.d: Likewise.
3178 * testsuite/ld-elf/warn2.d: Likewise.
3179 * testsuite/ld-elf/warn3.d: Likewise.
3180 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
3181 through linker flags.
3182 * testsuite/ld-srec/srec.exp: Set as xfail.
3183
31842016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 PR ld/19827
3187 * testsuite/ld-i386/pr19827-nacl.rd: New file.
3188 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
3189
31902016-04-04 Nick Clifton <nickc@redhat.com>
3191
3192 PR 19803
3193 * emultempl/pe.em (change_undef): New function. Encapsulates
3194 duplicated code in pe_fixup_stdcalls and adds the newly defined
3195 sym to the gc root list.
3196 (pe_fixup_stdcall): Use the new function.
3197 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
3198 symbol to gc root list.
3199
32002016-03-31 Alan Modra <amodra@gmail.com>
3201
3202 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
3203 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
3204 (print_input_section): Don't use TO_ADDR when printing section
3205 size.
3206 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
3207 (lang_size_sections): Use TO_ADDR in relro end calculation.
3208
32092016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
3210
3211 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
3212 value from regexp_diff.
3213 * testsuite/ld-elf/orphan-5.l: Fix expected output.
3214 * testsuite/ld-elf/orphan-6.l: Likewise.
3215
32162016-03-30 Alan Modra <amodra@gmail.com>
3217
3218 PR 18452
3219 * ldlang.c (maybe_overlays): New static var.
3220 (lang_size_sections_1): Set it here.
3221 (struct check_sec): New.
3222 (sort_sections_by_lma): Adjust for array of structs.
3223 (sort_sections_by_vma): New function.
3224 (lang_check_section_addresses): Check both LMA and VMA for overlap.
3225 * testsuite/ld-scripts/rgn-over7.d: Adjust.
3226
32272016-03-30 Alan Modra <amodra@gmail.com>
3228
3229 * ldlang.c (lang_size_sections_1): Correct code detecting a
3230 backward non-overlapping move.
3231
32322016-03-30 Alan Modra <amodra@gmail.com>
3233
3234 * ldlang.c (IS_TBSS): New macro, extracted from..
3235 (IGNORE_SECTION): ..here.
3236 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
3237 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
3238
32392016-03-22 Nick Clifton <nickc@redhat.com>
3240
3241 PR ld/19803
3242 * ldlang.c (lang_add_gc_name): New function. Adds the provided
3243 symbol name to the list of gc symbols.
3244 (lang_process): Call lang_add_gc_name with entry_symbol_default if
3245 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
3246 and fini function names.
3247 * pe-dll.c (process_def_file_and_drectve): Add exported names to
3248 the gc symbol list.
3249 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
3250 * testsuite/ld-pe/pr19803.d: Tweak expected output.
3251
32522016-03-22 Nick Clifton <nickc@redhat.com>
3253
3254 * configure: Regenerate.
3255
32562016-03-21 Nick Clifton <nickc@redhat.com>
3257
3258 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
3259 * plugin.c: Likewise.
3260 * pe-dll.c: Likewise.
3261
32622016-03-18 Awson <kyrab@mail.ru>
3263
3264 PR 19531
3265 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
3266 this section.
3267 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
3268
32692016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3270
3271 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
3272
32732016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3274
3275 PR ld/19827
3276 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
3277 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3278 * testsuite/ld-i386/pr19827.rd: New file.
3279 * testsuite/ld-i386/pr19827a.S: Likewise.
3280 * testsuite/ld-i386/pr19827b.S: Likewise.
3281 * testsuite/ld-x86-64/pr19827.rd: Likewise.
3282 * testsuite/ld-x86-64/pr19827a.S: Likewise.
3283 * testsuite/ld-x86-64/pr19827b.S: Likewise.
3284
32852016-03-15 H.J. Lu <hongjiu.lu@intel.com>
3286
3287 PR ld/19807
3288 * Makefile.am (ELF_X86_DEPS): Add
3289 $(srcdir)/emulparams/reloc_overflow.sh.
3290 * Makefile.in: Regenerated.
3291 * NEWS: Mention -z noreloc-overflow.
3292 * ld.texinfo: Document -z noreloc-overflow.
3293 * emulparams/elf32_x86_64.sh: Source
3294 ${srcdir}/emulparams/reloc_overflow.sh.
3295 * emulparams/elf_x86_64.sh: Likewise.
3296 * emulparams/reloc_overflow.sh: New file.
3297 * testsuite/ld-x86-64/pr19807-1.s: New file.
3298 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
3299 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
3300 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
3301 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
3302 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
3303 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
3304 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
3305 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
3306 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
3307
33082016-03-13 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 PR ld/19539
3311 * testsuite/ld-i386/i386.exp: Run pr19539.
3312 * testsuite/ld-i386/pr19539.d: New file.
3313 * testsuite/ld-i386/pr19539.s: Likewise.
3314 * testsuite/ld-i386/pr19539.t: Likewise.
3315 * testsuite/ld-x86-64/pr19539.s: Likewise.
3316 * testsuite/ld-x86-64/pr19539.t: Likewise.
3317 * testsuite/ld-x86-64/pr19539a.d: Likewise.
3318 * testsuite/ld-x86-64/pr19539b.d: Likewise.
3319 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
3320
33212016-03-10 Mickael Guene <mickael.guene@st.com>
3322
3323 PR gas/19744
3324 * testsuite/ld-arm/arm-elf.exp: New tests.
3325 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3326 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3327
33282016-03-10 Nick Clifton <nickc@redhat.com>
3329
3330 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3331
33322016-03-09 Pedro Alves <palves@redhat.com>
3333
3334 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3335 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3336
33372016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 PR ld/19789
3340 * testsuite/ld-elf/pr19789.d: New file.
3341 * testsuite/ld-elf/pr19789.s: Likewise.
3342
33432016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 PR ld/19784
3346 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3347 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3348 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3349 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3350 * testsuite/ld-ifunc/pass.out: New file.
3351 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3352 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3353 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3354
33552016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 PR ld/19774
3358 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3359 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3360 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3361 --as-needed for pr18841c.
3362
33632016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 PR ld/19774
3366 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3367 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3368 before tmpdir/got1d.so and test --as-needed.
3369 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3370 tmpdir/pr18900.so and test --as-needed.
3371
33722016-03-07 Jiong Wang <jiong.wang@arm.com>
3373
3374 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3375 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3376 result.
3377 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3378
33792016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3382 before tmpdir/copyreloc-lib.so and test --as-needed.
3383 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3384
33852016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 PR ld/19579
3388 * testsuite/ld-elf/pr19579a.c: New file.
3389 * testsuite/ld-elf/pr19579b.c: Likewise.
3390 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3391
33922016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3395
33962016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3397
3398 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3399 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3400
34012016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 PR ld/19739
3404 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3405 input sections for relocatable link.
3406 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3407 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3408
34092016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 PR ld/19739
3412 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3413 merge flags of other input sections for relocatable link.
3414
34152016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3418
34192016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3420
3421 * testsuite/ld-elf/pr19162.d: Skip arc target.
3422
34232016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 PR ld/19162
3426 * testsuite/ld-elf/pr19162.d: New file.
3427 * testsuite/ld-elf/pr19162a.s: Likwise.
3428 * testsuite/ld-elf/pr19162b.s: Likwise.
3429
34302016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3431
3432 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3433 * testsuite/ld-elf/merge2.d: Likewise.
3434 * testsuite/ld-elf/merge3.d: Likewise.
3435
34362016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3437
3438 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3439 generated.
3440
34412016-02-26 Renlin Li <renlin.li@arm.com>
3442
3443 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3444 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3445 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3446 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3447 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3448 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3449 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3450 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3451 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3452 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3453
34542016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 PR ld/19609
3457 * testsuite/ld-i386/got1.dd: Updated.
3458 * testsuite/ld-i386/lea1c.d: Likewise.
3459 * testsuite/ld-i386/load1-nacl.d: Likewise.
3460 * testsuite/ld-i386/load1.d: Likewise.
3461 * testsuite/ld-i386/load4b.d: Likewise.
3462 * testsuite/ld-i386/load5b.d: Likewise.
3463 * testsuite/ld-i386/mov1b.d: Likewise.
3464 * testsuite/ld-x86-64/mov1b.d: Likewise.
3465 * testsuite/ld-x86-64/mov1d.d: Likewise.
3466 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3467 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3468 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3469 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3470 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3471 * testsuite/ld-x86-64/lea1a.d: Likewise.
3472 * testsuite/ld-x86-64/lea1b.d: Likewise.
3473 * testsuite/ld-x86-64/lea1c.d: Likewise.
3474 * testsuite/ld-x86-64/lea1d.d: Likewise.
3475 * testsuite/ld-x86-64/lea1e.d: Likewise.
3476 * testsuite/ld-x86-64/lea1f.d: Likewise.
3477 * testsuite/ld-x86-64/mov1b.d: Likewise.
3478 * testsuite/ld-x86-64/mov1d.d: Likewise.
3479 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3480 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3481 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3482 * testsuite/ld-i386/pr19609-1.s: New file.
3483 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3484 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3485 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3486 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3487 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3488 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3489 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3490 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3491 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3492 * testsuite/ld-i386/pr19609-2.s: Likewise.
3493 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3494 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3495 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3496 * testsuite/ld-i386/undefweak.s: Likewise.
3497 * testsuite/ld-i386/undefweaka.d: Likewise.
3498 * testsuite/ld-i386/undefweakb.d: Likewise.
3499 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3500 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3501 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3502 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3503 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3504 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3505 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3506 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3507 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3508 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3509 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3510 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3511 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3512 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3513 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3514 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3515 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3516 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3517 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3518 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3519 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3520 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3521 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3522 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3523 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3524 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3525 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3526 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3527 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3528 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3529 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3530 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3531 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3532 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3533 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3534 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3535 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3536 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3537 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3538 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3539 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3540 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3541 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3542 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3543 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3544 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3545 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3546 PR ld/19609.
3547 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3548 and tests for PR ld/19609.
3549
35502016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3551
3552 PR ld/19645
3553 * NEWS: Mention -z common/-z nocommon for ELF targets.
3554 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3555 -z common and -z nocommon.
3556 * ld.texinfo: Document -z common/-z nocommon.
3557 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3558 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3559 --elf-stt-common=yes with assembler.
3560 * testsuite/ld-elfcomm/common-1.s: New file.
3561 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3562 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3563 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3564 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3565 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3566 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3567 * testsuite/ld-elfcomm/common-2.s: Likewise.
3568 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3569 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3570 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3571 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3572 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3573 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3574 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3575 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3576 * testsuite/ld-i386/pr19645.d: Likewise.
3577 * testsuite/ld-i386/pr19645.s: Likewise.
3578 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3579 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3580 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3581 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3582 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3583 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3584 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3585 * testsuite/ld-x86-64/pr19645.d: Likewise.
3586 * testsuite/ld-x86-64/pr19645.s: Likewise.
3587 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3588 with assembler.
3589 (assembler_generates_commons): Removed.
3590 Run -z common/-z nocommon tests. Run *.d tests.
3591 * testsuite/ld-i386/i386.exp: Run pr19645.
3592 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3593 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3594 assembler. Test STT_COMMON with readelf.
3595
35962016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 PR ld/19636
3599 PR ld/19704
3600 PR ld/19719
3601 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3602 * Makefile.in: Regenerated.
3603 * NEWS: Mention -z nodynamic-undefined-weak.
3604 * ld.texinfo: Document -z nodynamic-undefined-weak.
3605 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3606 * emulparams/dynamic_undefined_weak.sh: New file.
3607 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3608 * emulparams/elf_i386.sh: Likewise.
3609 * emulparams/elf_i386_be.sh: Likewise.
3610 * emulparams/elf_i386_chaos.sh: Likewise.
3611 * emulparams/elf_i386_ldso.sh: Likewise.
3612 * emulparams/elf_i386_vxworks.sh: Likewise.
3613 * emulparams/elf_iamcu.sh: Likewise.
3614 * emulparams/elf_k1om.sh: Likewise.
3615 * emulparams/elf_l1om.sh: Likewise.
3616 * emulparams/elf_x86_64.sh: Likewise.
3617 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3618 Append.
3619 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3620 * testsuite/ld-elf/pr19719a.c: New file.
3621 * testsuite/ld-elf/pr19719b.c: Likewise.
3622 * testsuite/ld-elf/pr19719c.c: Likewise.
3623 * testsuite/ld-elf/pr19719d.c: Likewise.
3624 * testsuite/ld-i386/pr19636-1.s: Likewise.
3625 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3626 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3627 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3628 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3629 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3630 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3631 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3632 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3633 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3634 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3635 * testsuite/ld-i386/pr19636-2.s: Likewise.
3636 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3637 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3638 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3639 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3640 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3641 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3642 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3643 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3644 * testsuite/ld-i386/pr19636-3.s: Likewise.
3645 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3646 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3647 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3648 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3649 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3650 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3651 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3652 * testsuite/ld-i386/pr19636-4.s: Likewise.
3653 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3654 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3655 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3656 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3657 * testsuite/ld-i386/pr19704.out: Likewise.
3658 * testsuite/ld-i386/pr19704a.c: Likewise.
3659 * testsuite/ld-i386/pr19704b.c: Likewise.
3660 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3661 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3662 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3663 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3664 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3665 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3666 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3667 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3668 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3669 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3670 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3671 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3672 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3673 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3674 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3675 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3676 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3677 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3678 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3679 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3680 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3681 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3682 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3683 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3684 * testsuite/ld-x86-64/pr19704.out: Likewise.
3685 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3686 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3687 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3688 Run mix_pic_and_non_pic.
3689 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3690 Run undefined_weak and PR ld/19636 tests.
3691 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3692 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3693 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3694
36952016-02-25 Nick Clifton <nickc@redhat.com>
3696
3697 * ld.h (struct ld_config_type): Remove specified_data_size field.
3698
36992016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 PR ld/19698
3702 * testsuite/ld-elf/pr19698.d: New file.
3703 * testsuite/ld-elf/pr19698.s: Likewise.
3704 * testsuite/ld-elf/pr19698.t: Likewise.
3705
37062016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * Makefile.am (ELF_X86_DEPS): New.
3709 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3710 (eelf_i386_chaos.c): Likewise.
3711 (eelf_i386_fbsd.c): Likewise.
3712 (eelf_i386_ldso.c): Likewise.
3713 (eelf_i386_nacl.c): Likewise.
3714 (eelf_i386_sol2.c): Likewise.
3715 (eelf_iamcu.c): Likewise.
3716 (eelf32_x86_64.c): Likewise.
3717 (eelf32_x86_64_nacl.c): Likewise.
3718 (eelf_l1om.c): Likewise.
3719 (eelf_l1om_fbsd.c): Likewise.
3720 (eelf_k1om.c): Likewise.
3721 (eelf_k1om_fbsd.c): Likewise.
3722 (eelf_x86_64.c): Likewise.
3723 (eelf_x86_64_cloudabi.c): Likewise.
3724 (eelf_x86_64_fbsd.c): Likewise.
3725 (eelf_x86_64_sol2.c): Likewise.
3726 * Makefile.in: Regenerated.
3727
37282016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3729
3730 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3731 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3732 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3733 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3734
37352016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3736
3737 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3738
37392016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3742 *-*-gnu* and *-*-solaris*.
3743 * testsuite/ld-elf/pr19617b.d: Likewise.
3744 * testsuite/ld-elf/pr19617c.d: Likewise.
3745
37462016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 PR ld/19617
3749 * testsuite/ld-elf/pr19617.s: New file.
3750 * testsuite/ld-elf/pr19617a.d: Likewise.
3751 * testsuite/ld-elf/pr19617b.d: Likewise.
3752 * testsuite/ld-elf/pr19617c.d: Likewise.
3753
37542016-02-18 Nick Clifton <nickc@redhat.com>
3755
3756 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3757 in-tree xg++ executable after checking for the presence of an
3758 in-tree g++ executable.
3759 * Makefile.in: Regenerate.
3760
37612016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3762
3763 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3764 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3765 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3766
37672016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3770 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3771 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3772 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3773 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3774 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3775 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3776 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3777 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3778 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3779 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3780 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3781 * testsuite/ld-x86-64/load1c.d: Likewise.
3782 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3783 * testsuite/ld-x86-64/load1d.d: Likewise.
3784 * testsuite/ld-x86-64/pr14207.d: Likewise.
3785 * testsuite/ld-x86-64/pr19162.d: Likewise.
3786 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3787 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3788 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3789 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3790 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3791 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3792
37932016-02-17 Nick Clifton <nickc@redhat.com>
3794
3795 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3796
37972016-02-15 Nick Clifton <nickc@redhat.com>
3798
3799 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3800 description of the flags produced by readelf.
3801 * testsuite/ld-i386/pr12921.d: Likewise.
3802 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3803 * testsuite/ld-i386/tlsbin.rd: Likewise.
3804 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3805 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3806 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3807 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3808 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3809 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3810 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3811 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3812 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3813 * testsuite/ld-i386/tlspic.rd: Likewise.
3814 * testsuite/ld-s390/tlsbin.rd: Likewise.
3815 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3816 * testsuite/ld-s390/tlspic.rd: Likewise.
3817 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3818 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3819 * testsuite/ld-sh/tlspic-2.d: Likewise.
3820 * testsuite/ld-tic6x/common.d: Likewise.
3821 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3822 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3823 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3824 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3825 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3826 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3827 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3828 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3829 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3830 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3831 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3832 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3833 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3834 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3835 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3836 * testsuite/ld-x86-64/pr12718.d: Likewise.
3837 * testsuite/ld-x86-64/pr12921.d: Likewise.
3838 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3839 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3840 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3841 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3842 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3843 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3844 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3845 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3846 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3847 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3848 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3849 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3850 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3851 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3852
38532016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3854
3855 PR ld/19615
3856 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3857 PIE.
3858 * lexsup.c (parse_args): Enable -Bsymbolic and
3859 -Bsymbolic-functions for PIE.
3860 * testsuite/ld-i386/i386.exp: Run pr19615.
3861 * testsuite/ld-i386/pr19615.d: New file.
3862 * testsuite/ld-i386/pr19615.s: Likewise.
3863 * testsuite/ld-x86-64/pr19615.d: Likewise.
3864 * testsuite/ld-x86-64/pr19615.s: Likewise.
3865
38662016-02-09 Nick Clifton <nickc@redhat.com>
3867
3868 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3869 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3870 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3871 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3872
38732016-02-04 Nick Clifton <nickc@redhat.com>
3874
3875 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3876 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3877 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3878 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3879 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3880 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3881 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3882 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3883 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3884
38852016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 PR gas/19520
3888 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3889 * testsuite/ld-i386/call1.d: Likewise.
3890 * testsuite/ld-i386/call2.d: Likewise.
3891 * testsuite/ld-i386/call3a.d: Likewise.
3892 * testsuite/ld-i386/call3b.d: Likewise.
3893 * testsuite/ld-i386/call3c.d: Likewise.
3894 * testsuite/ld-i386/call3d.d: Likewise.
3895 * testsuite/ld-i386/call3e.d: Likewise.
3896 * testsuite/ld-i386/call3f.d: Likewise.
3897 * testsuite/ld-i386/call3g.d: Likewise.
3898 * testsuite/ld-i386/call3h.d: Likewise.
3899 * testsuite/ld-i386/jmp1.d: Likewise.
3900 * testsuite/ld-i386/jmp2.d: Likewise.
3901 * testsuite/ld-i386/lea1c.d: Likewise.
3902 * testsuite/ld-i386/load1.d: Likewise.
3903 * testsuite/ld-i386/load2.d: Likewise.
3904 * testsuite/ld-i386/load3.d: Likewise.
3905 * testsuite/ld-i386/load4a.d: Likewise.
3906 * testsuite/ld-i386/load5a.d: Likewise.
3907 * testsuite/ld-i386/mov2b.d: Likewise.
3908 * testsuite/ld-i386/mov3.d: Likewise.
3909 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3910 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3911 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3912 * testsuite/ld-x86-64/call1a.d: Likewise.
3913 * testsuite/ld-x86-64/call1b.d: Likewise.
3914 * testsuite/ld-x86-64/call1c.d: Likewise.
3915 * testsuite/ld-x86-64/call1d.d: Likewise.
3916 * testsuite/ld-x86-64/call1e.d: Likewise.
3917 * testsuite/ld-x86-64/call1f.d: Likewise.
3918 * testsuite/ld-x86-64/call1h.d: Likewise.
3919 * testsuite/ld-x86-64/call1i.d: Likewise.
3920 * testsuite/ld-x86-64/load1a.d: Likewise.
3921 * testsuite/ld-x86-64/load1b.d: Likewise.
3922 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3923 * testsuite/ld-i386/got1.dd: Updated.
3924 * testsuite/ld-i386/got1d.S (1): Removed.
3925 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3926 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3927
39282016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 PR ld/18591
3931 * testsuite/ld-x86-64/pr18591.d: New file.
3932 * testsuite/ld-x86-64/pr18591.s: Likewise.
3933 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3934
39352016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 PR ld/19553
3938 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3939 * testsuite/ld-elf/pr19553.map: New file.
3940 * testsuite/ld-elf/pr19553.map: Likewise.
3941 * testsuite/ld-elf/pr19553a.c: Likewise.
3942 * testsuite/ld-elf/pr19553b.c: Likewise.
3943 * testsuite/ld-elf/pr19553b.out: Likewise.
3944 * testsuite/ld-elf/pr19553c.c: Likewise.
3945 * testsuite/ld-elf/pr19553c.out: Likewise.
3946 * testsuite/ld-elf/pr19553d.c: Likewise.
3947 * testsuite/ld-elf/pr19553d.out: Likewise.
3948
39492016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3950
3951 PR ld/19539
3952 * testsuite/ld-elf/pr19539.d: New file.
3953 * testsuite/ld-elf/pr19539.s: Likewise.
3954 * testsuite/ld-elf/pr19539.t: Likewise.
3955
39562016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 PR ld/19533
3959 * configure.ac (compressed_debug_sections): Replace == with =.
3960 * configure: Regenerated.
3961
39622016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3963
3964 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3965 * scripttempl/avrtiny.sc (.noinit): Likewise.
3966
39672016-01-21 Nick Clifton <nickc@redhat.com>
3968
3969 PR ld/19453
3970 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3971 the arm-netbsdelf target.
3972
3973 PR ld/19455
3974 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3975 disassmebler output.
3976 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3977 * testsuite/ld-arm/vxworks1.dd: Likewise.
3978 * testsuite/ld-arm/vxworks1.rd: Likewise.
3979 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3980
39812016-01-20 Jiong Wang <jiong.wang@arm.com>
3982
3983 * testsuite/ld-aarch64/farcall-section.d: Delete.
3984 * testsuite/ld-aarch64/farcall-section.s: Delete.
3985 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3986 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3987 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3988 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3989 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3990
39912016-01-20 Nick Clifton <nickc@redhat.com>
3992
3993 PR 19457
3994 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3995 early for PE based targets.
3996 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3997 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3998
39992016-01-20 Mickael Guene <mickael.guene@st.com>
4000
4001 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
4002 Add 'y' attribute usage.
4003 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
4004 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
4005 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
4006
40072016-01-19 Nick Clifton <nickc@redhat.com>
4008
4009 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
4010 foo@FOO and bar@@FOO.
4011
40122016-01-18 Alan Modra <amodra@gmail.com>
4013
4014 * configure: Regenerate.
4015
40162016-01-18 Nick Clifton <nickc@redhat.com>
4017
4018 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
4019 is not configured to support plugins.
4020
4021 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
4022 but with 16 byte section alignment.
4023 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
4024 test for MIPS targets.
4025
40262016-01-17 Alan Modra <amodra@gmail.com>
4027
4028 * configure: Regenerate.
4029
40302016-01-17 Alan Modra <amodra@gmail.com>
4031
4032 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
4033 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
4034 * testsuite/ld-elf/pr14156a.d: Likewise.
4035 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
4036 * testsuite/ld-elf/sec64k.exp: Likewise.
4037
40382016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
4039
4040 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
4041 Set address of .foo section when linking.
4042 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
4043 in .foo section.
4044 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
4045 output to the above changes.
4046
40472016-01-13 Nick Clifton <nickc@redhat.com>
4048
4049 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
4050 for MIPS targets.
4051
4052 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
4053 fail for MIPS targets.
4054
4055 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
4056 MIPS targets.
4057
40582016-01-12 Yury Usishchev <y.usishchev@samsung.com>
4059
4060 * testsuite/ld-arm/arm-elf.exp: New test.
4061 * testsuite/ld-arm/unwind-mix.d: New file.
4062 * testsuite/ld-arm/unwind-mix1.s: New file.
4063 * testsuite/ld-arm/unwind-mix2.s: New file.
4064
40652016-01-08 Jiong Wang <jiong.wang@arm.com>
4066
4067 PR ld/19368
4068 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
4069 * testsuite/ld-arm/ifunc-4.rd: Likewise.
4070 * testsuite/ld-arm/ifunc-9.rd: Likewise.
4071 * testsuite/ld-arm/ifunc-10.rd: Likewise.
4072 * testsuite/ld-arm/ifunc-12.rd: Likewise.
4073 * testsuite/ld-arm/ifunc-13.rd: Likewise.
4074
40752016-01-05 Nick Clifton <nickc@redhat.com>
4076
4077 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
4078 MSP430 hardware multiply address range.
4079 * scripttempl/elf32msp430.sc (__romdatastart): Define.
4080 (__romdatacopysize): Define.
4081 * scripttempl/elf32msp430_3.sc: Likewise.
4082
40832016-01-04 Maciej W. Rozycki <macro@imgtec.com>
4084
4085 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
4086 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
4087
40882016-01-04 Maciej W. Rozycki <macro@imgtec.com>
4089
4090 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
4091 messages expected according to MIPS BFD private data merge
4092 changes.
4093 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
4094 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
4095 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
4096 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
4097 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
4098 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
4099 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
4100 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
4101 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
4102 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
4103 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
4104 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
4105 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
4106
41072016-01-01 Alan Modra <amodra@gmail.com>
4108
4109 Update year range in copyright notice of all files.
4110
4111For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4112\f
4113Copyright (C) 2016 Free Software Foundation, Inc.
4114
4115Copying and distribution of this file, with or without modification,
4116are permitted in any medium without royalty provided the copyright
4117notice and this notice are preserved.
4118
4119Local Variables:
4120mode: change-log
4121left-margin: 8
4122fill-column: 74
4123version-control: never
4124End:
This page took 0.330402 seconds and 4 git commands to generate.