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