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