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