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