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