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