1 2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
4 * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
5 * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
7 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
9 2016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
11 * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
13 2016-11-28 Nick Clifton <nickc@redhat.com>
16 * testsuite/ld-elf/loadaddr1.d: Update.
17 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
18 * testsuite/ld-scripts/phdrs3a.d: Update.
20 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
22 * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
23 * testsuite/ld-elf/pr18720.rd: New file.
25 2016-11-27 Alan Modra <amodra@gmail.com>
28 * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
30 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
32 * deffilep.y: Fix spelling in comments.
34 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
36 * scripttempl/ia64vms.sc: Fix spelling in comments.
37 * scripttempl/ip2k.sc: Fix spelling in comments.
38 * scripttempl/v850.sc: Fix spelling in comments.
39 * scripttempl/v850_rh850.sc: Fix spelling in comments.
41 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
43 * emultempl/avrelf.em: Fix spelling in comments.
44 * emultempl/elf32.em: Fix spelling in comments.
45 * emultempl/pe.em: Fix spelling in comments.
46 * emultempl/pep.em: Fix spelling in comments.
47 * emultempl/spuelf.em: Fix spelling in comments.
49 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
51 * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
52 * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
53 * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
54 * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
56 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
58 * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
59 * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
60 * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
61 * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
62 * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
63 * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
65 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
67 * deffile.h: Fix spelling in comments.
68 * ld.h: Fix spelling in comments.
69 * ldlang.c: Fix spelling in comments.
70 * ldmisc.c: Fix spelling in comments.
71 * pe-dll.c: Fix spelling in comments.
73 2016-11-24 Jiong Wang <jiong.wang@arm.com>
76 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
77 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
78 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
79 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
81 2016-11-24 Nick Clifton <nickc@redhat.com>
84 * emultempl/elf32.em (_search_needed): Allow for path separator
85 and terminating NUL byte when allocating space for new $ORIGIN
88 2016-11-23 Nick Clifton <nickc@redhat.com>
90 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
93 * ld.texinfo: Note that PT_TLS can be used as a segment type.
94 * testsuite/ld-discard/discard.ld: Add space for program headers.
95 * testsuite/ld-elf/flags1.ld: Likewise.
96 * testsuite/ld-elf/maxpage3.t: Likewise.
97 * testsuite/ld-elf/noload-1.t: Likewise.
98 * testsuite/ld-elf/orphan.ld: Likewise.
99 * testsuite/ld-elf/overlay.t: Likewise.
100 * testsuite/ld-elf/pr14052.t: Likewise.
101 * testsuite/ld-elf/pr19539.t: Likewise.
102 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
103 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
104 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
105 * testsuite/ld-i386/pr19539.t: Likewise.
106 * testsuite/ld-scripts/defined.t: Likewise.
107 * testsuite/ld-scripts/defined6.t: Likewise.
108 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
109 * testsuite/ld-scripts/empty-aligned.t: Likewise.
110 * testsuite/ld-scripts/provide-2.t: Likewise.
111 * testsuite/ld-scripts/provide-4.t: Likewise.
112 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
113 * testsuite/ld-x86-64/pr19539.t: Likewise.
114 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
116 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
117 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
118 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
119 * testsuite/ld-elf/noload-2.d: Likewise.
120 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
121 * testsuite/ld-scripts/phdrs3a.d: Likewise.
122 * testsuite/ld-scripts/size-2.d: Likewise.
123 * testsuite/ld-elf/group.ld: Add program headers.
124 * testsuite/ld-elf/overlay.d: Skip for SPU.
125 * testsuite/ld-elf/flags1.d: Skip for RX.
126 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
127 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
128 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
129 * testsuite/ld-scripts/size-2.t: Likewise.
131 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
133 * configure: Regenerate.
135 2016-11-22 Alan Modra <amodra@gmail.com>
138 * emultempl/ppc32elf.em (params): Update initializer. Handle
139 --vle-reloc-fixup command line arg.
141 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
144 * ld/testsuite/ld-avr/pr20789.d: New test.
145 * ld/testsuite/ld-avr/pr20789.s: New test.
148 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
151 * testsuite/ld-x86-64/pr20800a.S: New file.
152 * testsuite/ld-x86-64/pr20800b.S: Likewise.
153 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
155 2016-11-14 Nick Clifton <nickc@redhat.com>
157 * lexsup.c (parse_args): Add break at end of default case.
159 2016-11-10 Jiong Wang <jiong.wang@arm.com>
162 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
163 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
164 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
165 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
167 2016-11-07 Nick Clifton <nickc@redhat.com>
170 * emultempl/elf32.em (search_needed): Fix infinite loop when
171 unable to process a token. Add support for curly braced enclosed
173 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
176 2016-11-07 Nick Clifton <nickc@redhat.com>
178 * ld.texinfo (--compress-debug-sections): Expand documentation of
181 2016-11-04 Nick Clifton <nickc@redhat.com>
183 * emultempl/elf32.em (search_needed): Remove use of getauxval and
184 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
186 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
187 * configure: Regenerate.
188 * config.in: Regenerate.
190 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
192 * ldlang.h (struct lang_wild_statement_struct): Add
193 exclude_name_list field.
194 * ldlang.c (walk_wild_file_in_exclude_list): New function.
195 (walk_wild_consider_section): Use new
196 walk_wild_file_in_exclude_list function.
197 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
198 (print_wild_statement): Print new exclude_name_list field.
199 (lang_add_wild): Initialise new exclude_name_list field.
200 * testsuite/ld-scripts/exclude-file-1.d: New file.
201 * testsuite/ld-scripts/exclude-file-1.map: New file.
202 * testsuite/ld-scripts/exclude-file-1.t: New file.
203 * testsuite/ld-scripts/exclude-file-2.d: New file.
204 * testsuite/ld-scripts/exclude-file-2.map: New file.
205 * testsuite/ld-scripts/exclude-file-2.t: New file.
206 * testsuite/ld-scripts/exclude-file-3.d: New file.
207 * testsuite/ld-scripts/exclude-file-3.map: New file.
208 * testsuite/ld-scripts/exclude-file-3.t: New file.
209 * testsuite/ld-scripts/exclude-file-4.d: New file.
210 * testsuite/ld-scripts/exclude-file-4.map: New file.
211 * testsuite/ld-scripts/exclude-file-4.t: New file.
212 * testsuite/ld-scripts/exclude-file-a.s: New file.
213 * testsuite/ld-scripts/exclude-file-b.s: New file.
214 * testsuite/ld-scripts/exclude-file.exp: New file.
215 * ld.texinfo (Input Section Basics): Update description of
216 EXCLUDE_FILE to cover the new features.
217 * NEWS: Mention new EXCLUDE_FILE usage.
219 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
221 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
222 based on the original source file name.
223 * testsuite/ld-discard/extern.d: Update object file names.
224 * testsuite/ld-discard/start.d: Likewise.
225 * testsuite/ld-discard/static.d: Likewise.
226 * testsuite/ld-elf/orphan-8.map: Likewise.
228 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
230 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
231 xc16x-*-elf to the list of targets that don't support -shared.
233 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
235 * ldgram.y: Rename file_NAME_list to section_NAME_list
238 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
239 Andrew Waterman <andrew@sifive.com>
241 Add support for RISC-V architecture.
242 * Makefile.am: Add riscv files.
243 * Makefile.in: Regenerate.
244 * NEWS: Mention the support for this target.
245 * configure.tgt: Add riscv entries.
246 * emulparams/elf32lriscv-defs.sh: New file.
247 * emulparams/elf32lriscv.sh: New file.
248 * emulparams/elf64lriscv-defs.sh: New file.
249 * emulparams/elf64lriscv.sh: New file.
250 * emultempl/riscvelf.em: New file.
252 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
254 * ldmain.c (add_archive_element): Initialize input->header.type.
255 * plugin.c (plugin_maybe_claim): Assert the statement is an input
258 2016-10-15 Alan Modra <amodra@gmail.com>
260 * emultempl/spu_ovl.o_c: Regenerate.
262 2016-10-14 Alan Modra <amodra@gmail.com>
264 * scripttempl/DWARF.sc: Add .debug_addr.
266 2016-10-12 Alan Modra <amodra@gmail.com>
268 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
269 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
270 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
271 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
272 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
274 2016-10-11 Nick Clifton <nickc@redhat.com>
276 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
278 * ld-aarch64/emit-relocs-515.d: Likewise.
279 * ld-aarch64/emit-relocs-516-be.d: Likewise.
280 * ld-aarch64/emit-relocs-516.d: Likewise.
281 * ld-aarch64/farcall-b-plt.d: Likewise.
282 * ld-aarch64/farcall-bl-plt.d: Likewise.
283 * ld-aarch64/gc-plt-relocs.d: Likewise.
284 * ld-aarch64/tls-desc-ie.d: Likewise.
285 * ld-aarch64/tls-tiny-desc.d: Likewise.
286 * ld-aarch64/tls-tiny-gd.d: Likewise.
287 * ld-aarch64/tls-tiny-ie.d: Likewise.
288 * ld-arm/arm-app-abs32.d: Likewise.
289 * ld-arm/arm-app.d: Likewise.
290 * ld-arm/arm-lib-plt32.d: Likewise.
291 * ld-arm/arm-lib.d: Likewise.
292 * ld-arm/armthumb-lib.d: Likewise.
293 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
294 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
295 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
296 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
297 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
298 * ld-arm/farcall-mixed-app-v5.d: Likewise.
299 * ld-arm/farcall-mixed-app.d: Likewise.
300 * ld-arm/farcall-mixed-app2.d: Likewise.
301 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
302 * ld-arm/farcall-mixed-lib.d: Likewise.
303 * ld-arm/ifunc-10.dd: Likewise.
304 * ld-arm/ifunc-14.dd: Likewise.
305 * ld-arm/ifunc-15.dd: Likewise.
306 * ld-arm/ifunc-3.dd: Likewise.
307 * ld-arm/ifunc-4.dd: Likewise.
308 * ld-arm/ifunc-9.dd: Likewise.
309 * ld-arm/long-plt-format.d: Likewise.
310 * ld-arm/mixed-app-v5.d: Likewise.
311 * ld-arm/mixed-app.d: Likewise.
312 * ld-arm/mixed-lib.d: Likewise.
313 * ld-arm/tls-lib-loc.d: Likewise.
314 * ld-cris/dso-pltdis1.d: Likewise.
315 * ld-cris/dso-pltdis2.d: Likewise.
316 * ld-cris/dso12-pltdis.d: Likewise.
317 * ld-elf/symbolic-func.r: Likewise.
318 * ld-frv/fdpic-pie-1.d: Likewise.
319 * ld-frv/fdpic-pie-2.d: Likewise.
320 * ld-frv/fdpic-pie-6.d: Likewise.
321 * ld-frv/fdpic-pie-7.d: Likewise.
322 * ld-frv/fdpic-pie-8.d: Likewise.
323 * ld-frv/fdpic-shared-1.d: Likewise.
324 * ld-frv/fdpic-shared-2.d: Likewise.
325 * ld-frv/fdpic-shared-3.d: Likewise.
326 * ld-frv/fdpic-shared-4.d: Likewise.
327 * ld-frv/fdpic-shared-5.d: Likewise.
328 * ld-frv/fdpic-shared-6.d: Likewise.
329 * ld-frv/fdpic-shared-7.d: Likewise.
330 * ld-frv/fdpic-shared-8.d: Likewise.
331 * ld-frv/fdpic-shared-local-2.d: Likewise.
332 * ld-frv/fdpic-shared-local-8.d: Likewise.
333 * ld-frv/fdpic-static-1.d: Likewise.
334 * ld-frv/fdpic-static-2.d: Likewise.
335 * ld-frv/fdpic-static-6.d: Likewise.
336 * ld-frv/fdpic-static-7.d: Likewise.
337 * ld-frv/fdpic-static-8.d: Likewise.
338 * ld-frv/tls-dynamic-2.d: Likewise.
339 * ld-frv/tls-initial-shared-2.d: Likewise.
340 * ld-frv/tls-relax-shared-2.d: Likewise.
341 * ld-frv/tls-shared-2.d: Likewise.
342 * ld-i386/plt-nacl.pd: Likewise.
343 * ld-i386/plt-pic-nacl.pd: Likewise.
344 * ld-i386/plt-pic.pd: Likewise.
345 * ld-i386/plt.pd: Likewise.
346 * ld-i386/pr19636-1d-nacl.d: Likewise.
347 * ld-i386/pr19636-1d.d: Likewise.
348 * ld-i386/pr19636-2c-nacl.d: Likewise.
349 * ld-i386/pr19636-2c.d: Likewise.
350 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
351 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
352 * ld-ifunc/pr17154-i386.d: Likewise.
353 * ld-ifunc/pr17154-x86-64.d: Likewise.
354 * ld-m68k/plt1-68020.d: Likewise.
355 * ld-m68k/plt1-cpu32.d: Likewise.
356 * ld-m68k/plt1-isab.d: Likewise.
357 * ld-m68k/plt1-isac.d: Likewise.
358 * ld-metag/shared.d: Likewise.
359 * ld-metag/stub_pic_app.d: Likewise.
360 * ld-metag/stub_pic_shared.d: Likewise.
361 * ld-metag/stub_shared.d: Likewise.
362 * ld-s390/tlsbin_64.dd: Likewise.
363 * ld-s390/tlspic_64.dd: Likewise.
364 * ld-tic6x/shlib-1.dd: Likewise.
365 * ld-tic6x/shlib-1b.dd: Likewise.
366 * ld-tic6x/shlib-1rb.dd: Likewise.
367 * ld-tic6x/shlib-app-1.dd: Likewise.
368 * ld-tic6x/shlib-app-1b.dd: Likewise.
369 * ld-tic6x/shlib-app-1r.dd: Likewise.
370 * ld-tic6x/shlib-app-1rb.dd: Likewise.
371 * ld-tic6x/shlib-noindex.dd: Likewise.
372 * ld-vax-elf/export-class-data.dd: Likewise.
373 * ld-vax-elf/plt-local-lib.dd: Likewise.
374 * ld-vax-elf/plt-local.dd: Likewise.
375 * ld-x86-64/bnd-ifunc-2.d: Likewise.
376 * ld-x86-64/bnd-plt-1.d: Likewise.
377 * ld-x86-64/gotpcrel1.dd: Likewise.
378 * ld-x86-64/libno-plt-1b.dd: Likewise.
379 * ld-x86-64/load1c-nacl.d: Likewise.
380 * ld-x86-64/load1c.d: Likewise.
381 * ld-x86-64/load1d-nacl.d: Likewise.
382 * ld-x86-64/load1d.d: Likewise.
383 * ld-x86-64/mov1a.d: Likewise.
384 * ld-x86-64/mov1b.d: Likewise.
385 * ld-x86-64/mov1c.d: Likewise.
386 * ld-x86-64/mov1d.d: Likewise.
387 * ld-x86-64/mov2a.d: Likewise.
388 * ld-x86-64/mov2b.d: Likewise.
389 * ld-x86-64/mov2c.d: Likewise.
390 * ld-x86-64/mov2d.d: Likewise.
391 * ld-x86-64/mpx3.dd: Likewise.
392 * ld-x86-64/mpx4.dd: Likewise.
393 * ld-x86-64/no-plt-1a.dd: Likewise.
394 * ld-x86-64/no-plt-1b.dd: Likewise.
395 * ld-x86-64/no-plt-1c.dd: Likewise.
396 * ld-x86-64/no-plt-1e.dd: Likewise.
397 * ld-x86-64/no-plt-1f.dd: Likewise.
398 * ld-x86-64/no-plt-1g.dd: Likewise.
399 * ld-x86-64/plt-main-bnd.dd: Likewise.
400 * ld-x86-64/plt-nacl.pd: Likewise.
401 * ld-x86-64/plt.pd: Likewise.
402 * ld-x86-64/pr18591.d: Likewise.
403 * ld-x86-64/pr19609-1c.d: Likewise.
404 * ld-x86-64/pr19609-1e.d: Likewise.
405 * ld-x86-64/pr19609-1j.d: Likewise.
406 * ld-x86-64/pr19609-1l.d: Likewise.
407 * ld-x86-64/pr19609-1m.d: Likewise.
408 * ld-x86-64/pr19609-5b.d: Likewise.
409 * ld-x86-64/pr19609-5c.d: Likewise.
410 * ld-x86-64/pr19609-5e.d: Likewise.
411 * ld-x86-64/pr19609-6b.d: Likewise.
412 * ld-x86-64/pr19609-7b.d: Likewise.
413 * ld-x86-64/pr19609-7d.d: Likewise.
414 * ld-x86-64/pr19636-2d.d: Likewise.
415 * ld-x86-64/pr20093-1.d: Likewise.
416 * ld-x86-64/pr20093-2.d: Likewise.
417 * ld-x86-64/pr20253-1b.d: Likewise.
418 * ld-x86-64/pr20253-1d.d: Likewise.
419 * ld-x86-64/pr20253-1f.d: Likewise.
420 * ld-x86-64/pr20253-1h.d: Likewise.
421 * ld-x86-64/pr20253-1j.d: Likewise.
422 * ld-x86-64/pr20253-1l.d: Likewise.
423 * ld-x86-64/protected3.d: Likewise.
424 * ld-x86-64/tlsbin.dd: Likewise.
425 * ld-x86-64/tlsbin2.dd: Likewise.
426 * ld-x86-64/tlsbindesc.dd: Likewise.
427 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
428 * ld-x86-64/tlsdesc.dd: Likewise.
429 * ld-x86-64/tlsdesc.pd: Likewise.
430 * ld-x86-64/tlsgd10.dd: Likewise.
431 * ld-x86-64/tlsgd5.dd: Likewise.
432 * ld-x86-64/tlsgd6.dd: Likewise.
433 * ld-x86-64/tlsgd8.dd: Likewise.
434 * ld-x86-64/tlsgdesc.dd: Likewise.
435 * ld-x86-64/tlspic.dd: Likewise.
436 * ld-x86-64/tlspic2.dd: Likewise.
438 2016-10-11 Nick Clifton <nickc@redhat.com>
441 * emultempl/elf32.em (_search_needed): Add support for pseudo
442 environment variables supported by ld.so. Namely $ORIGIN, $LIB
444 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
445 * config.in: Regenerate.
446 * configure: Regenerate.
448 2016-10-11 Alan Modra <amodra@gmail.com>
450 * ldlang.c (lang_do_assignments_1): Descend into output section
451 statements that do not yet have bfd sections. Set symbol section
452 temporarily for symbols defined in such statements to the undefined
453 section. Don't error on data or reloc statements until final phase.
454 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
456 * testsuite/ld-mmix/bpo-10.d: Adjust.
457 * testsuite/ld-mmix/bpo-11.d: Adjust.
459 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
461 * emulparams/elf64_s390.sh: Move binary start to 16M.
462 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
463 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
465 2016-10-07 Alan Modra <amodra@gmail.com>
467 * ldexp.c (MAX): Define.
468 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
471 2016-10-07 Alan Modra <amodra@gmail.com>
473 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
474 * testsuite/ld-elf/elf.exp: ..here.
476 2016-10-06 Ludovic Courtès <ludo@gnu.org>
478 * emulparams/elf32bmipn32-defs.sh: Shift quote of
479 "x$EMULATION_NAME" to the left to work around
480 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
482 2016-10-06 Alan Modra <amodra@gmail.com>
484 * lexsup.c: Spell fall through comments consistently and add
485 missing fall through comments.
487 2016-10-06 Alan Modra <amodra@gmail.com>
489 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
492 2016-10-04 Alan Modra <amodra@gmail.com>
494 * ld.texinfo (Expression Section): Update result of arithmetic
496 * ldexp.c (arith_result_section): New function.
497 (fold_binary): Use it.
499 2016-10-04 Alan Modra <amodra@gmail.com>
501 * ldexp.c (exp_value_fold): New function.
502 (exp_unop, exp_binop, exp_trinop): Use it.
504 2016-09-30 Alan Modra <amodra@gmail.com>
506 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
508 * scripttempl/v850_rh850.sc: Likewise.
510 2016-09-30 Alan Modra <amodra@gmail.com>
513 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
514 multiple .text sections for hppa-linux.
515 * testsuite/ld-elf/pr20528b.d: Likewise.
517 2016-09-30 Alan Modra <amodra@gmail.com>
519 * ldmain.c (default_bfd_error_handler): New function pointer.
520 (ld_bfd_error_handler): New function.
521 (main): Arrange to call it on bfd errors/warnings.
522 (ld_bfd_assert_handler): Enable tail call.
524 2016-09-30 Alan Modra <amodra@gmail.com>
526 * ldlang.c (ignore_bfd_errors): Update params.
528 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
531 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
532 merge 2 sections with different SHF_EXCLUDE.
533 * testsuite/ld-elf/pr20528a.d: New file.
534 * testsuite/ld-elf/pr20528a.s: Likewise.
535 * testsuite/ld-elf/pr20528b.d: Likewise.
536 * testsuite/ld-elf/pr20528b.s: Likewise.
538 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
541 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
542 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
543 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
544 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
545 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
547 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
549 * Makefile.in: Regenerate.
550 * configure: Likewise.
552 2016-09-26 Alan Modra <amodra@gmail.com>
554 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
555 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
556 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
557 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
558 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
559 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
560 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
561 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
562 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
563 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
564 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
565 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
566 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
567 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
568 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
569 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
570 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
572 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
575 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
576 line and -r option to objdump command line. Match emitted relocs
577 to make sure that superflous relocs are not generated.
579 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
581 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
582 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
583 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
585 2016-09-22 Nick Clifton <nickc@redhat.com>
587 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
588 attempts to find a needed library.
590 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
592 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
594 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
595 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
596 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
597 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
598 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
599 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
600 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
601 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
602 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
603 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
604 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
605 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
606 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
607 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
608 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
609 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
610 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
611 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
612 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
613 * testsuite/ld-aarch64/erratum835769.d: Likewise.
614 * testsuite/ld-aarch64/erratum843419.d: Likewise.
615 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
616 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
617 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
618 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
619 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
620 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
621 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
622 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
623 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
624 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
625 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
626 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
627 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
628 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
629 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
630 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
631 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
632 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
634 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
636 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
637 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
639 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
641 * ld.texinfo (Input Section Basics): Expand the description of
644 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
646 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
647 Extensions entry functions in absolute section.
648 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
650 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
652 * testsuite/ld-arc/tls-dtpoff.dd: New file.
653 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
654 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
655 * testsuite/ld-arc/tls-relocs.ld: Likewise.
656 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
658 2016-09-14 Nick Clifton <nickc@redhat.com>
661 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
662 OPTION_NO_EH_FRAME_HDR.
663 (_add_options): Add support for --no-eh-frame-hdr.
664 * ld.texinfo: Document new option.
665 * lexsup.c (elf_shlib_list_options): List new option.
666 * NEWS: Mention the new option.
668 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
671 * testsuite/ld-x86-64/pr20550a.s: New file.
672 * testsuite/ld-x86-64/pr20550b.s: Likewise.
673 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
676 2016-09-06 Nick Clifton <nickc@redhat.com>
678 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
679 without any sanitization options.
680 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
681 any sanitization options.
682 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
683 as CFLAGS and CXXFLAGS respectively.
685 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
688 * testsuite/ld-avr/avr-prop-7.d: New test.
689 * testsuite/ld-avr/avr-prop-7.s: New test.
690 * testsuite/ld-avr/avr-prop-8.d: New test.
691 * testsuite/ld-avr/avr-prop-8.s: New test.
693 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
695 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
697 * testsuite/ld-elf/pr20513d.d: Likewise.
699 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
702 * testsuite/ld-elf/pr20513a.d: New file.
703 * testsuite/ld-elf/pr20513a.s: Likewise.
704 * testsuite/ld-elf/pr20513b.d: Likewise.
705 * testsuite/ld-elf/pr20513b.s: Likewise.
706 * testsuite/ld-elf/pr20513c.d: Likewise.
707 * testsuite/ld-elf/pr20513d.d: Likewise.
708 * testsuite/ld-elf/pr20513e.d: Likewise.
709 * testsuite/ld-elf/pr20513f.d: Likewise.
711 2016-08-31 Alan Modra <amodra@gmail.com>
714 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
716 2016-08-31 Alan Modra <amodra@gmail.com>
718 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
719 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
720 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
721 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
722 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
724 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
726 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
727 * testsuite/ld-arc/tls_ie-01.d: Likewise.
729 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
731 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
732 if ifunc attribute works.
734 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
738 * testsuite/ld-i386/i386.exp: Run pr20515.
739 * testsuite/ld-i386/pr20515.d: New file.
740 * testsuite/ld-i386/pr20515.s: Likewise.
741 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
743 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
744 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
745 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
746 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
747 * testsuite/ld-x86-64/x86-64.exp: Here.
748 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
749 * testsuite/ld-x86-64/pr19784a.c: Here.
750 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
751 * testsuite/ld-x86-64/pr19784b.c: Here.
752 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
753 * testsuite/ld-x86-64/pr19784c.c: Here.
755 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
757 * emultempl/armelf.em (params): New static variable.
758 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
759 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
760 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
761 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
763 (arm_elf_before_allocation): Access static variable from the params
765 (gld${EMULATION_NAME}_finish): Likewise.
766 (arm_elf_create_output_section_statements): Likewise and pass the
767 address of that structure to bfd_elf32_arm_set_target_relocs instead
768 of the static variables.
769 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
772 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
774 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
775 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
777 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
779 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
780 * testsuite/ld-arc/tls_ie-01.d: Likewise
782 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
784 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
786 (arm_elf_create_output_section_statements): Open import input library
787 file for writing and pass resulting in_implib_bfd to
788 bfd_elf32_arm_set_target_relocs.
789 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
790 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
791 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
792 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
793 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
794 (--in-implib): Document new option.
796 * testsuite/ld-arm/arm-elf.exp
797 (Secure gateway import library generation): add --defsym VER=1 to gas
799 (Secure gateway import library generation: errors): Likewise.
800 (Input secure gateway import library): New test.
801 (Input secure gateway import library: no output import library):
803 (Input secure gateway import library: not an SG input import library):
805 (Input secure gateway import library: earlier stub section base):
807 (Input secure gateway import library: later stub section base):
809 (Input secure gateway import library: veneer comeback): Likewise.
810 (Input secure gateway import library: entry function change):
812 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
813 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
814 * testsuite/ld-arm/cmse-new-implib.out: New file.
815 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
816 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
817 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
818 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
819 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
820 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
822 2016-08-25 Alan Modra <amodra@gmail.com>
824 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
825 support for BE. First output all target endian configury
826 values, then opposite endian. Handle more tooldirs. Fix
827 bogus matches with strings in MANUF-OS part of target triple.
829 2016-08-23 Alan Modra <amodra@gmail.com>
831 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
834 2016-08-19 Nick Clifton <nickc@redhat.com>
836 * emultempl/aarch64elf.em (before_parse): Initialise the relro
837 field in the link_info structure.
838 * emultempl/armelf.em (before_parse): Likewise.
839 * emultempl/linux.em (before_parse): Likewise.
840 * emultempl/scoreelf.em (before_parse): Likewise.
842 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
843 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
844 * testsuite/ld-alpha/tlspic.rd: Likewise.
845 * testsuite/ld-cris/libdso-2.d: Likewise.
846 * testsuite/ld-i386/nogot1.d: Likewise.
847 * testsuite/ld-i386/pr12718.d: Likewise.
848 * testsuite/ld-i386/pr12921.d: Likewise.
849 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
850 * testsuite/ld-i386/tlsbin.rd: Likewise.
851 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
852 * testsuite/ld-i386/tlsbin2.rd: Likewise.
853 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
854 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
855 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
856 * testsuite/ld-i386/tlsdesc.rd: Likewise.
857 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
858 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
859 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
860 * testsuite/ld-i386/tlsnopic.rd: Likewise.
861 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
862 * testsuite/ld-i386/tlspic.rd: Likewise.
863 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
864 * testsuite/ld-i386/tlspic2.rd: Likewise.
865 * testsuite/ld-ia64/tlsbin.rd: Likewise.
866 * testsuite/ld-ia64/tlspic.rd: Likewise.
867 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
868 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
869 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
870 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
871 * testsuite/ld-mmix/bspec1.d: Likewise.
872 * testsuite/ld-mmix/bspec2.d: Likewise.
873 * testsuite/ld-mmix/local1.d: Likewise.
874 * testsuite/ld-mmix/local3.d: Likewise.
875 * testsuite/ld-mmix/local5.d: Likewise.
876 * testsuite/ld-mmix/local7.d: Likewise.
877 * testsuite/ld-mmix/undef-3.d: Likewise.
878 * testsuite/ld-powerpc/tlsexe.r: Likewise.
879 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
880 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
881 * testsuite/ld-powerpc/tlsso.r: Likewise.
882 * testsuite/ld-powerpc/tlsso32.r: Likewise.
883 * testsuite/ld-powerpc/tlstocso.r: Likewise.
884 * testsuite/ld-s390/tlsbin.rd: Likewise.
885 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
886 * testsuite/ld-s390/tlspic.rd: Likewise.
887 * testsuite/ld-s390/tlspic_64.rd: Likewise.
888 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
889 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
890 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
891 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
892 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
893 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
894 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
895 * testsuite/ld-sh/tlsbin-2.d: Likewise.
896 * testsuite/ld-sh/tlspic-2.d: Likewise.
897 * testsuite/ld-sparc/gotop32.rd: Likewise.
898 * testsuite/ld-sparc/gotop64.rd: Likewise.
899 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
900 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
901 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
902 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
903 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
904 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
905 * testsuite/ld-tic6x/common.d: Likewise.
906 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
907 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
908 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
909 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
910 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
911 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
912 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
913 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
914 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
915 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
916 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
917 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
918 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
919 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
920 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
921 * testsuite/ld-x86-64/nogot1.d: Likewise.
922 * testsuite/ld-x86-64/pr12718.d: Likewise.
923 * testsuite/ld-x86-64/pr12921.d: Likewise.
924 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
925 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
926 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
927 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
928 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
929 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
930 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
931 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
932 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
933 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
934 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
935 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
936 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
937 * testsuite/ld-x86-64/tlspic.rd: Likewise.
938 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
939 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
940 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
941 * testsuite/ld-xtensa/tlspic.rd: Likewise.
943 2016-08-18 Alan Modra <amodra@gmail.com>
945 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
948 2016-08-12 Alan Modra <amodra@gmail.com>
950 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
951 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
952 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
953 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
954 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
955 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
956 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
957 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
958 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
959 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
960 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
961 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
962 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
964 2016-08-12 Alan Modra <amodra@gmail.com>
966 * testsuite/ld-undefined/weak-fundef.s: New.
967 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
968 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
969 much of old code. Use is_elf_format to select targets.
971 2016-08-11 Alan Modra <amodra@gmail.com>
974 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
976 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
978 2016-08-11 Nick Clifton <nickc@redhat.com>
981 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
982 testing remotely, check to see if target compiler is installed
983 before trying to run it.
985 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
988 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
991 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
993 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
995 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
997 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
998 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
999 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
1001 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
1003 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1005 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
1008 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
1010 (check_lto_available): Return 0 if check_gcc_plugin_enabled
1012 (check_lto_fat_available): Likewise.
1013 (check_lto_shared_available): Likewise.
1015 2016-08-09 Roland McGrath <roland@hack.frob.com>
1017 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1019 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1021 * emultempl/armelf.em (cmse_implib): Declare and define this new
1023 (arm_elf_create_output_section_statements): Add new cmse_implib
1025 (OPTION_CMSE_IMPLIB): Define macro.
1026 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
1027 (PARSE_AND_LIST_OPTIONS): Likewise.
1028 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
1029 * ld.texinfo (--cmse-implib): Document new option.
1030 * testsuite/ld-arm/arm-elf.exp
1031 (Secure gateway import library generation): New test.
1032 (Secure gateway import library generation: errors): Likewise.
1033 * testsuite/ld-arm/cmse-implib.s: New file.
1034 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
1035 * testsuite/ld-arm/cmse-implib.rd: Likewise.
1037 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1039 * ld.texinfo (Placement of SG veneers): New concept entry.
1040 * testsuite/ld-arm/arm-elf.exp
1041 (Secure gateway veneers: no .gnu.sgstubs section): New test.
1042 (Secure gateway veneers: wrong entry functions): Likewise.
1043 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
1044 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
1045 * testsuite/ld-arm/cmse-veneers.s: New file.
1046 * testsuite/ld-arm/cmse-veneers.d: Likewise.
1047 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
1048 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
1049 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
1050 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
1052 2016-08-02 Nick Clifton <nickc@redhat.com>
1055 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
1057 * emulparams/shelf32.sh: Likewise.
1058 * emulparams/shelf32.sh: Likewise.
1059 * emulparams/shelf_nto.sh: Likewise.
1060 * emulparams/shelf_nto.sh: Likewise.
1061 * emulparams/shelf_vxworks.sh: Likewise.
1062 * emulparams/shelf_vxworks.sh: Likewise.
1063 * emulparams/shlelf32_linux.sh: Likewise.
1064 * emulparams/shlelf32_linux.sh: Likewise.
1065 * emulparams/shlelf_linux.sh: Likewise.
1066 * emulparams/shlelf_linux.sh: Likewise.
1067 * emulparams/shlelf_nto.sh: Likewise.
1068 * emulparams/shlelf_nto.sh: Likewise.
1070 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1072 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1073 patterns for branch compaction.
1074 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1077 2016-07-27 Nick Clifton <nickc@redhat.com>
1079 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1080 test to targets which support cfi.
1082 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1084 * ldbuildid.c (generate_build_id): Warning fix.
1086 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1088 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1089 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1090 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1091 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1093 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1095 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1097 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1099 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1101 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1103 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1105 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1107 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1109 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1111 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1113 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1115 * ldbuildid.c: Changes for MinGW32:
1116 Include windows.h and rpcdce.h.
1117 (validate_build_id_style): Allow "uuid" style.
1118 (generate_build_id): Fill in id_bits using UuidCreate().
1120 2016-07-25 Alan Modra <amodra@gmail.com>
1122 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1123 and m32r. Correct comment. Relax ld -r match to account for
1124 msp increased number of default sections.
1126 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1128 * testsuite/ld-arc/got-01.d: New file.
1129 * testsuite/ld-arc/got-01.s: New file.
1131 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1133 * configure: Regenerated.
1135 2016-07-21 Alan Modra <amodra@gmail.com>
1137 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1138 "targets_to_xfail" parameter with "args".
1139 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1140 all calls to run_ld_link_exec_tests.
1141 * testsuite/ld-elf/dwarf.exp: Likewise.
1142 * testsuite/ld-elf/indirect.exp: Likewise.
1143 * testsuite/ld-elf/wrap.exp: Likewise.
1144 * testsuite/ld-i386/i386.exp: Likewise.
1145 * testsuite/ld-i386/no-plt.exp: Likewise.
1146 * testsuite/ld-i386/tls.exp: Likewise.
1147 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1148 * testsuite/ld-pie/pie.exp: Likewise.
1149 * testsuite/ld-plugin/lto.exp: Likewise.
1150 * testsuite/ld-size/size.exp: Likewise.
1151 * testsuite/ld-x86-64/mpx.exp: Likewise.
1152 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1153 * testsuite/ld-x86-64/tls.exp: Likewise.
1154 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1155 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1156 xfails and simplify lists.
1157 * testsuite/ld-elf/shared.exp: Likewise.
1159 2016-07-21 Alan Modra <amodra@gmail.com>
1161 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1162 parameter to pass list of xfails.
1163 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1164 implib test formatting. Don't set .data start address.
1165 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1166 replace second one with equivalent .section directive.
1167 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1168 * testsuite/ld-elf/implib.rd: Update.
1170 2016-07-20 Alan Modra <amodra@gmail.com>
1172 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1174 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1176 2016-07-19 Roland McGrath <roland@hack.frob.com>
1178 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1179 * emulparams/aarch64elf32.sh: Likewise.
1181 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1183 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1185 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1186 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1187 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1188 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1189 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1190 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1191 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1192 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1193 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1194 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1195 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1196 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1197 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1198 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1199 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1200 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1201 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1202 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1203 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1205 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1207 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1209 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1211 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1213 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1214 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1216 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1218 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1219 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1220 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1221 microMIPS BAL and MIPS16 instructions.
1222 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1224 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1225 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1226 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1227 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1228 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1229 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1230 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1231 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1232 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1234 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1236 * plugin.c (plugin_call_claim_file): Restore the file offset after
1237 an unsuccessful attempt to claim a file.
1238 * testplug.c (bytes_to_read_before_claim): New global.
1239 (record_read_length): New function, sets new global
1240 bytes_to_read_before_claim.
1241 (parse_option): Handle 'read:<NUMBER>' option.
1242 (onclaim_file): Read file content before checking for claim.
1243 * testsuite/ld-plugin/plugin-30.d: New file.
1244 * testsuite/ld-plugin/plugin.exp: Add new test.
1246 2016-07-16 Alan Modra <amodra@gmail.com>
1248 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1249 before bfd/plugin.h.
1250 (plugin_object_p): Use bfd_plugin_open_input.
1252 2016-07-16 Alan Modra <amodra@gmail.com>
1254 * ldlang.c (open_output): Replace bfd_search_for_target with
1255 bfd_iterate_over_targets. Localize vars.
1257 2016-07-16 Alan Modra <amodra@gmail.com>
1259 * ldlang.c: Don't include libbfd.h.
1260 * emultempl/nds32elf.em: Likewise.
1261 * emultempl/ppc64elf.em: Likewise.
1262 * emultempl/ppc32elf.em: Likewise.
1264 (params): Update init.
1265 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1266 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1267 * emultempl/sh64elf.em: Don't include libbfd.h.
1268 (after_allocation): Use ASSERT, not BFD_ASSERT.
1269 * emultempl/xtensaelf.em: Don't include libbfd.h.
1270 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1271 * Makefile.am: Update dependencies.
1272 * Makefile.in: Regenerate.
1274 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1275 Nick Clifton <nickc@redhat.com>
1277 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1278 library file for writing and initialize implib_bfd field of link_info
1280 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1281 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1282 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1283 (gld_${EMULATION_NAME}_list_options): Likewise.
1284 (gld${EMULATION_NAME}_handle_option): Likewise.
1285 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1286 instead of pe_implib_filename.
1287 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1288 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1289 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1290 (gld_${EMULATION_NAME}_list_options): Likewise.
1291 (gld${EMULATION_NAME}_handle_option): Likewise.
1292 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1293 instead of pep_implib_filename.
1294 * ld.h (args_type): Declare new out_implib_filename field.
1295 * ld.texinfo (--out-implib): Move documentation to arch-independent
1296 part and rephrase to apply to ELF targets.
1297 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1298 defined in linker scripts.
1299 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1301 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1302 (parse_args): Handle OPTION_OUT_IMPLIB case.
1303 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1304 (Generate import library): Likewise.
1305 * testsuite/ld-elf/implib.s: Likewise.
1306 * testsuite/ld-elf/implib.rd: New file.
1307 * testsuite/ld-elf/empty-implib.out: Likewise
1309 2016-07-15 Nick Clifton <nickc@redhat.com>
1311 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1314 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1316 * testsuite/ld-mips-elf/mips-elf.exp: Run
1317 `branch-absolute-addend', `mips16-branch-absolute',
1318 `mips16-branch-absolute-addend' and
1319 `micromips-branch-absolute-addend'.
1321 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1323 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1324 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1325 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1326 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1328 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1330 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1332 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1333 from `mips16-branch-absolute' and
1334 `mips16-branch-absolute-addend', referred indirectly only.
1336 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1338 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1339 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1340 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1341 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1342 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1343 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1344 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1345 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1347 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1349 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1351 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1353 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1355 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1356 from `branch-absolute-addend' and
1357 `micromips-branch-absolute-addend', referred indirectly only.
1359 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1361 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1362 * testsuite/ld-arc/sda-relocs.dd: New file.
1363 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1364 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1365 * testsuite/ld-arc/sda-relocs.s: Likewise.
1366 * testsuite/ld-arc/arc.exp: Add SDA tests.
1368 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1370 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1373 2016-07-09 Alan Modra <amodra@gmail.com>
1375 * testsuite/ld-powerpc/elfv2exe.d: Update.
1377 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1379 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1383 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1385 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1387 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1389 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1390 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1391 * testsuite/ld-arm/arm-elf.exp: Run it.
1393 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1395 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1396 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1397 all noread's by purecode.
1399 2016-07-05 Jan Beulich <jbeulich@suse.com>
1401 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1402 assignment line number.
1403 * ldlex.l (lineno): Drop initializer.
1404 (<<EOF>>): Set lineno to zero after reaching top of stack.
1406 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1409 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1410 been loaded already.
1411 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1412 * testsuite/ld-plugin/pr20321.c: New file.
1414 2016-07-04 Nick Clifton <nickc@redhat.com>
1416 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1417 (__RAMSIZE): If not defined, set to 64K.
1418 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1421 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1423 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1424 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1426 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1428 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1429 (Thumb-2 BL on ARMv6-M): New testcase.
1430 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1431 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1433 2016-07-01 Tristan Gingold <gingold@adacore.com>
1435 * NEWS: Add marker for 2.27.
1437 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1439 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1440 * ld-gc/pr20306.c: New file.
1441 * ld-gc/pr20306.d: Likewise.
1443 2016-06-28 Nick Clifton <nickc@redhat.com>
1445 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1447 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1448 tests to fail for bfin.
1449 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1451 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1453 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1456 2016-06-28 Nick Clifton <nickc@redhat.com>
1458 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1459 expect to fail this test.
1460 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1462 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1464 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1465 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1466 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1467 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1468 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1470 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1472 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1475 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1477 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1478 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1479 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1480 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1482 2016-06-28 Alan Modra <amodra@gmail.com>
1485 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1487 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1489 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1490 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1491 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1492 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1493 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1494 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1496 2016-06-27 Nick Clifton <nickc@redhat.com>
1499 * lexsup.c (set_segment_start): If resetting the start address of
1500 a section, remember to generate a new script element as well.
1501 * testsuite/ld-scripts/pr20302.d: New test.
1502 * testsuite/ld-scripts/scripts.exp: Run the new test.
1504 2016-06-24 Alan Modra <amodra@gmail.com>
1506 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1507 Don't error out, always return an emulation.
1509 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1510 H.J. Lu <hongjiu.lu@intel.com>
1512 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1513 for -z relro help message.
1515 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1517 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1520 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1522 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1523 `undefweak-overflow' tests.
1525 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1528 * NEWS: Mention --enable-relro.
1529 * configure.ac: Add --enable-relro.
1530 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1531 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1533 * config.in: Regenerated.
1534 * configure: Likewise.
1535 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1536 link_info.relro to DEFAULT_LD_Z_RELRO.
1537 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1538 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1539 $ld_elf_shared_opt to ld for ELF targets with shared object
1541 (run_ld_link_tests): Likewise.
1543 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1545 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1546 twice rather than once.
1547 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1548 accordingly. Remove the full stop from the end of the message.
1550 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1552 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1553 * testsuite/ld-arc/nps-1b.d: Likewise.
1555 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1558 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1560 (lto_run_tests): Likewise.
1561 * testsuite/ld-plugin/pr20267a.c: New file.
1562 * testsuite/ld-plugin/pr20267b.c: Likewise.
1564 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1565 Alan Modra <amodra@gmail.com>
1568 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1569 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1571 (lto_run_tests): Likewise.
1572 * testsuite/ld-plugin/pass.out: New file.
1573 * testsuite/ld-plugin/pr20276a.c: Likewise.
1574 * testsuite/ld-plugin/pr20276b.c: Likewise.
1576 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1578 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1579 with bfd_plugin_unknown.
1581 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1584 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1585 * testsuite/ld-i386/no-plt.exp: Likewise.
1586 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1587 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1588 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1589 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1590 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1591 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1592 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1593 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1594 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1595 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1596 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1597 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1598 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1599 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1600 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1601 * testsuite/ld-i386/pr20244-2b.d: Updated.
1602 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1603 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1604 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1605 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1606 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1607 * testsuite/ld-i386/pr20253-1a.c: New file.
1608 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1609 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1610 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1611 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1612 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1613 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1614 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1615 * testsuite/ld-i386/pr20253-3.d: Likewise.
1616 * testsuite/ld-i386/pr20253-3.s: Likewise.
1617 * testsuite/ld-i386/pr20253-4.s: Likewise.
1618 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1619 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1620 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1621 * testsuite/ld-i386/pr20253-5.d: Likewise.
1622 * testsuite/ld-i386/pr20253-5.s: Likewise.
1623 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1624 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1625 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1626 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1627 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1628 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1629 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1630 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1631 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1632 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1633 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1634 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1635 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1636 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1637 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1638 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1639 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1640 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1641 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1642 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1643 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1644 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1645 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1646 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1647 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1648 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1649 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1650 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1651 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1652 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1653 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1654 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1655 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1656 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1657 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1658 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1659 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1660 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1661 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1662 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1663 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1664 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1666 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1667 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1668 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1669 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1670 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1672 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1673 Tony Wang <tony.wang@arm.com>
1675 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1676 Assemble for ARMv6-M.
1677 (Thumb2-Thumb2 farcall M profile): New testcase.
1678 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1679 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1680 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1681 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1683 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1685 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1686 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1687 Remove .rel.plt section.
1688 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1690 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1692 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1694 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1695 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1696 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1698 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1699 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1700 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1701 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1702 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1703 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1704 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1705 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1706 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1707 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1708 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1709 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1710 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1711 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1712 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1713 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1714 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1715 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1716 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1718 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1721 * testsuite/ld-avr/avr-prop-6.d: New test.
1722 * testsuite/ld-avr/avr-prop-6.s: New test.
1724 2016-06-14 Alan Modra <amodra@gmail.com>
1726 * ldbuildid.c: Formatting.
1727 * ldcref.c: Formatting.
1728 * ldctor.c: Formatting.
1729 * ldemul.c: Formatting.
1730 * ldexp.c: Formatting.
1731 * ldfile.c: Formatting.
1732 * ldlang.c: Formatting.
1733 * ldmain.c: Formatting.
1734 * ldwrite.c: Formatting.
1736 2016-06-14 Alan Modra <amodra@gmail.com>
1738 * ldlang.c: Expand uses of bfd_my_archive.
1739 * ldmain.c: Likewise.
1740 * ldmisc.c: Likewise.
1741 * plugin.c: Likewise.
1743 2016-06-14 Alan Modra <amodra@gmail.com>
1746 * ldmain.c (add_archive_element): Just print file name of file within
1748 * ldmisc.c (vfinfo): Likewise.
1749 * plugin.c (plugin_object_p): Open file within thin archives.
1750 (plugin_maybe_claim): Expand comment.
1752 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1755 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1756 pr20244-2c and pr20244-2d.
1757 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1758 * testsuite/ld-i386/pr20244-2.s: New file.
1759 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1760 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1761 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1762 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1763 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1764 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1765 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1766 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1768 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1770 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1771 * testsuite/ld-i386/ifunc-1a.c: New file.
1772 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1773 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1774 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1776 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1778 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1779 big endian ARC targets.
1781 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1783 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1784 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1785 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1786 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1787 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1788 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1789 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1790 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1791 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1792 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1793 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1794 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1795 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1796 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1797 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1799 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1802 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1803 * testsuite/ld-i386/pr20244-1.s: New file.
1804 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1805 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1806 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1808 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1811 * testsuite/ld-avr/avr-prop-5.d: New.
1812 * testsuite/ld-avr/avr-prop-5.s: New.
1814 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1816 * testsuite/ld-avr/lds-mega.d: New test.
1817 * testsuite/ld-avr/lds-mega.s: New test source.
1818 * testsuite/ld-avr/lds-tiny.d: New test.
1819 * testsuite/ld-avr/lds-tiny.s: New test source.
1821 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1823 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1824 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1825 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1826 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1827 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1828 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1829 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1830 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1831 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1832 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1833 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1834 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1835 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1836 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1837 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1838 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1839 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1840 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1841 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1842 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1843 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1844 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1845 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1846 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1847 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1848 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1849 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1850 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1851 * testsuite/ld-i386/no-plt.exp: Likewise.
1853 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1855 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1858 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1860 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1861 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1862 * testsuite/ld-i386/pass.out: New file.
1863 * testsuite/ld-i386/tls-def1.c: Likewise.
1864 * testsuite/ld-i386/tls-gd1.S: Likewise.
1865 * testsuite/ld-i386/tls-ld1.S: Likewise.
1866 * testsuite/ld-i386/tls-main1.c: Likewise.
1867 * testsuite/ld-i386/tls.exp: Likewise.
1868 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1869 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1870 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1871 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1872 * testsuite/ld-i386/tlsbin2.td: Likewise.
1873 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1874 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1875 * testsuite/ld-i386/tlsgd3.s: Likewise.
1876 * testsuite/ld-i386/tlsgd4.d: Likewise.
1877 * testsuite/ld-i386/tlsgd4.s: Likewise.
1878 * testsuite/ld-i386/tlsld2.s: Likewise.
1879 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1880 * testsuite/ld-i386/tlspic2.dd: Likewise.
1881 * testsuite/ld-i386/tlspic2.rd: Likewise.
1882 * testsuite/ld-i386/tlspic2.sd: Likewise.
1883 * testsuite/ld-i386/tlspic2.td: Likewise.
1884 * testsuite/ld-i386/tlspic3.s: Likewise.
1885 * testsuite/ld-i386/tlspie3.s: Likewise.
1886 * testsuite/ld-i386/tlspie3a.d: Likewise.
1887 * testsuite/ld-i386/tlspie3b.d: Likewise.
1888 * testsuite/ld-i386/tlspie3c.d: Likewise.
1890 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1892 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1893 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1894 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1895 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1896 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1897 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1898 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1899 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1901 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1903 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1904 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1905 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1906 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1907 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1908 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1909 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1910 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1911 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1912 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1913 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1914 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1915 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1916 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1917 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1918 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1919 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1920 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1921 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1922 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1923 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1925 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1927 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1929 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1931 * testsuite/ld-s390/pltoffset-1.dd: New test.
1932 * testsuite/ld-s390/pltoffset-1.ld: New test.
1933 * testsuite/ld-s390/pltoffset-1.s: New test.
1934 * testsuite/ld-s390/s390.exp: Run new test.
1936 2016-06-07 Alan Modra <amodra@gmail.com>
1938 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1939 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1940 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1942 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1944 * testsuite/ld-x86-64/pass.out: New file.
1945 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1946 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1947 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1948 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1949 * testsuite/ld-x86-64/tls.exp: Likewise.
1950 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1951 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1952 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1953 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1954 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1955 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1956 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1957 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1958 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1959 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1960 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1961 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1962 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1963 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1964 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1965 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1966 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1967 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1968 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1969 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1970 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1971 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1972 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1973 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1974 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1975 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1976 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1977 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1978 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1979 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1980 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1981 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1982 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1983 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1984 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1985 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1986 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1987 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1988 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1989 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1990 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1993 2016-06-04 Christian Groessler <chris@groessler.org>
1995 * testsuite/ld-z8k/0filler.s: New file.
1996 * testsuite/ld-z8k/branch-target.s: New file.
1997 * testsuite/ld-z8k/branch-target2.s: New file.
1998 * testsuite/ld-z8k/calr-back-8001.d: New file.
1999 * testsuite/ld-z8k/calr-back-8002.d: New file.
2000 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
2001 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
2002 * testsuite/ld-z8k/calr-forw-8001.d: New file.
2003 * testsuite/ld-z8k/calr-forw-8002.d: New file.
2004 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
2005 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
2006 * testsuite/ld-z8k/calr-opcode.s: New file.
2007 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
2008 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
2009 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
2010 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
2011 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
2012 * testsuite/ld-z8k/djnz-back-8001.d: New file.
2013 * testsuite/ld-z8k/djnz-back-8002.d: New file.
2014 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
2015 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
2016 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
2017 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
2018 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
2019 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
2020 * testsuite/ld-z8k/djnz-opcode.s: New file.
2021 * testsuite/ld-z8k/filler.s: New file.
2022 * testsuite/ld-z8k/jr-back-8001.d: New file.
2023 * testsuite/ld-z8k/jr-back-8002.d: New file.
2024 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
2025 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
2026 * testsuite/ld-z8k/jr-forw-8001.d: New file.
2027 * testsuite/ld-z8k/jr-forw-8002.d: New file.
2028 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
2029 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
2030 * testsuite/ld-z8k/jr-opcode.s: New file.
2031 * testsuite/ld-z8k/ldr-back-8001.d: New file.
2032 * testsuite/ld-z8k/ldr-back-8002.d: New file.
2033 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
2034 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
2035 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
2036 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
2037 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
2038 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
2039 * testsuite/ld-z8k/ldr-opcode.s: New file.
2040 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
2041 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
2042 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
2043 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
2044 * testsuite/ld-z8k/ldrb-opcode.s: New file.
2045 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
2046 * testsuite/ld-z8k/other-file.s: New file.
2047 * testsuite/ld-z8k/reloc.dd: New file.
2048 * testsuite/ld-z8k/reloc.ld: New file.
2049 * testsuite/ld-z8k/relocseg.dd: New file.
2050 * testsuite/ld-z8k/relocseg.ld: New file.
2051 * testsuite/ld-z8k/relocseg1.dd: New file.
2052 * testsuite/ld-z8k/this-file.s: New file.
2053 * testsuite/ld-z8k/z8k.exp: New file.
2055 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2057 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
2058 with -mrelax-relocations=yes.
2059 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
2060 * testsuite/ld-i386/lea1b.d (as): Likewise.
2061 * testsuite/ld-i386/lea1d.d (as): Likewise.
2062 * testsuite/ld-i386/lea1e.d (as): Likewise.
2063 * testsuite/ld-i386/lea1f.d (as): Likewise.
2064 * testsuite/ld-i386/load7.d (as): Likewise.
2065 * testsuite/ld-i386/mov1b.d (as): Likewise.
2066 * testsuite/ld-i386/pr19175.d (as): Likewise.
2067 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
2068 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
2069 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
2070 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
2071 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2073 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2075 * configure.tgt: Replace -uclibc with *.
2077 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2079 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2080 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2081 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2082 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2084 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2086 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2087 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2088 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2089 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2090 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2091 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2093 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2095 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2096 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2097 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2098 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2099 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2100 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2101 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2103 2016-05-28 Alan Modra <amodra@gmail.com>
2105 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2106 constructor_callback, warning_callback, undefined_symbol,
2107 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2108 * emultempl/elf32.em: Adjust callback calls.
2110 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2112 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2113 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2114 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2116 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2118 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2120 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2122 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2124 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2126 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2128 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2130 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2131 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2133 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2135 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2137 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2138 `unaligned-jalx-2' here.
2139 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2140 `unaligned-jalx-mips16-2' here.
2141 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2142 `unaligned-jalx-micromips-2' here.
2143 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2144 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2146 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2147 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2148 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2149 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2150 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2152 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2153 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2154 `unaligned-lwpc-3' here.
2155 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2156 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2157 `unaligned-lwpc-2' here.
2158 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2159 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2160 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2161 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2162 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2163 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2164 `unaligned-ldpc-4' here.
2165 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2166 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2167 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2168 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2169 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2170 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2171 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2172 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2173 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2174 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2175 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2177 2016-05-26 Nick Clifton <nickc@redhat.com>
2180 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2182 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2184 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2186 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2187 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2188 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2189 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2190 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2191 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2192 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2193 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2194 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2195 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2196 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2197 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2198 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2199 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2200 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2201 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2202 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2203 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2204 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2205 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2206 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2207 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2208 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2209 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2210 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2211 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2212 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2213 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2214 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2215 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2216 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2217 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2218 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2220 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2223 * ldmain.c (add_archive_element): Don't claim new IR symbols
2224 after all IR symbols have been claimed.
2225 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2227 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2228 Run PR ld/20103 tests.
2229 * testsuite/ld-plugin/pr20103a.c: New file.
2230 * testsuite/ld-plugin/pr20103b.c: Likewise.
2231 * testsuite/ld-plugin/pr20103c.c: Likewise.
2233 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2235 * testsuite/ld-mips-elf/jalx-local.d: New test.
2236 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2237 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2238 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2240 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2242 * Makefile.am: Add earmelf_phoenix.c.
2243 * Makefile.in: Regenerate.
2244 * configure.tgt: Add entry for arm-phoenix.
2245 * emulparams/armelf_phoenix.sh: New file.
2247 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2249 * emultempl/armelf.em (arm_elf_before_allocation): Call
2250 bfd_elf32_arm_keep_private_stub_output_sections before generic
2251 before_allocation function.
2253 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2255 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2256 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2257 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2258 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2260 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2263 * testsuite/ld-i386/i386.exp: Run pr20117.
2264 * testsuite/ld-i386/pr19609-1i.d: Updated.
2265 * testsuite/ld-i386/pr20117.d: New file.
2266 * testsuite/ld-i386/pr20117.s: Likewise.
2268 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2270 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2271 * testsuite/ld-elf/group8a.d: Likewise.
2272 * testsuite/ld-elf/group8b.d: Likewise.
2273 * testsuite/ld-elf/group9a.d: Likewise.
2274 * testsuite/ld-elf/group9b.d: Likewise.
2275 * testsuite/ld-elf/pr12851.d: Likewise.
2276 * testsuite/ld-elf/pr12975.d: Likewise.
2277 * testsuite/ld-elf/pr13177.d: Likewise.
2278 * testsuite/ld-elf/pr13195.d: Likewise.
2279 * testsuite/ld-elf/pr17615.d: Likewise.
2280 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2281 * testsuite/ld-elf/group3b.d: Likewise.
2282 * testsuite/ld-srec/srec.exp: Likewise.
2283 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2285 (check_shared_lib_support): Mark ARC as supporting.
2287 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2289 * emulparams/arcelf.sh: Changed.
2290 * emulparams/arclinux.sh: Likewise.
2291 * scripttempl/arclinux.sc: Moved to a more standard implementation
2294 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2296 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2297 `ft32-*-*' behind `frv-*-*'.
2299 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2301 * configure.tgt: Remove `am34-*-linux*' support.
2303 2016-05-19 Alan Modra <amodra@gmail.com>
2305 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2306 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2307 * testsuite/ld-scripts/cross3.t: Likewise.
2308 * testsuite/ld-scripts/cross4.t: Likewise.
2309 * testsuite/ld-scripts/cross5.t: Likewise.
2310 * testsuite/ld-scripts/cross6.t: Likewise.
2311 * testsuite/ld-scripts/cross7.t: Likewise.
2313 2016-05-19 Alan Modra <amodra@gmail.com>
2315 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2316 exe name rather than constructing testname. Fix typo in
2317 sub-test name. Log copying. Use -rpath rather than -R.
2319 2016-05-18 Nick Clifton <nickc@redhat.com>
2321 * scripttempl/ft32.sc: Use fixed constants for memory region
2322 lengths. Include DWARF debug sections.
2323 (.data .bss): Do not assign locations during relocatable links.
2324 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2325 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2326 * testsuite/ld-elf/sec64k.exp: Likewise.
2327 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2328 * testsuite/ld-elf/merge.d: Likewise.
2329 * testsuite/ld-elf/orphan-region.d: Likewise.
2330 * testsuite/ld-elf/orphan.s: Likewise.
2331 * testsuite/ld-elf/orphan3.d: Likewise.
2332 * testsuite/ld-elf/pr349.d: Likewise.
2333 * testsuite/ld-elf/warn2.d: Likewise.
2334 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2335 that the FT32 does not support shared libraries.
2337 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2339 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2342 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2344 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2346 * scripttempl/avrtiny.sc (text): Likewise.
2348 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2350 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2351 `supports_gnu_unique' to qualify testing.
2353 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2355 * testsuite/ld-elf/flags1.d: Update the xfail list.
2357 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2359 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2362 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2365 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2366 on EXPECTED_VIEW_LENGTH.
2367 * testplug4.c (onall_symbols_read): Likewise.
2369 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2372 * testsuite/ld-x86-64/pr20093-1.d: New file.
2373 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2374 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2375 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2376 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2378 2016-05-13 Alan Modra <amodra@gmail.com>
2380 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2381 Use different output file name for static app without .rel.plt.
2382 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2383 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2384 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2385 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2386 * testsuite/ld-arm/arm-static-app.r: Likewise.
2388 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2391 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2392 (libldtestplug4_la_SOURCES): New.
2393 (libldtestplug4_la_CFLAGS): Likewise.
2394 (libldtestplug4_la_LDFLAGS): Likewise.
2395 * Makefile.in: Regenerated.
2396 * plugin.c (get_symbols): Return resolution based on IR symbol
2397 kinds for symbols defined/referenced only within IR.
2398 * testplug4.c: New file.
2399 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2400 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2401 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2402 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2403 (plugin4_path): Likewise.
2404 Add a test for ld/20070.
2406 2016-05-11 Alan Modra <amodra@gmail.com>
2408 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2409 Call elf32_hppa_init_stub_bfd.
2411 2016-05-11 Alan Modra <amodra@gmail.com>
2414 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2415 * testsuite/ld-powerpc/tlsdll.s: New.
2416 * testsuite/ld-powerpc/tlsdll.ver: New.
2417 * testsuite/ld-powerpc/tlsdll_32.s: New.
2418 * testsuite/ld-powerpc/tlsopt5.d: New.
2419 * testsuite/ld-powerpc/tlsopt5.s: New.
2420 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2421 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2423 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2425 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2426 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2428 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2430 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2431 parameter and rename input_section parameter to after_input_section.
2432 Append input stub section to the output section if after_input_section
2435 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2437 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2439 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2440 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2442 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2444 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2446 2016-05-09 Christophe Monat <christophe.monat@st.com>
2449 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2450 tests. Fix misnamed stm32l4xx-fix-all.
2451 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2452 loads with DP registers.
2453 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2454 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2455 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2456 loads with DP registers.
2457 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2459 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2461 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2463 (xfail): Remove avr-*-*.
2464 Update regex to check the section flags.
2465 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2467 2016-05-09 Alan Modra <amodra@gmail.com>
2469 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2470 * Makefile.in: Regenerate.
2472 2016-05-09 Alan Modra <amodra@gmail.com>
2474 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2475 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2476 * testsuite/ld-scripts/section-match-1.t: Likewise.
2478 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2481 * testsuite/ld-elf/pr17550-1.s: New file.
2482 * testsuite/ld-elf/pr17550-2.s: Likewise.
2483 * testsuite/ld-elf/pr17550-3.s: Likewise.
2484 * testsuite/ld-elf/pr17550-4.s: Likewise.
2485 * testsuite/ld-elf/pr17550a.d: Likewise.
2486 * testsuite/ld-elf/pr17550b.d: Likewise.
2487 * testsuite/ld-elf/pr17550c.d: Likewise.
2488 * testsuite/ld-elf/pr17550d.d: Likewise.
2490 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2492 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2494 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2496 * testsuite/ld-i386/i386.exp: Run load7.
2497 * testsuite/ld-i386/load7.d: New file.
2498 * testsuite/ld-i386/load7.map: Likewise.
2499 * testsuite/ld-i386/load7.s: Likewise.
2500 * testsuite/ld-x86-64/load2.d: Likewise.
2501 * testsuite/ld-x86-64/load2.map: Likewise.
2502 * testsuite/ld-x86-64/load2.s: Likewise.
2503 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2505 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2507 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2508 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2510 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2513 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2515 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2517 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2519 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2521 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2523 * testsuite/ld-unique/unique.d: New test.
2524 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2525 messages for compiled tests.
2527 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2529 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2530 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2531 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2532 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2533 plugin_tests only if check_shared_lib_support is true.
2534 * testsuite/ld-selective/selective.exp: Add --section-start
2537 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2540 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2542 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2544 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2545 * NEWS: Mention --no-apply-dynamic-relocs.
2546 * ld.texinfo (ld and the ARM family): Document
2547 --no-apply-dynamic-relocs.
2548 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2549 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2550 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2551 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2554 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2556 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2557 before running STT_COMMON tests.
2559 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2561 * config/default.exp (NOPIE_CFLAGS): Download source only on
2563 (NOPIE_LDFLAGS): Likewise.
2564 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2565 (check_lto_fat_available): Likewise.
2566 (check_lto_shared_available): Likewise.
2567 (check_ifunc_available): Likewise.
2568 (check_ifunc_attribute_available): Likewise.
2570 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2572 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2574 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2577 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2578 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2581 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2583 * testsuite/ld-elf/compressed1b.d: Pass
2584 --compress-debug-sections=none to ld.
2585 * testsuite/ld-elf/compressed1c.d: Likewise.
2587 2016-04-27 Alan Modra <amodra@gmail.com>
2590 * configure.tgt: Don't use var+=.
2592 2016-04-25 Nick Clifton <nickc@redhat.com>
2595 * configure.tgt: Include big endian PPC64 emulations with little
2596 endian PPC64 targets.
2598 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2600 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2602 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2604 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2605 Linux with GCC 4.9 or newer.
2606 (check_lto_fat_available): Likewise.
2607 (check_lto_shared_available): Likewise.
2609 2016-04-21 Nick Clifton <nickc@redhat.com>
2611 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2612 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2613 targets. Do not stop the checks when problems are encountered.
2615 2016-04-21 Alan Modra <amodra@gmail.com>
2617 * testsuite/ld-scripts/cross3.t: Add commonly used data
2618 and text section names to output section statements.
2619 * testsuite/ld-scripts/cross4.t: Likewise.
2620 * testsuite/ld-scripts/cross5.t: Likewise.
2621 * testsuite/ld-scripts/cross6.t: Likewise.
2622 * testsuite/ld-scripts/cross7.t: Likewise.
2624 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2626 * ldlang.c (lang_check_relocs): New function.
2627 (lang_process): Call lang_check_relocs after lang_gc_sections.
2628 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2629 call _bfd_elf_link_check_relocs here.
2631 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2634 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2635 R_386_NONE or R_X86_64_NONE.
2637 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2639 * testsuite/ld-x86-64/pic1.d: New file.
2640 * testsuite/ld-x86-64/pic1.s: Likewise.
2641 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2643 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2645 * testsuite/ld-x86-64/pie2.d: New file.
2646 * testsuite/ld-x86-64/pie2.s: Likewise.
2647 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2649 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2652 * testsuite/ld-x86-64/pr19969.d: New file.
2653 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2654 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2655 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2657 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2659 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2661 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2663 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2665 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2667 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2669 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2671 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2673 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2675 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2676 Set check_relocs_after_open_input to TRUE if
2677 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2678 (gld${EMULATION_NAME}_after_open): Call
2679 _bfd_elf_link_check_relocs on all inputs if
2680 check_relocs_after_open_input is TRUE.
2682 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2684 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2687 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2689 * emultempl/scoreelf.em: Likewise.
2691 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2694 * testsuite/ld-x86-64/pr19719.d: New file.
2695 * testsuite/ld-x86-64/pr19719.s: Likewise.
2696 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2698 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2700 * ld.texinfo: Document NOCROSSREFS_TO script command.
2701 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2702 (lang_add_nocrossref_to): New prototype.
2703 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2704 symbols defined in the first section.
2705 (check_nocrossref): Likewise.
2706 * ldgram.y (NOCROSSREFS_TO): New script command.
2707 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2708 (lang_add_nocrossref_to): New function.
2709 * ldlex.l (NOCROSSREFS_TO): New token.
2710 * NEWS: Mention NOCROSSREFS_TO.
2711 * testsuite/ld-scripts/cross4.t: New file.
2712 * testsuite/ld-scripts/cross5.t: Likewise.
2713 * testsuite/ld-scripts/cross6.t: Likewise.
2714 * testsuite/ld-scripts/cross7.t: Likewise.
2715 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2718 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2720 * Makefile.in: Regenerated with automake 1.11.6.
2721 * aclocal.m4: Likewise.
2723 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2725 * testsuite/ld-arc/arc.exp: New file.
2726 * testsuite/ld-arc/nps-1.s: New file.
2727 * testsuite/ld-arc/nps-1a.d: New file.
2728 * testsuite/ld-arc/nps-1b.d: New file.
2729 * testsuite/ld-arc/nps-1b.err: New file.
2731 2016-04-14 Nick Clifton <nickc@redhat.com>
2734 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2735 exceptions for Mingw and Cygwin.
2737 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2739 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2742 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2745 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2746 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2749 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2752 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2753 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2754 * testsuite/ld-i386/pr19939.s: New file.
2755 * testsuite/ld-i386/pr19939a.d: Likewise.
2756 * testsuite/ld-i386/pr19939b.d: Likewise.
2757 * testsuite/ld-x86-64/pr19939.s: Likewise.
2758 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2759 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2761 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2763 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2765 2016-04-08 Alan Modra <amodra@gmail.com>
2768 * ldlang.c (maybe_overlays): Delete.
2769 (lang_size_sections_1): Remove code setting maybe_overlays.
2770 (lang_check_section_addresses): Instead detect overlays by
2771 exact match of section VMAs here. Fix memory leak.
2773 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2775 * ldlang.c (print_output_section_statement): Show minfo size
2776 in target machine address units.
2777 (print_reloc_statement): Likewise.
2778 (print_padding_statement): Likewise.
2779 (print_data_statement): Likewise. Ensure minimum print_dot
2780 increment of one address unit.
2782 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2784 * emulparams/arc-endianness.sh: Make little endian default choice.
2786 2016-04-07 Nick Clifton <nickc@redhat.com>
2788 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2790 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2792 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2794 * emulparams/arc-endianness.sh: New file.
2795 * emulparams/arcebelf.sh: Deleted.
2796 * emulparams/arcebelf_prof.sh: Deleted.
2797 * emulparams/arceblinux.sh: Deleted.
2798 * emulparams/arceblinux_prof.sh: Deleted.
2799 * emulparams/arcelf.sh: Include arc-endinness.sh.
2800 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2801 * emulparams/arclinux.sh: Include arc-endinness.sh.
2802 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2803 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2804 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2805 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2806 little endian arc targets.
2807 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2808 * testsuite/ld-elf/group1.d: Likewise.
2809 * testsuite/ld-elf/group3b.d: Likewise.
2810 * testsuite/ld-elf/group8a.d: Likewise.
2811 * testsuite/ld-elf/group8b.d: Likewise.
2812 * testsuite/ld-elf/group9a.d: Likewise.
2813 * testsuite/ld-elf/group9b.d: Likewise.
2814 * testsuite/ld-elf/linkonce2.d: Likewise.
2815 * testsuite/ld-elf/pr12851.d: Likewise.
2816 * testsuite/ld-elf/pr12975.d: Likewise.
2817 * testsuite/ld-elf/pr13177.d: Likewise.
2818 * testsuite/ld-elf/pr13195.d: Likewise.
2819 * testsuite/ld-elf/pr17615.d: Likewise.
2820 * testsuite/ld-elf/pr19162.d: Likewise.
2821 * testsuite/ld-elf/sec64k.exp: Likewise.
2822 * testsuite/lib/ld-lib.exp: Likewise.
2824 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2827 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2829 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2830 * testsuite/ld-cris/tls-e-21.d: Likewise.
2831 * testsuite/ld-cris/tls-e-23.d: Likewise.
2832 * testsuite/ld-cris/tls-e-80.d: Likewise.
2833 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2834 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2835 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2836 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2837 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2838 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2839 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2840 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2841 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2842 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2844 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2846 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2847 * testsuite/ld-discard/start.d: Likewise.
2848 * testsuite/ld-discard/static.d: Likewise.
2849 * testsuite/ld-elf/group1.d: Likewise.
2850 * testsuite/ld-elf/group3b.d: Likewise.
2851 * testsuite/ld-elf/orphan-region.d: Likewise.
2852 * testsuite/ld-elf/orphan.d: Likewise.
2853 * testsuite/ld-elf/orphan3.d: Likewise.
2854 * testsuite/ld-elf/pr349.d: Likewise.
2855 * testsuite/ld-elf/warn1.d: Likewise.
2856 * testsuite/ld-elf/warn2.d: Likewise.
2857 * testsuite/ld-elf/warn3.d: Likewise.
2858 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2859 through linker flags.
2860 * testsuite/ld-srec/srec.exp: Set as xfail.
2862 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2865 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2866 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2868 2016-04-04 Nick Clifton <nickc@redhat.com>
2871 * emultempl/pe.em (change_undef): New function. Encapsulates
2872 duplicated code in pe_fixup_stdcalls and adds the newly defined
2873 sym to the gc root list.
2874 (pe_fixup_stdcall): Use the new function.
2875 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2876 symbol to gc root list.
2878 2016-03-31 Alan Modra <amodra@gmail.com>
2880 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2881 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2882 (print_input_section): Don't use TO_ADDR when printing section
2884 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2885 (lang_size_sections): Use TO_ADDR in relro end calculation.
2887 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2889 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2890 value from regexp_diff.
2891 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2892 * testsuite/ld-elf/orphan-6.l: Likewise.
2894 2016-03-30 Alan Modra <amodra@gmail.com>
2897 * ldlang.c (maybe_overlays): New static var.
2898 (lang_size_sections_1): Set it here.
2899 (struct check_sec): New.
2900 (sort_sections_by_lma): Adjust for array of structs.
2901 (sort_sections_by_vma): New function.
2902 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2903 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2905 2016-03-30 Alan Modra <amodra@gmail.com>
2907 * ldlang.c (lang_size_sections_1): Correct code detecting a
2908 backward non-overlapping move.
2910 2016-03-30 Alan Modra <amodra@gmail.com>
2912 * ldlang.c (IS_TBSS): New macro, extracted from..
2913 (IGNORE_SECTION): ..here.
2914 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2915 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2917 2016-03-22 Nick Clifton <nickc@redhat.com>
2920 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2921 symbol name to the list of gc symbols.
2922 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2923 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2924 and fini function names.
2925 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2927 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2928 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2930 2016-03-22 Nick Clifton <nickc@redhat.com>
2932 * configure: Regenerate.
2934 2016-03-21 Nick Clifton <nickc@redhat.com>
2936 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2937 * plugin.c: Likewise.
2938 * pe-dll.c: Likewise.
2940 2016-03-18 Awson <kyrab@mail.ru>
2943 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2945 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2947 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2949 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2951 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2954 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2955 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2956 * testsuite/ld-i386/pr19827.rd: New file.
2957 * testsuite/ld-i386/pr19827a.S: Likewise.
2958 * testsuite/ld-i386/pr19827b.S: Likewise.
2959 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2960 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2961 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2963 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2966 * Makefile.am (ELF_X86_DEPS): Add
2967 $(srcdir)/emulparams/reloc_overflow.sh.
2968 * Makefile.in: Regenerated.
2969 * NEWS: Mention -z noreloc-overflow.
2970 * ld.texinfo: Document -z noreloc-overflow.
2971 * emulparams/elf32_x86_64.sh: Source
2972 ${srcdir}/emulparams/reloc_overflow.sh.
2973 * emulparams/elf_x86_64.sh: Likewise.
2974 * emulparams/reloc_overflow.sh: New file.
2975 * testsuite/ld-x86-64/pr19807-1.s: New file.
2976 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2977 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2978 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2979 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2980 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2981 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2982 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2983 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2984 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2986 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2989 * testsuite/ld-i386/i386.exp: Run pr19539.
2990 * testsuite/ld-i386/pr19539.d: New file.
2991 * testsuite/ld-i386/pr19539.s: Likewise.
2992 * testsuite/ld-i386/pr19539.t: Likewise.
2993 * testsuite/ld-x86-64/pr19539.s: Likewise.
2994 * testsuite/ld-x86-64/pr19539.t: Likewise.
2995 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2996 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2997 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2999 2016-03-10 Mickael Guene <mickael.guene@st.com>
3002 * testsuite/ld-arm/arm-elf.exp: New tests.
3003 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
3004 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
3006 2016-03-10 Nick Clifton <nickc@redhat.com>
3008 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
3010 2016-03-09 Pedro Alves <palves@redhat.com>
3012 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
3013 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
3015 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3018 * testsuite/ld-elf/pr19789.d: New file.
3019 * testsuite/ld-elf/pr19789.s: Likewise.
3021 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3024 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
3025 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
3026 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
3027 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
3028 * testsuite/ld-ifunc/pass.out: New file.
3029 * testsuite/ld-ifunc/pr19784a.c: Likewise.
3030 * testsuite/ld-ifunc/pr19784b.c: Likewise.
3031 * testsuite/ld-ifunc/pr19784c.c: Likewise.
3033 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
3036 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
3037 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
3038 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
3039 --as-needed for pr18841c.
3041 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
3044 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
3045 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
3046 before tmpdir/got1d.so and test --as-needed.
3047 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
3048 tmpdir/pr18900.so and test --as-needed.
3050 2016-03-07 Jiong Wang <jiong.wang@arm.com>
3052 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
3053 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
3055 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3057 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
3059 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
3060 before tmpdir/copyreloc-lib.so and test --as-needed.
3061 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3063 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
3066 * testsuite/ld-elf/pr19579a.c: New file.
3067 * testsuite/ld-elf/pr19579b.c: Likewise.
3068 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
3070 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3072 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3074 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3076 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3077 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3079 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3082 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3083 input sections for relocatable link.
3084 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3085 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3087 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3090 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3091 merge flags of other input sections for relocatable link.
3093 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3095 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3097 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3099 * testsuite/ld-elf/pr19162.d: Skip arc target.
3101 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3104 * testsuite/ld-elf/pr19162.d: New file.
3105 * testsuite/ld-elf/pr19162a.s: Likwise.
3106 * testsuite/ld-elf/pr19162b.s: Likwise.
3108 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3110 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3111 * testsuite/ld-elf/merge2.d: Likewise.
3112 * testsuite/ld-elf/merge3.d: Likewise.
3114 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3116 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3119 2016-02-26 Renlin Li <renlin.li@arm.com>
3121 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3122 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3123 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3124 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3125 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3126 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3127 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3128 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3129 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3130 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3132 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3135 * testsuite/ld-i386/got1.dd: Updated.
3136 * testsuite/ld-i386/lea1c.d: Likewise.
3137 * testsuite/ld-i386/load1-nacl.d: Likewise.
3138 * testsuite/ld-i386/load1.d: Likewise.
3139 * testsuite/ld-i386/load4b.d: Likewise.
3140 * testsuite/ld-i386/load5b.d: Likewise.
3141 * testsuite/ld-i386/mov1b.d: Likewise.
3142 * testsuite/ld-x86-64/mov1b.d: Likewise.
3143 * testsuite/ld-x86-64/mov1d.d: Likewise.
3144 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3145 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3146 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3147 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3148 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3149 * testsuite/ld-x86-64/lea1a.d: Likewise.
3150 * testsuite/ld-x86-64/lea1b.d: Likewise.
3151 * testsuite/ld-x86-64/lea1c.d: Likewise.
3152 * testsuite/ld-x86-64/lea1d.d: Likewise.
3153 * testsuite/ld-x86-64/lea1e.d: Likewise.
3154 * testsuite/ld-x86-64/lea1f.d: Likewise.
3155 * testsuite/ld-x86-64/mov1b.d: Likewise.
3156 * testsuite/ld-x86-64/mov1d.d: Likewise.
3157 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3158 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3159 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3160 * testsuite/ld-i386/pr19609-1.s: New file.
3161 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3162 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3163 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3164 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3165 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3166 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3167 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3168 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3169 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3170 * testsuite/ld-i386/pr19609-2.s: Likewise.
3171 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3172 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3173 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3174 * testsuite/ld-i386/undefweak.s: Likewise.
3175 * testsuite/ld-i386/undefweaka.d: Likewise.
3176 * testsuite/ld-i386/undefweakb.d: Likewise.
3177 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3178 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3179 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3180 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3181 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3182 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3183 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3184 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3185 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3186 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3187 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3188 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3189 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3190 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3191 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3192 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3193 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3194 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3195 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3196 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3197 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3198 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3199 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3200 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3201 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3202 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3203 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3204 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3205 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3206 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3207 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3208 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3209 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3210 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3211 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3212 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3213 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3214 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3215 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3216 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3217 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3218 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3219 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3220 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3221 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3222 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3223 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3225 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3226 and tests for PR ld/19609.
3228 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3231 * NEWS: Mention -z common/-z nocommon for ELF targets.
3232 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3233 -z common and -z nocommon.
3234 * ld.texinfo: Document -z common/-z nocommon.
3235 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3236 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3237 --elf-stt-common=yes with assembler.
3238 * testsuite/ld-elfcomm/common-1.s: New file.
3239 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3240 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3241 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3242 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3243 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3244 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3245 * testsuite/ld-elfcomm/common-2.s: Likewise.
3246 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3247 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3248 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3249 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3250 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3251 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3252 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3253 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3254 * testsuite/ld-i386/pr19645.d: Likewise.
3255 * testsuite/ld-i386/pr19645.s: Likewise.
3256 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3257 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3258 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3259 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3260 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3261 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3262 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3263 * testsuite/ld-x86-64/pr19645.d: Likewise.
3264 * testsuite/ld-x86-64/pr19645.s: Likewise.
3265 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3267 (assembler_generates_commons): Removed.
3268 Run -z common/-z nocommon tests. Run *.d tests.
3269 * testsuite/ld-i386/i386.exp: Run pr19645.
3270 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3271 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3272 assembler. Test STT_COMMON with readelf.
3274 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3279 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3280 * Makefile.in: Regenerated.
3281 * NEWS: Mention -z nodynamic-undefined-weak.
3282 * ld.texinfo: Document -z nodynamic-undefined-weak.
3283 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3284 * emulparams/dynamic_undefined_weak.sh: New file.
3285 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3286 * emulparams/elf_i386.sh: Likewise.
3287 * emulparams/elf_i386_be.sh: Likewise.
3288 * emulparams/elf_i386_chaos.sh: Likewise.
3289 * emulparams/elf_i386_ldso.sh: Likewise.
3290 * emulparams/elf_i386_vxworks.sh: Likewise.
3291 * emulparams/elf_iamcu.sh: Likewise.
3292 * emulparams/elf_k1om.sh: Likewise.
3293 * emulparams/elf_l1om.sh: Likewise.
3294 * emulparams/elf_x86_64.sh: Likewise.
3295 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3297 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3298 * testsuite/ld-elf/pr19719a.c: New file.
3299 * testsuite/ld-elf/pr19719b.c: Likewise.
3300 * testsuite/ld-elf/pr19719c.c: Likewise.
3301 * testsuite/ld-elf/pr19719d.c: Likewise.
3302 * testsuite/ld-i386/pr19636-1.s: Likewise.
3303 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3304 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3305 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3306 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3307 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3308 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3309 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3310 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3311 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3312 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3313 * testsuite/ld-i386/pr19636-2.s: Likewise.
3314 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3315 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3316 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3317 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3318 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3319 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3320 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3321 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3322 * testsuite/ld-i386/pr19636-3.s: Likewise.
3323 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3324 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3325 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3326 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3327 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3328 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3329 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3330 * testsuite/ld-i386/pr19636-4.s: Likewise.
3331 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3332 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3333 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3334 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3335 * testsuite/ld-i386/pr19704.out: Likewise.
3336 * testsuite/ld-i386/pr19704a.c: Likewise.
3337 * testsuite/ld-i386/pr19704b.c: Likewise.
3338 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3339 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3340 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3341 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3342 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3343 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3344 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3345 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3346 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3347 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3348 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3349 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3350 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3351 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3352 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3353 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3354 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3355 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3356 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3357 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3358 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3359 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3360 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3361 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3362 * testsuite/ld-x86-64/pr19704.out: Likewise.
3363 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3364 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3365 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3366 Run mix_pic_and_non_pic.
3367 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3368 Run undefined_weak and PR ld/19636 tests.
3369 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3370 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3371 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3373 2016-02-25 Nick Clifton <nickc@redhat.com>
3375 * ld.h (struct ld_config_type): Remove specified_data_size field.
3377 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3380 * testsuite/ld-elf/pr19698.d: New file.
3381 * testsuite/ld-elf/pr19698.s: Likewise.
3382 * testsuite/ld-elf/pr19698.t: Likewise.
3384 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3386 * Makefile.am (ELF_X86_DEPS): New.
3387 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3388 (eelf_i386_chaos.c): Likewise.
3389 (eelf_i386_fbsd.c): Likewise.
3390 (eelf_i386_ldso.c): Likewise.
3391 (eelf_i386_nacl.c): Likewise.
3392 (eelf_i386_sol2.c): Likewise.
3393 (eelf_iamcu.c): Likewise.
3394 (eelf32_x86_64.c): Likewise.
3395 (eelf32_x86_64_nacl.c): Likewise.
3396 (eelf_l1om.c): Likewise.
3397 (eelf_l1om_fbsd.c): Likewise.
3398 (eelf_k1om.c): Likewise.
3399 (eelf_k1om_fbsd.c): Likewise.
3400 (eelf_x86_64.c): Likewise.
3401 (eelf_x86_64_cloudabi.c): Likewise.
3402 (eelf_x86_64_fbsd.c): Likewise.
3403 (eelf_x86_64_sol2.c): Likewise.
3404 * Makefile.in: Regenerated.
3406 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3408 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3409 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3410 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3411 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3413 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3415 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3417 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3419 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3420 *-*-gnu* and *-*-solaris*.
3421 * testsuite/ld-elf/pr19617b.d: Likewise.
3422 * testsuite/ld-elf/pr19617c.d: Likewise.
3424 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3427 * testsuite/ld-elf/pr19617.s: New file.
3428 * testsuite/ld-elf/pr19617a.d: Likewise.
3429 * testsuite/ld-elf/pr19617b.d: Likewise.
3430 * testsuite/ld-elf/pr19617c.d: Likewise.
3432 2016-02-18 Nick Clifton <nickc@redhat.com>
3434 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3435 in-tree xg++ executable after checking for the presence of an
3436 in-tree g++ executable.
3437 * Makefile.in: Regenerate.
3439 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3441 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3442 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3443 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3445 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3447 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3448 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3449 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3450 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3451 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3452 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3453 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3454 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3455 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3456 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3457 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3458 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3459 * testsuite/ld-x86-64/load1c.d: Likewise.
3460 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3461 * testsuite/ld-x86-64/load1d.d: Likewise.
3462 * testsuite/ld-x86-64/pr14207.d: Likewise.
3463 * testsuite/ld-x86-64/pr19162.d: Likewise.
3464 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3465 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3466 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3467 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3468 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3469 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3471 2016-02-17 Nick Clifton <nickc@redhat.com>
3473 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3475 2016-02-15 Nick Clifton <nickc@redhat.com>
3477 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3478 description of the flags produced by readelf.
3479 * testsuite/ld-i386/pr12921.d: Likewise.
3480 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3481 * testsuite/ld-i386/tlsbin.rd: Likewise.
3482 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3483 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3484 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3485 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3486 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3487 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3488 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3489 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3490 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3491 * testsuite/ld-i386/tlspic.rd: Likewise.
3492 * testsuite/ld-s390/tlsbin.rd: Likewise.
3493 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3494 * testsuite/ld-s390/tlspic.rd: Likewise.
3495 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3496 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3497 * testsuite/ld-sh/tlspic-2.d: Likewise.
3498 * testsuite/ld-tic6x/common.d: Likewise.
3499 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3500 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3501 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3502 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3503 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3504 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3505 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3506 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3507 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3508 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3509 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3510 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3511 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3512 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3513 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3514 * testsuite/ld-x86-64/pr12718.d: Likewise.
3515 * testsuite/ld-x86-64/pr12921.d: Likewise.
3516 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3517 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3518 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3519 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3520 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3521 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3522 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3523 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3524 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3525 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3526 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3527 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3528 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3529 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3531 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3534 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3536 * lexsup.c (parse_args): Enable -Bsymbolic and
3537 -Bsymbolic-functions for PIE.
3538 * testsuite/ld-i386/i386.exp: Run pr19615.
3539 * testsuite/ld-i386/pr19615.d: New file.
3540 * testsuite/ld-i386/pr19615.s: Likewise.
3541 * testsuite/ld-x86-64/pr19615.d: Likewise.
3542 * testsuite/ld-x86-64/pr19615.s: Likewise.
3544 2016-02-09 Nick Clifton <nickc@redhat.com>
3546 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3547 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3548 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3549 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3551 2016-02-04 Nick Clifton <nickc@redhat.com>
3553 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3554 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3555 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3556 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3557 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3558 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3559 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3560 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3561 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3563 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3566 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3567 * testsuite/ld-i386/call1.d: Likewise.
3568 * testsuite/ld-i386/call2.d: Likewise.
3569 * testsuite/ld-i386/call3a.d: Likewise.
3570 * testsuite/ld-i386/call3b.d: Likewise.
3571 * testsuite/ld-i386/call3c.d: Likewise.
3572 * testsuite/ld-i386/call3d.d: Likewise.
3573 * testsuite/ld-i386/call3e.d: Likewise.
3574 * testsuite/ld-i386/call3f.d: Likewise.
3575 * testsuite/ld-i386/call3g.d: Likewise.
3576 * testsuite/ld-i386/call3h.d: Likewise.
3577 * testsuite/ld-i386/jmp1.d: Likewise.
3578 * testsuite/ld-i386/jmp2.d: Likewise.
3579 * testsuite/ld-i386/lea1c.d: Likewise.
3580 * testsuite/ld-i386/load1.d: Likewise.
3581 * testsuite/ld-i386/load2.d: Likewise.
3582 * testsuite/ld-i386/load3.d: Likewise.
3583 * testsuite/ld-i386/load4a.d: Likewise.
3584 * testsuite/ld-i386/load5a.d: Likewise.
3585 * testsuite/ld-i386/mov2b.d: Likewise.
3586 * testsuite/ld-i386/mov3.d: Likewise.
3587 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3588 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3589 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3590 * testsuite/ld-x86-64/call1a.d: Likewise.
3591 * testsuite/ld-x86-64/call1b.d: Likewise.
3592 * testsuite/ld-x86-64/call1c.d: Likewise.
3593 * testsuite/ld-x86-64/call1d.d: Likewise.
3594 * testsuite/ld-x86-64/call1e.d: Likewise.
3595 * testsuite/ld-x86-64/call1f.d: Likewise.
3596 * testsuite/ld-x86-64/call1h.d: Likewise.
3597 * testsuite/ld-x86-64/call1i.d: Likewise.
3598 * testsuite/ld-x86-64/load1a.d: Likewise.
3599 * testsuite/ld-x86-64/load1b.d: Likewise.
3600 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3601 * testsuite/ld-i386/got1.dd: Updated.
3602 * testsuite/ld-i386/got1d.S (1): Removed.
3603 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3604 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3606 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3609 * testsuite/ld-x86-64/pr18591.d: New file.
3610 * testsuite/ld-x86-64/pr18591.s: Likewise.
3611 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3613 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3616 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3617 * testsuite/ld-elf/pr19553.map: New file.
3618 * testsuite/ld-elf/pr19553.map: Likewise.
3619 * testsuite/ld-elf/pr19553a.c: Likewise.
3620 * testsuite/ld-elf/pr19553b.c: Likewise.
3621 * testsuite/ld-elf/pr19553b.out: Likewise.
3622 * testsuite/ld-elf/pr19553c.c: Likewise.
3623 * testsuite/ld-elf/pr19553c.out: Likewise.
3624 * testsuite/ld-elf/pr19553d.c: Likewise.
3625 * testsuite/ld-elf/pr19553d.out: Likewise.
3627 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3630 * testsuite/ld-elf/pr19539.d: New file.
3631 * testsuite/ld-elf/pr19539.s: Likewise.
3632 * testsuite/ld-elf/pr19539.t: Likewise.
3634 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3637 * configure.ac (compressed_debug_sections): Replace == with =.
3638 * configure: Regenerated.
3640 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3642 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3643 * scripttempl/avrtiny.sc (.noinit): Likewise.
3645 2016-01-21 Nick Clifton <nickc@redhat.com>
3648 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3649 the arm-netbsdelf target.
3652 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3653 disassmebler output.
3654 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3655 * testsuite/ld-arm/vxworks1.dd: Likewise.
3656 * testsuite/ld-arm/vxworks1.rd: Likewise.
3657 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3659 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3661 * testsuite/ld-aarch64/farcall-section.d: Delete.
3662 * testsuite/ld-aarch64/farcall-section.s: Delete.
3663 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3664 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3665 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3666 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3667 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3669 2016-01-20 Nick Clifton <nickc@redhat.com>
3672 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3673 early for PE based targets.
3674 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3675 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3677 2016-01-20 Mickael Guene <mickael.guene@st.com>
3679 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3680 Add 'y' attribute usage.
3681 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3682 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3683 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3685 2016-01-19 Nick Clifton <nickc@redhat.com>
3687 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3688 foo@FOO and bar@@FOO.
3690 2016-01-18 Alan Modra <amodra@gmail.com>
3692 * configure: Regenerate.
3694 2016-01-18 Nick Clifton <nickc@redhat.com>
3696 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3697 is not configured to support plugins.
3699 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3700 but with 16 byte section alignment.
3701 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3702 test for MIPS targets.
3704 2016-01-17 Alan Modra <amodra@gmail.com>
3706 * configure: Regenerate.
3708 2016-01-17 Alan Modra <amodra@gmail.com>
3710 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3711 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3712 * testsuite/ld-elf/pr14156a.d: Likewise.
3713 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3714 * testsuite/ld-elf/sec64k.exp: Likewise.
3716 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3718 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3719 Set address of .foo section when linking.
3720 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3722 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3723 output to the above changes.
3725 2016-01-13 Nick Clifton <nickc@redhat.com>
3727 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3730 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3731 fail for MIPS targets.
3733 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3736 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3738 * testsuite/ld-arm/arm-elf.exp: New test.
3739 * testsuite/ld-arm/unwind-mix.d: New file.
3740 * testsuite/ld-arm/unwind-mix1.s: New file.
3741 * testsuite/ld-arm/unwind-mix2.s: New file.
3743 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3746 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3747 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3748 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3749 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3750 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3751 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3753 2016-01-05 Nick Clifton <nickc@redhat.com>
3755 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3756 MSP430 hardware multiply address range.
3757 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3758 (__romdatacopysize): Define.
3759 * scripttempl/elf32msp430_3.sc: Likewise.
3761 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3763 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3764 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3766 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3768 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3769 messages expected according to MIPS BFD private data merge
3771 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3772 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3773 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3774 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3775 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3776 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3777 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3778 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3779 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3780 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3781 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3782 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3783 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3785 2016-01-01 Alan Modra <amodra@gmail.com>
3787 Update year range in copyright notice of all files.
3789 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3791 Copyright (C) 2016 Free Software Foundation, Inc.
3793 Copying and distribution of this file, with or without modification,
3794 are permitted in any medium without royalty provided the copyright
3795 notice and this notice are preserved.
3801 version-control: never