1 2016-11-28 Nick Clifton <nickc@redhat.com>
4 * testsuite/ld-elf/loadaddr1.d: Update.
5 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
6 * testsuite/ld-scripts/phdrs3a.d: Update.
8 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
11 * testsuite/ld-elf/pr18720.rd: New file.
13 2016-11-27 Alan Modra <amodra@gmail.com>
16 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
18 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
20 * deffilep.y: Fix spelling in comments.
22 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
24 * scripttempl/ia64vms.sc: Fix spelling in comments.
25 * scripttempl/ip2k.sc: Fix spelling in comments.
26 * scripttempl/v850.sc: Fix spelling in comments.
27 * scripttempl/v850_rh850.sc: Fix spelling in comments.
29 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
31 * emultempl/avrelf.em: Fix spelling in comments.
32 * emultempl/elf32.em: Fix spelling in comments.
33 * emultempl/pe.em: Fix spelling in comments.
34 * emultempl/pep.em: Fix spelling in comments.
35 * emultempl/spuelf.em: Fix spelling in comments.
37 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
39 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
40 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
41 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
42 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
44 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
46 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
47 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
48 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
49 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
50 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
51 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
53 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
55 * deffile.h: Fix spelling in comments.
56 * ld.h: Fix spelling in comments.
57 * ldlang.c: Fix spelling in comments.
58 * ldmisc.c: Fix spelling in comments.
59 * pe-dll.c: Fix spelling in comments.
61 2016-11-24 Jiong Wang <jiong.wang@arm.com>
64 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
65 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
66 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
67 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
69 2016-11-24 Nick Clifton <nickc@redhat.com>
72 * emultempl/elf32.em (_search_needed): Allow for path separator
73 and terminating NUL byte when allocating space for new $ORIGIN
76 2016-11-23 Nick Clifton <nickc@redhat.com>
78 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
81 * ld.texinfo: Note that PT_TLS can be used as a segment type.
82 * testsuite/ld-discard/discard.ld: Add space for program headers.
83 * testsuite/ld-elf/flags1.ld: Likewise.
84 * testsuite/ld-elf/maxpage3.t: Likewise.
85 * testsuite/ld-elf/noload-1.t: Likewise.
86 * testsuite/ld-elf/orphan.ld: Likewise.
87 * testsuite/ld-elf/overlay.t: Likewise.
88 * testsuite/ld-elf/pr14052.t: Likewise.
89 * testsuite/ld-elf/pr19539.t: Likewise.
90 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
91 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
92 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
93 * testsuite/ld-i386/pr19539.t: Likewise.
94 * testsuite/ld-scripts/defined.t: Likewise.
95 * testsuite/ld-scripts/defined6.t: Likewise.
96 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
97 * testsuite/ld-scripts/empty-aligned.t: Likewise.
98 * testsuite/ld-scripts/provide-2.t: Likewise.
99 * testsuite/ld-scripts/provide-4.t: Likewise.
100 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
101 * testsuite/ld-x86-64/pr19539.t: Likewise.
102 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
104 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
105 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
106 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
107 * testsuite/ld-elf/noload-2.d: Likewise.
108 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
109 * testsuite/ld-scripts/phdrs3a.d: Likewise.
110 * testsuite/ld-scripts/size-2.d: Likewise.
111 * testsuite/ld-elf/group.ld: Add program headers.
112 * testsuite/ld-elf/overlay.d: Skip for SPU.
113 * testsuite/ld-elf/flags1.d: Skip for RX.
114 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
115 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
116 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
117 * testsuite/ld-scripts/size-2.t: Likewise.
119 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
121 * configure: Regenerate.
123 2016-11-22 Alan Modra <amodra@gmail.com>
126 * emultempl/ppc32elf.em (params): Update initializer. Handle
127 --vle-reloc-fixup command line arg.
129 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
132 * ld/testsuite/ld-avr/pr20789.d: New test.
133 * ld/testsuite/ld-avr/pr20789.s: New test.
136 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
139 * testsuite/ld-x86-64/pr20800a.S: New file.
140 * testsuite/ld-x86-64/pr20800b.S: Likewise.
141 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
143 2016-11-14 Nick Clifton <nickc@redhat.com>
145 * lexsup.c (parse_args): Add break at end of default case.
147 2016-11-10 Jiong Wang <jiong.wang@arm.com>
150 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
151 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
152 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
153 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
155 2016-11-07 Nick Clifton <nickc@redhat.com>
158 * emultempl/elf32.em (search_needed): Fix infinite loop when
159 unable to process a token. Add support for curly braced enclosed
161 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
164 2016-11-07 Nick Clifton <nickc@redhat.com>
166 * ld.texinfo (--compress-debug-sections): Expand documentation of
169 2016-11-04 Nick Clifton <nickc@redhat.com>
171 * emultempl/elf32.em (search_needed): Remove use of getauxval and
172 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
174 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
175 * configure: Regenerate.
176 * config.in: Regenerate.
178 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
180 * ldlang.h (struct lang_wild_statement_struct): Add
181 exclude_name_list field.
182 * ldlang.c (walk_wild_file_in_exclude_list): New function.
183 (walk_wild_consider_section): Use new
184 walk_wild_file_in_exclude_list function.
185 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
186 (print_wild_statement): Print new exclude_name_list field.
187 (lang_add_wild): Initialise new exclude_name_list field.
188 * testsuite/ld-scripts/exclude-file-1.d: New file.
189 * testsuite/ld-scripts/exclude-file-1.map: New file.
190 * testsuite/ld-scripts/exclude-file-1.t: New file.
191 * testsuite/ld-scripts/exclude-file-2.d: New file.
192 * testsuite/ld-scripts/exclude-file-2.map: New file.
193 * testsuite/ld-scripts/exclude-file-2.t: New file.
194 * testsuite/ld-scripts/exclude-file-3.d: New file.
195 * testsuite/ld-scripts/exclude-file-3.map: New file.
196 * testsuite/ld-scripts/exclude-file-3.t: New file.
197 * testsuite/ld-scripts/exclude-file-4.d: New file.
198 * testsuite/ld-scripts/exclude-file-4.map: New file.
199 * testsuite/ld-scripts/exclude-file-4.t: New file.
200 * testsuite/ld-scripts/exclude-file-a.s: New file.
201 * testsuite/ld-scripts/exclude-file-b.s: New file.
202 * testsuite/ld-scripts/exclude-file.exp: New file.
203 * ld.texinfo (Input Section Basics): Update description of
204 EXCLUDE_FILE to cover the new features.
205 * NEWS: Mention new EXCLUDE_FILE usage.
207 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
209 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
210 based on the original source file name.
211 * testsuite/ld-discard/extern.d: Update object file names.
212 * testsuite/ld-discard/start.d: Likewise.
213 * testsuite/ld-discard/static.d: Likewise.
214 * testsuite/ld-elf/orphan-8.map: Likewise.
216 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
218 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
219 xc16x-*-elf to the list of targets that don't support -shared.
221 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
223 * ldgram.y: Rename file_NAME_list to section_NAME_list
226 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
227 Andrew Waterman <andrew@sifive.com>
229 Add support for RISC-V architecture.
230 * Makefile.am: Add riscv files.
231 * Makefile.in: Regenerate.
232 * NEWS: Mention the support for this target.
233 * configure.tgt: Add riscv entries.
234 * emulparams/elf32lriscv-defs.sh: New file.
235 * emulparams/elf32lriscv.sh: New file.
236 * emulparams/elf64lriscv-defs.sh: New file.
237 * emulparams/elf64lriscv.sh: New file.
238 * emultempl/riscvelf.em: New file.
240 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
242 * ldmain.c (add_archive_element): Initialize input->header.type.
243 * plugin.c (plugin_maybe_claim): Assert the statement is an input
246 2016-10-15 Alan Modra <amodra@gmail.com>
248 * emultempl/spu_ovl.o_c: Regenerate.
250 2016-10-14 Alan Modra <amodra@gmail.com>
252 * scripttempl/DWARF.sc: Add .debug_addr.
254 2016-10-12 Alan Modra <amodra@gmail.com>
256 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
257 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
258 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
259 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
260 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
262 2016-10-11 Nick Clifton <nickc@redhat.com>
264 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
266 * ld-aarch64/emit-relocs-515.d: Likewise.
267 * ld-aarch64/emit-relocs-516-be.d: Likewise.
268 * ld-aarch64/emit-relocs-516.d: Likewise.
269 * ld-aarch64/farcall-b-plt.d: Likewise.
270 * ld-aarch64/farcall-bl-plt.d: Likewise.
271 * ld-aarch64/gc-plt-relocs.d: Likewise.
272 * ld-aarch64/tls-desc-ie.d: Likewise.
273 * ld-aarch64/tls-tiny-desc.d: Likewise.
274 * ld-aarch64/tls-tiny-gd.d: Likewise.
275 * ld-aarch64/tls-tiny-ie.d: Likewise.
276 * ld-arm/arm-app-abs32.d: Likewise.
277 * ld-arm/arm-app.d: Likewise.
278 * ld-arm/arm-lib-plt32.d: Likewise.
279 * ld-arm/arm-lib.d: Likewise.
280 * ld-arm/armthumb-lib.d: Likewise.
281 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
282 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
283 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
284 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
285 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
286 * ld-arm/farcall-mixed-app-v5.d: Likewise.
287 * ld-arm/farcall-mixed-app.d: Likewise.
288 * ld-arm/farcall-mixed-app2.d: Likewise.
289 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
290 * ld-arm/farcall-mixed-lib.d: Likewise.
291 * ld-arm/ifunc-10.dd: Likewise.
292 * ld-arm/ifunc-14.dd: Likewise.
293 * ld-arm/ifunc-15.dd: Likewise.
294 * ld-arm/ifunc-3.dd: Likewise.
295 * ld-arm/ifunc-4.dd: Likewise.
296 * ld-arm/ifunc-9.dd: Likewise.
297 * ld-arm/long-plt-format.d: Likewise.
298 * ld-arm/mixed-app-v5.d: Likewise.
299 * ld-arm/mixed-app.d: Likewise.
300 * ld-arm/mixed-lib.d: Likewise.
301 * ld-arm/tls-lib-loc.d: Likewise.
302 * ld-cris/dso-pltdis1.d: Likewise.
303 * ld-cris/dso-pltdis2.d: Likewise.
304 * ld-cris/dso12-pltdis.d: Likewise.
305 * ld-elf/symbolic-func.r: Likewise.
306 * ld-frv/fdpic-pie-1.d: Likewise.
307 * ld-frv/fdpic-pie-2.d: Likewise.
308 * ld-frv/fdpic-pie-6.d: Likewise.
309 * ld-frv/fdpic-pie-7.d: Likewise.
310 * ld-frv/fdpic-pie-8.d: Likewise.
311 * ld-frv/fdpic-shared-1.d: Likewise.
312 * ld-frv/fdpic-shared-2.d: Likewise.
313 * ld-frv/fdpic-shared-3.d: Likewise.
314 * ld-frv/fdpic-shared-4.d: Likewise.
315 * ld-frv/fdpic-shared-5.d: Likewise.
316 * ld-frv/fdpic-shared-6.d: Likewise.
317 * ld-frv/fdpic-shared-7.d: Likewise.
318 * ld-frv/fdpic-shared-8.d: Likewise.
319 * ld-frv/fdpic-shared-local-2.d: Likewise.
320 * ld-frv/fdpic-shared-local-8.d: Likewise.
321 * ld-frv/fdpic-static-1.d: Likewise.
322 * ld-frv/fdpic-static-2.d: Likewise.
323 * ld-frv/fdpic-static-6.d: Likewise.
324 * ld-frv/fdpic-static-7.d: Likewise.
325 * ld-frv/fdpic-static-8.d: Likewise.
326 * ld-frv/tls-dynamic-2.d: Likewise.
327 * ld-frv/tls-initial-shared-2.d: Likewise.
328 * ld-frv/tls-relax-shared-2.d: Likewise.
329 * ld-frv/tls-shared-2.d: Likewise.
330 * ld-i386/plt-nacl.pd: Likewise.
331 * ld-i386/plt-pic-nacl.pd: Likewise.
332 * ld-i386/plt-pic.pd: Likewise.
333 * ld-i386/plt.pd: Likewise.
334 * ld-i386/pr19636-1d-nacl.d: Likewise.
335 * ld-i386/pr19636-1d.d: Likewise.
336 * ld-i386/pr19636-2c-nacl.d: Likewise.
337 * ld-i386/pr19636-2c.d: Likewise.
338 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
339 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
340 * ld-ifunc/pr17154-i386.d: Likewise.
341 * ld-ifunc/pr17154-x86-64.d: Likewise.
342 * ld-m68k/plt1-68020.d: Likewise.
343 * ld-m68k/plt1-cpu32.d: Likewise.
344 * ld-m68k/plt1-isab.d: Likewise.
345 * ld-m68k/plt1-isac.d: Likewise.
346 * ld-metag/shared.d: Likewise.
347 * ld-metag/stub_pic_app.d: Likewise.
348 * ld-metag/stub_pic_shared.d: Likewise.
349 * ld-metag/stub_shared.d: Likewise.
350 * ld-s390/tlsbin_64.dd: Likewise.
351 * ld-s390/tlspic_64.dd: Likewise.
352 * ld-tic6x/shlib-1.dd: Likewise.
353 * ld-tic6x/shlib-1b.dd: Likewise.
354 * ld-tic6x/shlib-1rb.dd: Likewise.
355 * ld-tic6x/shlib-app-1.dd: Likewise.
356 * ld-tic6x/shlib-app-1b.dd: Likewise.
357 * ld-tic6x/shlib-app-1r.dd: Likewise.
358 * ld-tic6x/shlib-app-1rb.dd: Likewise.
359 * ld-tic6x/shlib-noindex.dd: Likewise.
360 * ld-vax-elf/export-class-data.dd: Likewise.
361 * ld-vax-elf/plt-local-lib.dd: Likewise.
362 * ld-vax-elf/plt-local.dd: Likewise.
363 * ld-x86-64/bnd-ifunc-2.d: Likewise.
364 * ld-x86-64/bnd-plt-1.d: Likewise.
365 * ld-x86-64/gotpcrel1.dd: Likewise.
366 * ld-x86-64/libno-plt-1b.dd: Likewise.
367 * ld-x86-64/load1c-nacl.d: Likewise.
368 * ld-x86-64/load1c.d: Likewise.
369 * ld-x86-64/load1d-nacl.d: Likewise.
370 * ld-x86-64/load1d.d: Likewise.
371 * ld-x86-64/mov1a.d: Likewise.
372 * ld-x86-64/mov1b.d: Likewise.
373 * ld-x86-64/mov1c.d: Likewise.
374 * ld-x86-64/mov1d.d: Likewise.
375 * ld-x86-64/mov2a.d: Likewise.
376 * ld-x86-64/mov2b.d: Likewise.
377 * ld-x86-64/mov2c.d: Likewise.
378 * ld-x86-64/mov2d.d: Likewise.
379 * ld-x86-64/mpx3.dd: Likewise.
380 * ld-x86-64/mpx4.dd: Likewise.
381 * ld-x86-64/no-plt-1a.dd: Likewise.
382 * ld-x86-64/no-plt-1b.dd: Likewise.
383 * ld-x86-64/no-plt-1c.dd: Likewise.
384 * ld-x86-64/no-plt-1e.dd: Likewise.
385 * ld-x86-64/no-plt-1f.dd: Likewise.
386 * ld-x86-64/no-plt-1g.dd: Likewise.
387 * ld-x86-64/plt-main-bnd.dd: Likewise.
388 * ld-x86-64/plt-nacl.pd: Likewise.
389 * ld-x86-64/plt.pd: Likewise.
390 * ld-x86-64/pr18591.d: Likewise.
391 * ld-x86-64/pr19609-1c.d: Likewise.
392 * ld-x86-64/pr19609-1e.d: Likewise.
393 * ld-x86-64/pr19609-1j.d: Likewise.
394 * ld-x86-64/pr19609-1l.d: Likewise.
395 * ld-x86-64/pr19609-1m.d: Likewise.
396 * ld-x86-64/pr19609-5b.d: Likewise.
397 * ld-x86-64/pr19609-5c.d: Likewise.
398 * ld-x86-64/pr19609-5e.d: Likewise.
399 * ld-x86-64/pr19609-6b.d: Likewise.
400 * ld-x86-64/pr19609-7b.d: Likewise.
401 * ld-x86-64/pr19609-7d.d: Likewise.
402 * ld-x86-64/pr19636-2d.d: Likewise.
403 * ld-x86-64/pr20093-1.d: Likewise.
404 * ld-x86-64/pr20093-2.d: Likewise.
405 * ld-x86-64/pr20253-1b.d: Likewise.
406 * ld-x86-64/pr20253-1d.d: Likewise.
407 * ld-x86-64/pr20253-1f.d: Likewise.
408 * ld-x86-64/pr20253-1h.d: Likewise.
409 * ld-x86-64/pr20253-1j.d: Likewise.
410 * ld-x86-64/pr20253-1l.d: Likewise.
411 * ld-x86-64/protected3.d: Likewise.
412 * ld-x86-64/tlsbin.dd: Likewise.
413 * ld-x86-64/tlsbin2.dd: Likewise.
414 * ld-x86-64/tlsbindesc.dd: Likewise.
415 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
416 * ld-x86-64/tlsdesc.dd: Likewise.
417 * ld-x86-64/tlsdesc.pd: Likewise.
418 * ld-x86-64/tlsgd10.dd: Likewise.
419 * ld-x86-64/tlsgd5.dd: Likewise.
420 * ld-x86-64/tlsgd6.dd: Likewise.
421 * ld-x86-64/tlsgd8.dd: Likewise.
422 * ld-x86-64/tlsgdesc.dd: Likewise.
423 * ld-x86-64/tlspic.dd: Likewise.
424 * ld-x86-64/tlspic2.dd: Likewise.
426 2016-10-11 Nick Clifton <nickc@redhat.com>
429 * emultempl/elf32.em (_search_needed): Add support for pseudo
430 environment variables supported by ld.so. Namely $ORIGIN, $LIB
432 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
433 * config.in: Regenerate.
434 * configure: Regenerate.
436 2016-10-11 Alan Modra <amodra@gmail.com>
438 * ldlang.c (lang_do_assignments_1): Descend into output section
439 statements that do not yet have bfd sections. Set symbol section
440 temporarily for symbols defined in such statements to the undefined
441 section. Don't error on data or reloc statements until final phase.
442 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
444 * testsuite/ld-mmix/bpo-10.d: Adjust.
445 * testsuite/ld-mmix/bpo-11.d: Adjust.
447 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
449 * emulparams/elf64_s390.sh: Move binary start to 16M.
450 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
451 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
453 2016-10-07 Alan Modra <amodra@gmail.com>
455 * ldexp.c (MAX): Define.
456 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
459 2016-10-07 Alan Modra <amodra@gmail.com>
461 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
462 * testsuite/ld-elf/elf.exp: ..here.
464 2016-10-06 Ludovic Courtès <ludo@gnu.org>
466 * emulparams/elf32bmipn32-defs.sh: Shift quote of
467 "x$EMULATION_NAME" to the left to work around
468 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
470 2016-10-06 Alan Modra <amodra@gmail.com>
472 * lexsup.c: Spell fall through comments consistently and add
473 missing fall through comments.
475 2016-10-06 Alan Modra <amodra@gmail.com>
477 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
480 2016-10-04 Alan Modra <amodra@gmail.com>
482 * ld.texinfo (Expression Section): Update result of arithmetic
484 * ldexp.c (arith_result_section): New function.
485 (fold_binary): Use it.
487 2016-10-04 Alan Modra <amodra@gmail.com>
489 * ldexp.c (exp_value_fold): New function.
490 (exp_unop, exp_binop, exp_trinop): Use it.
492 2016-09-30 Alan Modra <amodra@gmail.com>
494 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
496 * scripttempl/v850_rh850.sc: Likewise.
498 2016-09-30 Alan Modra <amodra@gmail.com>
501 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
502 multiple .text sections for hppa-linux.
503 * testsuite/ld-elf/pr20528b.d: Likewise.
505 2016-09-30 Alan Modra <amodra@gmail.com>
507 * ldmain.c (default_bfd_error_handler): New function pointer.
508 (ld_bfd_error_handler): New function.
509 (main): Arrange to call it on bfd errors/warnings.
510 (ld_bfd_assert_handler): Enable tail call.
512 2016-09-30 Alan Modra <amodra@gmail.com>
514 * ldlang.c (ignore_bfd_errors): Update params.
516 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
519 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
520 merge 2 sections with different SHF_EXCLUDE.
521 * testsuite/ld-elf/pr20528a.d: New file.
522 * testsuite/ld-elf/pr20528a.s: Likewise.
523 * testsuite/ld-elf/pr20528b.d: Likewise.
524 * testsuite/ld-elf/pr20528b.s: Likewise.
526 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
529 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
530 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
531 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
532 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
533 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
535 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
537 * Makefile.in: Regenerate.
538 * configure: Likewise.
540 2016-09-26 Alan Modra <amodra@gmail.com>
542 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
543 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
544 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
545 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
546 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
547 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
548 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
549 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
550 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
551 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
552 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
553 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
554 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
555 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
556 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
557 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
558 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
560 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
563 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
564 line and -r option to objdump command line. Match emitted relocs
565 to make sure that superflous relocs are not generated.
567 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
569 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
570 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
571 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
573 2016-09-22 Nick Clifton <nickc@redhat.com>
575 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
576 attempts to find a needed library.
578 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
580 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
582 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
583 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
584 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
585 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
586 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
587 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
588 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
589 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
590 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
591 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
592 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
593 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
594 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
595 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
596 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
597 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
598 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
599 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
600 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
601 * testsuite/ld-aarch64/erratum835769.d: Likewise.
602 * testsuite/ld-aarch64/erratum843419.d: Likewise.
603 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
604 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
605 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
606 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
607 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
608 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
609 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
610 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
611 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
612 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
613 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
614 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
615 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
616 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
617 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
618 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
619 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
620 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
622 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
624 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
625 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
627 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
629 * ld.texinfo (Input Section Basics): Expand the description of
632 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
634 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
635 Extensions entry functions in absolute section.
636 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
638 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
640 * testsuite/ld-arc/tls-dtpoff.dd: New file.
641 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
642 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
643 * testsuite/ld-arc/tls-relocs.ld: Likewise.
644 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
646 2016-09-14 Nick Clifton <nickc@redhat.com>
649 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
650 OPTION_NO_EH_FRAME_HDR.
651 (_add_options): Add support for --no-eh-frame-hdr.
652 * ld.texinfo: Document new option.
653 * lexsup.c (elf_shlib_list_options): List new option.
654 * NEWS: Mention the new option.
656 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
659 * testsuite/ld-x86-64/pr20550a.s: New file.
660 * testsuite/ld-x86-64/pr20550b.s: Likewise.
661 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
664 2016-09-06 Nick Clifton <nickc@redhat.com>
666 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
667 without any sanitization options.
668 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
669 any sanitization options.
670 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
671 as CFLAGS and CXXFLAGS respectively.
673 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
676 * testsuite/ld-avr/avr-prop-7.d: New test.
677 * testsuite/ld-avr/avr-prop-7.s: New test.
678 * testsuite/ld-avr/avr-prop-8.d: New test.
679 * testsuite/ld-avr/avr-prop-8.s: New test.
681 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
683 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
685 * testsuite/ld-elf/pr20513d.d: Likewise.
687 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
690 * testsuite/ld-elf/pr20513a.d: New file.
691 * testsuite/ld-elf/pr20513a.s: Likewise.
692 * testsuite/ld-elf/pr20513b.d: Likewise.
693 * testsuite/ld-elf/pr20513b.s: Likewise.
694 * testsuite/ld-elf/pr20513c.d: Likewise.
695 * testsuite/ld-elf/pr20513d.d: Likewise.
696 * testsuite/ld-elf/pr20513e.d: Likewise.
697 * testsuite/ld-elf/pr20513f.d: Likewise.
699 2016-08-31 Alan Modra <amodra@gmail.com>
702 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
704 2016-08-31 Alan Modra <amodra@gmail.com>
706 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
707 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
708 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
709 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
710 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
712 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
714 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
715 * testsuite/ld-arc/tls_ie-01.d: Likewise.
717 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
719 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
720 if ifunc attribute works.
722 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
726 * testsuite/ld-i386/i386.exp: Run pr20515.
727 * testsuite/ld-i386/pr20515.d: New file.
728 * testsuite/ld-i386/pr20515.s: Likewise.
729 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
731 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
732 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
733 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
734 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
735 * testsuite/ld-x86-64/x86-64.exp: Here.
736 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
737 * testsuite/ld-x86-64/pr19784a.c: Here.
738 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
739 * testsuite/ld-x86-64/pr19784b.c: Here.
740 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
741 * testsuite/ld-x86-64/pr19784c.c: Here.
743 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
745 * emultempl/armelf.em (params): New static variable.
746 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
747 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
748 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
749 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
751 (arm_elf_before_allocation): Access static variable from the params
753 (gld${EMULATION_NAME}_finish): Likewise.
754 (arm_elf_create_output_section_statements): Likewise and pass the
755 address of that structure to bfd_elf32_arm_set_target_relocs instead
756 of the static variables.
757 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
760 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
762 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
763 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
765 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
767 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
768 * testsuite/ld-arc/tls_ie-01.d: Likewise
770 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
772 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
774 (arm_elf_create_output_section_statements): Open import input library
775 file for writing and pass resulting in_implib_bfd to
776 bfd_elf32_arm_set_target_relocs.
777 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
778 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
779 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
780 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
781 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
782 (--in-implib): Document new option.
784 * testsuite/ld-arm/arm-elf.exp
785 (Secure gateway import library generation): add --defsym VER=1 to gas
787 (Secure gateway import library generation: errors): Likewise.
788 (Input secure gateway import library): New test.
789 (Input secure gateway import library: no output import library):
791 (Input secure gateway import library: not an SG input import library):
793 (Input secure gateway import library: earlier stub section base):
795 (Input secure gateway import library: later stub section base):
797 (Input secure gateway import library: veneer comeback): Likewise.
798 (Input secure gateway import library: entry function change):
800 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
801 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
802 * testsuite/ld-arm/cmse-new-implib.out: New file.
803 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
804 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
805 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
806 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
807 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
808 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
810 2016-08-25 Alan Modra <amodra@gmail.com>
812 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
813 support for BE. First output all target endian configury
814 values, then opposite endian. Handle more tooldirs. Fix
815 bogus matches with strings in MANUF-OS part of target triple.
817 2016-08-23 Alan Modra <amodra@gmail.com>
819 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
822 2016-08-19 Nick Clifton <nickc@redhat.com>
824 * emultempl/aarch64elf.em (before_parse): Initialise the relro
825 field in the link_info structure.
826 * emultempl/armelf.em (before_parse): Likewise.
827 * emultempl/linux.em (before_parse): Likewise.
828 * emultempl/scoreelf.em (before_parse): Likewise.
830 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
831 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
832 * testsuite/ld-alpha/tlspic.rd: Likewise.
833 * testsuite/ld-cris/libdso-2.d: Likewise.
834 * testsuite/ld-i386/nogot1.d: Likewise.
835 * testsuite/ld-i386/pr12718.d: Likewise.
836 * testsuite/ld-i386/pr12921.d: Likewise.
837 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
838 * testsuite/ld-i386/tlsbin.rd: Likewise.
839 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
840 * testsuite/ld-i386/tlsbin2.rd: Likewise.
841 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
842 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
843 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
844 * testsuite/ld-i386/tlsdesc.rd: Likewise.
845 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
846 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
847 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
848 * testsuite/ld-i386/tlsnopic.rd: Likewise.
849 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
850 * testsuite/ld-i386/tlspic.rd: Likewise.
851 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
852 * testsuite/ld-i386/tlspic2.rd: Likewise.
853 * testsuite/ld-ia64/tlsbin.rd: Likewise.
854 * testsuite/ld-ia64/tlspic.rd: Likewise.
855 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
856 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
857 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
858 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
859 * testsuite/ld-mmix/bspec1.d: Likewise.
860 * testsuite/ld-mmix/bspec2.d: Likewise.
861 * testsuite/ld-mmix/local1.d: Likewise.
862 * testsuite/ld-mmix/local3.d: Likewise.
863 * testsuite/ld-mmix/local5.d: Likewise.
864 * testsuite/ld-mmix/local7.d: Likewise.
865 * testsuite/ld-mmix/undef-3.d: Likewise.
866 * testsuite/ld-powerpc/tlsexe.r: Likewise.
867 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
868 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
869 * testsuite/ld-powerpc/tlsso.r: Likewise.
870 * testsuite/ld-powerpc/tlsso32.r: Likewise.
871 * testsuite/ld-powerpc/tlstocso.r: Likewise.
872 * testsuite/ld-s390/tlsbin.rd: Likewise.
873 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
874 * testsuite/ld-s390/tlspic.rd: Likewise.
875 * testsuite/ld-s390/tlspic_64.rd: Likewise.
876 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
877 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
878 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
879 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
880 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
881 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
882 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
883 * testsuite/ld-sh/tlsbin-2.d: Likewise.
884 * testsuite/ld-sh/tlspic-2.d: Likewise.
885 * testsuite/ld-sparc/gotop32.rd: Likewise.
886 * testsuite/ld-sparc/gotop64.rd: Likewise.
887 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
888 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
889 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
890 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
891 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
892 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
893 * testsuite/ld-tic6x/common.d: Likewise.
894 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
895 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
896 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
897 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
898 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
899 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
900 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
901 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
902 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
903 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
904 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
905 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
906 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
907 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
908 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
909 * testsuite/ld-x86-64/nogot1.d: Likewise.
910 * testsuite/ld-x86-64/pr12718.d: Likewise.
911 * testsuite/ld-x86-64/pr12921.d: Likewise.
912 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
913 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
914 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
915 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
916 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
917 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
918 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
919 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
920 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
921 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
922 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
923 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
924 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
925 * testsuite/ld-x86-64/tlspic.rd: Likewise.
926 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
927 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
928 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
929 * testsuite/ld-xtensa/tlspic.rd: Likewise.
931 2016-08-18 Alan Modra <amodra@gmail.com>
933 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
936 2016-08-12 Alan Modra <amodra@gmail.com>
938 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
939 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
940 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
941 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
942 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
943 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
944 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
945 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
946 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
947 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
948 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
949 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
950 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
952 2016-08-12 Alan Modra <amodra@gmail.com>
954 * testsuite/ld-undefined/weak-fundef.s: New.
955 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
956 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
957 much of old code. Use is_elf_format to select targets.
959 2016-08-11 Alan Modra <amodra@gmail.com>
962 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
964 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
966 2016-08-11 Nick Clifton <nickc@redhat.com>
969 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
970 testing remotely, check to see if target compiler is installed
971 before trying to run it.
973 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
976 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
979 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
981 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
983 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
985 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
986 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
987 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
989 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
991 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
993 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
996 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
998 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1000 (check_lto_fat_available): Likewise.
1001 (check_lto_shared_available): Likewise.
1003 2016-08-09 Roland McGrath <roland@hack.frob.com>
1005 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1007 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1009 * emultempl/armelf.em (cmse_implib): Declare and define this new
1011 (arm_elf_create_output_section_statements): Add new cmse_implib
1013 (OPTION_CMSE_IMPLIB): Define macro.
1014 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1015 (PARSE_AND_LIST_OPTIONS): Likewise.
1016 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1017 * ld.texinfo (--cmse-implib): Document new option.
1018 * testsuite/ld-arm/arm-elf.exp
1019 (Secure gateway import library generation): New test.
1020 (Secure gateway import library generation: errors): Likewise.
1021 * testsuite/ld-arm/cmse-implib.s: New file.
1022 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1023 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1025 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1027 * ld.texinfo (Placement of SG veneers): New concept entry.
1028 * testsuite/ld-arm/arm-elf.exp
1029 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1030 (Secure gateway veneers: wrong entry functions): Likewise.
1031 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1032 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1033 * testsuite/ld-arm/cmse-veneers.s: New file.
1034 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1035 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1036 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1037 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1038 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1040 2016-08-02 Nick Clifton <nickc@redhat.com>
1043 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1045 * emulparams/shelf32.sh: Likewise.
1046 * emulparams/shelf32.sh: Likewise.
1047 * emulparams/shelf_nto.sh: Likewise.
1048 * emulparams/shelf_nto.sh: Likewise.
1049 * emulparams/shelf_vxworks.sh: Likewise.
1050 * emulparams/shelf_vxworks.sh: Likewise.
1051 * emulparams/shlelf32_linux.sh: Likewise.
1052 * emulparams/shlelf32_linux.sh: Likewise.
1053 * emulparams/shlelf_linux.sh: Likewise.
1054 * emulparams/shlelf_linux.sh: Likewise.
1055 * emulparams/shlelf_nto.sh: Likewise.
1056 * emulparams/shlelf_nto.sh: Likewise.
1058 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1060 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1061 patterns for branch compaction.
1062 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1065 2016-07-27 Nick Clifton <nickc@redhat.com>
1067 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1068 test to targets which support cfi.
1070 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1072 * ldbuildid.c (generate_build_id): Warning fix.
1074 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1076 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1077 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1078 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1079 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1081 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1083 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1085 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1087 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1089 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1091 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1093 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1095 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1097 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1099 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1101 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1103 * ldbuildid.c: Changes for MinGW32:
1104 Include windows.h and rpcdce.h.
1105 (validate_build_id_style): Allow "uuid" style.
1106 (generate_build_id): Fill in id_bits using UuidCreate().
1108 2016-07-25 Alan Modra <amodra@gmail.com>
1110 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1111 and m32r. Correct comment. Relax ld -r match to account for
1112 msp increased number of default sections.
1114 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1116 * testsuite/ld-arc/got-01.d: New file.
1117 * testsuite/ld-arc/got-01.s: New file.
1119 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1121 * configure: Regenerated.
1123 2016-07-21 Alan Modra <amodra@gmail.com>
1125 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1126 "targets_to_xfail" parameter with "args".
1127 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1128 all calls to run_ld_link_exec_tests.
1129 * testsuite/ld-elf/dwarf.exp: Likewise.
1130 * testsuite/ld-elf/indirect.exp: Likewise.
1131 * testsuite/ld-elf/wrap.exp: Likewise.
1132 * testsuite/ld-i386/i386.exp: Likewise.
1133 * testsuite/ld-i386/no-plt.exp: Likewise.
1134 * testsuite/ld-i386/tls.exp: Likewise.
1135 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1136 * testsuite/ld-pie/pie.exp: Likewise.
1137 * testsuite/ld-plugin/lto.exp: Likewise.
1138 * testsuite/ld-size/size.exp: Likewise.
1139 * testsuite/ld-x86-64/mpx.exp: Likewise.
1140 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1141 * testsuite/ld-x86-64/tls.exp: Likewise.
1142 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1143 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1144 xfails and simplify lists.
1145 * testsuite/ld-elf/shared.exp: Likewise.
1147 2016-07-21 Alan Modra <amodra@gmail.com>
1149 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1150 parameter to pass list of xfails.
1151 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1152 implib test formatting. Don't set .data start address.
1153 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1154 replace second one with equivalent .section directive.
1155 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1156 * testsuite/ld-elf/implib.rd: Update.
1158 2016-07-20 Alan Modra <amodra@gmail.com>
1160 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1162 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1164 2016-07-19 Roland McGrath <roland@hack.frob.com>
1166 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1167 * emulparams/aarch64elf32.sh: Likewise.
1169 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1171 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1173 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1174 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1175 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1176 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1177 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1178 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1179 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1180 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1181 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1182 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1183 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1184 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1185 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1186 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1187 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1188 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1189 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1190 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1191 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1193 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1195 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1197 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1199 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1201 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1202 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1204 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1206 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1207 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1208 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1209 microMIPS BAL and MIPS16 instructions.
1210 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1212 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1213 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1214 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1215 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1216 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1217 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1218 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1219 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1220 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1222 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1224 * plugin.c (plugin_call_claim_file): Restore the file offset after
1225 an unsuccessful attempt to claim a file.
1226 * testplug.c (bytes_to_read_before_claim): New global.
1227 (record_read_length): New function, sets new global
1228 bytes_to_read_before_claim.
1229 (parse_option): Handle 'read:<NUMBER>' option.
1230 (onclaim_file): Read file content before checking for claim.
1231 * testsuite/ld-plugin/plugin-30.d: New file.
1232 * testsuite/ld-plugin/plugin.exp: Add new test.
1234 2016-07-16 Alan Modra <amodra@gmail.com>
1236 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1237 before bfd/plugin.h.
1238 (plugin_object_p): Use bfd_plugin_open_input.
1240 2016-07-16 Alan Modra <amodra@gmail.com>
1242 * ldlang.c (open_output): Replace bfd_search_for_target with
1243 bfd_iterate_over_targets. Localize vars.
1245 2016-07-16 Alan Modra <amodra@gmail.com>
1247 * ldlang.c: Don't include libbfd.h.
1248 * emultempl/nds32elf.em: Likewise.
1249 * emultempl/ppc64elf.em: Likewise.
1250 * emultempl/ppc32elf.em: Likewise.
1252 (params): Update init.
1253 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1254 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1255 * emultempl/sh64elf.em: Don't include libbfd.h.
1256 (after_allocation): Use ASSERT, not BFD_ASSERT.
1257 * emultempl/xtensaelf.em: Don't include libbfd.h.
1258 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1259 * Makefile.am: Update dependencies.
1260 * Makefile.in: Regenerate.
1262 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1263 Nick Clifton <nickc@redhat.com>
1265 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1266 library file for writing and initialize implib_bfd field of link_info
1268 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1269 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1270 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1271 (gld_${EMULATION_NAME}_list_options): Likewise.
1272 (gld${EMULATION_NAME}_handle_option): Likewise.
1273 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1274 instead of pe_implib_filename.
1275 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1276 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1277 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1278 (gld_${EMULATION_NAME}_list_options): Likewise.
1279 (gld${EMULATION_NAME}_handle_option): Likewise.
1280 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1281 instead of pep_implib_filename.
1282 * ld.h (args_type): Declare new out_implib_filename field.
1283 * ld.texinfo (--out-implib): Move documentation to arch-independent
1284 part and rephrase to apply to ELF targets.
1285 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1286 defined in linker scripts.
1287 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1289 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1290 (parse_args): Handle OPTION_OUT_IMPLIB case.
1291 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1292 (Generate import library): Likewise.
1293 * testsuite/ld-elf/implib.s: Likewise.
1294 * testsuite/ld-elf/implib.rd: New file.
1295 * testsuite/ld-elf/empty-implib.out: Likewise
1297 2016-07-15 Nick Clifton <nickc@redhat.com>
1299 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1302 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1304 * testsuite/ld-mips-elf/mips-elf.exp: Run
1305 `branch-absolute-addend', `mips16-branch-absolute',
1306 `mips16-branch-absolute-addend' and
1307 `micromips-branch-absolute-addend'.
1309 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1311 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1312 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1313 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1314 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1316 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1318 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1320 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1321 from `mips16-branch-absolute' and
1322 `mips16-branch-absolute-addend', referred indirectly only.
1324 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1326 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1327 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1328 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1329 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1330 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1331 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1332 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1333 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1335 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1337 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1339 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1341 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1343 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1344 from `branch-absolute-addend' and
1345 `micromips-branch-absolute-addend', referred indirectly only.
1347 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1349 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1350 * testsuite/ld-arc/sda-relocs.dd: New file.
1351 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1352 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1353 * testsuite/ld-arc/sda-relocs.s: Likewise.
1354 * testsuite/ld-arc/arc.exp: Add SDA tests.
1356 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1358 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1361 2016-07-09 Alan Modra <amodra@gmail.com>
1363 * testsuite/ld-powerpc/elfv2exe.d: Update.
1365 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1367 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1371 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1373 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1375 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1377 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1378 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1379 * testsuite/ld-arm/arm-elf.exp: Run it.
1381 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1383 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1384 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1385 all noread's by purecode.
1387 2016-07-05 Jan Beulich <jbeulich@suse.com>
1389 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1390 assignment line number.
1391 * ldlex.l (lineno): Drop initializer.
1392 (<<EOF>>): Set lineno to zero after reaching top of stack.
1394 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1397 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1398 been loaded already.
1399 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1400 * testsuite/ld-plugin/pr20321.c: New file.
1402 2016-07-04 Nick Clifton <nickc@redhat.com>
1404 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1405 (__RAMSIZE): If not defined, set to 64K.
1406 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1409 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1411 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1412 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1414 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1416 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1417 (Thumb-2 BL on ARMv6-M): New testcase.
1418 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1419 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1421 2016-07-01 Tristan Gingold <gingold@adacore.com>
1423 * NEWS: Add marker for 2.27.
1425 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1427 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1428 * ld-gc/pr20306.c: New file.
1429 * ld-gc/pr20306.d: Likewise.
1431 2016-06-28 Nick Clifton <nickc@redhat.com>
1433 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1435 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1436 tests to fail for bfin.
1437 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1439 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1441 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1444 2016-06-28 Nick Clifton <nickc@redhat.com>
1446 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1447 expect to fail this test.
1448 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1450 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1452 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1453 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1454 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1455 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1456 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1458 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1460 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1463 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1465 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1466 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1467 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1468 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1470 2016-06-28 Alan Modra <amodra@gmail.com>
1473 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1475 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1477 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1478 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1479 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1480 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1481 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1482 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1484 2016-06-27 Nick Clifton <nickc@redhat.com>
1487 * lexsup.c (set_segment_start): If resetting the start address of
1488 a section, remember to generate a new script element as well.
1489 * testsuite/ld-scripts/pr20302.d: New test.
1490 * testsuite/ld-scripts/scripts.exp: Run the new test.
1492 2016-06-24 Alan Modra <amodra@gmail.com>
1494 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1495 Don't error out, always return an emulation.
1497 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1498 H.J. Lu <hongjiu.lu@intel.com>
1500 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1501 for -z relro help message.
1503 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1505 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1508 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1510 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1511 `undefweak-overflow' tests.
1513 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1516 * NEWS: Mention --enable-relro.
1517 * configure.ac: Add --enable-relro.
1518 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1519 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1521 * config.in: Regenerated.
1522 * configure: Likewise.
1523 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1524 link_info.relro to DEFAULT_LD_Z_RELRO.
1525 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1526 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1527 $ld_elf_shared_opt to ld for ELF targets with shared object
1529 (run_ld_link_tests): Likewise.
1531 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1533 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1534 twice rather than once.
1535 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1536 accordingly. Remove the full stop from the end of the message.
1538 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1540 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1541 * testsuite/ld-arc/nps-1b.d: Likewise.
1543 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1546 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1548 (lto_run_tests): Likewise.
1549 * testsuite/ld-plugin/pr20267a.c: New file.
1550 * testsuite/ld-plugin/pr20267b.c: Likewise.
1552 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1553 Alan Modra <amodra@gmail.com>
1556 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1557 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1559 (lto_run_tests): Likewise.
1560 * testsuite/ld-plugin/pass.out: New file.
1561 * testsuite/ld-plugin/pr20276a.c: Likewise.
1562 * testsuite/ld-plugin/pr20276b.c: Likewise.
1564 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1566 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1567 with bfd_plugin_unknown.
1569 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1572 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1573 * testsuite/ld-i386/no-plt.exp: Likewise.
1574 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1575 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1576 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1577 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1578 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1579 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1580 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1581 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1582 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1583 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1584 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1585 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1586 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1587 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1588 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1589 * testsuite/ld-i386/pr20244-2b.d: Updated.
1590 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1591 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1592 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1593 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1594 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1595 * testsuite/ld-i386/pr20253-1a.c: New file.
1596 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1597 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1598 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1599 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1600 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1601 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1602 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1603 * testsuite/ld-i386/pr20253-3.d: Likewise.
1604 * testsuite/ld-i386/pr20253-3.s: Likewise.
1605 * testsuite/ld-i386/pr20253-4.s: Likewise.
1606 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1607 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1608 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1609 * testsuite/ld-i386/pr20253-5.d: Likewise.
1610 * testsuite/ld-i386/pr20253-5.s: Likewise.
1611 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1612 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1613 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1614 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1615 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1616 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1617 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1618 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1619 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1620 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1621 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1622 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1623 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1624 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1625 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1626 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1627 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1628 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1629 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1630 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1631 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1632 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1633 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1634 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1635 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1636 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1637 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1638 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1639 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1640 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1641 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1642 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1643 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1644 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1645 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1646 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1647 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1648 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1649 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1650 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1651 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1652 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1654 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1655 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1656 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1657 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1658 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1660 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1661 Tony Wang <tony.wang@arm.com>
1663 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1664 Assemble for ARMv6-M.
1665 (Thumb2-Thumb2 farcall M profile): New testcase.
1666 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1667 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1668 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1669 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1671 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1673 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1674 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1675 Remove .rel.plt section.
1676 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1678 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1680 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1682 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1683 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1684 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1686 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1687 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1688 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1689 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1690 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1691 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1692 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1693 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1694 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1695 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1696 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1697 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1698 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1699 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1700 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1701 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1702 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1703 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1704 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1706 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1709 * testsuite/ld-avr/avr-prop-6.d: New test.
1710 * testsuite/ld-avr/avr-prop-6.s: New test.
1712 2016-06-14 Alan Modra <amodra@gmail.com>
1714 * ldbuildid.c: Formatting.
1715 * ldcref.c: Formatting.
1716 * ldctor.c: Formatting.
1717 * ldemul.c: Formatting.
1718 * ldexp.c: Formatting.
1719 * ldfile.c: Formatting.
1720 * ldlang.c: Formatting.
1721 * ldmain.c: Formatting.
1722 * ldwrite.c: Formatting.
1724 2016-06-14 Alan Modra <amodra@gmail.com>
1726 * ldlang.c: Expand uses of bfd_my_archive.
1727 * ldmain.c: Likewise.
1728 * ldmisc.c: Likewise.
1729 * plugin.c: Likewise.
1731 2016-06-14 Alan Modra <amodra@gmail.com>
1734 * ldmain.c (add_archive_element): Just print file name of file within
1736 * ldmisc.c (vfinfo): Likewise.
1737 * plugin.c (plugin_object_p): Open file within thin archives.
1738 (plugin_maybe_claim): Expand comment.
1740 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1743 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1744 pr20244-2c and pr20244-2d.
1745 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1746 * testsuite/ld-i386/pr20244-2.s: New file.
1747 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1748 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1749 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1750 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1751 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1752 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1753 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1754 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1756 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1758 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1759 * testsuite/ld-i386/ifunc-1a.c: New file.
1760 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1761 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1762 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1764 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1766 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1767 big endian ARC targets.
1769 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1771 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1772 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1773 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1774 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1775 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1776 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1777 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1778 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1779 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1780 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1781 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1782 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1783 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1784 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1785 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1787 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1790 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1791 * testsuite/ld-i386/pr20244-1.s: New file.
1792 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1793 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1794 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1796 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1799 * testsuite/ld-avr/avr-prop-5.d: New.
1800 * testsuite/ld-avr/avr-prop-5.s: New.
1802 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1804 * testsuite/ld-avr/lds-mega.d: New test.
1805 * testsuite/ld-avr/lds-mega.s: New test source.
1806 * testsuite/ld-avr/lds-tiny.d: New test.
1807 * testsuite/ld-avr/lds-tiny.s: New test source.
1809 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1811 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1812 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1813 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1814 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1815 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1816 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1817 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1818 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1819 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1820 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1821 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1822 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1823 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1824 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1825 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1826 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1827 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1828 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1829 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1830 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1831 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1832 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1833 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1834 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1835 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1836 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1837 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1838 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1839 * testsuite/ld-i386/no-plt.exp: Likewise.
1841 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1843 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1846 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1848 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1849 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1850 * testsuite/ld-i386/pass.out: New file.
1851 * testsuite/ld-i386/tls-def1.c: Likewise.
1852 * testsuite/ld-i386/tls-gd1.S: Likewise.
1853 * testsuite/ld-i386/tls-ld1.S: Likewise.
1854 * testsuite/ld-i386/tls-main1.c: Likewise.
1855 * testsuite/ld-i386/tls.exp: Likewise.
1856 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1857 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1858 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1859 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1860 * testsuite/ld-i386/tlsbin2.td: Likewise.
1861 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1862 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1863 * testsuite/ld-i386/tlsgd3.s: Likewise.
1864 * testsuite/ld-i386/tlsgd4.d: Likewise.
1865 * testsuite/ld-i386/tlsgd4.s: Likewise.
1866 * testsuite/ld-i386/tlsld2.s: Likewise.
1867 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1868 * testsuite/ld-i386/tlspic2.dd: Likewise.
1869 * testsuite/ld-i386/tlspic2.rd: Likewise.
1870 * testsuite/ld-i386/tlspic2.sd: Likewise.
1871 * testsuite/ld-i386/tlspic2.td: Likewise.
1872 * testsuite/ld-i386/tlspic3.s: Likewise.
1873 * testsuite/ld-i386/tlspie3.s: Likewise.
1874 * testsuite/ld-i386/tlspie3a.d: Likewise.
1875 * testsuite/ld-i386/tlspie3b.d: Likewise.
1876 * testsuite/ld-i386/tlspie3c.d: Likewise.
1878 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1880 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1881 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1882 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1883 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1884 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1885 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1886 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1887 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1889 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1891 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1892 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1893 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1894 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1895 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1896 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1897 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1898 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1899 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1900 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1901 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1902 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1903 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1904 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1905 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1906 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1907 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1908 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1909 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1910 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1911 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1913 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1915 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1917 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1919 * testsuite/ld-s390/pltoffset-1.dd: New test.
1920 * testsuite/ld-s390/pltoffset-1.ld: New test.
1921 * testsuite/ld-s390/pltoffset-1.s: New test.
1922 * testsuite/ld-s390/s390.exp: Run new test.
1924 2016-06-07 Alan Modra <amodra@gmail.com>
1926 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1927 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1928 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1930 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1932 * testsuite/ld-x86-64/pass.out: New file.
1933 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1934 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1935 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1936 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1937 * testsuite/ld-x86-64/tls.exp: Likewise.
1938 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1939 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1940 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1941 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1942 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1943 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1944 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1945 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1946 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1947 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1948 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1949 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1950 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1951 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1952 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1953 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1954 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1955 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1956 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1957 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1958 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1959 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1960 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1961 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1962 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1963 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1964 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1965 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1966 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1967 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1968 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1969 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1970 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1971 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1972 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1973 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1974 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1975 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1976 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1977 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1978 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1981 2016-06-04 Christian Groessler <chris@groessler.org>
1983 * testsuite/ld-z8k/0filler.s: New file.
1984 * testsuite/ld-z8k/branch-target.s: New file.
1985 * testsuite/ld-z8k/branch-target2.s: New file.
1986 * testsuite/ld-z8k/calr-back-8001.d: New file.
1987 * testsuite/ld-z8k/calr-back-8002.d: New file.
1988 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1989 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1990 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1991 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1992 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1993 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1994 * testsuite/ld-z8k/calr-opcode.s: New file.
1995 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1996 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1997 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1998 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1999 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2000 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2001 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2002 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2003 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2004 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2005 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2006 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2007 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2008 * testsuite/ld-z8k/djnz-opcode.s: New file.
2009 * testsuite/ld-z8k/filler.s: New file.
2010 * testsuite/ld-z8k/jr-back-8001.d: New file.
2011 * testsuite/ld-z8k/jr-back-8002.d: New file.
2012 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2013 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2014 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2015 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2016 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2017 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2018 * testsuite/ld-z8k/jr-opcode.s: New file.
2019 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2020 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2021 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2022 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2023 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2024 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2025 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2026 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2027 * testsuite/ld-z8k/ldr-opcode.s: New file.
2028 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2029 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2030 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2031 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2032 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2033 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2034 * testsuite/ld-z8k/other-file.s: New file.
2035 * testsuite/ld-z8k/reloc.dd: New file.
2036 * testsuite/ld-z8k/reloc.ld: New file.
2037 * testsuite/ld-z8k/relocseg.dd: New file.
2038 * testsuite/ld-z8k/relocseg.ld: New file.
2039 * testsuite/ld-z8k/relocseg1.dd: New file.
2040 * testsuite/ld-z8k/this-file.s: New file.
2041 * testsuite/ld-z8k/z8k.exp: New file.
2043 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2045 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2046 with -mrelax-relocations=yes.
2047 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2048 * testsuite/ld-i386/lea1b.d (as): Likewise.
2049 * testsuite/ld-i386/lea1d.d (as): Likewise.
2050 * testsuite/ld-i386/lea1e.d (as): Likewise.
2051 * testsuite/ld-i386/lea1f.d (as): Likewise.
2052 * testsuite/ld-i386/load7.d (as): Likewise.
2053 * testsuite/ld-i386/mov1b.d (as): Likewise.
2054 * testsuite/ld-i386/pr19175.d (as): Likewise.
2055 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2056 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2057 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2058 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2059 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2061 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2063 * configure.tgt: Replace -uclibc with *.
2065 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2067 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2068 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2069 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2070 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2072 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2074 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2075 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2076 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2077 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2078 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2079 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2081 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2083 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2084 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2085 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2086 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2087 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2088 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2089 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2091 2016-05-28 Alan Modra <amodra@gmail.com>
2093 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2094 constructor_callback, warning_callback, undefined_symbol,
2095 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2096 * emultempl/elf32.em: Adjust callback calls.
2098 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2100 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2101 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2102 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2104 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2106 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2108 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2110 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2112 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2114 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2116 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2118 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2119 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2121 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2123 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2125 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2126 `unaligned-jalx-2' here.
2127 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2128 `unaligned-jalx-mips16-2' here.
2129 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2130 `unaligned-jalx-micromips-2' here.
2131 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2132 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2134 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2135 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2136 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2137 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2138 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2140 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2141 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2142 `unaligned-lwpc-3' here.
2143 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2144 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2145 `unaligned-lwpc-2' here.
2146 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2147 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2148 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2149 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2150 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2151 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2152 `unaligned-ldpc-4' here.
2153 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2154 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2155 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2156 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2157 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2158 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2159 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2160 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2161 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2162 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2163 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2165 2016-05-26 Nick Clifton <nickc@redhat.com>
2168 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2170 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2172 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2174 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2175 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2176 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2177 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2178 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2179 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2180 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2181 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2182 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2183 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2184 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2185 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2186 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2187 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2188 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2189 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2190 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2191 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2192 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2193 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2194 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2195 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2196 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2197 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2198 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2199 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2200 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2201 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2202 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2203 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2204 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2205 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2206 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2208 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2211 * ldmain.c (add_archive_element): Don't claim new IR symbols
2212 after all IR symbols have been claimed.
2213 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2215 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2216 Run PR ld/20103 tests.
2217 * testsuite/ld-plugin/pr20103a.c: New file.
2218 * testsuite/ld-plugin/pr20103b.c: Likewise.
2219 * testsuite/ld-plugin/pr20103c.c: Likewise.
2221 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2223 * testsuite/ld-mips-elf/jalx-local.d: New test.
2224 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2225 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2226 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2228 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2230 * Makefile.am: Add earmelf_phoenix.c.
2231 * Makefile.in: Regenerate.
2232 * configure.tgt: Add entry for arm-phoenix.
2233 * emulparams/armelf_phoenix.sh: New file.
2235 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2237 * emultempl/armelf.em (arm_elf_before_allocation): Call
2238 bfd_elf32_arm_keep_private_stub_output_sections before generic
2239 before_allocation function.
2241 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2243 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2244 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2245 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2246 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2248 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2251 * testsuite/ld-i386/i386.exp: Run pr20117.
2252 * testsuite/ld-i386/pr19609-1i.d: Updated.
2253 * testsuite/ld-i386/pr20117.d: New file.
2254 * testsuite/ld-i386/pr20117.s: Likewise.
2256 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2258 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2259 * testsuite/ld-elf/group8a.d: Likewise.
2260 * testsuite/ld-elf/group8b.d: Likewise.
2261 * testsuite/ld-elf/group9a.d: Likewise.
2262 * testsuite/ld-elf/group9b.d: Likewise.
2263 * testsuite/ld-elf/pr12851.d: Likewise.
2264 * testsuite/ld-elf/pr12975.d: Likewise.
2265 * testsuite/ld-elf/pr13177.d: Likewise.
2266 * testsuite/ld-elf/pr13195.d: Likewise.
2267 * testsuite/ld-elf/pr17615.d: Likewise.
2268 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2269 * testsuite/ld-elf/group3b.d: Likewise.
2270 * testsuite/ld-srec/srec.exp: Likewise.
2271 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2273 (check_shared_lib_support): Mark ARC as supporting.
2275 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2277 * emulparams/arcelf.sh: Changed.
2278 * emulparams/arclinux.sh: Likewise.
2279 * scripttempl/arclinux.sc: Moved to a more standard implementation
2282 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2284 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2285 `ft32-*-*' behind `frv-*-*'.
2287 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2289 * configure.tgt: Remove `am34-*-linux*' support.
2291 2016-05-19 Alan Modra <amodra@gmail.com>
2293 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2294 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2295 * testsuite/ld-scripts/cross3.t: Likewise.
2296 * testsuite/ld-scripts/cross4.t: Likewise.
2297 * testsuite/ld-scripts/cross5.t: Likewise.
2298 * testsuite/ld-scripts/cross6.t: Likewise.
2299 * testsuite/ld-scripts/cross7.t: Likewise.
2301 2016-05-19 Alan Modra <amodra@gmail.com>
2303 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2304 exe name rather than constructing testname. Fix typo in
2305 sub-test name. Log copying. Use -rpath rather than -R.
2307 2016-05-18 Nick Clifton <nickc@redhat.com>
2309 * scripttempl/ft32.sc: Use fixed constants for memory region
2310 lengths. Include DWARF debug sections.
2311 (.data .bss): Do not assign locations during relocatable links.
2312 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2313 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2314 * testsuite/ld-elf/sec64k.exp: Likewise.
2315 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2316 * testsuite/ld-elf/merge.d: Likewise.
2317 * testsuite/ld-elf/orphan-region.d: Likewise.
2318 * testsuite/ld-elf/orphan.s: Likewise.
2319 * testsuite/ld-elf/orphan3.d: Likewise.
2320 * testsuite/ld-elf/pr349.d: Likewise.
2321 * testsuite/ld-elf/warn2.d: Likewise.
2322 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2323 that the FT32 does not support shared libraries.
2325 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2327 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2330 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2332 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2334 * scripttempl/avrtiny.sc (text): Likewise.
2336 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2338 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2339 `supports_gnu_unique' to qualify testing.
2341 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2343 * testsuite/ld-elf/flags1.d: Update the xfail list.
2345 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2347 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2350 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2353 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2354 on EXPECTED_VIEW_LENGTH.
2355 * testplug4.c (onall_symbols_read): Likewise.
2357 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2360 * testsuite/ld-x86-64/pr20093-1.d: New file.
2361 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2362 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2363 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2364 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2366 2016-05-13 Alan Modra <amodra@gmail.com>
2368 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2369 Use different output file name for static app without .rel.plt.
2370 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2371 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2372 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2373 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2374 * testsuite/ld-arm/arm-static-app.r: Likewise.
2376 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2379 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2380 (libldtestplug4_la_SOURCES): New.
2381 (libldtestplug4_la_CFLAGS): Likewise.
2382 (libldtestplug4_la_LDFLAGS): Likewise.
2383 * Makefile.in: Regenerated.
2384 * plugin.c (get_symbols): Return resolution based on IR symbol
2385 kinds for symbols defined/referenced only within IR.
2386 * testplug4.c: New file.
2387 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2388 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2389 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2390 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2391 (plugin4_path): Likewise.
2392 Add a test for ld/20070.
2394 2016-05-11 Alan Modra <amodra@gmail.com>
2396 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2397 Call elf32_hppa_init_stub_bfd.
2399 2016-05-11 Alan Modra <amodra@gmail.com>
2402 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2403 * testsuite/ld-powerpc/tlsdll.s: New.
2404 * testsuite/ld-powerpc/tlsdll.ver: New.
2405 * testsuite/ld-powerpc/tlsdll_32.s: New.
2406 * testsuite/ld-powerpc/tlsopt5.d: New.
2407 * testsuite/ld-powerpc/tlsopt5.s: New.
2408 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2409 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2411 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2413 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2414 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2416 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2418 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2419 parameter and rename input_section parameter to after_input_section.
2420 Append input stub section to the output section if after_input_section
2423 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2425 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2427 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2428 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2430 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2432 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2434 2016-05-09 Christophe Monat <christophe.monat@st.com>
2437 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2438 tests. Fix misnamed stm32l4xx-fix-all.
2439 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2440 loads with DP registers.
2441 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2442 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2443 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2444 loads with DP registers.
2445 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2447 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2449 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2451 (xfail): Remove avr-*-*.
2452 Update regex to check the section flags.
2453 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2455 2016-05-09 Alan Modra <amodra@gmail.com>
2457 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2458 * Makefile.in: Regenerate.
2460 2016-05-09 Alan Modra <amodra@gmail.com>
2462 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2463 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2464 * testsuite/ld-scripts/section-match-1.t: Likewise.
2466 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2469 * testsuite/ld-elf/pr17550-1.s: New file.
2470 * testsuite/ld-elf/pr17550-2.s: Likewise.
2471 * testsuite/ld-elf/pr17550-3.s: Likewise.
2472 * testsuite/ld-elf/pr17550-4.s: Likewise.
2473 * testsuite/ld-elf/pr17550a.d: Likewise.
2474 * testsuite/ld-elf/pr17550b.d: Likewise.
2475 * testsuite/ld-elf/pr17550c.d: Likewise.
2476 * testsuite/ld-elf/pr17550d.d: Likewise.
2478 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2480 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2482 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2484 * testsuite/ld-i386/i386.exp: Run load7.
2485 * testsuite/ld-i386/load7.d: New file.
2486 * testsuite/ld-i386/load7.map: Likewise.
2487 * testsuite/ld-i386/load7.s: Likewise.
2488 * testsuite/ld-x86-64/load2.d: Likewise.
2489 * testsuite/ld-x86-64/load2.map: Likewise.
2490 * testsuite/ld-x86-64/load2.s: Likewise.
2491 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2493 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2495 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2496 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2498 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2501 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2503 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2505 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2507 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2509 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2511 * testsuite/ld-unique/unique.d: New test.
2512 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2513 messages for compiled tests.
2515 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2517 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2518 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2519 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2520 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2521 plugin_tests only if check_shared_lib_support is true.
2522 * testsuite/ld-selective/selective.exp: Add --section-start
2525 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2528 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2530 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2532 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2533 * NEWS: Mention --no-apply-dynamic-relocs.
2534 * ld.texinfo (ld and the ARM family): Document
2535 --no-apply-dynamic-relocs.
2536 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2537 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2538 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2539 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2542 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2544 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2545 before running STT_COMMON tests.
2547 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2549 * config/default.exp (NOPIE_CFLAGS): Download source only on
2551 (NOPIE_LDFLAGS): Likewise.
2552 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2553 (check_lto_fat_available): Likewise.
2554 (check_lto_shared_available): Likewise.
2555 (check_ifunc_available): Likewise.
2556 (check_ifunc_attribute_available): Likewise.
2558 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2560 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2562 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2565 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2566 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2569 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2571 * testsuite/ld-elf/compressed1b.d: Pass
2572 --compress-debug-sections=none to ld.
2573 * testsuite/ld-elf/compressed1c.d: Likewise.
2575 2016-04-27 Alan Modra <amodra@gmail.com>
2578 * configure.tgt: Don't use var+=.
2580 2016-04-25 Nick Clifton <nickc@redhat.com>
2583 * configure.tgt: Include big endian PPC64 emulations with little
2584 endian PPC64 targets.
2586 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2588 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2590 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2592 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2593 Linux with GCC 4.9 or newer.
2594 (check_lto_fat_available): Likewise.
2595 (check_lto_shared_available): Likewise.
2597 2016-04-21 Nick Clifton <nickc@redhat.com>
2599 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2600 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2601 targets. Do not stop the checks when problems are encountered.
2603 2016-04-21 Alan Modra <amodra@gmail.com>
2605 * testsuite/ld-scripts/cross3.t: Add commonly used data
2606 and text section names to output section statements.
2607 * testsuite/ld-scripts/cross4.t: Likewise.
2608 * testsuite/ld-scripts/cross5.t: Likewise.
2609 * testsuite/ld-scripts/cross6.t: Likewise.
2610 * testsuite/ld-scripts/cross7.t: Likewise.
2612 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2614 * ldlang.c (lang_check_relocs): New function.
2615 (lang_process): Call lang_check_relocs after lang_gc_sections.
2616 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2617 call _bfd_elf_link_check_relocs here.
2619 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2622 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2623 R_386_NONE or R_X86_64_NONE.
2625 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2627 * testsuite/ld-x86-64/pic1.d: New file.
2628 * testsuite/ld-x86-64/pic1.s: Likewise.
2629 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2631 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2633 * testsuite/ld-x86-64/pie2.d: New file.
2634 * testsuite/ld-x86-64/pie2.s: Likewise.
2635 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2637 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2640 * testsuite/ld-x86-64/pr19969.d: New file.
2641 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2642 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2643 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2645 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2647 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2649 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2651 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2653 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2655 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2657 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2659 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2661 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2663 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2664 Set check_relocs_after_open_input to TRUE if
2665 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2666 (gld${EMULATION_NAME}_after_open): Call
2667 _bfd_elf_link_check_relocs on all inputs if
2668 check_relocs_after_open_input is TRUE.
2670 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2672 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2675 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2677 * emultempl/scoreelf.em: Likewise.
2679 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2682 * testsuite/ld-x86-64/pr19719.d: New file.
2683 * testsuite/ld-x86-64/pr19719.s: Likewise.
2684 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2686 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2688 * ld.texinfo: Document NOCROSSREFS_TO script command.
2689 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2690 (lang_add_nocrossref_to): New prototype.
2691 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2692 symbols defined in the first section.
2693 (check_nocrossref): Likewise.
2694 * ldgram.y (NOCROSSREFS_TO): New script command.
2695 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2696 (lang_add_nocrossref_to): New function.
2697 * ldlex.l (NOCROSSREFS_TO): New token.
2698 * NEWS: Mention NOCROSSREFS_TO.
2699 * testsuite/ld-scripts/cross4.t: New file.
2700 * testsuite/ld-scripts/cross5.t: Likewise.
2701 * testsuite/ld-scripts/cross6.t: Likewise.
2702 * testsuite/ld-scripts/cross7.t: Likewise.
2703 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2706 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2708 * Makefile.in: Regenerated with automake 1.11.6.
2709 * aclocal.m4: Likewise.
2711 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2713 * testsuite/ld-arc/arc.exp: New file.
2714 * testsuite/ld-arc/nps-1.s: New file.
2715 * testsuite/ld-arc/nps-1a.d: New file.
2716 * testsuite/ld-arc/nps-1b.d: New file.
2717 * testsuite/ld-arc/nps-1b.err: New file.
2719 2016-04-14 Nick Clifton <nickc@redhat.com>
2722 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2723 exceptions for Mingw and Cygwin.
2725 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2727 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2730 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2733 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2734 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2737 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2740 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2741 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2742 * testsuite/ld-i386/pr19939.s: New file.
2743 * testsuite/ld-i386/pr19939a.d: Likewise.
2744 * testsuite/ld-i386/pr19939b.d: Likewise.
2745 * testsuite/ld-x86-64/pr19939.s: Likewise.
2746 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2747 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2749 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2751 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2753 2016-04-08 Alan Modra <amodra@gmail.com>
2756 * ldlang.c (maybe_overlays): Delete.
2757 (lang_size_sections_1): Remove code setting maybe_overlays.
2758 (lang_check_section_addresses): Instead detect overlays by
2759 exact match of section VMAs here. Fix memory leak.
2761 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2763 * ldlang.c (print_output_section_statement): Show minfo size
2764 in target machine address units.
2765 (print_reloc_statement): Likewise.
2766 (print_padding_statement): Likewise.
2767 (print_data_statement): Likewise. Ensure minimum print_dot
2768 increment of one address unit.
2770 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2772 * emulparams/arc-endianness.sh: Make little endian default choice.
2774 2016-04-07 Nick Clifton <nickc@redhat.com>
2776 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2778 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2780 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2782 * emulparams/arc-endianness.sh: New file.
2783 * emulparams/arcebelf.sh: Deleted.
2784 * emulparams/arcebelf_prof.sh: Deleted.
2785 * emulparams/arceblinux.sh: Deleted.
2786 * emulparams/arceblinux_prof.sh: Deleted.
2787 * emulparams/arcelf.sh: Include arc-endinness.sh.
2788 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2789 * emulparams/arclinux.sh: Include arc-endinness.sh.
2790 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2791 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2792 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2793 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2794 little endian arc targets.
2795 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2796 * testsuite/ld-elf/group1.d: Likewise.
2797 * testsuite/ld-elf/group3b.d: Likewise.
2798 * testsuite/ld-elf/group8a.d: Likewise.
2799 * testsuite/ld-elf/group8b.d: Likewise.
2800 * testsuite/ld-elf/group9a.d: Likewise.
2801 * testsuite/ld-elf/group9b.d: Likewise.
2802 * testsuite/ld-elf/linkonce2.d: Likewise.
2803 * testsuite/ld-elf/pr12851.d: Likewise.
2804 * testsuite/ld-elf/pr12975.d: Likewise.
2805 * testsuite/ld-elf/pr13177.d: Likewise.
2806 * testsuite/ld-elf/pr13195.d: Likewise.
2807 * testsuite/ld-elf/pr17615.d: Likewise.
2808 * testsuite/ld-elf/pr19162.d: Likewise.
2809 * testsuite/ld-elf/sec64k.exp: Likewise.
2810 * testsuite/lib/ld-lib.exp: Likewise.
2812 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2815 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2817 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2818 * testsuite/ld-cris/tls-e-21.d: Likewise.
2819 * testsuite/ld-cris/tls-e-23.d: Likewise.
2820 * testsuite/ld-cris/tls-e-80.d: Likewise.
2821 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2822 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2823 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2824 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2825 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2826 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2827 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2828 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2829 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2830 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2832 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2834 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2835 * testsuite/ld-discard/start.d: Likewise.
2836 * testsuite/ld-discard/static.d: Likewise.
2837 * testsuite/ld-elf/group1.d: Likewise.
2838 * testsuite/ld-elf/group3b.d: Likewise.
2839 * testsuite/ld-elf/orphan-region.d: Likewise.
2840 * testsuite/ld-elf/orphan.d: Likewise.
2841 * testsuite/ld-elf/orphan3.d: Likewise.
2842 * testsuite/ld-elf/pr349.d: Likewise.
2843 * testsuite/ld-elf/warn1.d: Likewise.
2844 * testsuite/ld-elf/warn2.d: Likewise.
2845 * testsuite/ld-elf/warn3.d: Likewise.
2846 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2847 through linker flags.
2848 * testsuite/ld-srec/srec.exp: Set as xfail.
2850 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2853 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2854 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2856 2016-04-04 Nick Clifton <nickc@redhat.com>
2859 * emultempl/pe.em (change_undef): New function. Encapsulates
2860 duplicated code in pe_fixup_stdcalls and adds the newly defined
2861 sym to the gc root list.
2862 (pe_fixup_stdcall): Use the new function.
2863 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2864 symbol to gc root list.
2866 2016-03-31 Alan Modra <amodra@gmail.com>
2868 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2869 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2870 (print_input_section): Don't use TO_ADDR when printing section
2872 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2873 (lang_size_sections): Use TO_ADDR in relro end calculation.
2875 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2877 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2878 value from regexp_diff.
2879 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2880 * testsuite/ld-elf/orphan-6.l: Likewise.
2882 2016-03-30 Alan Modra <amodra@gmail.com>
2885 * ldlang.c (maybe_overlays): New static var.
2886 (lang_size_sections_1): Set it here.
2887 (struct check_sec): New.
2888 (sort_sections_by_lma): Adjust for array of structs.
2889 (sort_sections_by_vma): New function.
2890 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2891 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2893 2016-03-30 Alan Modra <amodra@gmail.com>
2895 * ldlang.c (lang_size_sections_1): Correct code detecting a
2896 backward non-overlapping move.
2898 2016-03-30 Alan Modra <amodra@gmail.com>
2900 * ldlang.c (IS_TBSS): New macro, extracted from..
2901 (IGNORE_SECTION): ..here.
2902 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2903 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2905 2016-03-22 Nick Clifton <nickc@redhat.com>
2908 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2909 symbol name to the list of gc symbols.
2910 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2911 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2912 and fini function names.
2913 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2915 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2916 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2918 2016-03-22 Nick Clifton <nickc@redhat.com>
2920 * configure: Regenerate.
2922 2016-03-21 Nick Clifton <nickc@redhat.com>
2924 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2925 * plugin.c: Likewise.
2926 * pe-dll.c: Likewise.
2928 2016-03-18 Awson <kyrab@mail.ru>
2931 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2933 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2935 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2937 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2939 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2942 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2943 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2944 * testsuite/ld-i386/pr19827.rd: New file.
2945 * testsuite/ld-i386/pr19827a.S: Likewise.
2946 * testsuite/ld-i386/pr19827b.S: Likewise.
2947 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2948 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2949 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2951 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2954 * Makefile.am (ELF_X86_DEPS): Add
2955 $(srcdir)/emulparams/reloc_overflow.sh.
2956 * Makefile.in: Regenerated.
2957 * NEWS: Mention -z noreloc-overflow.
2958 * ld.texinfo: Document -z noreloc-overflow.
2959 * emulparams/elf32_x86_64.sh: Source
2960 ${srcdir}/emulparams/reloc_overflow.sh.
2961 * emulparams/elf_x86_64.sh: Likewise.
2962 * emulparams/reloc_overflow.sh: New file.
2963 * testsuite/ld-x86-64/pr19807-1.s: New file.
2964 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2965 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2966 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2967 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2968 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2969 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2970 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2971 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2972 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2974 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2977 * testsuite/ld-i386/i386.exp: Run pr19539.
2978 * testsuite/ld-i386/pr19539.d: New file.
2979 * testsuite/ld-i386/pr19539.s: Likewise.
2980 * testsuite/ld-i386/pr19539.t: Likewise.
2981 * testsuite/ld-x86-64/pr19539.s: Likewise.
2982 * testsuite/ld-x86-64/pr19539.t: Likewise.
2983 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2984 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2985 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2987 2016-03-10 Mickael Guene <mickael.guene@st.com>
2990 * testsuite/ld-arm/arm-elf.exp: New tests.
2991 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2992 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2994 2016-03-10 Nick Clifton <nickc@redhat.com>
2996 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2998 2016-03-09 Pedro Alves <palves@redhat.com>
3000 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3001 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3003 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3006 * testsuite/ld-elf/pr19789.d: New file.
3007 * testsuite/ld-elf/pr19789.s: Likewise.
3009 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3012 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3013 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3014 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3015 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3016 * testsuite/ld-ifunc/pass.out: New file.
3017 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3018 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3019 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3021 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3024 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3025 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3026 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3027 --as-needed for pr18841c.
3029 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3032 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3033 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3034 before tmpdir/got1d.so and test --as-needed.
3035 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3036 tmpdir/pr18900.so and test --as-needed.
3038 2016-03-07 Jiong Wang <jiong.wang@arm.com>
3040 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3041 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3043 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3045 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3047 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3048 before tmpdir/copyreloc-lib.so and test --as-needed.
3049 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3051 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3054 * testsuite/ld-elf/pr19579a.c: New file.
3055 * testsuite/ld-elf/pr19579b.c: Likewise.
3056 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3058 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3060 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3062 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3064 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3065 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3067 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3070 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3071 input sections for relocatable link.
3072 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3073 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3075 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3078 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3079 merge flags of other input sections for relocatable link.
3081 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3083 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3085 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3087 * testsuite/ld-elf/pr19162.d: Skip arc target.
3089 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3092 * testsuite/ld-elf/pr19162.d: New file.
3093 * testsuite/ld-elf/pr19162a.s: Likwise.
3094 * testsuite/ld-elf/pr19162b.s: Likwise.
3096 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3098 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3099 * testsuite/ld-elf/merge2.d: Likewise.
3100 * testsuite/ld-elf/merge3.d: Likewise.
3102 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3104 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3107 2016-02-26 Renlin Li <renlin.li@arm.com>
3109 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3110 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3111 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3112 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3113 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3114 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3115 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3116 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3117 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3118 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3120 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3123 * testsuite/ld-i386/got1.dd: Updated.
3124 * testsuite/ld-i386/lea1c.d: Likewise.
3125 * testsuite/ld-i386/load1-nacl.d: Likewise.
3126 * testsuite/ld-i386/load1.d: Likewise.
3127 * testsuite/ld-i386/load4b.d: Likewise.
3128 * testsuite/ld-i386/load5b.d: Likewise.
3129 * testsuite/ld-i386/mov1b.d: Likewise.
3130 * testsuite/ld-x86-64/mov1b.d: Likewise.
3131 * testsuite/ld-x86-64/mov1d.d: Likewise.
3132 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3133 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3134 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3135 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3136 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3137 * testsuite/ld-x86-64/lea1a.d: Likewise.
3138 * testsuite/ld-x86-64/lea1b.d: Likewise.
3139 * testsuite/ld-x86-64/lea1c.d: Likewise.
3140 * testsuite/ld-x86-64/lea1d.d: Likewise.
3141 * testsuite/ld-x86-64/lea1e.d: Likewise.
3142 * testsuite/ld-x86-64/lea1f.d: Likewise.
3143 * testsuite/ld-x86-64/mov1b.d: Likewise.
3144 * testsuite/ld-x86-64/mov1d.d: Likewise.
3145 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3146 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3147 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3148 * testsuite/ld-i386/pr19609-1.s: New file.
3149 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3150 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3151 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3152 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3153 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3154 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3155 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3156 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3157 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3158 * testsuite/ld-i386/pr19609-2.s: Likewise.
3159 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3160 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3161 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3162 * testsuite/ld-i386/undefweak.s: Likewise.
3163 * testsuite/ld-i386/undefweaka.d: Likewise.
3164 * testsuite/ld-i386/undefweakb.d: Likewise.
3165 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3166 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3167 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3168 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3169 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3170 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3171 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3172 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3173 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3174 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3175 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3176 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3177 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3178 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3179 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3180 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3181 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3182 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3183 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3184 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3185 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3186 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3187 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3188 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3189 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3190 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3191 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3192 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3193 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3194 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3195 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3196 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3197 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3198 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3199 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3200 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3201 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3202 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3203 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3204 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3205 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3206 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3207 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3208 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3209 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3210 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3211 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3213 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3214 and tests for PR ld/19609.
3216 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3219 * NEWS: Mention -z common/-z nocommon for ELF targets.
3220 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3221 -z common and -z nocommon.
3222 * ld.texinfo: Document -z common/-z nocommon.
3223 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3224 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3225 --elf-stt-common=yes with assembler.
3226 * testsuite/ld-elfcomm/common-1.s: New file.
3227 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3228 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3229 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3230 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3231 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3232 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3233 * testsuite/ld-elfcomm/common-2.s: Likewise.
3234 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3235 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3236 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3237 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3238 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3239 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3240 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3241 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3242 * testsuite/ld-i386/pr19645.d: Likewise.
3243 * testsuite/ld-i386/pr19645.s: Likewise.
3244 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3245 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3246 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3247 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3248 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3249 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3250 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3251 * testsuite/ld-x86-64/pr19645.d: Likewise.
3252 * testsuite/ld-x86-64/pr19645.s: Likewise.
3253 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3255 (assembler_generates_commons): Removed.
3256 Run -z common/-z nocommon tests. Run *.d tests.
3257 * testsuite/ld-i386/i386.exp: Run pr19645.
3258 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3259 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3260 assembler. Test STT_COMMON with readelf.
3262 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3267 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3268 * Makefile.in: Regenerated.
3269 * NEWS: Mention -z nodynamic-undefined-weak.
3270 * ld.texinfo: Document -z nodynamic-undefined-weak.
3271 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3272 * emulparams/dynamic_undefined_weak.sh: New file.
3273 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3274 * emulparams/elf_i386.sh: Likewise.
3275 * emulparams/elf_i386_be.sh: Likewise.
3276 * emulparams/elf_i386_chaos.sh: Likewise.
3277 * emulparams/elf_i386_ldso.sh: Likewise.
3278 * emulparams/elf_i386_vxworks.sh: Likewise.
3279 * emulparams/elf_iamcu.sh: Likewise.
3280 * emulparams/elf_k1om.sh: Likewise.
3281 * emulparams/elf_l1om.sh: Likewise.
3282 * emulparams/elf_x86_64.sh: Likewise.
3283 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3285 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3286 * testsuite/ld-elf/pr19719a.c: New file.
3287 * testsuite/ld-elf/pr19719b.c: Likewise.
3288 * testsuite/ld-elf/pr19719c.c: Likewise.
3289 * testsuite/ld-elf/pr19719d.c: Likewise.
3290 * testsuite/ld-i386/pr19636-1.s: Likewise.
3291 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3292 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3293 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3294 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3295 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3296 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3297 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3298 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3299 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3300 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3301 * testsuite/ld-i386/pr19636-2.s: Likewise.
3302 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3303 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3304 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3305 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3306 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3307 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3308 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3309 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3310 * testsuite/ld-i386/pr19636-3.s: Likewise.
3311 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3312 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3313 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3314 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3315 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3316 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3317 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3318 * testsuite/ld-i386/pr19636-4.s: Likewise.
3319 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3320 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3321 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3322 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3323 * testsuite/ld-i386/pr19704.out: Likewise.
3324 * testsuite/ld-i386/pr19704a.c: Likewise.
3325 * testsuite/ld-i386/pr19704b.c: Likewise.
3326 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3327 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3328 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3329 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3330 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3331 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3332 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3333 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3334 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3335 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3336 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3337 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3338 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3339 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3340 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3341 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3342 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3343 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3344 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3345 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3346 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3347 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3348 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3349 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3350 * testsuite/ld-x86-64/pr19704.out: Likewise.
3351 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3352 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3353 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3354 Run mix_pic_and_non_pic.
3355 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3356 Run undefined_weak and PR ld/19636 tests.
3357 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3358 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3359 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3361 2016-02-25 Nick Clifton <nickc@redhat.com>
3363 * ld.h (struct ld_config_type): Remove specified_data_size field.
3365 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3368 * testsuite/ld-elf/pr19698.d: New file.
3369 * testsuite/ld-elf/pr19698.s: Likewise.
3370 * testsuite/ld-elf/pr19698.t: Likewise.
3372 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3374 * Makefile.am (ELF_X86_DEPS): New.
3375 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3376 (eelf_i386_chaos.c): Likewise.
3377 (eelf_i386_fbsd.c): Likewise.
3378 (eelf_i386_ldso.c): Likewise.
3379 (eelf_i386_nacl.c): Likewise.
3380 (eelf_i386_sol2.c): Likewise.
3381 (eelf_iamcu.c): Likewise.
3382 (eelf32_x86_64.c): Likewise.
3383 (eelf32_x86_64_nacl.c): Likewise.
3384 (eelf_l1om.c): Likewise.
3385 (eelf_l1om_fbsd.c): Likewise.
3386 (eelf_k1om.c): Likewise.
3387 (eelf_k1om_fbsd.c): Likewise.
3388 (eelf_x86_64.c): Likewise.
3389 (eelf_x86_64_cloudabi.c): Likewise.
3390 (eelf_x86_64_fbsd.c): Likewise.
3391 (eelf_x86_64_sol2.c): Likewise.
3392 * Makefile.in: Regenerated.
3394 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3396 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3397 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3398 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3399 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3401 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3403 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3405 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3407 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3408 *-*-gnu* and *-*-solaris*.
3409 * testsuite/ld-elf/pr19617b.d: Likewise.
3410 * testsuite/ld-elf/pr19617c.d: Likewise.
3412 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3415 * testsuite/ld-elf/pr19617.s: New file.
3416 * testsuite/ld-elf/pr19617a.d: Likewise.
3417 * testsuite/ld-elf/pr19617b.d: Likewise.
3418 * testsuite/ld-elf/pr19617c.d: Likewise.
3420 2016-02-18 Nick Clifton <nickc@redhat.com>
3422 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3423 in-tree xg++ executable after checking for the presence of an
3424 in-tree g++ executable.
3425 * Makefile.in: Regenerate.
3427 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3429 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3430 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3431 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3433 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3435 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3436 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3437 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3438 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3439 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3440 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3441 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3442 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3443 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3444 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3445 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3446 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3447 * testsuite/ld-x86-64/load1c.d: Likewise.
3448 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3449 * testsuite/ld-x86-64/load1d.d: Likewise.
3450 * testsuite/ld-x86-64/pr14207.d: Likewise.
3451 * testsuite/ld-x86-64/pr19162.d: Likewise.
3452 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3453 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3454 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3455 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3456 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3457 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3459 2016-02-17 Nick Clifton <nickc@redhat.com>
3461 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3463 2016-02-15 Nick Clifton <nickc@redhat.com>
3465 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3466 description of the flags produced by readelf.
3467 * testsuite/ld-i386/pr12921.d: Likewise.
3468 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3469 * testsuite/ld-i386/tlsbin.rd: Likewise.
3470 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3471 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3472 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3473 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3474 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3475 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3476 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3477 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3478 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3479 * testsuite/ld-i386/tlspic.rd: Likewise.
3480 * testsuite/ld-s390/tlsbin.rd: Likewise.
3481 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3482 * testsuite/ld-s390/tlspic.rd: Likewise.
3483 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3484 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3485 * testsuite/ld-sh/tlspic-2.d: Likewise.
3486 * testsuite/ld-tic6x/common.d: Likewise.
3487 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3488 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3489 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3490 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3491 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3492 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3493 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3494 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3495 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3496 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3497 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3498 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3499 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3500 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3501 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3502 * testsuite/ld-x86-64/pr12718.d: Likewise.
3503 * testsuite/ld-x86-64/pr12921.d: Likewise.
3504 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3505 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3506 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3507 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3508 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3509 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3510 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3511 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3512 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3513 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3514 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3515 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3516 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3517 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3519 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3522 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3524 * lexsup.c (parse_args): Enable -Bsymbolic and
3525 -Bsymbolic-functions for PIE.
3526 * testsuite/ld-i386/i386.exp: Run pr19615.
3527 * testsuite/ld-i386/pr19615.d: New file.
3528 * testsuite/ld-i386/pr19615.s: Likewise.
3529 * testsuite/ld-x86-64/pr19615.d: Likewise.
3530 * testsuite/ld-x86-64/pr19615.s: Likewise.
3532 2016-02-09 Nick Clifton <nickc@redhat.com>
3534 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3535 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3536 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3537 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3539 2016-02-04 Nick Clifton <nickc@redhat.com>
3541 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3542 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3543 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3544 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3545 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3546 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3547 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3548 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3549 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3551 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3554 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3555 * testsuite/ld-i386/call1.d: Likewise.
3556 * testsuite/ld-i386/call2.d: Likewise.
3557 * testsuite/ld-i386/call3a.d: Likewise.
3558 * testsuite/ld-i386/call3b.d: Likewise.
3559 * testsuite/ld-i386/call3c.d: Likewise.
3560 * testsuite/ld-i386/call3d.d: Likewise.
3561 * testsuite/ld-i386/call3e.d: Likewise.
3562 * testsuite/ld-i386/call3f.d: Likewise.
3563 * testsuite/ld-i386/call3g.d: Likewise.
3564 * testsuite/ld-i386/call3h.d: Likewise.
3565 * testsuite/ld-i386/jmp1.d: Likewise.
3566 * testsuite/ld-i386/jmp2.d: Likewise.
3567 * testsuite/ld-i386/lea1c.d: Likewise.
3568 * testsuite/ld-i386/load1.d: Likewise.
3569 * testsuite/ld-i386/load2.d: Likewise.
3570 * testsuite/ld-i386/load3.d: Likewise.
3571 * testsuite/ld-i386/load4a.d: Likewise.
3572 * testsuite/ld-i386/load5a.d: Likewise.
3573 * testsuite/ld-i386/mov2b.d: Likewise.
3574 * testsuite/ld-i386/mov3.d: Likewise.
3575 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3576 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3577 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3578 * testsuite/ld-x86-64/call1a.d: Likewise.
3579 * testsuite/ld-x86-64/call1b.d: Likewise.
3580 * testsuite/ld-x86-64/call1c.d: Likewise.
3581 * testsuite/ld-x86-64/call1d.d: Likewise.
3582 * testsuite/ld-x86-64/call1e.d: Likewise.
3583 * testsuite/ld-x86-64/call1f.d: Likewise.
3584 * testsuite/ld-x86-64/call1h.d: Likewise.
3585 * testsuite/ld-x86-64/call1i.d: Likewise.
3586 * testsuite/ld-x86-64/load1a.d: Likewise.
3587 * testsuite/ld-x86-64/load1b.d: Likewise.
3588 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3589 * testsuite/ld-i386/got1.dd: Updated.
3590 * testsuite/ld-i386/got1d.S (1): Removed.
3591 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3592 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3594 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3597 * testsuite/ld-x86-64/pr18591.d: New file.
3598 * testsuite/ld-x86-64/pr18591.s: Likewise.
3599 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3601 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3604 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3605 * testsuite/ld-elf/pr19553.map: New file.
3606 * testsuite/ld-elf/pr19553.map: Likewise.
3607 * testsuite/ld-elf/pr19553a.c: Likewise.
3608 * testsuite/ld-elf/pr19553b.c: Likewise.
3609 * testsuite/ld-elf/pr19553b.out: Likewise.
3610 * testsuite/ld-elf/pr19553c.c: Likewise.
3611 * testsuite/ld-elf/pr19553c.out: Likewise.
3612 * testsuite/ld-elf/pr19553d.c: Likewise.
3613 * testsuite/ld-elf/pr19553d.out: Likewise.
3615 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3618 * testsuite/ld-elf/pr19539.d: New file.
3619 * testsuite/ld-elf/pr19539.s: Likewise.
3620 * testsuite/ld-elf/pr19539.t: Likewise.
3622 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3625 * configure.ac (compressed_debug_sections): Replace == with =.
3626 * configure: Regenerated.
3628 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3630 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3631 * scripttempl/avrtiny.sc (.noinit): Likewise.
3633 2016-01-21 Nick Clifton <nickc@redhat.com>
3636 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3637 the arm-netbsdelf target.
3640 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3641 disassmebler output.
3642 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3643 * testsuite/ld-arm/vxworks1.dd: Likewise.
3644 * testsuite/ld-arm/vxworks1.rd: Likewise.
3645 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3647 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3649 * testsuite/ld-aarch64/farcall-section.d: Delete.
3650 * testsuite/ld-aarch64/farcall-section.s: Delete.
3651 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3652 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3653 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3654 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3655 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3657 2016-01-20 Nick Clifton <nickc@redhat.com>
3660 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3661 early for PE based targets.
3662 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3663 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3665 2016-01-20 Mickael Guene <mickael.guene@st.com>
3667 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3668 Add 'y' attribute usage.
3669 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3670 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3671 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3673 2016-01-19 Nick Clifton <nickc@redhat.com>
3675 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3676 foo@FOO and bar@@FOO.
3678 2016-01-18 Alan Modra <amodra@gmail.com>
3680 * configure: Regenerate.
3682 2016-01-18 Nick Clifton <nickc@redhat.com>
3684 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3685 is not configured to support plugins.
3687 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3688 but with 16 byte section alignment.
3689 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3690 test for MIPS targets.
3692 2016-01-17 Alan Modra <amodra@gmail.com>
3694 * configure: Regenerate.
3696 2016-01-17 Alan Modra <amodra@gmail.com>
3698 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3699 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3700 * testsuite/ld-elf/pr14156a.d: Likewise.
3701 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3702 * testsuite/ld-elf/sec64k.exp: Likewise.
3704 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3706 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3707 Set address of .foo section when linking.
3708 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3710 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3711 output to the above changes.
3713 2016-01-13 Nick Clifton <nickc@redhat.com>
3715 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3718 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3719 fail for MIPS targets.
3721 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3724 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3726 * testsuite/ld-arm/arm-elf.exp: New test.
3727 * testsuite/ld-arm/unwind-mix.d: New file.
3728 * testsuite/ld-arm/unwind-mix1.s: New file.
3729 * testsuite/ld-arm/unwind-mix2.s: New file.
3731 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3734 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3735 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3736 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3737 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3738 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3739 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3741 2016-01-05 Nick Clifton <nickc@redhat.com>
3743 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3744 MSP430 hardware multiply address range.
3745 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3746 (__romdatacopysize): Define.
3747 * scripttempl/elf32msp430_3.sc: Likewise.
3749 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3751 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3752 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3754 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3756 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3757 messages expected according to MIPS BFD private data merge
3759 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3760 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3761 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3762 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3763 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3764 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3765 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3766 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3767 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3768 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3769 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3770 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3771 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3773 2016-01-01 Alan Modra <amodra@gmail.com>
3775 Update year range in copyright notice of all files.
3777 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3779 Copyright (C) 2016 Free Software Foundation, Inc.
3781 Copying and distribution of this file, with or without modification,
3782 are permitted in any medium without royalty provided the copyright
3783 notice and this notice are preserved.
3789 version-control: never