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