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