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