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