1 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2 Nick Clifton <nickc@redhat.com>
4 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
5 library file for writing and initialize implib_bfd field of link_info
7 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
8 (OPTION_IMPLIB_FILENAME): Remove macro definition.
9 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
10 (gld_${EMULATION_NAME}_list_options): Likewise.
11 (gld${EMULATION_NAME}_handle_option): Likewise.
12 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
13 instead of pe_implib_filename.
14 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
15 (OPTION_IMPLIB_FILENAME): Remove enumerator.
16 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
17 (gld_${EMULATION_NAME}_list_options): Likewise.
18 (gld${EMULATION_NAME}_handle_option): Likewise.
19 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
20 instead of pep_implib_filename.
21 * ld.h (args_type): Declare new out_implib_filename field.
22 * ld.texinfo (--out-implib): Move documentation to arch-independent
23 part and rephrase to apply to ELF targets.
24 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
25 defined in linker scripts.
26 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
28 * lexsup.c (ld_options): Add entry for new --out-implib switch.
29 (parse_args): Handle OPTION_OUT_IMPLIB case.
30 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
31 (Generate import library): Likewise.
32 * testsuite/ld-elf/implib.s: Likewise.
33 * testsuite/ld-elf/implib.rd: New file.
34 * testsuite/ld-elf/empty-implib.out: Likewise
36 2016-07-15 Nick Clifton <nickc@redhat.com>
38 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
41 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
43 * testsuite/ld-mips-elf/mips-elf.exp: Run
44 `branch-absolute-addend', `mips16-branch-absolute',
45 `mips16-branch-absolute-addend' and
46 `micromips-branch-absolute-addend'.
48 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
50 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
51 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
52 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
53 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
55 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
57 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
59 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
60 from `mips16-branch-absolute' and
61 `mips16-branch-absolute-addend', referred indirectly only.
63 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
65 * testsuite/ld-mips-elf/branch-absolute.d: New test.
66 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
67 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
68 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
69 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
70 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
71 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
72 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
74 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
76 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
78 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
80 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
82 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
83 from `branch-absolute-addend' and
84 `micromips-branch-absolute-addend', referred indirectly only.
86 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
88 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
89 * testsuite/ld-arc/sda-relocs.dd: New file.
90 * testsuite/ld-arc/sda-relocs.ld: Likewise.
91 * testsuite/ld-arc/sda-relocs.rd: Likewise.
92 * testsuite/ld-arc/sda-relocs.s: Likewise.
93 * testsuite/ld-arc/arc.exp: Add SDA tests.
95 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
97 * testsuite/ld-arc/nps-1b.err: Update test to handle more
100 2016-07-09 Alan Modra <amodra@gmail.com>
102 * testsuite/ld-powerpc/elfv2exe.d: Update.
104 2016-07-06 James Bowman <james.bowman@ftdichip.com>
106 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
110 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
112 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
114 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
116 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
117 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
118 * testsuite/ld-arm/arm-elf.exp: Run it.
120 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
122 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
123 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
124 all noread's by purecode.
126 2016-07-05 Jan Beulich <jbeulich@suse.com>
128 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
129 assignment line number.
130 * ldlex.l (lineno): Drop initializer.
131 (<<EOF>>): Set lineno to zero after reaching top of stack.
133 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
136 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
138 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
139 * testsuite/ld-plugin/pr20321.c: New file.
141 2016-07-04 Nick Clifton <nickc@redhat.com>
143 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
144 (__RAMSIZE): If not defined, set to 64K.
145 (MEMORY): Set the flash region size to __PMSIZE and the ram region
148 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
150 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
151 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
153 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
155 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
156 (Thumb-2 BL on ARMv6-M): New testcase.
157 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
158 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
160 2016-07-01 Tristan Gingold <gingold@adacore.com>
162 * NEWS: Add marker for 2.27.
164 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
166 * testsuite/ld-gc/gc.exp: Run pr20306 test.
167 * ld-gc/pr20306.c: New file.
168 * ld-gc/pr20306.d: Likewise.
170 2016-06-28 Nick Clifton <nickc@redhat.com>
172 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
174 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
175 tests to fail for bfin.
176 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
178 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
180 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
183 2016-06-28 Nick Clifton <nickc@redhat.com>
185 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
186 expect to fail this test.
187 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
189 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
191 * testsuite/ld-scripts/rgn-at11.d: Likewise.
192 * testsuite/ld-scripts/rgn-at2.d: Likewise.
193 * testsuite/ld-scripts/rgn-at6.d: Likewise.
194 * testsuite/ld-scripts/rgn-at7.d: Likewise.
195 * testsuite/ld-scripts/rgn-at8.d: Likewise.
197 2016-06-28 James Clarke <jrtc27@jrtc27.com>
199 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
202 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
204 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
205 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
206 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
207 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
209 2016-06-28 Alan Modra <amodra@gmail.com>
212 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
214 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
216 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
217 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
218 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
219 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
220 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
221 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
223 2016-06-27 Nick Clifton <nickc@redhat.com>
226 * lexsup.c (set_segment_start): If resetting the start address of
227 a section, remember to generate a new script element as well.
228 * testsuite/ld-scripts/pr20302.d: New test.
229 * testsuite/ld-scripts/scripts.exp: Run the new test.
231 2016-06-24 Alan Modra <amodra@gmail.com>
233 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
234 Don't error out, always return an emulation.
236 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
237 H.J. Lu <hongjiu.lu@intel.com>
239 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
240 for -z relro help message.
242 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
244 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
247 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
249 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
250 `undefweak-overflow' tests.
252 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
255 * NEWS: Mention --enable-relro.
256 * configure.ac: Add --enable-relro.
257 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
258 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
260 * config.in: Regenerated.
261 * configure: Likewise.
262 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
263 link_info.relro to DEFAULT_LD_Z_RELRO.
264 * testsuite/config/default.exp (ld_elf_shared_opt): New.
265 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
266 $ld_elf_shared_opt to ld for ELF targets with shared object
268 (run_ld_link_tests): Likewise.
270 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
272 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
273 twice rather than once.
274 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
275 accordingly. Remove the full stop from the end of the message.
277 2016-06-21 Graham Markall <graham.markall@embecosm.com>
279 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
280 * testsuite/ld-arc/nps-1b.d: Likewise.
282 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
285 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
287 (lto_run_tests): Likewise.
288 * testsuite/ld-plugin/pr20267a.c: New file.
289 * testsuite/ld-plugin/pr20267b.c: Likewise.
291 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
292 Alan Modra <amodra@gmail.com>
295 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
296 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
298 (lto_run_tests): Likewise.
299 * testsuite/ld-plugin/pass.out: New file.
300 * testsuite/ld-plugin/pr20276a.c: Likewise.
301 * testsuite/ld-plugin/pr20276b.c: Likewise.
303 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
305 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
306 with bfd_plugin_unknown.
308 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
311 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
312 * testsuite/ld-i386/no-plt.exp: Likewise.
313 * testsuite/ld-x86-64/no-plt.exp: Likewise.
314 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
315 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
316 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
317 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
318 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
319 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
320 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
321 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
322 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
323 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
324 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
325 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
326 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
327 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
328 * testsuite/ld-i386/pr20244-2b.d: Updated.
329 * testsuite/ld-i386/pr20244-2c.d: Likewise.
330 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
331 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
332 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
333 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
334 * testsuite/ld-i386/pr20253-1a.c: New file.
335 * testsuite/ld-i386/pr20253-1b.S: Likewise.
336 * testsuite/ld-i386/pr20253-1c.S: Likewise.
337 * testsuite/ld-i386/pr20253-1d.S: Likewise.
338 * testsuite/ld-i386/pr20253-2a.c: Likewise.
339 * testsuite/ld-i386/pr20253-2b.S: Likewise.
340 * testsuite/ld-i386/pr20253-2c.S: Likewise.
341 * testsuite/ld-i386/pr20253-2d.S: Likewise.
342 * testsuite/ld-i386/pr20253-3.d: Likewise.
343 * testsuite/ld-i386/pr20253-3.s: Likewise.
344 * testsuite/ld-i386/pr20253-4.s: Likewise.
345 * testsuite/ld-i386/pr20253-4a.d: Likewise.
346 * testsuite/ld-i386/pr20253-4b.d: Likewise.
347 * testsuite/ld-i386/pr20253-4c.d: Likewise.
348 * testsuite/ld-i386/pr20253-5.d: Likewise.
349 * testsuite/ld-i386/pr20253-5.s: Likewise.
350 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
351 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
352 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
353 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
354 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
355 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
356 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
357 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
358 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
359 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
360 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
361 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
362 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
363 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
364 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
365 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
366 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
367 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
368 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
369 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
370 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
371 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
372 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
373 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
374 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
375 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
376 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
377 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
378 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
379 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
380 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
381 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
382 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
383 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
384 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
385 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
386 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
387 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
388 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
389 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
390 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
391 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
393 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
394 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
395 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
396 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
397 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
399 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
400 Tony Wang <tony.wang@arm.com>
402 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
403 Assemble for ARMv6-M.
404 (Thumb2-Thumb2 farcall M profile): New testcase.
405 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
406 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
407 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
408 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
410 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
412 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
413 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
414 Remove .rel.plt section.
415 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
417 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
419 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
421 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
422 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
423 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
425 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
426 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
427 * testsuite/ld-i386/no-plt-1a.dd: Updated.
428 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
429 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
430 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
431 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
432 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
433 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
434 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
435 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
436 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
437 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
438 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
439 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
440 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
441 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
442 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
443 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
445 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
448 * testsuite/ld-avr/avr-prop-6.d: New test.
449 * testsuite/ld-avr/avr-prop-6.s: New test.
451 2016-06-14 Alan Modra <amodra@gmail.com>
453 * ldbuildid.c: Formatting.
454 * ldcref.c: Formatting.
455 * ldctor.c: Formatting.
456 * ldemul.c: Formatting.
457 * ldexp.c: Formatting.
458 * ldfile.c: Formatting.
459 * ldlang.c: Formatting.
460 * ldmain.c: Formatting.
461 * ldwrite.c: Formatting.
463 2016-06-14 Alan Modra <amodra@gmail.com>
465 * ldlang.c: Expand uses of bfd_my_archive.
466 * ldmain.c: Likewise.
467 * ldmisc.c: Likewise.
468 * plugin.c: Likewise.
470 2016-06-14 Alan Modra <amodra@gmail.com>
473 * ldmain.c (add_archive_element): Just print file name of file within
475 * ldmisc.c (vfinfo): Likewise.
476 * plugin.c (plugin_object_p): Open file within thin archives.
477 (plugin_maybe_claim): Expand comment.
479 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
482 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
483 pr20244-2c and pr20244-2d.
484 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
485 * testsuite/ld-i386/pr20244-2.s: New file.
486 * testsuite/ld-i386/pr20244-2a.d: Likewise.
487 * testsuite/ld-i386/pr20244-2b.d: Likewise.
488 * testsuite/ld-i386/pr20244-2c.d: Likewise.
489 * testsuite/ld-i386/pr20244-2d.d: Likewise.
490 * testsuite/ld-i386/pr20244-3a.c: Likewise.
491 * testsuite/ld-i386/pr20244-3b.S: Likewise.
492 * testsuite/ld-i386/pr20244-3c.S: Likewise.
493 * testsuite/ld-i386/pr20244-3d.S: Likewise.
495 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
497 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
498 * testsuite/ld-i386/ifunc-1a.c: New file.
499 * testsuite/ld-i386/ifunc-1b.S: Likewise.
500 * testsuite/ld-i386/ifunc-1c.S: Likewise.
501 * testsuite/ld-i386/ifunc-1d.S: Likewise.
503 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
505 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
506 big endian ARC targets.
508 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
510 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
511 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
512 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
513 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
514 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
515 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
516 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
517 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
518 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
519 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
520 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
521 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
522 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
523 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
524 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
526 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
529 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
530 * testsuite/ld-i386/pr20244-1.s: New file.
531 * testsuite/ld-i386/pr20244-1a.d: Likewise.
532 * testsuite/ld-i386/pr20244-1b.d: Likewise.
533 * testsuite/ld-i386/pr20244-1c.d: Likewise.
535 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
538 * testsuite/ld-avr/avr-prop-5.d: New.
539 * testsuite/ld-avr/avr-prop-5.s: New.
541 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
543 * testsuite/ld-avr/lds-mega.d: New test.
544 * testsuite/ld-avr/lds-mega.s: New test source.
545 * testsuite/ld-avr/lds-tiny.d: New test.
546 * testsuite/ld-avr/lds-tiny.s: New test source.
548 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
550 * testsuite/ld-i386/libno-plt-1b.dd: New file.
551 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
552 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
553 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
554 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
555 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
556 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
557 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
558 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
559 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
560 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
561 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
562 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
563 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
564 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
565 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
566 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
567 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
568 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
569 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
570 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
571 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
572 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
573 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
574 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
575 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
576 * testsuite/ld-i386/no-plt-func1.c: Likewise.
577 * testsuite/ld-i386/no-plt-main1.c: Likewise.
578 * testsuite/ld-i386/no-plt.exp: Likewise.
580 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
582 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
585 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
587 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
588 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
589 * testsuite/ld-i386/pass.out: New file.
590 * testsuite/ld-i386/tls-def1.c: Likewise.
591 * testsuite/ld-i386/tls-gd1.S: Likewise.
592 * testsuite/ld-i386/tls-ld1.S: Likewise.
593 * testsuite/ld-i386/tls-main1.c: Likewise.
594 * testsuite/ld-i386/tls.exp: Likewise.
595 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
596 * testsuite/ld-i386/tlsbin2.dd: Likewise.
597 * testsuite/ld-i386/tlsbin2.rd: Likewise.
598 * testsuite/ld-i386/tlsbin2.sd: Likewise.
599 * testsuite/ld-i386/tlsbin2.td: Likewise.
600 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
601 * testsuite/ld-i386/tlsgd3.dd: Likewise.
602 * testsuite/ld-i386/tlsgd3.s: Likewise.
603 * testsuite/ld-i386/tlsgd4.d: Likewise.
604 * testsuite/ld-i386/tlsgd4.s: Likewise.
605 * testsuite/ld-i386/tlsld2.s: Likewise.
606 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
607 * testsuite/ld-i386/tlspic2.dd: Likewise.
608 * testsuite/ld-i386/tlspic2.rd: Likewise.
609 * testsuite/ld-i386/tlspic2.sd: Likewise.
610 * testsuite/ld-i386/tlspic2.td: Likewise.
611 * testsuite/ld-i386/tlspic3.s: Likewise.
612 * testsuite/ld-i386/tlspie3.s: Likewise.
613 * testsuite/ld-i386/tlspie3a.d: Likewise.
614 * testsuite/ld-i386/tlspie3b.d: Likewise.
615 * testsuite/ld-i386/tlspie3c.d: Likewise.
617 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
619 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
620 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
621 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
622 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
623 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
624 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
625 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
626 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
628 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
630 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
631 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
632 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
633 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
634 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
635 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
636 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
637 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
638 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
639 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
640 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
641 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
642 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
643 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
644 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
645 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
646 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
647 * testsuite/ld-x86-64/no-plt.exp: Likewise.
648 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
649 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
650 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
652 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
654 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
656 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
658 * testsuite/ld-s390/pltoffset-1.dd: New test.
659 * testsuite/ld-s390/pltoffset-1.ld: New test.
660 * testsuite/ld-s390/pltoffset-1.s: New test.
661 * testsuite/ld-s390/s390.exp: Run new test.
663 2016-06-07 Alan Modra <amodra@gmail.com>
665 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
666 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
667 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
669 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
671 * testsuite/ld-x86-64/pass.out: New file.
672 * testsuite/ld-x86-64/tls-def1.c: Likewise.
673 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
674 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
675 * testsuite/ld-x86-64/tls-main1.c: Likewise.
676 * testsuite/ld-x86-64/tls.exp: Likewise.
677 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
678 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
679 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
680 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
681 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
682 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
683 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
684 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
685 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
686 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
687 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
688 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
689 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
690 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
691 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
692 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
693 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
694 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
695 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
696 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
697 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
698 * testsuite/ld-x86-64/tlsld4.s: Likewise.
699 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
700 * testsuite/ld-x86-64/tlsld5.s: Likewise.
701 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
702 * testsuite/ld-x86-64/tlsld6.s: Likewise.
703 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
704 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
705 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
706 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
707 * testsuite/ld-x86-64/tlspic2.td: Likewise.
708 * testsuite/ld-x86-64/tlspic3.s: Likewise.
709 * testsuite/ld-x86-64/tlspie2.s: Likewise.
710 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
711 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
712 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
713 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
714 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
715 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
716 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
717 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
720 2016-06-04 Christian Groessler <chris@groessler.org>
722 * testsuite/ld-z8k/0filler.s: New file.
723 * testsuite/ld-z8k/branch-target.s: New file.
724 * testsuite/ld-z8k/branch-target2.s: New file.
725 * testsuite/ld-z8k/calr-back-8001.d: New file.
726 * testsuite/ld-z8k/calr-back-8002.d: New file.
727 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
728 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
729 * testsuite/ld-z8k/calr-forw-8001.d: New file.
730 * testsuite/ld-z8k/calr-forw-8002.d: New file.
731 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
732 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
733 * testsuite/ld-z8k/calr-opcode.s: New file.
734 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
735 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
736 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
737 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
738 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
739 * testsuite/ld-z8k/djnz-back-8001.d: New file.
740 * testsuite/ld-z8k/djnz-back-8002.d: New file.
741 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
742 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
743 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
744 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
745 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
746 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
747 * testsuite/ld-z8k/djnz-opcode.s: New file.
748 * testsuite/ld-z8k/filler.s: New file.
749 * testsuite/ld-z8k/jr-back-8001.d: New file.
750 * testsuite/ld-z8k/jr-back-8002.d: New file.
751 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
752 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
753 * testsuite/ld-z8k/jr-forw-8001.d: New file.
754 * testsuite/ld-z8k/jr-forw-8002.d: New file.
755 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
756 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
757 * testsuite/ld-z8k/jr-opcode.s: New file.
758 * testsuite/ld-z8k/ldr-back-8001.d: New file.
759 * testsuite/ld-z8k/ldr-back-8002.d: New file.
760 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
761 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
762 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
763 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
764 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
765 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
766 * testsuite/ld-z8k/ldr-opcode.s: New file.
767 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
768 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
769 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
770 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
771 * testsuite/ld-z8k/ldrb-opcode.s: New file.
772 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
773 * testsuite/ld-z8k/other-file.s: New file.
774 * testsuite/ld-z8k/reloc.dd: New file.
775 * testsuite/ld-z8k/reloc.ld: New file.
776 * testsuite/ld-z8k/relocseg.dd: New file.
777 * testsuite/ld-z8k/relocseg.ld: New file.
778 * testsuite/ld-z8k/relocseg1.dd: New file.
779 * testsuite/ld-z8k/this-file.s: New file.
780 * testsuite/ld-z8k/z8k.exp: New file.
782 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
784 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
785 with -mrelax-relocations=yes.
786 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
787 * testsuite/ld-i386/lea1b.d (as): Likewise.
788 * testsuite/ld-i386/lea1d.d (as): Likewise.
789 * testsuite/ld-i386/lea1e.d (as): Likewise.
790 * testsuite/ld-i386/lea1f.d (as): Likewise.
791 * testsuite/ld-i386/load7.d (as): Likewise.
792 * testsuite/ld-i386/mov1b.d (as): Likewise.
793 * testsuite/ld-i386/pr19175.d (as): Likewise.
794 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
795 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
796 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
797 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
798 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
800 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
802 * configure.tgt: Replace -uclibc with *.
804 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
806 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
807 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
808 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
809 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
811 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
813 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
814 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
815 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
816 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
817 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
818 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
820 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
822 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
823 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
824 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
825 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
826 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
827 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
828 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
830 2016-05-28 Alan Modra <amodra@gmail.com>
832 * ldmain.c (multiple_definition, multiple_common, add_to_set,
833 constructor_callback, warning_callback, undefined_symbol,
834 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
835 * emultempl/elf32.em: Adjust callback calls.
837 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
839 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
840 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
841 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
843 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
845 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
847 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
849 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
851 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
853 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
855 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
857 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
858 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
860 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
862 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
864 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
865 `unaligned-jalx-2' here.
866 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
867 `unaligned-jalx-mips16-2' here.
868 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
869 `unaligned-jalx-micromips-2' here.
870 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
871 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
873 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
874 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
875 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
876 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
877 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
879 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
880 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
881 `unaligned-lwpc-3' here.
882 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
883 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
884 `unaligned-lwpc-2' here.
885 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
886 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
887 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
888 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
889 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
890 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
891 `unaligned-ldpc-4' here.
892 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
893 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
894 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
895 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
896 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
897 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
898 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
899 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
900 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
901 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
902 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
904 2016-05-26 Nick Clifton <nickc@redhat.com>
907 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
909 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
911 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
913 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
914 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
915 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
916 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
917 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
918 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
919 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
920 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
921 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
922 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
923 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
924 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
925 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
926 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
927 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
928 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
929 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
930 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
931 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
932 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
933 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
934 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
935 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
936 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
937 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
938 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
939 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
940 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
941 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
942 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
943 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
944 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
945 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
947 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
950 * ldmain.c (add_archive_element): Don't claim new IR symbols
951 after all IR symbols have been claimed.
952 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
954 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
955 Run PR ld/20103 tests.
956 * testsuite/ld-plugin/pr20103a.c: New file.
957 * testsuite/ld-plugin/pr20103b.c: Likewise.
958 * testsuite/ld-plugin/pr20103c.c: Likewise.
960 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
962 * testsuite/ld-mips-elf/jalx-local.d: New test.
963 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
964 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
965 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
967 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
969 * Makefile.am: Add earmelf_phoenix.c.
970 * Makefile.in: Regenerate.
971 * configure.tgt: Add entry for arm-phoenix.
972 * emulparams/armelf_phoenix.sh: New file.
974 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
976 * emultempl/armelf.em (arm_elf_before_allocation): Call
977 bfd_elf32_arm_keep_private_stub_output_sections before generic
978 before_allocation function.
980 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
982 * testsuite/ld-mips-elf/jalx-addend.d: New test.
983 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
984 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
985 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
987 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
990 * testsuite/ld-i386/i386.exp: Run pr20117.
991 * testsuite/ld-i386/pr19609-1i.d: Updated.
992 * testsuite/ld-i386/pr20117.d: New file.
993 * testsuite/ld-i386/pr20117.s: Likewise.
995 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
997 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
998 * testsuite/ld-elf/group8a.d: Likewise.
999 * testsuite/ld-elf/group8b.d: Likewise.
1000 * testsuite/ld-elf/group9a.d: Likewise.
1001 * testsuite/ld-elf/group9b.d: Likewise.
1002 * testsuite/ld-elf/pr12851.d: Likewise.
1003 * testsuite/ld-elf/pr12975.d: Likewise.
1004 * testsuite/ld-elf/pr13177.d: Likewise.
1005 * testsuite/ld-elf/pr13195.d: Likewise.
1006 * testsuite/ld-elf/pr17615.d: Likewise.
1007 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1008 * testsuite/ld-elf/group3b.d: Likewise.
1009 * testsuite/ld-srec/srec.exp: Likewise.
1010 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1012 (check_shared_lib_support): Mark ARC as supporting.
1014 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
1016 * emulparams/arcelf.sh: Changed.
1017 * emulparams/arclinux.sh: Likewise.
1018 * scripttempl/arclinux.sc: Moved to a more standard implementation
1021 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1023 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1024 `ft32-*-*' behind `frv-*-*'.
1026 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
1028 * configure.tgt: Remove `am34-*-linux*' support.
1030 2016-05-19 Alan Modra <amodra@gmail.com>
1032 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1033 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1034 * testsuite/ld-scripts/cross3.t: Likewise.
1035 * testsuite/ld-scripts/cross4.t: Likewise.
1036 * testsuite/ld-scripts/cross5.t: Likewise.
1037 * testsuite/ld-scripts/cross6.t: Likewise.
1038 * testsuite/ld-scripts/cross7.t: Likewise.
1040 2016-05-19 Alan Modra <amodra@gmail.com>
1042 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1043 exe name rather than constructing testname. Fix typo in
1044 sub-test name. Log copying. Use -rpath rather than -R.
1046 2016-05-18 Nick Clifton <nickc@redhat.com>
1048 * scripttempl/ft32.sc: Use fixed constants for memory region
1049 lengths. Include DWARF debug sections.
1050 (.data .bss): Do not assign locations during relocatable links.
1051 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1052 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1053 * testsuite/ld-elf/sec64k.exp: Likewise.
1054 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1055 * testsuite/ld-elf/merge.d: Likewise.
1056 * testsuite/ld-elf/orphan-region.d: Likewise.
1057 * testsuite/ld-elf/orphan.s: Likewise.
1058 * testsuite/ld-elf/orphan3.d: Likewise.
1059 * testsuite/ld-elf/pr349.d: Likewise.
1060 * testsuite/ld-elf/warn2.d: Likewise.
1061 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1062 that the FT32 does not support shared libraries.
1064 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
1066 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1069 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1071 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1073 * scripttempl/avrtiny.sc (text): Likewise.
1075 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
1077 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1078 `supports_gnu_unique' to qualify testing.
1080 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
1082 * testsuite/ld-elf/flags1.d: Update the xfail list.
1084 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1086 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1089 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
1092 * testplug2.c (onall_symbols_read): Remove redundant sizeof
1093 on EXPECTED_VIEW_LENGTH.
1094 * testplug4.c (onall_symbols_read): Likewise.
1096 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1099 * testsuite/ld-x86-64/pr20093-1.d: New file.
1100 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1101 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1102 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1103 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1105 2016-05-13 Alan Modra <amodra@gmail.com>
1107 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1108 Use different output file name for static app without .rel.plt.
1109 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1110 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1111 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1112 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1113 * testsuite/ld-arm/arm-static-app.r: Likewise.
1115 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1118 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1119 (libldtestplug4_la_SOURCES): New.
1120 (libldtestplug4_la_CFLAGS): Likewise.
1121 (libldtestplug4_la_LDFLAGS): Likewise.
1122 * Makefile.in: Regenerated.
1123 * plugin.c (get_symbols): Return resolution based on IR symbol
1124 kinds for symbols defined/referenced only within IR.
1125 * testplug4.c: New file.
1126 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1127 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1128 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1129 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1130 (plugin4_path): Likewise.
1131 Add a test for ld/20070.
1133 2016-05-11 Alan Modra <amodra@gmail.com>
1135 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1136 Call elf32_hppa_init_stub_bfd.
1138 2016-05-11 Alan Modra <amodra@gmail.com>
1141 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1142 * testsuite/ld-powerpc/tlsdll.s: New.
1143 * testsuite/ld-powerpc/tlsdll.ver: New.
1144 * testsuite/ld-powerpc/tlsdll_32.s: New.
1145 * testsuite/ld-powerpc/tlsopt5.d: New.
1146 * testsuite/ld-powerpc/tlsopt5.s: New.
1147 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1148 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1150 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1152 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1153 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1155 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1157 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1158 parameter and rename input_section parameter to after_input_section.
1159 Append input stub section to the output section if after_input_section
1162 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1164 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1166 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1167 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1169 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1171 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1173 2016-05-09 Christophe Monat <christophe.monat@st.com>
1176 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1177 tests. Fix misnamed stm32l4xx-fix-all.
1178 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1179 loads with DP registers.
1180 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1181 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1182 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1183 loads with DP registers.
1184 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1186 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1188 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1190 (xfail): Remove avr-*-*.
1191 Update regex to check the section flags.
1192 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1194 2016-05-09 Alan Modra <amodra@gmail.com>
1196 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1197 * Makefile.in: Regenerate.
1199 2016-05-09 Alan Modra <amodra@gmail.com>
1201 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1202 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1203 * testsuite/ld-scripts/section-match-1.t: Likewise.
1205 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1208 * testsuite/ld-elf/pr17550-1.s: New file.
1209 * testsuite/ld-elf/pr17550-2.s: Likewise.
1210 * testsuite/ld-elf/pr17550-3.s: Likewise.
1211 * testsuite/ld-elf/pr17550-4.s: Likewise.
1212 * testsuite/ld-elf/pr17550a.d: Likewise.
1213 * testsuite/ld-elf/pr17550b.d: Likewise.
1214 * testsuite/ld-elf/pr17550c.d: Likewise.
1215 * testsuite/ld-elf/pr17550d.d: Likewise.
1217 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1219 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1221 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1223 * testsuite/ld-i386/i386.exp: Run load7.
1224 * testsuite/ld-i386/load7.d: New file.
1225 * testsuite/ld-i386/load7.map: Likewise.
1226 * testsuite/ld-i386/load7.s: Likewise.
1227 * testsuite/ld-x86-64/load2.d: Likewise.
1228 * testsuite/ld-x86-64/load2.map: Likewise.
1229 * testsuite/ld-x86-64/load2.s: Likewise.
1230 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1232 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1234 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1235 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1237 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1240 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1242 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1244 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1246 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1248 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1250 * testsuite/ld-unique/unique.d: New test.
1251 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1252 messages for compiled tests.
1254 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1256 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1257 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1258 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1259 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1260 plugin_tests only if check_shared_lib_support is true.
1261 * testsuite/ld-selective/selective.exp: Add --section-start
1264 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1267 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1269 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1271 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1272 * NEWS: Mention --no-apply-dynamic-relocs.
1273 * ld.texinfo (ld and the ARM family): Document
1274 --no-apply-dynamic-relocs.
1275 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1276 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1277 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1278 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1281 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1283 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1284 before running STT_COMMON tests.
1286 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1288 * config/default.exp (NOPIE_CFLAGS): Download source only on
1290 (NOPIE_LDFLAGS): Likewise.
1291 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1292 (check_lto_fat_available): Likewise.
1293 (check_lto_shared_available): Likewise.
1294 (check_ifunc_available): Likewise.
1295 (check_ifunc_attribute_available): Likewise.
1297 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1299 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1301 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1304 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1305 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1308 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1310 * testsuite/ld-elf/compressed1b.d: Pass
1311 --compress-debug-sections=none to ld.
1312 * testsuite/ld-elf/compressed1c.d: Likewise.
1314 2016-04-27 Alan Modra <amodra@gmail.com>
1317 * configure.tgt: Don't use var+=.
1319 2016-04-25 Nick Clifton <nickc@redhat.com>
1322 * configure.tgt: Include big endian PPC64 emulations with little
1323 endian PPC64 targets.
1325 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1327 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1329 2016-04-21 Nick Clifton <nickc@redhat.com>
1331 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1332 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1333 targets. Do not stop the checks when problems are encountered.
1335 2016-04-21 Alan Modra <amodra@gmail.com>
1337 * testsuite/ld-scripts/cross3.t: Add commonly used data
1338 and text section names to output section statements.
1339 * testsuite/ld-scripts/cross4.t: Likewise.
1340 * testsuite/ld-scripts/cross5.t: Likewise.
1341 * testsuite/ld-scripts/cross6.t: Likewise.
1342 * testsuite/ld-scripts/cross7.t: Likewise.
1344 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1346 * ldlang.c (lang_check_relocs): New function.
1347 (lang_process): Call lang_check_relocs after lang_gc_sections.
1348 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1349 call _bfd_elf_link_check_relocs here.
1351 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1354 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1355 R_386_NONE or R_X86_64_NONE.
1357 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1359 * testsuite/ld-x86-64/pic1.d: New file.
1360 * testsuite/ld-x86-64/pic1.s: Likewise.
1361 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1363 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1365 * testsuite/ld-x86-64/pie2.d: New file.
1366 * testsuite/ld-x86-64/pie2.s: Likewise.
1367 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1369 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1372 * testsuite/ld-x86-64/pr19969.d: New file.
1373 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1374 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1375 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1377 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1379 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1381 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1383 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1385 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1387 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1389 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1391 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1393 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1395 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1396 Set check_relocs_after_open_input to TRUE if
1397 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1398 (gld${EMULATION_NAME}_after_open): Call
1399 _bfd_elf_link_check_relocs on all inputs if
1400 check_relocs_after_open_input is TRUE.
1402 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1404 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1407 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1409 * emultempl/scoreelf.em: Likewise.
1411 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1414 * testsuite/ld-x86-64/pr19719.d: New file.
1415 * testsuite/ld-x86-64/pr19719.s: Likewise.
1416 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1418 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1420 * ld.texinfo: Document NOCROSSREFS_TO script command.
1421 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1422 (lang_add_nocrossref_to): New prototype.
1423 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1424 symbols defined in the first section.
1425 (check_nocrossref): Likewise.
1426 * ldgram.y (NOCROSSREFS_TO): New script command.
1427 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1428 (lang_add_nocrossref_to): New function.
1429 * ldlex.l (NOCROSSREFS_TO): New token.
1430 * NEWS: Mention NOCROSSREFS_TO.
1431 * testsuite/ld-scripts/cross4.t: New file.
1432 * testsuite/ld-scripts/cross5.t: Likewise.
1433 * testsuite/ld-scripts/cross6.t: Likewise.
1434 * testsuite/ld-scripts/cross7.t: Likewise.
1435 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1438 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1440 * Makefile.in: Regenerated with automake 1.11.6.
1441 * aclocal.m4: Likewise.
1443 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1445 * testsuite/ld-arc/arc.exp: New file.
1446 * testsuite/ld-arc/nps-1.s: New file.
1447 * testsuite/ld-arc/nps-1a.d: New file.
1448 * testsuite/ld-arc/nps-1b.d: New file.
1449 * testsuite/ld-arc/nps-1b.err: New file.
1451 2016-04-14 Nick Clifton <nickc@redhat.com>
1454 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1455 exceptions for Mingw and Cygwin.
1457 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1459 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1462 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1465 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1466 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1469 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1472 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1473 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1474 * testsuite/ld-i386/pr19939.s: New file.
1475 * testsuite/ld-i386/pr19939a.d: Likewise.
1476 * testsuite/ld-i386/pr19939b.d: Likewise.
1477 * testsuite/ld-x86-64/pr19939.s: Likewise.
1478 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1479 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1481 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1483 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1485 2016-04-08 Alan Modra <amodra@gmail.com>
1488 * ldlang.c (maybe_overlays): Delete.
1489 (lang_size_sections_1): Remove code setting maybe_overlays.
1490 (lang_check_section_addresses): Instead detect overlays by
1491 exact match of section VMAs here. Fix memory leak.
1493 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1495 * ldlang.c (print_output_section_statement): Show minfo size
1496 in target machine address units.
1497 (print_reloc_statement): Likewise.
1498 (print_padding_statement): Likewise.
1499 (print_data_statement): Likewise. Ensure minimum print_dot
1500 increment of one address unit.
1502 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * emulparams/arc-endianness.sh: Make little endian default choice.
1506 2016-04-07 Nick Clifton <nickc@redhat.com>
1508 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1510 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1512 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1514 * emulparams/arc-endianness.sh: New file.
1515 * emulparams/arcebelf.sh: Deleted.
1516 * emulparams/arcebelf_prof.sh: Deleted.
1517 * emulparams/arceblinux.sh: Deleted.
1518 * emulparams/arceblinux_prof.sh: Deleted.
1519 * emulparams/arcelf.sh: Include arc-endinness.sh.
1520 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1521 * emulparams/arclinux.sh: Include arc-endinness.sh.
1522 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1523 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1524 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1525 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1526 little endian arc targets.
1527 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1528 * testsuite/ld-elf/group1.d: Likewise.
1529 * testsuite/ld-elf/group3b.d: Likewise.
1530 * testsuite/ld-elf/group8a.d: Likewise.
1531 * testsuite/ld-elf/group8b.d: Likewise.
1532 * testsuite/ld-elf/group9a.d: Likewise.
1533 * testsuite/ld-elf/group9b.d: Likewise.
1534 * testsuite/ld-elf/linkonce2.d: Likewise.
1535 * testsuite/ld-elf/pr12851.d: Likewise.
1536 * testsuite/ld-elf/pr12975.d: Likewise.
1537 * testsuite/ld-elf/pr13177.d: Likewise.
1538 * testsuite/ld-elf/pr13195.d: Likewise.
1539 * testsuite/ld-elf/pr17615.d: Likewise.
1540 * testsuite/ld-elf/pr19162.d: Likewise.
1541 * testsuite/ld-elf/sec64k.exp: Likewise.
1542 * testsuite/lib/ld-lib.exp: Likewise.
1544 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1547 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1549 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1550 * testsuite/ld-cris/tls-e-21.d: Likewise.
1551 * testsuite/ld-cris/tls-e-23.d: Likewise.
1552 * testsuite/ld-cris/tls-e-80.d: Likewise.
1553 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1554 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1555 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1556 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1557 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1558 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1559 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1560 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1561 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1562 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1564 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1566 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1567 * testsuite/ld-discard/start.d: Likewise.
1568 * testsuite/ld-discard/static.d: Likewise.
1569 * testsuite/ld-elf/group1.d: Likewise.
1570 * testsuite/ld-elf/group3b.d: Likewise.
1571 * testsuite/ld-elf/orphan-region.d: Likewise.
1572 * testsuite/ld-elf/orphan.d: Likewise.
1573 * testsuite/ld-elf/orphan3.d: Likewise.
1574 * testsuite/ld-elf/pr349.d: Likewise.
1575 * testsuite/ld-elf/warn1.d: Likewise.
1576 * testsuite/ld-elf/warn2.d: Likewise.
1577 * testsuite/ld-elf/warn3.d: Likewise.
1578 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1579 through linker flags.
1580 * testsuite/ld-srec/srec.exp: Set as xfail.
1582 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1585 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1586 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1588 2016-04-04 Nick Clifton <nickc@redhat.com>
1591 * emultempl/pe.em (change_undef): New function. Encapsulates
1592 duplicated code in pe_fixup_stdcalls and adds the newly defined
1593 sym to the gc root list.
1594 (pe_fixup_stdcall): Use the new function.
1595 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1596 symbol to gc root list.
1598 2016-03-31 Alan Modra <amodra@gmail.com>
1600 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1601 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1602 (print_input_section): Don't use TO_ADDR when printing section
1604 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1605 (lang_size_sections): Use TO_ADDR in relro end calculation.
1607 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1609 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1610 value from regexp_diff.
1611 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1612 * testsuite/ld-elf/orphan-6.l: Likewise.
1614 2016-03-30 Alan Modra <amodra@gmail.com>
1617 * ldlang.c (maybe_overlays): New static var.
1618 (lang_size_sections_1): Set it here.
1619 (struct check_sec): New.
1620 (sort_sections_by_lma): Adjust for array of structs.
1621 (sort_sections_by_vma): New function.
1622 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1623 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1625 2016-03-30 Alan Modra <amodra@gmail.com>
1627 * ldlang.c (lang_size_sections_1): Correct code detecting a
1628 backward non-overlapping move.
1630 2016-03-30 Alan Modra <amodra@gmail.com>
1632 * ldlang.c (IS_TBSS): New macro, extracted from..
1633 (IGNORE_SECTION): ..here.
1634 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1635 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1637 2016-03-22 Nick Clifton <nickc@redhat.com>
1640 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1641 symbol name to the list of gc symbols.
1642 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1643 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1644 and fini function names.
1645 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1647 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1648 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1650 2016-03-22 Nick Clifton <nickc@redhat.com>
1652 * configure: Regenerate.
1654 2016-03-21 Nick Clifton <nickc@redhat.com>
1656 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1657 * plugin.c: Likewise.
1658 * pe-dll.c: Likewise.
1660 2016-03-18 Awson <kyrab@mail.ru>
1663 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1665 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1667 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1669 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1671 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1674 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1675 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1676 * testsuite/ld-i386/pr19827.rd: New file.
1677 * testsuite/ld-i386/pr19827a.S: Likewise.
1678 * testsuite/ld-i386/pr19827b.S: Likewise.
1679 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1680 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1681 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1683 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1686 * Makefile.am (ELF_X86_DEPS): Add
1687 $(srcdir)/emulparams/reloc_overflow.sh.
1688 * Makefile.in: Regenerated.
1689 * NEWS: Mention -z noreloc-overflow.
1690 * ld.texinfo: Document -z noreloc-overflow.
1691 * emulparams/elf32_x86_64.sh: Source
1692 ${srcdir}/emulparams/reloc_overflow.sh.
1693 * emulparams/elf_x86_64.sh: Likewise.
1694 * emulparams/reloc_overflow.sh: New file.
1695 * testsuite/ld-x86-64/pr19807-1.s: New file.
1696 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1697 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1698 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1699 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1700 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1701 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1702 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1703 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1704 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1706 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1709 * testsuite/ld-i386/i386.exp: Run pr19539.
1710 * testsuite/ld-i386/pr19539.d: New file.
1711 * testsuite/ld-i386/pr19539.s: Likewise.
1712 * testsuite/ld-i386/pr19539.t: Likewise.
1713 * testsuite/ld-x86-64/pr19539.s: Likewise.
1714 * testsuite/ld-x86-64/pr19539.t: Likewise.
1715 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1716 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1717 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1719 2016-03-10 Mickael Guene <mickael.guene@st.com>
1722 * testsuite/ld-arm/arm-elf.exp: New tests.
1723 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1724 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1726 2016-03-10 Nick Clifton <nickc@redhat.com>
1728 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1730 2016-03-09 Pedro Alves <palves@redhat.com>
1732 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1733 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1735 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1738 * testsuite/ld-elf/pr19789.d: New file.
1739 * testsuite/ld-elf/pr19789.s: Likewise.
1741 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1744 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1745 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1746 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1747 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1748 * testsuite/ld-ifunc/pass.out: New file.
1749 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1750 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1751 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1753 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1756 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1757 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1758 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1759 --as-needed for pr18841c.
1761 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1764 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1765 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1766 before tmpdir/got1d.so and test --as-needed.
1767 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1768 tmpdir/pr18900.so and test --as-needed.
1770 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1772 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1773 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1775 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1777 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1779 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1780 before tmpdir/copyreloc-lib.so and test --as-needed.
1781 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1783 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1786 * testsuite/ld-elf/pr19579a.c: New file.
1787 * testsuite/ld-elf/pr19579b.c: Likewise.
1788 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1790 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1792 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1794 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1796 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1797 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1799 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1802 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1803 input sections for relocatable link.
1804 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1805 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1807 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1810 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1811 merge flags of other input sections for relocatable link.
1813 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1815 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1817 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1819 * testsuite/ld-elf/pr19162.d: Skip arc target.
1821 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1824 * testsuite/ld-elf/pr19162.d: New file.
1825 * testsuite/ld-elf/pr19162a.s: Likwise.
1826 * testsuite/ld-elf/pr19162b.s: Likwise.
1828 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1830 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1831 * testsuite/ld-elf/merge2.d: Likewise.
1832 * testsuite/ld-elf/merge3.d: Likewise.
1834 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1836 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1839 2016-02-26 Renlin Li <renlin.li@arm.com>
1841 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1842 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1843 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1844 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1845 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1846 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1847 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1848 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1849 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1850 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1852 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1855 * testsuite/ld-i386/got1.dd: Updated.
1856 * testsuite/ld-i386/lea1c.d: Likewise.
1857 * testsuite/ld-i386/load1-nacl.d: Likewise.
1858 * testsuite/ld-i386/load1.d: Likewise.
1859 * testsuite/ld-i386/load4b.d: Likewise.
1860 * testsuite/ld-i386/load5b.d: Likewise.
1861 * testsuite/ld-i386/mov1b.d: Likewise.
1862 * testsuite/ld-x86-64/mov1b.d: Likewise.
1863 * testsuite/ld-x86-64/mov1d.d: Likewise.
1864 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1865 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1866 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1867 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1868 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1869 * testsuite/ld-x86-64/lea1a.d: Likewise.
1870 * testsuite/ld-x86-64/lea1b.d: Likewise.
1871 * testsuite/ld-x86-64/lea1c.d: Likewise.
1872 * testsuite/ld-x86-64/lea1d.d: Likewise.
1873 * testsuite/ld-x86-64/lea1e.d: Likewise.
1874 * testsuite/ld-x86-64/lea1f.d: Likewise.
1875 * testsuite/ld-x86-64/mov1b.d: Likewise.
1876 * testsuite/ld-x86-64/mov1d.d: Likewise.
1877 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1878 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1879 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1880 * testsuite/ld-i386/pr19609-1.s: New file.
1881 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1882 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1883 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1884 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1885 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1886 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1887 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1888 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1889 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1890 * testsuite/ld-i386/pr19609-2.s: Likewise.
1891 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1892 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1893 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1894 * testsuite/ld-i386/undefweak.s: Likewise.
1895 * testsuite/ld-i386/undefweaka.d: Likewise.
1896 * testsuite/ld-i386/undefweakb.d: Likewise.
1897 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1898 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1899 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1900 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1901 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1902 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1903 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1904 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1905 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1906 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1907 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1908 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1909 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1910 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1911 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1912 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1913 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1914 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1915 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1916 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1917 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1918 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1919 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1920 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1921 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1922 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1923 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1924 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1925 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1926 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1927 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1928 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1929 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1930 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1931 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1932 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1933 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1934 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1935 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1936 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1937 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1938 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1939 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1940 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1941 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1942 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1943 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1945 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1946 and tests for PR ld/19609.
1948 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1951 * NEWS: Mention -z common/-z nocommon for ELF targets.
1952 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1953 -z common and -z nocommon.
1954 * ld.texinfo: Document -z common/-z nocommon.
1955 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1956 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1957 --elf-stt-common=yes with assembler.
1958 * testsuite/ld-elfcomm/common-1.s: New file.
1959 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1960 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1961 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1962 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1963 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1964 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1965 * testsuite/ld-elfcomm/common-2.s: Likewise.
1966 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1967 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1968 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1969 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1970 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1971 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1972 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1973 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1974 * testsuite/ld-i386/pr19645.d: Likewise.
1975 * testsuite/ld-i386/pr19645.s: Likewise.
1976 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1977 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1978 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1979 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1980 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1981 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1982 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1983 * testsuite/ld-x86-64/pr19645.d: Likewise.
1984 * testsuite/ld-x86-64/pr19645.s: Likewise.
1985 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1987 (assembler_generates_commons): Removed.
1988 Run -z common/-z nocommon tests. Run *.d tests.
1989 * testsuite/ld-i386/i386.exp: Run pr19645.
1990 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1991 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1992 assembler. Test STT_COMMON with readelf.
1994 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1999 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2000 * Makefile.in: Regenerated.
2001 * NEWS: Mention -z nodynamic-undefined-weak.
2002 * ld.texinfo: Document -z nodynamic-undefined-weak.
2003 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2004 * emulparams/dynamic_undefined_weak.sh: New file.
2005 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2006 * emulparams/elf_i386.sh: Likewise.
2007 * emulparams/elf_i386_be.sh: Likewise.
2008 * emulparams/elf_i386_chaos.sh: Likewise.
2009 * emulparams/elf_i386_ldso.sh: Likewise.
2010 * emulparams/elf_i386_vxworks.sh: Likewise.
2011 * emulparams/elf_iamcu.sh: Likewise.
2012 * emulparams/elf_k1om.sh: Likewise.
2013 * emulparams/elf_l1om.sh: Likewise.
2014 * emulparams/elf_x86_64.sh: Likewise.
2015 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2017 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2018 * testsuite/ld-elf/pr19719a.c: New file.
2019 * testsuite/ld-elf/pr19719b.c: Likewise.
2020 * testsuite/ld-elf/pr19719c.c: Likewise.
2021 * testsuite/ld-elf/pr19719d.c: Likewise.
2022 * testsuite/ld-i386/pr19636-1.s: Likewise.
2023 * testsuite/ld-i386/pr19636-1a.d: Likewise.
2024 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2025 * testsuite/ld-i386/pr19636-1c.d: Likewise.
2026 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2027 * testsuite/ld-i386/pr19636-1d.d: Likewise.
2028 * testsuite/ld-i386/pr19636-1e.d: Likewise.
2029 * testsuite/ld-i386/pr19636-1f.d: Likewise.
2030 * testsuite/ld-i386/pr19636-1g.d: Likewise.
2031 * testsuite/ld-i386/pr19636-1h.d: Likewise.
2032 * testsuite/ld-i386/pr19636-1i.d: Likewise.
2033 * testsuite/ld-i386/pr19636-2.s: Likewise.
2034 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2035 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2036 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2037 * testsuite/ld-i386/pr19636-2c.d: Likewise.
2038 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2039 * testsuite/ld-i386/pr19636-2d.d: Likewise.
2040 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2041 * testsuite/ld-i386/pr19636-2e.d: Likewise.
2042 * testsuite/ld-i386/pr19636-3.s: Likewise.
2043 * testsuite/ld-i386/pr19636-3a.d: Likewise.
2044 * testsuite/ld-i386/pr19636-3b.d: Likewise.
2045 * testsuite/ld-i386/pr19636-3c.d: Likewise.
2046 * testsuite/ld-i386/pr19636-3d.d: Likewise.
2047 * testsuite/ld-i386/pr19636-3e.d: Likewise.
2048 * testsuite/ld-i386/pr19636-3f.d: Likewise.
2049 * testsuite/ld-i386/pr19636-3g.d: Likewise.
2050 * testsuite/ld-i386/pr19636-4.s: Likewise.
2051 * testsuite/ld-i386/pr19636-4a.d: Likewise.
2052 * testsuite/ld-i386/pr19636-4b.d: Likewise.
2053 * testsuite/ld-i386/pr19636-4c.d: Likewise.
2054 * testsuite/ld-i386/pr19636-4d.d: Likewise.
2055 * testsuite/ld-i386/pr19704.out: Likewise.
2056 * testsuite/ld-i386/pr19704a.c: Likewise.
2057 * testsuite/ld-i386/pr19704b.c: Likewise.
2058 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2059 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2060 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2061 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2062 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2063 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2064 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2065 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2066 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2067 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2068 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2069 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2070 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2071 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2072 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2073 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2074 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2075 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2076 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2077 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2078 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2079 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2080 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2081 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2082 * testsuite/ld-x86-64/pr19704.out: Likewise.
2083 * testsuite/ld-x86-64/pr19704a.c: Likewise.
2084 * testsuite/ld-x86-64/pr19704b.c: Likewise.
2085 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2086 Run mix_pic_and_non_pic.
2087 * testsuite/ld-i386/i386.exp (undefined_weak): New.
2088 Run undefined_weak and PR ld/19636 tests.
2089 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2090 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2091 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2093 2016-02-25 Nick Clifton <nickc@redhat.com>
2095 * ld.h (struct ld_config_type): Remove specified_data_size field.
2097 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2100 * testsuite/ld-elf/pr19698.d: New file.
2101 * testsuite/ld-elf/pr19698.s: Likewise.
2102 * testsuite/ld-elf/pr19698.t: Likewise.
2104 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2106 * Makefile.am (ELF_X86_DEPS): New.
2107 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2108 (eelf_i386_chaos.c): Likewise.
2109 (eelf_i386_fbsd.c): Likewise.
2110 (eelf_i386_ldso.c): Likewise.
2111 (eelf_i386_nacl.c): Likewise.
2112 (eelf_i386_sol2.c): Likewise.
2113 (eelf_iamcu.c): Likewise.
2114 (eelf32_x86_64.c): Likewise.
2115 (eelf32_x86_64_nacl.c): Likewise.
2116 (eelf_l1om.c): Likewise.
2117 (eelf_l1om_fbsd.c): Likewise.
2118 (eelf_k1om.c): Likewise.
2119 (eelf_k1om_fbsd.c): Likewise.
2120 (eelf_x86_64.c): Likewise.
2121 (eelf_x86_64_cloudabi.c): Likewise.
2122 (eelf_x86_64_fbsd.c): Likewise.
2123 (eelf_x86_64_sol2.c): Likewise.
2124 * Makefile.in: Regenerated.
2126 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2128 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2129 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2130 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2131 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2133 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2135 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2137 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2139 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2140 *-*-gnu* and *-*-solaris*.
2141 * testsuite/ld-elf/pr19617b.d: Likewise.
2142 * testsuite/ld-elf/pr19617c.d: Likewise.
2144 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2147 * testsuite/ld-elf/pr19617.s: New file.
2148 * testsuite/ld-elf/pr19617a.d: Likewise.
2149 * testsuite/ld-elf/pr19617b.d: Likewise.
2150 * testsuite/ld-elf/pr19617c.d: Likewise.
2152 2016-02-18 Nick Clifton <nickc@redhat.com>
2154 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2155 in-tree xg++ executable after checking for the presence of an
2156 in-tree g++ executable.
2157 * Makefile.in: Regenerate.
2159 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2161 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2162 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2163 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2165 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2167 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2168 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2169 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2170 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2171 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2172 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2173 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2174 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2175 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2176 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2177 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2178 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2179 * testsuite/ld-x86-64/load1c.d: Likewise.
2180 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2181 * testsuite/ld-x86-64/load1d.d: Likewise.
2182 * testsuite/ld-x86-64/pr14207.d: Likewise.
2183 * testsuite/ld-x86-64/pr19162.d: Likewise.
2184 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2185 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2186 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2187 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2188 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2189 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2191 2016-02-17 Nick Clifton <nickc@redhat.com>
2193 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2195 2016-02-15 Nick Clifton <nickc@redhat.com>
2197 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2198 description of the flags produced by readelf.
2199 * testsuite/ld-i386/pr12921.d: Likewise.
2200 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2201 * testsuite/ld-i386/tlsbin.rd: Likewise.
2202 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2203 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2204 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2205 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2206 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2207 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2208 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2209 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2210 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2211 * testsuite/ld-i386/tlspic.rd: Likewise.
2212 * testsuite/ld-s390/tlsbin.rd: Likewise.
2213 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2214 * testsuite/ld-s390/tlspic.rd: Likewise.
2215 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2216 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2217 * testsuite/ld-sh/tlspic-2.d: Likewise.
2218 * testsuite/ld-tic6x/common.d: Likewise.
2219 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2220 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2221 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2222 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2223 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2224 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2225 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2226 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2227 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2228 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2229 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2230 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2231 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2232 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2233 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2234 * testsuite/ld-x86-64/pr12718.d: Likewise.
2235 * testsuite/ld-x86-64/pr12921.d: Likewise.
2236 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2237 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2238 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2239 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2240 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2241 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2242 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2243 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2244 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2245 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2246 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2247 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2248 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2249 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2251 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2254 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2256 * lexsup.c (parse_args): Enable -Bsymbolic and
2257 -Bsymbolic-functions for PIE.
2258 * testsuite/ld-i386/i386.exp: Run pr19615.
2259 * testsuite/ld-i386/pr19615.d: New file.
2260 * testsuite/ld-i386/pr19615.s: Likewise.
2261 * testsuite/ld-x86-64/pr19615.d: Likewise.
2262 * testsuite/ld-x86-64/pr19615.s: Likewise.
2264 2016-02-09 Nick Clifton <nickc@redhat.com>
2266 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2267 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2268 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2269 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2271 2016-02-04 Nick Clifton <nickc@redhat.com>
2273 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2274 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2275 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2276 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2277 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2278 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2279 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2280 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2281 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2283 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2286 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2287 * testsuite/ld-i386/call1.d: Likewise.
2288 * testsuite/ld-i386/call2.d: Likewise.
2289 * testsuite/ld-i386/call3a.d: Likewise.
2290 * testsuite/ld-i386/call3b.d: Likewise.
2291 * testsuite/ld-i386/call3c.d: Likewise.
2292 * testsuite/ld-i386/call3d.d: Likewise.
2293 * testsuite/ld-i386/call3e.d: Likewise.
2294 * testsuite/ld-i386/call3f.d: Likewise.
2295 * testsuite/ld-i386/call3g.d: Likewise.
2296 * testsuite/ld-i386/call3h.d: Likewise.
2297 * testsuite/ld-i386/jmp1.d: Likewise.
2298 * testsuite/ld-i386/jmp2.d: Likewise.
2299 * testsuite/ld-i386/lea1c.d: Likewise.
2300 * testsuite/ld-i386/load1.d: Likewise.
2301 * testsuite/ld-i386/load2.d: Likewise.
2302 * testsuite/ld-i386/load3.d: Likewise.
2303 * testsuite/ld-i386/load4a.d: Likewise.
2304 * testsuite/ld-i386/load5a.d: Likewise.
2305 * testsuite/ld-i386/mov2b.d: Likewise.
2306 * testsuite/ld-i386/mov3.d: Likewise.
2307 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2308 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2309 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2310 * testsuite/ld-x86-64/call1a.d: Likewise.
2311 * testsuite/ld-x86-64/call1b.d: Likewise.
2312 * testsuite/ld-x86-64/call1c.d: Likewise.
2313 * testsuite/ld-x86-64/call1d.d: Likewise.
2314 * testsuite/ld-x86-64/call1e.d: Likewise.
2315 * testsuite/ld-x86-64/call1f.d: Likewise.
2316 * testsuite/ld-x86-64/call1h.d: Likewise.
2317 * testsuite/ld-x86-64/call1i.d: Likewise.
2318 * testsuite/ld-x86-64/load1a.d: Likewise.
2319 * testsuite/ld-x86-64/load1b.d: Likewise.
2320 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2321 * testsuite/ld-i386/got1.dd: Updated.
2322 * testsuite/ld-i386/got1d.S (1): Removed.
2323 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2324 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2326 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2329 * testsuite/ld-x86-64/pr18591.d: New file.
2330 * testsuite/ld-x86-64/pr18591.s: Likewise.
2331 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2333 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2336 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2337 * testsuite/ld-elf/pr19553.map: New file.
2338 * testsuite/ld-elf/pr19553.map: Likewise.
2339 * testsuite/ld-elf/pr19553a.c: Likewise.
2340 * testsuite/ld-elf/pr19553b.c: Likewise.
2341 * testsuite/ld-elf/pr19553b.out: Likewise.
2342 * testsuite/ld-elf/pr19553c.c: Likewise.
2343 * testsuite/ld-elf/pr19553c.out: Likewise.
2344 * testsuite/ld-elf/pr19553d.c: Likewise.
2345 * testsuite/ld-elf/pr19553d.out: Likewise.
2347 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2350 * testsuite/ld-elf/pr19539.d: New file.
2351 * testsuite/ld-elf/pr19539.s: Likewise.
2352 * testsuite/ld-elf/pr19539.t: Likewise.
2354 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2357 * configure.ac (compressed_debug_sections): Replace == with =.
2358 * configure: Regenerated.
2360 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2362 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2363 * scripttempl/avrtiny.sc (.noinit): Likewise.
2365 2016-01-21 Nick Clifton <nickc@redhat.com>
2368 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2369 the arm-netbsdelf target.
2372 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2373 disassmebler output.
2374 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2375 * testsuite/ld-arm/vxworks1.dd: Likewise.
2376 * testsuite/ld-arm/vxworks1.rd: Likewise.
2377 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2379 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2381 * testsuite/ld-aarch64/farcall-section.d: Delete.
2382 * testsuite/ld-aarch64/farcall-section.s: Delete.
2383 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2384 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2385 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2386 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2387 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2389 2016-01-20 Nick Clifton <nickc@redhat.com>
2392 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2393 early for PE based targets.
2394 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2395 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2397 2016-01-20 Mickael Guene <mickael.guene@st.com>
2399 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2400 Add 'y' attribute usage.
2401 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2402 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2403 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2405 2016-01-19 Nick Clifton <nickc@redhat.com>
2407 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2408 foo@FOO and bar@@FOO.
2410 2016-01-18 Alan Modra <amodra@gmail.com>
2412 * configure: Regenerate.
2414 2016-01-18 Nick Clifton <nickc@redhat.com>
2416 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2417 is not configured to support plugins.
2419 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2420 but with 16 byte section alignment.
2421 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2422 test for MIPS targets.
2424 2016-01-17 Alan Modra <amodra@gmail.com>
2426 * configure: Regenerate.
2428 2016-01-17 Alan Modra <amodra@gmail.com>
2430 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2431 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2432 * testsuite/ld-elf/pr14156a.d: Likewise.
2433 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2434 * testsuite/ld-elf/sec64k.exp: Likewise.
2436 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2438 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2439 Set address of .foo section when linking.
2440 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2442 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2443 output to the above changes.
2445 2016-01-13 Nick Clifton <nickc@redhat.com>
2447 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2450 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2451 fail for MIPS targets.
2453 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2456 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2458 * testsuite/ld-arm/arm-elf.exp: New test.
2459 * testsuite/ld-arm/unwind-mix.d: New file.
2460 * testsuite/ld-arm/unwind-mix1.s: New file.
2461 * testsuite/ld-arm/unwind-mix2.s: New file.
2463 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2466 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2467 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2468 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2469 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2470 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2471 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2473 2016-01-05 Nick Clifton <nickc@redhat.com>
2475 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2476 MSP430 hardware multiply address range.
2477 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2478 (__romdatacopysize): Define.
2479 * scripttempl/elf32msp430_3.sc: Likewise.
2481 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2483 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2484 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2486 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2488 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2489 messages expected according to MIPS BFD private data merge
2491 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2492 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2493 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2494 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2495 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2496 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2497 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2498 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2499 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2500 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2501 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2502 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2503 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2505 2016-01-01 Alan Modra <amodra@gmail.com>
2507 Update year range in copyright notice of all files.
2509 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2511 Copyright (C) 2016 Free Software Foundation, Inc.
2513 Copying and distribution of this file, with or without modification,
2514 are permitted in any medium without royalty provided the copyright
2515 notice and this notice are preserved.
2521 version-control: never