1 2016-11-24 Jiong Wang <jiong.wang@arm.com>
4 * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
5 * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
6 * testsuite/ld-arm/pie-bind-locally.d: New testcase.
7 * testsuite/ld-arm/arm-elf.exp: Run new testcase.
9 2016-11-24 Nick Clifton <nickc@redhat.com>
12 * emultempl/elf32.em (_search_needed): Allow for path separator
13 and terminating NUL byte when allocating space for new $ORIGIN
16 2016-11-23 Nick Clifton <nickc@redhat.com>
18 * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
21 * ld.texinfo: Note that PT_TLS can be used as a segment type.
22 * testsuite/ld-discard/discard.ld: Add space for program headers.
23 * testsuite/ld-elf/flags1.ld: Likewise.
24 * testsuite/ld-elf/maxpage3.t: Likewise.
25 * testsuite/ld-elf/noload-1.t: Likewise.
26 * testsuite/ld-elf/orphan.ld: Likewise.
27 * testsuite/ld-elf/overlay.t: Likewise.
28 * testsuite/ld-elf/pr14052.t: Likewise.
29 * testsuite/ld-elf/pr19539.t: Likewise.
30 * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
31 * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
32 * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
33 * testsuite/ld-i386/pr19539.t: Likewise.
34 * testsuite/ld-scripts/defined.t: Likewise.
35 * testsuite/ld-scripts/defined6.t: Likewise.
36 * testsuite/ld-scripts/dynamic-sections.t: Likewise.
37 * testsuite/ld-scripts/empty-aligned.t: Likewise.
38 * testsuite/ld-scripts/provide-2.t: Likewise.
39 * testsuite/ld-scripts/provide-4.t: Likewise.
40 * testsuite/ld-vax-elf/plt-local.ld: Likewise.
41 * testsuite/ld-x86-64/pr19539.t: Likewise.
42 * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
44 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
45 * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
46 * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
47 * testsuite/ld-elf/noload-2.d: Likewise.
48 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
49 * testsuite/ld-scripts/phdrs3a.d: Likewise.
50 * testsuite/ld-scripts/size-2.d: Likewise.
51 * testsuite/ld-elf/group.ld: Add program headers.
52 * testsuite/ld-elf/overlay.d: Skip for SPU.
53 * testsuite/ld-elf/flags1.d: Skip for RX.
54 * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
55 * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
56 * testsuite/ld-scripts/empty-orphan.t: Update program headers.
57 * testsuite/ld-scripts/size-2.t: Likewise.
59 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
61 * configure: Regenerate.
63 2016-11-22 Alan Modra <amodra@gmail.com>
66 * emultempl/ppc32elf.em (params): Update initializer. Handle
67 --vle-reloc-fixup command line arg.
69 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
72 * ld/testsuite/ld-avr/pr20789.d: New test.
73 * ld/testsuite/ld-avr/pr20789.s: New test.
76 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
79 * testsuite/ld-x86-64/pr20800a.S: New file.
80 * testsuite/ld-x86-64/pr20800b.S: Likewise.
81 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
83 2016-11-14 Nick Clifton <nickc@redhat.com>
85 * lexsup.c (parse_args): Add break at end of default case.
87 2016-11-10 Jiong Wang <jiong.wang@arm.com>
90 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
91 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
92 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
93 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
95 2016-11-07 Nick Clifton <nickc@redhat.com>
98 * emultempl/elf32.em (search_needed): Fix infinite loop when
99 unable to process a token. Add support for curly braced enclosed
101 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
104 2016-11-07 Nick Clifton <nickc@redhat.com>
106 * ld.texinfo (--compress-debug-sections): Expand documentation of
109 2016-11-04 Nick Clifton <nickc@redhat.com>
111 * emultempl/elf32.em (search_needed): Remove use of getauxval and
112 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
114 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
115 * configure: Regenerate.
116 * config.in: Regenerate.
118 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
120 * ldlang.h (struct lang_wild_statement_struct): Add
121 exclude_name_list field.
122 * ldlang.c (walk_wild_file_in_exclude_list): New function.
123 (walk_wild_consider_section): Use new
124 walk_wild_file_in_exclude_list function.
125 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
126 (print_wild_statement): Print new exclude_name_list field.
127 (lang_add_wild): Initialise new exclude_name_list field.
128 * testsuite/ld-scripts/exclude-file-1.d: New file.
129 * testsuite/ld-scripts/exclude-file-1.map: New file.
130 * testsuite/ld-scripts/exclude-file-1.t: New file.
131 * testsuite/ld-scripts/exclude-file-2.d: New file.
132 * testsuite/ld-scripts/exclude-file-2.map: New file.
133 * testsuite/ld-scripts/exclude-file-2.t: New file.
134 * testsuite/ld-scripts/exclude-file-3.d: New file.
135 * testsuite/ld-scripts/exclude-file-3.map: New file.
136 * testsuite/ld-scripts/exclude-file-3.t: New file.
137 * testsuite/ld-scripts/exclude-file-4.d: New file.
138 * testsuite/ld-scripts/exclude-file-4.map: New file.
139 * testsuite/ld-scripts/exclude-file-4.t: New file.
140 * testsuite/ld-scripts/exclude-file-a.s: New file.
141 * testsuite/ld-scripts/exclude-file-b.s: New file.
142 * testsuite/ld-scripts/exclude-file.exp: New file.
143 * ld.texinfo (Input Section Basics): Update description of
144 EXCLUDE_FILE to cover the new features.
145 * NEWS: Mention new EXCLUDE_FILE usage.
147 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
149 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
150 based on the original source file name.
151 * testsuite/ld-discard/extern.d: Update object file names.
152 * testsuite/ld-discard/start.d: Likewise.
153 * testsuite/ld-discard/static.d: Likewise.
154 * testsuite/ld-elf/orphan-8.map: Likewise.
156 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
158 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
159 xc16x-*-elf to the list of targets that don't support -shared.
161 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
163 * ldgram.y: Rename file_NAME_list to section_NAME_list
166 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
167 Andrew Waterman <andrew@sifive.com>
169 Add support for RISC-V architecture.
170 * Makefile.am: Add riscv files.
171 * Makefile.in: Regenerate.
172 * NEWS: Mention the support for this target.
173 * configure.tgt: Add riscv entries.
174 * emulparams/elf32lriscv-defs.sh: New file.
175 * emulparams/elf32lriscv.sh: New file.
176 * emulparams/elf64lriscv-defs.sh: New file.
177 * emulparams/elf64lriscv.sh: New file.
178 * emultempl/riscvelf.em: New file.
180 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
182 * ldmain.c (add_archive_element): Initialize input->header.type.
183 * plugin.c (plugin_maybe_claim): Assert the statement is an input
186 2016-10-15 Alan Modra <amodra@gmail.com>
188 * emultempl/spu_ovl.o_c: Regenerate.
190 2016-10-14 Alan Modra <amodra@gmail.com>
192 * scripttempl/DWARF.sc: Add .debug_addr.
194 2016-10-12 Alan Modra <amodra@gmail.com>
196 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
197 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
198 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
199 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
200 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
202 2016-10-11 Nick Clifton <nickc@redhat.com>
204 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
206 * ld-aarch64/emit-relocs-515.d: Likewise.
207 * ld-aarch64/emit-relocs-516-be.d: Likewise.
208 * ld-aarch64/emit-relocs-516.d: Likewise.
209 * ld-aarch64/farcall-b-plt.d: Likewise.
210 * ld-aarch64/farcall-bl-plt.d: Likewise.
211 * ld-aarch64/gc-plt-relocs.d: Likewise.
212 * ld-aarch64/tls-desc-ie.d: Likewise.
213 * ld-aarch64/tls-tiny-desc.d: Likewise.
214 * ld-aarch64/tls-tiny-gd.d: Likewise.
215 * ld-aarch64/tls-tiny-ie.d: Likewise.
216 * ld-arm/arm-app-abs32.d: Likewise.
217 * ld-arm/arm-app.d: Likewise.
218 * ld-arm/arm-lib-plt32.d: Likewise.
219 * ld-arm/arm-lib.d: Likewise.
220 * ld-arm/armthumb-lib.d: Likewise.
221 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
222 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
223 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
224 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
225 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
226 * ld-arm/farcall-mixed-app-v5.d: Likewise.
227 * ld-arm/farcall-mixed-app.d: Likewise.
228 * ld-arm/farcall-mixed-app2.d: Likewise.
229 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
230 * ld-arm/farcall-mixed-lib.d: Likewise.
231 * ld-arm/ifunc-10.dd: Likewise.
232 * ld-arm/ifunc-14.dd: Likewise.
233 * ld-arm/ifunc-15.dd: Likewise.
234 * ld-arm/ifunc-3.dd: Likewise.
235 * ld-arm/ifunc-4.dd: Likewise.
236 * ld-arm/ifunc-9.dd: Likewise.
237 * ld-arm/long-plt-format.d: Likewise.
238 * ld-arm/mixed-app-v5.d: Likewise.
239 * ld-arm/mixed-app.d: Likewise.
240 * ld-arm/mixed-lib.d: Likewise.
241 * ld-arm/tls-lib-loc.d: Likewise.
242 * ld-cris/dso-pltdis1.d: Likewise.
243 * ld-cris/dso-pltdis2.d: Likewise.
244 * ld-cris/dso12-pltdis.d: Likewise.
245 * ld-elf/symbolic-func.r: Likewise.
246 * ld-frv/fdpic-pie-1.d: Likewise.
247 * ld-frv/fdpic-pie-2.d: Likewise.
248 * ld-frv/fdpic-pie-6.d: Likewise.
249 * ld-frv/fdpic-pie-7.d: Likewise.
250 * ld-frv/fdpic-pie-8.d: Likewise.
251 * ld-frv/fdpic-shared-1.d: Likewise.
252 * ld-frv/fdpic-shared-2.d: Likewise.
253 * ld-frv/fdpic-shared-3.d: Likewise.
254 * ld-frv/fdpic-shared-4.d: Likewise.
255 * ld-frv/fdpic-shared-5.d: Likewise.
256 * ld-frv/fdpic-shared-6.d: Likewise.
257 * ld-frv/fdpic-shared-7.d: Likewise.
258 * ld-frv/fdpic-shared-8.d: Likewise.
259 * ld-frv/fdpic-shared-local-2.d: Likewise.
260 * ld-frv/fdpic-shared-local-8.d: Likewise.
261 * ld-frv/fdpic-static-1.d: Likewise.
262 * ld-frv/fdpic-static-2.d: Likewise.
263 * ld-frv/fdpic-static-6.d: Likewise.
264 * ld-frv/fdpic-static-7.d: Likewise.
265 * ld-frv/fdpic-static-8.d: Likewise.
266 * ld-frv/tls-dynamic-2.d: Likewise.
267 * ld-frv/tls-initial-shared-2.d: Likewise.
268 * ld-frv/tls-relax-shared-2.d: Likewise.
269 * ld-frv/tls-shared-2.d: Likewise.
270 * ld-i386/plt-nacl.pd: Likewise.
271 * ld-i386/plt-pic-nacl.pd: Likewise.
272 * ld-i386/plt-pic.pd: Likewise.
273 * ld-i386/plt.pd: Likewise.
274 * ld-i386/pr19636-1d-nacl.d: Likewise.
275 * ld-i386/pr19636-1d.d: Likewise.
276 * ld-i386/pr19636-2c-nacl.d: Likewise.
277 * ld-i386/pr19636-2c.d: Likewise.
278 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
279 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
280 * ld-ifunc/pr17154-i386.d: Likewise.
281 * ld-ifunc/pr17154-x86-64.d: Likewise.
282 * ld-m68k/plt1-68020.d: Likewise.
283 * ld-m68k/plt1-cpu32.d: Likewise.
284 * ld-m68k/plt1-isab.d: Likewise.
285 * ld-m68k/plt1-isac.d: Likewise.
286 * ld-metag/shared.d: Likewise.
287 * ld-metag/stub_pic_app.d: Likewise.
288 * ld-metag/stub_pic_shared.d: Likewise.
289 * ld-metag/stub_shared.d: Likewise.
290 * ld-s390/tlsbin_64.dd: Likewise.
291 * ld-s390/tlspic_64.dd: Likewise.
292 * ld-tic6x/shlib-1.dd: Likewise.
293 * ld-tic6x/shlib-1b.dd: Likewise.
294 * ld-tic6x/shlib-1rb.dd: Likewise.
295 * ld-tic6x/shlib-app-1.dd: Likewise.
296 * ld-tic6x/shlib-app-1b.dd: Likewise.
297 * ld-tic6x/shlib-app-1r.dd: Likewise.
298 * ld-tic6x/shlib-app-1rb.dd: Likewise.
299 * ld-tic6x/shlib-noindex.dd: Likewise.
300 * ld-vax-elf/export-class-data.dd: Likewise.
301 * ld-vax-elf/plt-local-lib.dd: Likewise.
302 * ld-vax-elf/plt-local.dd: Likewise.
303 * ld-x86-64/bnd-ifunc-2.d: Likewise.
304 * ld-x86-64/bnd-plt-1.d: Likewise.
305 * ld-x86-64/gotpcrel1.dd: Likewise.
306 * ld-x86-64/libno-plt-1b.dd: Likewise.
307 * ld-x86-64/load1c-nacl.d: Likewise.
308 * ld-x86-64/load1c.d: Likewise.
309 * ld-x86-64/load1d-nacl.d: Likewise.
310 * ld-x86-64/load1d.d: Likewise.
311 * ld-x86-64/mov1a.d: Likewise.
312 * ld-x86-64/mov1b.d: Likewise.
313 * ld-x86-64/mov1c.d: Likewise.
314 * ld-x86-64/mov1d.d: Likewise.
315 * ld-x86-64/mov2a.d: Likewise.
316 * ld-x86-64/mov2b.d: Likewise.
317 * ld-x86-64/mov2c.d: Likewise.
318 * ld-x86-64/mov2d.d: Likewise.
319 * ld-x86-64/mpx3.dd: Likewise.
320 * ld-x86-64/mpx4.dd: Likewise.
321 * ld-x86-64/no-plt-1a.dd: Likewise.
322 * ld-x86-64/no-plt-1b.dd: Likewise.
323 * ld-x86-64/no-plt-1c.dd: Likewise.
324 * ld-x86-64/no-plt-1e.dd: Likewise.
325 * ld-x86-64/no-plt-1f.dd: Likewise.
326 * ld-x86-64/no-plt-1g.dd: Likewise.
327 * ld-x86-64/plt-main-bnd.dd: Likewise.
328 * ld-x86-64/plt-nacl.pd: Likewise.
329 * ld-x86-64/plt.pd: Likewise.
330 * ld-x86-64/pr18591.d: Likewise.
331 * ld-x86-64/pr19609-1c.d: Likewise.
332 * ld-x86-64/pr19609-1e.d: Likewise.
333 * ld-x86-64/pr19609-1j.d: Likewise.
334 * ld-x86-64/pr19609-1l.d: Likewise.
335 * ld-x86-64/pr19609-1m.d: Likewise.
336 * ld-x86-64/pr19609-5b.d: Likewise.
337 * ld-x86-64/pr19609-5c.d: Likewise.
338 * ld-x86-64/pr19609-5e.d: Likewise.
339 * ld-x86-64/pr19609-6b.d: Likewise.
340 * ld-x86-64/pr19609-7b.d: Likewise.
341 * ld-x86-64/pr19609-7d.d: Likewise.
342 * ld-x86-64/pr19636-2d.d: Likewise.
343 * ld-x86-64/pr20093-1.d: Likewise.
344 * ld-x86-64/pr20093-2.d: Likewise.
345 * ld-x86-64/pr20253-1b.d: Likewise.
346 * ld-x86-64/pr20253-1d.d: Likewise.
347 * ld-x86-64/pr20253-1f.d: Likewise.
348 * ld-x86-64/pr20253-1h.d: Likewise.
349 * ld-x86-64/pr20253-1j.d: Likewise.
350 * ld-x86-64/pr20253-1l.d: Likewise.
351 * ld-x86-64/protected3.d: Likewise.
352 * ld-x86-64/tlsbin.dd: Likewise.
353 * ld-x86-64/tlsbin2.dd: Likewise.
354 * ld-x86-64/tlsbindesc.dd: Likewise.
355 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
356 * ld-x86-64/tlsdesc.dd: Likewise.
357 * ld-x86-64/tlsdesc.pd: Likewise.
358 * ld-x86-64/tlsgd10.dd: Likewise.
359 * ld-x86-64/tlsgd5.dd: Likewise.
360 * ld-x86-64/tlsgd6.dd: Likewise.
361 * ld-x86-64/tlsgd8.dd: Likewise.
362 * ld-x86-64/tlsgdesc.dd: Likewise.
363 * ld-x86-64/tlspic.dd: Likewise.
364 * ld-x86-64/tlspic2.dd: Likewise.
366 2016-10-11 Nick Clifton <nickc@redhat.com>
369 * emultempl/elf32.em (_search_needed): Add support for pseudo
370 environment variables supported by ld.so. Namely $ORIGIN, $LIB
372 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
373 * config.in: Regenerate.
374 * configure: Regenerate.
376 2016-10-11 Alan Modra <amodra@gmail.com>
378 * ldlang.c (lang_do_assignments_1): Descend into output section
379 statements that do not yet have bfd sections. Set symbol section
380 temporarily for symbols defined in such statements to the undefined
381 section. Don't error on data or reloc statements until final phase.
382 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
384 * testsuite/ld-mmix/bpo-10.d: Adjust.
385 * testsuite/ld-mmix/bpo-11.d: Adjust.
387 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
389 * emulparams/elf64_s390.sh: Move binary start to 16M.
390 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
391 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
393 2016-10-07 Alan Modra <amodra@gmail.com>
395 * ldexp.c (MAX): Define.
396 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
399 2016-10-07 Alan Modra <amodra@gmail.com>
401 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
402 * testsuite/ld-elf/elf.exp: ..here.
404 2016-10-06 Ludovic Courtès <ludo@gnu.org>
406 * emulparams/elf32bmipn32-defs.sh: Shift quote of
407 "x$EMULATION_NAME" to the left to work around
408 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
410 2016-10-06 Alan Modra <amodra@gmail.com>
412 * lexsup.c: Spell fall through comments consistently and add
413 missing fall through comments.
415 2016-10-06 Alan Modra <amodra@gmail.com>
417 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
420 2016-10-04 Alan Modra <amodra@gmail.com>
422 * ld.texinfo (Expression Section): Update result of arithmetic
424 * ldexp.c (arith_result_section): New function.
425 (fold_binary): Use it.
427 2016-10-04 Alan Modra <amodra@gmail.com>
429 * ldexp.c (exp_value_fold): New function.
430 (exp_unop, exp_binop, exp_trinop): Use it.
432 2016-09-30 Alan Modra <amodra@gmail.com>
434 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
436 * scripttempl/v850_rh850.sc: Likewise.
438 2016-09-30 Alan Modra <amodra@gmail.com>
441 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
442 multiple .text sections for hppa-linux.
443 * testsuite/ld-elf/pr20528b.d: Likewise.
445 2016-09-30 Alan Modra <amodra@gmail.com>
447 * ldmain.c (default_bfd_error_handler): New function pointer.
448 (ld_bfd_error_handler): New function.
449 (main): Arrange to call it on bfd errors/warnings.
450 (ld_bfd_assert_handler): Enable tail call.
452 2016-09-30 Alan Modra <amodra@gmail.com>
454 * ldlang.c (ignore_bfd_errors): Update params.
456 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
459 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
460 merge 2 sections with different SHF_EXCLUDE.
461 * testsuite/ld-elf/pr20528a.d: New file.
462 * testsuite/ld-elf/pr20528a.s: Likewise.
463 * testsuite/ld-elf/pr20528b.d: Likewise.
464 * testsuite/ld-elf/pr20528b.s: Likewise.
466 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
469 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
470 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
471 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
472 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
473 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
475 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
477 * Makefile.in: Regenerate.
478 * configure: Likewise.
480 2016-09-26 Alan Modra <amodra@gmail.com>
482 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
483 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
484 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
485 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
486 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
487 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
488 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
489 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
490 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
491 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
492 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
493 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
494 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
495 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
496 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
497 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
498 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
500 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
503 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
504 line and -r option to objdump command line. Match emitted relocs
505 to make sure that superflous relocs are not generated.
507 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
509 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
510 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
511 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
513 2016-09-22 Nick Clifton <nickc@redhat.com>
515 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
516 attempts to find a needed library.
518 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
520 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
522 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
523 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
524 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
525 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
526 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
527 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
528 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
529 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
530 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
531 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
532 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
533 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
534 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
535 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
536 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
537 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
538 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
539 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
540 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
541 * testsuite/ld-aarch64/erratum835769.d: Likewise.
542 * testsuite/ld-aarch64/erratum843419.d: Likewise.
543 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
544 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
545 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
546 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
547 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
548 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
549 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
550 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
551 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
552 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
553 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
554 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
555 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
556 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
557 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
558 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
559 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
560 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
562 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
564 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
565 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
567 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
569 * ld.texinfo (Input Section Basics): Expand the description of
572 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
574 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
575 Extensions entry functions in absolute section.
576 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
578 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
580 * testsuite/ld-arc/tls-dtpoff.dd: New file.
581 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
582 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
583 * testsuite/ld-arc/tls-relocs.ld: Likewise.
584 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
586 2016-09-14 Nick Clifton <nickc@redhat.com>
589 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
590 OPTION_NO_EH_FRAME_HDR.
591 (_add_options): Add support for --no-eh-frame-hdr.
592 * ld.texinfo: Document new option.
593 * lexsup.c (elf_shlib_list_options): List new option.
594 * NEWS: Mention the new option.
596 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
599 * testsuite/ld-x86-64/pr20550a.s: New file.
600 * testsuite/ld-x86-64/pr20550b.s: Likewise.
601 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
604 2016-09-06 Nick Clifton <nickc@redhat.com>
606 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
607 without any sanitization options.
608 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
609 any sanitization options.
610 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
611 as CFLAGS and CXXFLAGS respectively.
613 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
616 * testsuite/ld-avr/avr-prop-7.d: New test.
617 * testsuite/ld-avr/avr-prop-7.s: New test.
618 * testsuite/ld-avr/avr-prop-8.d: New test.
619 * testsuite/ld-avr/avr-prop-8.s: New test.
621 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
623 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
625 * testsuite/ld-elf/pr20513d.d: Likewise.
627 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
630 * testsuite/ld-elf/pr20513a.d: New file.
631 * testsuite/ld-elf/pr20513a.s: Likewise.
632 * testsuite/ld-elf/pr20513b.d: Likewise.
633 * testsuite/ld-elf/pr20513b.s: Likewise.
634 * testsuite/ld-elf/pr20513c.d: Likewise.
635 * testsuite/ld-elf/pr20513d.d: Likewise.
636 * testsuite/ld-elf/pr20513e.d: Likewise.
637 * testsuite/ld-elf/pr20513f.d: Likewise.
639 2016-08-31 Alan Modra <amodra@gmail.com>
642 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
644 2016-08-31 Alan Modra <amodra@gmail.com>
646 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
647 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
648 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
649 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
650 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
652 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
654 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
655 * testsuite/ld-arc/tls_ie-01.d: Likewise.
657 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
659 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
660 if ifunc attribute works.
662 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
666 * testsuite/ld-i386/i386.exp: Run pr20515.
667 * testsuite/ld-i386/pr20515.d: New file.
668 * testsuite/ld-i386/pr20515.s: Likewise.
669 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
671 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
672 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
673 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
674 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
675 * testsuite/ld-x86-64/x86-64.exp: Here.
676 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
677 * testsuite/ld-x86-64/pr19784a.c: Here.
678 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
679 * testsuite/ld-x86-64/pr19784b.c: Here.
680 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
681 * testsuite/ld-x86-64/pr19784c.c: Here.
683 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
685 * emultempl/armelf.em (params): New static variable.
686 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
687 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
688 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
689 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
691 (arm_elf_before_allocation): Access static variable from the params
693 (gld${EMULATION_NAME}_finish): Likewise.
694 (arm_elf_create_output_section_statements): Likewise and pass the
695 address of that structure to bfd_elf32_arm_set_target_relocs instead
696 of the static variables.
697 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
700 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
702 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
703 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
705 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
707 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
708 * testsuite/ld-arc/tls_ie-01.d: Likewise
710 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
712 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
714 (arm_elf_create_output_section_statements): Open import input library
715 file for writing and pass resulting in_implib_bfd to
716 bfd_elf32_arm_set_target_relocs.
717 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
718 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
719 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
720 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
721 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
722 (--in-implib): Document new option.
724 * testsuite/ld-arm/arm-elf.exp
725 (Secure gateway import library generation): add --defsym VER=1 to gas
727 (Secure gateway import library generation: errors): Likewise.
728 (Input secure gateway import library): New test.
729 (Input secure gateway import library: no output import library):
731 (Input secure gateway import library: not an SG input import library):
733 (Input secure gateway import library: earlier stub section base):
735 (Input secure gateway import library: later stub section base):
737 (Input secure gateway import library: veneer comeback): Likewise.
738 (Input secure gateway import library: entry function change):
740 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
741 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
742 * testsuite/ld-arm/cmse-new-implib.out: New file.
743 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
744 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
745 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
746 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
747 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
748 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
750 2016-08-25 Alan Modra <amodra@gmail.com>
752 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
753 support for BE. First output all target endian configury
754 values, then opposite endian. Handle more tooldirs. Fix
755 bogus matches with strings in MANUF-OS part of target triple.
757 2016-08-23 Alan Modra <amodra@gmail.com>
759 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
762 2016-08-19 Nick Clifton <nickc@redhat.com>
764 * emultempl/aarch64elf.em (before_parse): Initialise the relro
765 field in the link_info structure.
766 * emultempl/armelf.em (before_parse): Likewise.
767 * emultempl/linux.em (before_parse): Likewise.
768 * emultempl/scoreelf.em (before_parse): Likewise.
770 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
771 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
772 * testsuite/ld-alpha/tlspic.rd: Likewise.
773 * testsuite/ld-cris/libdso-2.d: Likewise.
774 * testsuite/ld-i386/nogot1.d: Likewise.
775 * testsuite/ld-i386/pr12718.d: Likewise.
776 * testsuite/ld-i386/pr12921.d: Likewise.
777 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
778 * testsuite/ld-i386/tlsbin.rd: Likewise.
779 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
780 * testsuite/ld-i386/tlsbin2.rd: Likewise.
781 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
782 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
783 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
784 * testsuite/ld-i386/tlsdesc.rd: Likewise.
785 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
786 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
787 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
788 * testsuite/ld-i386/tlsnopic.rd: Likewise.
789 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
790 * testsuite/ld-i386/tlspic.rd: Likewise.
791 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
792 * testsuite/ld-i386/tlspic2.rd: Likewise.
793 * testsuite/ld-ia64/tlsbin.rd: Likewise.
794 * testsuite/ld-ia64/tlspic.rd: Likewise.
795 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
796 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
797 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
798 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
799 * testsuite/ld-mmix/bspec1.d: Likewise.
800 * testsuite/ld-mmix/bspec2.d: Likewise.
801 * testsuite/ld-mmix/local1.d: Likewise.
802 * testsuite/ld-mmix/local3.d: Likewise.
803 * testsuite/ld-mmix/local5.d: Likewise.
804 * testsuite/ld-mmix/local7.d: Likewise.
805 * testsuite/ld-mmix/undef-3.d: Likewise.
806 * testsuite/ld-powerpc/tlsexe.r: Likewise.
807 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
808 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
809 * testsuite/ld-powerpc/tlsso.r: Likewise.
810 * testsuite/ld-powerpc/tlsso32.r: Likewise.
811 * testsuite/ld-powerpc/tlstocso.r: Likewise.
812 * testsuite/ld-s390/tlsbin.rd: Likewise.
813 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
814 * testsuite/ld-s390/tlspic.rd: Likewise.
815 * testsuite/ld-s390/tlspic_64.rd: Likewise.
816 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
817 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
818 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
819 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
820 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
821 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
822 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
823 * testsuite/ld-sh/tlsbin-2.d: Likewise.
824 * testsuite/ld-sh/tlspic-2.d: Likewise.
825 * testsuite/ld-sparc/gotop32.rd: Likewise.
826 * testsuite/ld-sparc/gotop64.rd: Likewise.
827 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
828 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
829 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
830 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
831 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
832 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
833 * testsuite/ld-tic6x/common.d: Likewise.
834 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
835 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
836 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
837 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
838 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
839 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
840 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
841 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
842 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
843 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
844 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
845 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
846 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
847 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
848 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
849 * testsuite/ld-x86-64/nogot1.d: Likewise.
850 * testsuite/ld-x86-64/pr12718.d: Likewise.
851 * testsuite/ld-x86-64/pr12921.d: Likewise.
852 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
853 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
854 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
855 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
856 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
857 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
858 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
859 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
860 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
861 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
862 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
863 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
864 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
865 * testsuite/ld-x86-64/tlspic.rd: Likewise.
866 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
867 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
868 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
869 * testsuite/ld-xtensa/tlspic.rd: Likewise.
871 2016-08-18 Alan Modra <amodra@gmail.com>
873 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
876 2016-08-12 Alan Modra <amodra@gmail.com>
878 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
879 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
880 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
881 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
882 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
883 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
884 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
885 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
886 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
887 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
888 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
889 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
890 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
892 2016-08-12 Alan Modra <amodra@gmail.com>
894 * testsuite/ld-undefined/weak-fundef.s: New.
895 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
896 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
897 much of old code. Use is_elf_format to select targets.
899 2016-08-11 Alan Modra <amodra@gmail.com>
902 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
904 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
906 2016-08-11 Nick Clifton <nickc@redhat.com>
909 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
910 testing remotely, check to see if target compiler is installed
911 before trying to run it.
913 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
916 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
919 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
921 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
923 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
925 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
926 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
927 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
929 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
931 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
933 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
936 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
938 (check_lto_available): Return 0 if check_gcc_plugin_enabled
940 (check_lto_fat_available): Likewise.
941 (check_lto_shared_available): Likewise.
943 2016-08-09 Roland McGrath <roland@hack.frob.com>
945 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
947 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
949 * emultempl/armelf.em (cmse_implib): Declare and define this new
951 (arm_elf_create_output_section_statements): Add new cmse_implib
953 (OPTION_CMSE_IMPLIB): Define macro.
954 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
955 (PARSE_AND_LIST_OPTIONS): Likewise.
956 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
957 * ld.texinfo (--cmse-implib): Document new option.
958 * testsuite/ld-arm/arm-elf.exp
959 (Secure gateway import library generation): New test.
960 (Secure gateway import library generation: errors): Likewise.
961 * testsuite/ld-arm/cmse-implib.s: New file.
962 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
963 * testsuite/ld-arm/cmse-implib.rd: Likewise.
965 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
967 * ld.texinfo (Placement of SG veneers): New concept entry.
968 * testsuite/ld-arm/arm-elf.exp
969 (Secure gateway veneers: no .gnu.sgstubs section): New test.
970 (Secure gateway veneers: wrong entry functions): Likewise.
971 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
972 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
973 * testsuite/ld-arm/cmse-veneers.s: New file.
974 * testsuite/ld-arm/cmse-veneers.d: Likewise.
975 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
976 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
977 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
978 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
980 2016-08-02 Nick Clifton <nickc@redhat.com>
983 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
985 * emulparams/shelf32.sh: Likewise.
986 * emulparams/shelf32.sh: Likewise.
987 * emulparams/shelf_nto.sh: Likewise.
988 * emulparams/shelf_nto.sh: Likewise.
989 * emulparams/shelf_vxworks.sh: Likewise.
990 * emulparams/shelf_vxworks.sh: Likewise.
991 * emulparams/shlelf32_linux.sh: Likewise.
992 * emulparams/shlelf32_linux.sh: Likewise.
993 * emulparams/shlelf_linux.sh: Likewise.
994 * emulparams/shlelf_linux.sh: Likewise.
995 * emulparams/shlelf_nto.sh: Likewise.
996 * emulparams/shlelf_nto.sh: Likewise.
998 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1000 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
1001 patterns for branch compaction.
1002 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1005 2016-07-27 Nick Clifton <nickc@redhat.com>
1007 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
1008 test to targets which support cfi.
1010 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
1012 * ldbuildid.c (generate_build_id): Warning fix.
1014 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1016 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
1017 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
1018 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
1019 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
1021 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
1023 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
1025 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
1027 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
1029 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
1031 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
1033 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
1035 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
1037 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
1039 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1041 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
1043 * ldbuildid.c: Changes for MinGW32:
1044 Include windows.h and rpcdce.h.
1045 (validate_build_id_style): Allow "uuid" style.
1046 (generate_build_id): Fill in id_bits using UuidCreate().
1048 2016-07-25 Alan Modra <amodra@gmail.com>
1050 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
1051 and m32r. Correct comment. Relax ld -r match to account for
1052 msp increased number of default sections.
1054 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
1056 * testsuite/ld-arc/got-01.d: New file.
1057 * testsuite/ld-arc/got-01.s: New file.
1059 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1061 * configure: Regenerated.
1063 2016-07-21 Alan Modra <amodra@gmail.com>
1065 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1066 "targets_to_xfail" parameter with "args".
1067 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1068 all calls to run_ld_link_exec_tests.
1069 * testsuite/ld-elf/dwarf.exp: Likewise.
1070 * testsuite/ld-elf/indirect.exp: Likewise.
1071 * testsuite/ld-elf/wrap.exp: Likewise.
1072 * testsuite/ld-i386/i386.exp: Likewise.
1073 * testsuite/ld-i386/no-plt.exp: Likewise.
1074 * testsuite/ld-i386/tls.exp: Likewise.
1075 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1076 * testsuite/ld-pie/pie.exp: Likewise.
1077 * testsuite/ld-plugin/lto.exp: Likewise.
1078 * testsuite/ld-size/size.exp: Likewise.
1079 * testsuite/ld-x86-64/mpx.exp: Likewise.
1080 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1081 * testsuite/ld-x86-64/tls.exp: Likewise.
1082 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1083 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1084 xfails and simplify lists.
1085 * testsuite/ld-elf/shared.exp: Likewise.
1087 2016-07-21 Alan Modra <amodra@gmail.com>
1089 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1090 parameter to pass list of xfails.
1091 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1092 implib test formatting. Don't set .data start address.
1093 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1094 replace second one with equivalent .section directive.
1095 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1096 * testsuite/ld-elf/implib.rd: Update.
1098 2016-07-20 Alan Modra <amodra@gmail.com>
1100 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1102 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1104 2016-07-19 Roland McGrath <roland@hack.frob.com>
1106 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1107 * emulparams/aarch64elf32.sh: Likewise.
1109 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1111 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1113 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1114 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1115 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1116 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1117 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1118 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1119 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1120 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1121 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1122 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1123 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1124 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1125 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1126 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1127 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1128 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1129 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1130 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1131 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1133 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1135 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1137 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1139 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1141 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1142 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1144 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1146 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1147 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1148 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1149 microMIPS BAL and MIPS16 instructions.
1150 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1152 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1153 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1154 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1155 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1156 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1157 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1158 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1159 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1160 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1162 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1164 * plugin.c (plugin_call_claim_file): Restore the file offset after
1165 an unsuccessful attempt to claim a file.
1166 * testplug.c (bytes_to_read_before_claim): New global.
1167 (record_read_length): New function, sets new global
1168 bytes_to_read_before_claim.
1169 (parse_option): Handle 'read:<NUMBER>' option.
1170 (onclaim_file): Read file content before checking for claim.
1171 * testsuite/ld-plugin/plugin-30.d: New file.
1172 * testsuite/ld-plugin/plugin.exp: Add new test.
1174 2016-07-16 Alan Modra <amodra@gmail.com>
1176 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1177 before bfd/plugin.h.
1178 (plugin_object_p): Use bfd_plugin_open_input.
1180 2016-07-16 Alan Modra <amodra@gmail.com>
1182 * ldlang.c (open_output): Replace bfd_search_for_target with
1183 bfd_iterate_over_targets. Localize vars.
1185 2016-07-16 Alan Modra <amodra@gmail.com>
1187 * ldlang.c: Don't include libbfd.h.
1188 * emultempl/nds32elf.em: Likewise.
1189 * emultempl/ppc64elf.em: Likewise.
1190 * emultempl/ppc32elf.em: Likewise.
1192 (params): Update init.
1193 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1194 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1195 * emultempl/sh64elf.em: Don't include libbfd.h.
1196 (after_allocation): Use ASSERT, not BFD_ASSERT.
1197 * emultempl/xtensaelf.em: Don't include libbfd.h.
1198 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1199 * Makefile.am: Update dependencies.
1200 * Makefile.in: Regenerate.
1202 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1203 Nick Clifton <nickc@redhat.com>
1205 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1206 library file for writing and initialize implib_bfd field of link_info
1208 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1209 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1210 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1211 (gld_${EMULATION_NAME}_list_options): Likewise.
1212 (gld${EMULATION_NAME}_handle_option): Likewise.
1213 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1214 instead of pe_implib_filename.
1215 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1216 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1217 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1218 (gld_${EMULATION_NAME}_list_options): Likewise.
1219 (gld${EMULATION_NAME}_handle_option): Likewise.
1220 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1221 instead of pep_implib_filename.
1222 * ld.h (args_type): Declare new out_implib_filename field.
1223 * ld.texinfo (--out-implib): Move documentation to arch-independent
1224 part and rephrase to apply to ELF targets.
1225 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1226 defined in linker scripts.
1227 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1229 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1230 (parse_args): Handle OPTION_OUT_IMPLIB case.
1231 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1232 (Generate import library): Likewise.
1233 * testsuite/ld-elf/implib.s: Likewise.
1234 * testsuite/ld-elf/implib.rd: New file.
1235 * testsuite/ld-elf/empty-implib.out: Likewise
1237 2016-07-15 Nick Clifton <nickc@redhat.com>
1239 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1242 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1244 * testsuite/ld-mips-elf/mips-elf.exp: Run
1245 `branch-absolute-addend', `mips16-branch-absolute',
1246 `mips16-branch-absolute-addend' and
1247 `micromips-branch-absolute-addend'.
1249 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1251 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1252 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1253 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1254 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1256 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1258 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1260 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1261 from `mips16-branch-absolute' and
1262 `mips16-branch-absolute-addend', referred indirectly only.
1264 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1266 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1267 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1268 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1269 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1270 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1271 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1272 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1273 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1275 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1277 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1279 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1281 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1283 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1284 from `branch-absolute-addend' and
1285 `micromips-branch-absolute-addend', referred indirectly only.
1287 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1289 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1290 * testsuite/ld-arc/sda-relocs.dd: New file.
1291 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1292 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1293 * testsuite/ld-arc/sda-relocs.s: Likewise.
1294 * testsuite/ld-arc/arc.exp: Add SDA tests.
1296 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1298 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1301 2016-07-09 Alan Modra <amodra@gmail.com>
1303 * testsuite/ld-powerpc/elfv2exe.d: Update.
1305 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1307 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1311 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1313 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1315 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1317 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1318 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1319 * testsuite/ld-arm/arm-elf.exp: Run it.
1321 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1323 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1324 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1325 all noread's by purecode.
1327 2016-07-05 Jan Beulich <jbeulich@suse.com>
1329 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1330 assignment line number.
1331 * ldlex.l (lineno): Drop initializer.
1332 (<<EOF>>): Set lineno to zero after reaching top of stack.
1334 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1337 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1338 been loaded already.
1339 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1340 * testsuite/ld-plugin/pr20321.c: New file.
1342 2016-07-04 Nick Clifton <nickc@redhat.com>
1344 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1345 (__RAMSIZE): If not defined, set to 64K.
1346 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1349 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1351 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1352 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1354 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1356 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1357 (Thumb-2 BL on ARMv6-M): New testcase.
1358 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1359 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1361 2016-07-01 Tristan Gingold <gingold@adacore.com>
1363 * NEWS: Add marker for 2.27.
1365 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1367 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1368 * ld-gc/pr20306.c: New file.
1369 * ld-gc/pr20306.d: Likewise.
1371 2016-06-28 Nick Clifton <nickc@redhat.com>
1373 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1375 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1376 tests to fail for bfin.
1377 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1379 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1381 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1384 2016-06-28 Nick Clifton <nickc@redhat.com>
1386 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1387 expect to fail this test.
1388 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1390 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1392 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1393 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1394 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1395 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1396 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1398 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1400 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1403 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1405 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1406 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1407 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1408 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1410 2016-06-28 Alan Modra <amodra@gmail.com>
1413 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1415 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1417 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1418 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1419 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1420 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1421 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1422 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1424 2016-06-27 Nick Clifton <nickc@redhat.com>
1427 * lexsup.c (set_segment_start): If resetting the start address of
1428 a section, remember to generate a new script element as well.
1429 * testsuite/ld-scripts/pr20302.d: New test.
1430 * testsuite/ld-scripts/scripts.exp: Run the new test.
1432 2016-06-24 Alan Modra <amodra@gmail.com>
1434 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1435 Don't error out, always return an emulation.
1437 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1438 H.J. Lu <hongjiu.lu@intel.com>
1440 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1441 for -z relro help message.
1443 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1445 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1448 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1450 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1451 `undefweak-overflow' tests.
1453 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1456 * NEWS: Mention --enable-relro.
1457 * configure.ac: Add --enable-relro.
1458 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1459 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1461 * config.in: Regenerated.
1462 * configure: Likewise.
1463 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1464 link_info.relro to DEFAULT_LD_Z_RELRO.
1465 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1466 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1467 $ld_elf_shared_opt to ld for ELF targets with shared object
1469 (run_ld_link_tests): Likewise.
1471 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1473 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1474 twice rather than once.
1475 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1476 accordingly. Remove the full stop from the end of the message.
1478 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1480 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1481 * testsuite/ld-arc/nps-1b.d: Likewise.
1483 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1486 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1488 (lto_run_tests): Likewise.
1489 * testsuite/ld-plugin/pr20267a.c: New file.
1490 * testsuite/ld-plugin/pr20267b.c: Likewise.
1492 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1493 Alan Modra <amodra@gmail.com>
1496 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1497 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1499 (lto_run_tests): Likewise.
1500 * testsuite/ld-plugin/pass.out: New file.
1501 * testsuite/ld-plugin/pr20276a.c: Likewise.
1502 * testsuite/ld-plugin/pr20276b.c: Likewise.
1504 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1506 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1507 with bfd_plugin_unknown.
1509 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1512 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1513 * testsuite/ld-i386/no-plt.exp: Likewise.
1514 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1515 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1516 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1517 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1518 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1519 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1520 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1521 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1522 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1523 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1524 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1525 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1526 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1527 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1528 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1529 * testsuite/ld-i386/pr20244-2b.d: Updated.
1530 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1531 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1532 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1533 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1534 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1535 * testsuite/ld-i386/pr20253-1a.c: New file.
1536 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1537 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1538 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1539 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1540 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1541 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1542 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1543 * testsuite/ld-i386/pr20253-3.d: Likewise.
1544 * testsuite/ld-i386/pr20253-3.s: Likewise.
1545 * testsuite/ld-i386/pr20253-4.s: Likewise.
1546 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1547 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1548 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1549 * testsuite/ld-i386/pr20253-5.d: Likewise.
1550 * testsuite/ld-i386/pr20253-5.s: Likewise.
1551 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1552 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1553 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1554 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1555 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1556 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1557 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1558 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1559 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1560 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1561 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1562 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1563 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1564 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1565 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1566 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1567 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1568 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1569 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1570 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1571 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1572 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1573 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1574 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1575 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1576 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1577 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1578 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1579 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1580 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1581 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1582 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1583 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1584 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1585 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1586 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1587 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1588 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1589 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1590 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1591 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1592 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1594 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1595 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1596 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1597 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1598 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1600 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1601 Tony Wang <tony.wang@arm.com>
1603 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1604 Assemble for ARMv6-M.
1605 (Thumb2-Thumb2 farcall M profile): New testcase.
1606 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1607 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1608 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1609 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1611 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1613 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1614 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1615 Remove .rel.plt section.
1616 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1618 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1620 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1622 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1623 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1624 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1626 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1627 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1628 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1629 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1630 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1631 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1632 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1633 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1634 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1635 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1636 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1637 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1638 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1639 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1640 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1641 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1642 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1643 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1644 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1646 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1649 * testsuite/ld-avr/avr-prop-6.d: New test.
1650 * testsuite/ld-avr/avr-prop-6.s: New test.
1652 2016-06-14 Alan Modra <amodra@gmail.com>
1654 * ldbuildid.c: Formatting.
1655 * ldcref.c: Formatting.
1656 * ldctor.c: Formatting.
1657 * ldemul.c: Formatting.
1658 * ldexp.c: Formatting.
1659 * ldfile.c: Formatting.
1660 * ldlang.c: Formatting.
1661 * ldmain.c: Formatting.
1662 * ldwrite.c: Formatting.
1664 2016-06-14 Alan Modra <amodra@gmail.com>
1666 * ldlang.c: Expand uses of bfd_my_archive.
1667 * ldmain.c: Likewise.
1668 * ldmisc.c: Likewise.
1669 * plugin.c: Likewise.
1671 2016-06-14 Alan Modra <amodra@gmail.com>
1674 * ldmain.c (add_archive_element): Just print file name of file within
1676 * ldmisc.c (vfinfo): Likewise.
1677 * plugin.c (plugin_object_p): Open file within thin archives.
1678 (plugin_maybe_claim): Expand comment.
1680 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1683 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1684 pr20244-2c and pr20244-2d.
1685 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1686 * testsuite/ld-i386/pr20244-2.s: New file.
1687 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1688 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1689 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1690 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1691 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1692 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1693 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1694 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1696 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1698 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1699 * testsuite/ld-i386/ifunc-1a.c: New file.
1700 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1701 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1702 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1704 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1706 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1707 big endian ARC targets.
1709 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1711 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1712 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1713 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1714 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1715 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1716 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1717 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1718 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1719 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1720 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1721 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1722 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1723 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1724 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1725 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1727 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1730 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1731 * testsuite/ld-i386/pr20244-1.s: New file.
1732 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1733 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1734 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1736 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1739 * testsuite/ld-avr/avr-prop-5.d: New.
1740 * testsuite/ld-avr/avr-prop-5.s: New.
1742 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1744 * testsuite/ld-avr/lds-mega.d: New test.
1745 * testsuite/ld-avr/lds-mega.s: New test source.
1746 * testsuite/ld-avr/lds-tiny.d: New test.
1747 * testsuite/ld-avr/lds-tiny.s: New test source.
1749 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1751 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1752 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1753 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1754 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1755 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1756 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1757 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1758 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1759 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1760 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1761 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1762 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1763 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1764 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1765 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1766 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1767 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1768 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1769 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1770 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1771 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1772 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1773 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1774 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1775 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1776 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1777 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1778 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1779 * testsuite/ld-i386/no-plt.exp: Likewise.
1781 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1783 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1786 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1788 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1789 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1790 * testsuite/ld-i386/pass.out: New file.
1791 * testsuite/ld-i386/tls-def1.c: Likewise.
1792 * testsuite/ld-i386/tls-gd1.S: Likewise.
1793 * testsuite/ld-i386/tls-ld1.S: Likewise.
1794 * testsuite/ld-i386/tls-main1.c: Likewise.
1795 * testsuite/ld-i386/tls.exp: Likewise.
1796 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1797 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1798 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1799 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1800 * testsuite/ld-i386/tlsbin2.td: Likewise.
1801 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1802 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1803 * testsuite/ld-i386/tlsgd3.s: Likewise.
1804 * testsuite/ld-i386/tlsgd4.d: Likewise.
1805 * testsuite/ld-i386/tlsgd4.s: Likewise.
1806 * testsuite/ld-i386/tlsld2.s: Likewise.
1807 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1808 * testsuite/ld-i386/tlspic2.dd: Likewise.
1809 * testsuite/ld-i386/tlspic2.rd: Likewise.
1810 * testsuite/ld-i386/tlspic2.sd: Likewise.
1811 * testsuite/ld-i386/tlspic2.td: Likewise.
1812 * testsuite/ld-i386/tlspic3.s: Likewise.
1813 * testsuite/ld-i386/tlspie3.s: Likewise.
1814 * testsuite/ld-i386/tlspie3a.d: Likewise.
1815 * testsuite/ld-i386/tlspie3b.d: Likewise.
1816 * testsuite/ld-i386/tlspie3c.d: Likewise.
1818 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1820 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1821 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1822 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1823 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1824 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1825 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1826 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1827 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1829 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1831 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1832 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1833 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1834 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1835 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1836 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1837 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1838 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1839 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1840 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1841 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1842 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1843 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1844 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1845 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1846 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1847 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1848 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1849 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1850 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1851 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1853 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1855 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1857 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1859 * testsuite/ld-s390/pltoffset-1.dd: New test.
1860 * testsuite/ld-s390/pltoffset-1.ld: New test.
1861 * testsuite/ld-s390/pltoffset-1.s: New test.
1862 * testsuite/ld-s390/s390.exp: Run new test.
1864 2016-06-07 Alan Modra <amodra@gmail.com>
1866 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1867 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1868 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1870 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1872 * testsuite/ld-x86-64/pass.out: New file.
1873 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1874 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1875 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1876 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1877 * testsuite/ld-x86-64/tls.exp: Likewise.
1878 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1879 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1880 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1881 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1882 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1883 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1884 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1885 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1886 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1887 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1888 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1889 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1890 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1891 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1892 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1893 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1894 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1895 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1896 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1897 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1898 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1899 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1900 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1901 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1902 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1903 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1904 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1905 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1906 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1907 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1908 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1909 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1910 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1911 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1912 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1913 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1914 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1915 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1916 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1917 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1918 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1921 2016-06-04 Christian Groessler <chris@groessler.org>
1923 * testsuite/ld-z8k/0filler.s: New file.
1924 * testsuite/ld-z8k/branch-target.s: New file.
1925 * testsuite/ld-z8k/branch-target2.s: New file.
1926 * testsuite/ld-z8k/calr-back-8001.d: New file.
1927 * testsuite/ld-z8k/calr-back-8002.d: New file.
1928 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1929 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1930 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1931 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1932 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1933 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1934 * testsuite/ld-z8k/calr-opcode.s: New file.
1935 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1936 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1937 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1938 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1939 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1940 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1941 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1942 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1943 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1944 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1945 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1946 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1947 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1948 * testsuite/ld-z8k/djnz-opcode.s: New file.
1949 * testsuite/ld-z8k/filler.s: New file.
1950 * testsuite/ld-z8k/jr-back-8001.d: New file.
1951 * testsuite/ld-z8k/jr-back-8002.d: New file.
1952 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1953 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1954 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1955 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1956 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1957 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1958 * testsuite/ld-z8k/jr-opcode.s: New file.
1959 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1960 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1961 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1962 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1963 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1964 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1965 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1966 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1967 * testsuite/ld-z8k/ldr-opcode.s: New file.
1968 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1969 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1970 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1971 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1972 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1973 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1974 * testsuite/ld-z8k/other-file.s: New file.
1975 * testsuite/ld-z8k/reloc.dd: New file.
1976 * testsuite/ld-z8k/reloc.ld: New file.
1977 * testsuite/ld-z8k/relocseg.dd: New file.
1978 * testsuite/ld-z8k/relocseg.ld: New file.
1979 * testsuite/ld-z8k/relocseg1.dd: New file.
1980 * testsuite/ld-z8k/this-file.s: New file.
1981 * testsuite/ld-z8k/z8k.exp: New file.
1983 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1985 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1986 with -mrelax-relocations=yes.
1987 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1988 * testsuite/ld-i386/lea1b.d (as): Likewise.
1989 * testsuite/ld-i386/lea1d.d (as): Likewise.
1990 * testsuite/ld-i386/lea1e.d (as): Likewise.
1991 * testsuite/ld-i386/lea1f.d (as): Likewise.
1992 * testsuite/ld-i386/load7.d (as): Likewise.
1993 * testsuite/ld-i386/mov1b.d (as): Likewise.
1994 * testsuite/ld-i386/pr19175.d (as): Likewise.
1995 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1996 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1997 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1998 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1999 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
2001 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2003 * configure.tgt: Replace -uclibc with *.
2005 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2007 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
2008 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
2009 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
2010 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2012 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2014 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
2015 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
2016 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
2017 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
2018 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
2019 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2021 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
2023 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
2024 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
2025 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
2026 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
2027 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
2028 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
2029 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2031 2016-05-28 Alan Modra <amodra@gmail.com>
2033 * ldmain.c (multiple_definition, multiple_common, add_to_set,
2034 constructor_callback, warning_callback, undefined_symbol,
2035 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
2036 * emultempl/elf32.em: Adjust callback calls.
2038 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2040 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
2041 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
2042 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
2044 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
2046 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
2048 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
2050 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
2052 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
2054 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2056 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2058 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2059 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2061 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2063 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2065 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2066 `unaligned-jalx-2' here.
2067 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2068 `unaligned-jalx-mips16-2' here.
2069 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2070 `unaligned-jalx-micromips-2' here.
2071 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2072 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2074 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2075 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2076 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2077 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2078 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2080 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2081 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2082 `unaligned-lwpc-3' here.
2083 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2084 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2085 `unaligned-lwpc-2' here.
2086 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2087 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2088 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2089 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2090 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2091 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2092 `unaligned-ldpc-4' here.
2093 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2094 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2095 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2096 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2097 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2098 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2099 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2100 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2101 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2102 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2103 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2105 2016-05-26 Nick Clifton <nickc@redhat.com>
2108 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2110 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2112 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2114 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2115 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2116 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2117 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2118 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2119 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2120 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2121 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2122 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2123 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2124 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2125 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2126 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2127 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2128 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2129 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2130 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2131 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2132 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2133 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2134 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2135 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2136 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2137 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2138 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2139 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2140 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2141 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2142 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2143 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2144 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2145 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2146 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2148 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2151 * ldmain.c (add_archive_element): Don't claim new IR symbols
2152 after all IR symbols have been claimed.
2153 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2155 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2156 Run PR ld/20103 tests.
2157 * testsuite/ld-plugin/pr20103a.c: New file.
2158 * testsuite/ld-plugin/pr20103b.c: Likewise.
2159 * testsuite/ld-plugin/pr20103c.c: Likewise.
2161 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2163 * testsuite/ld-mips-elf/jalx-local.d: New test.
2164 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2165 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2166 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2168 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2170 * Makefile.am: Add earmelf_phoenix.c.
2171 * Makefile.in: Regenerate.
2172 * configure.tgt: Add entry for arm-phoenix.
2173 * emulparams/armelf_phoenix.sh: New file.
2175 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2177 * emultempl/armelf.em (arm_elf_before_allocation): Call
2178 bfd_elf32_arm_keep_private_stub_output_sections before generic
2179 before_allocation function.
2181 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2183 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2184 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2185 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2186 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2188 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2191 * testsuite/ld-i386/i386.exp: Run pr20117.
2192 * testsuite/ld-i386/pr19609-1i.d: Updated.
2193 * testsuite/ld-i386/pr20117.d: New file.
2194 * testsuite/ld-i386/pr20117.s: Likewise.
2196 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2198 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2199 * testsuite/ld-elf/group8a.d: Likewise.
2200 * testsuite/ld-elf/group8b.d: Likewise.
2201 * testsuite/ld-elf/group9a.d: Likewise.
2202 * testsuite/ld-elf/group9b.d: Likewise.
2203 * testsuite/ld-elf/pr12851.d: Likewise.
2204 * testsuite/ld-elf/pr12975.d: Likewise.
2205 * testsuite/ld-elf/pr13177.d: Likewise.
2206 * testsuite/ld-elf/pr13195.d: Likewise.
2207 * testsuite/ld-elf/pr17615.d: Likewise.
2208 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2209 * testsuite/ld-elf/group3b.d: Likewise.
2210 * testsuite/ld-srec/srec.exp: Likewise.
2211 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2213 (check_shared_lib_support): Mark ARC as supporting.
2215 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2217 * emulparams/arcelf.sh: Changed.
2218 * emulparams/arclinux.sh: Likewise.
2219 * scripttempl/arclinux.sc: Moved to a more standard implementation
2222 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2224 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2225 `ft32-*-*' behind `frv-*-*'.
2227 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2229 * configure.tgt: Remove `am34-*-linux*' support.
2231 2016-05-19 Alan Modra <amodra@gmail.com>
2233 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2234 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2235 * testsuite/ld-scripts/cross3.t: Likewise.
2236 * testsuite/ld-scripts/cross4.t: Likewise.
2237 * testsuite/ld-scripts/cross5.t: Likewise.
2238 * testsuite/ld-scripts/cross6.t: Likewise.
2239 * testsuite/ld-scripts/cross7.t: Likewise.
2241 2016-05-19 Alan Modra <amodra@gmail.com>
2243 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2244 exe name rather than constructing testname. Fix typo in
2245 sub-test name. Log copying. Use -rpath rather than -R.
2247 2016-05-18 Nick Clifton <nickc@redhat.com>
2249 * scripttempl/ft32.sc: Use fixed constants for memory region
2250 lengths. Include DWARF debug sections.
2251 (.data .bss): Do not assign locations during relocatable links.
2252 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2253 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2254 * testsuite/ld-elf/sec64k.exp: Likewise.
2255 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2256 * testsuite/ld-elf/merge.d: Likewise.
2257 * testsuite/ld-elf/orphan-region.d: Likewise.
2258 * testsuite/ld-elf/orphan.s: Likewise.
2259 * testsuite/ld-elf/orphan3.d: Likewise.
2260 * testsuite/ld-elf/pr349.d: Likewise.
2261 * testsuite/ld-elf/warn2.d: Likewise.
2262 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2263 that the FT32 does not support shared libraries.
2265 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2267 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2270 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2272 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2274 * scripttempl/avrtiny.sc (text): Likewise.
2276 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2278 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2279 `supports_gnu_unique' to qualify testing.
2281 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2283 * testsuite/ld-elf/flags1.d: Update the xfail list.
2285 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2287 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2290 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2293 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2294 on EXPECTED_VIEW_LENGTH.
2295 * testplug4.c (onall_symbols_read): Likewise.
2297 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2300 * testsuite/ld-x86-64/pr20093-1.d: New file.
2301 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2302 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2303 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2304 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2306 2016-05-13 Alan Modra <amodra@gmail.com>
2308 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2309 Use different output file name for static app without .rel.plt.
2310 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2311 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2312 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2313 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2314 * testsuite/ld-arm/arm-static-app.r: Likewise.
2316 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2319 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2320 (libldtestplug4_la_SOURCES): New.
2321 (libldtestplug4_la_CFLAGS): Likewise.
2322 (libldtestplug4_la_LDFLAGS): Likewise.
2323 * Makefile.in: Regenerated.
2324 * plugin.c (get_symbols): Return resolution based on IR symbol
2325 kinds for symbols defined/referenced only within IR.
2326 * testplug4.c: New file.
2327 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2328 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2329 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2330 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2331 (plugin4_path): Likewise.
2332 Add a test for ld/20070.
2334 2016-05-11 Alan Modra <amodra@gmail.com>
2336 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2337 Call elf32_hppa_init_stub_bfd.
2339 2016-05-11 Alan Modra <amodra@gmail.com>
2342 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2343 * testsuite/ld-powerpc/tlsdll.s: New.
2344 * testsuite/ld-powerpc/tlsdll.ver: New.
2345 * testsuite/ld-powerpc/tlsdll_32.s: New.
2346 * testsuite/ld-powerpc/tlsopt5.d: New.
2347 * testsuite/ld-powerpc/tlsopt5.s: New.
2348 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2349 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2351 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2353 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2354 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2356 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2358 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2359 parameter and rename input_section parameter to after_input_section.
2360 Append input stub section to the output section if after_input_section
2363 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2365 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2367 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2368 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2370 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2372 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2374 2016-05-09 Christophe Monat <christophe.monat@st.com>
2377 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2378 tests. Fix misnamed stm32l4xx-fix-all.
2379 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2380 loads with DP registers.
2381 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2382 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2383 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2384 loads with DP registers.
2385 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2387 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2389 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2391 (xfail): Remove avr-*-*.
2392 Update regex to check the section flags.
2393 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2395 2016-05-09 Alan Modra <amodra@gmail.com>
2397 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2398 * Makefile.in: Regenerate.
2400 2016-05-09 Alan Modra <amodra@gmail.com>
2402 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2403 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2404 * testsuite/ld-scripts/section-match-1.t: Likewise.
2406 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2409 * testsuite/ld-elf/pr17550-1.s: New file.
2410 * testsuite/ld-elf/pr17550-2.s: Likewise.
2411 * testsuite/ld-elf/pr17550-3.s: Likewise.
2412 * testsuite/ld-elf/pr17550-4.s: Likewise.
2413 * testsuite/ld-elf/pr17550a.d: Likewise.
2414 * testsuite/ld-elf/pr17550b.d: Likewise.
2415 * testsuite/ld-elf/pr17550c.d: Likewise.
2416 * testsuite/ld-elf/pr17550d.d: Likewise.
2418 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2420 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2422 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2424 * testsuite/ld-i386/i386.exp: Run load7.
2425 * testsuite/ld-i386/load7.d: New file.
2426 * testsuite/ld-i386/load7.map: Likewise.
2427 * testsuite/ld-i386/load7.s: Likewise.
2428 * testsuite/ld-x86-64/load2.d: Likewise.
2429 * testsuite/ld-x86-64/load2.map: Likewise.
2430 * testsuite/ld-x86-64/load2.s: Likewise.
2431 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2433 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2435 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2436 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2438 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2441 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2443 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2445 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2447 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2449 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2451 * testsuite/ld-unique/unique.d: New test.
2452 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2453 messages for compiled tests.
2455 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2457 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2458 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2459 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2460 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2461 plugin_tests only if check_shared_lib_support is true.
2462 * testsuite/ld-selective/selective.exp: Add --section-start
2465 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2468 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2470 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2472 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2473 * NEWS: Mention --no-apply-dynamic-relocs.
2474 * ld.texinfo (ld and the ARM family): Document
2475 --no-apply-dynamic-relocs.
2476 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2477 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2478 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2479 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2482 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2484 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2485 before running STT_COMMON tests.
2487 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2489 * config/default.exp (NOPIE_CFLAGS): Download source only on
2491 (NOPIE_LDFLAGS): Likewise.
2492 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2493 (check_lto_fat_available): Likewise.
2494 (check_lto_shared_available): Likewise.
2495 (check_ifunc_available): Likewise.
2496 (check_ifunc_attribute_available): Likewise.
2498 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2500 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2502 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2505 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2506 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2509 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2511 * testsuite/ld-elf/compressed1b.d: Pass
2512 --compress-debug-sections=none to ld.
2513 * testsuite/ld-elf/compressed1c.d: Likewise.
2515 2016-04-27 Alan Modra <amodra@gmail.com>
2518 * configure.tgt: Don't use var+=.
2520 2016-04-25 Nick Clifton <nickc@redhat.com>
2523 * configure.tgt: Include big endian PPC64 emulations with little
2524 endian PPC64 targets.
2526 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2528 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2530 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2532 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2533 Linux with GCC 4.9 or newer.
2534 (check_lto_fat_available): Likewise.
2535 (check_lto_shared_available): Likewise.
2537 2016-04-21 Nick Clifton <nickc@redhat.com>
2539 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2540 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2541 targets. Do not stop the checks when problems are encountered.
2543 2016-04-21 Alan Modra <amodra@gmail.com>
2545 * testsuite/ld-scripts/cross3.t: Add commonly used data
2546 and text section names to output section statements.
2547 * testsuite/ld-scripts/cross4.t: Likewise.
2548 * testsuite/ld-scripts/cross5.t: Likewise.
2549 * testsuite/ld-scripts/cross6.t: Likewise.
2550 * testsuite/ld-scripts/cross7.t: Likewise.
2552 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2554 * ldlang.c (lang_check_relocs): New function.
2555 (lang_process): Call lang_check_relocs after lang_gc_sections.
2556 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2557 call _bfd_elf_link_check_relocs here.
2559 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2562 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2563 R_386_NONE or R_X86_64_NONE.
2565 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2567 * testsuite/ld-x86-64/pic1.d: New file.
2568 * testsuite/ld-x86-64/pic1.s: Likewise.
2569 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2571 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2573 * testsuite/ld-x86-64/pie2.d: New file.
2574 * testsuite/ld-x86-64/pie2.s: Likewise.
2575 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2577 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2580 * testsuite/ld-x86-64/pr19969.d: New file.
2581 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2582 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2583 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2585 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2587 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2589 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2591 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2593 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2595 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2597 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2599 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2601 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2603 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2604 Set check_relocs_after_open_input to TRUE if
2605 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2606 (gld${EMULATION_NAME}_after_open): Call
2607 _bfd_elf_link_check_relocs on all inputs if
2608 check_relocs_after_open_input is TRUE.
2610 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2612 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2615 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2617 * emultempl/scoreelf.em: Likewise.
2619 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2622 * testsuite/ld-x86-64/pr19719.d: New file.
2623 * testsuite/ld-x86-64/pr19719.s: Likewise.
2624 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2626 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2628 * ld.texinfo: Document NOCROSSREFS_TO script command.
2629 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2630 (lang_add_nocrossref_to): New prototype.
2631 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2632 symbols defined in the first section.
2633 (check_nocrossref): Likewise.
2634 * ldgram.y (NOCROSSREFS_TO): New script command.
2635 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2636 (lang_add_nocrossref_to): New function.
2637 * ldlex.l (NOCROSSREFS_TO): New token.
2638 * NEWS: Mention NOCROSSREFS_TO.
2639 * testsuite/ld-scripts/cross4.t: New file.
2640 * testsuite/ld-scripts/cross5.t: Likewise.
2641 * testsuite/ld-scripts/cross6.t: Likewise.
2642 * testsuite/ld-scripts/cross7.t: Likewise.
2643 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2646 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2648 * Makefile.in: Regenerated with automake 1.11.6.
2649 * aclocal.m4: Likewise.
2651 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2653 * testsuite/ld-arc/arc.exp: New file.
2654 * testsuite/ld-arc/nps-1.s: New file.
2655 * testsuite/ld-arc/nps-1a.d: New file.
2656 * testsuite/ld-arc/nps-1b.d: New file.
2657 * testsuite/ld-arc/nps-1b.err: New file.
2659 2016-04-14 Nick Clifton <nickc@redhat.com>
2662 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2663 exceptions for Mingw and Cygwin.
2665 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2667 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2670 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2673 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2674 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2677 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2680 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2681 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2682 * testsuite/ld-i386/pr19939.s: New file.
2683 * testsuite/ld-i386/pr19939a.d: Likewise.
2684 * testsuite/ld-i386/pr19939b.d: Likewise.
2685 * testsuite/ld-x86-64/pr19939.s: Likewise.
2686 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2687 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2689 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2691 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2693 2016-04-08 Alan Modra <amodra@gmail.com>
2696 * ldlang.c (maybe_overlays): Delete.
2697 (lang_size_sections_1): Remove code setting maybe_overlays.
2698 (lang_check_section_addresses): Instead detect overlays by
2699 exact match of section VMAs here. Fix memory leak.
2701 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2703 * ldlang.c (print_output_section_statement): Show minfo size
2704 in target machine address units.
2705 (print_reloc_statement): Likewise.
2706 (print_padding_statement): Likewise.
2707 (print_data_statement): Likewise. Ensure minimum print_dot
2708 increment of one address unit.
2710 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2712 * emulparams/arc-endianness.sh: Make little endian default choice.
2714 2016-04-07 Nick Clifton <nickc@redhat.com>
2716 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2718 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2720 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2722 * emulparams/arc-endianness.sh: New file.
2723 * emulparams/arcebelf.sh: Deleted.
2724 * emulparams/arcebelf_prof.sh: Deleted.
2725 * emulparams/arceblinux.sh: Deleted.
2726 * emulparams/arceblinux_prof.sh: Deleted.
2727 * emulparams/arcelf.sh: Include arc-endinness.sh.
2728 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2729 * emulparams/arclinux.sh: Include arc-endinness.sh.
2730 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2731 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2732 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2733 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2734 little endian arc targets.
2735 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2736 * testsuite/ld-elf/group1.d: Likewise.
2737 * testsuite/ld-elf/group3b.d: Likewise.
2738 * testsuite/ld-elf/group8a.d: Likewise.
2739 * testsuite/ld-elf/group8b.d: Likewise.
2740 * testsuite/ld-elf/group9a.d: Likewise.
2741 * testsuite/ld-elf/group9b.d: Likewise.
2742 * testsuite/ld-elf/linkonce2.d: Likewise.
2743 * testsuite/ld-elf/pr12851.d: Likewise.
2744 * testsuite/ld-elf/pr12975.d: Likewise.
2745 * testsuite/ld-elf/pr13177.d: Likewise.
2746 * testsuite/ld-elf/pr13195.d: Likewise.
2747 * testsuite/ld-elf/pr17615.d: Likewise.
2748 * testsuite/ld-elf/pr19162.d: Likewise.
2749 * testsuite/ld-elf/sec64k.exp: Likewise.
2750 * testsuite/lib/ld-lib.exp: Likewise.
2752 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2755 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2757 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2758 * testsuite/ld-cris/tls-e-21.d: Likewise.
2759 * testsuite/ld-cris/tls-e-23.d: Likewise.
2760 * testsuite/ld-cris/tls-e-80.d: Likewise.
2761 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2762 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2763 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2764 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2765 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2766 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2767 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2768 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2769 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2770 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2772 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2774 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2775 * testsuite/ld-discard/start.d: Likewise.
2776 * testsuite/ld-discard/static.d: Likewise.
2777 * testsuite/ld-elf/group1.d: Likewise.
2778 * testsuite/ld-elf/group3b.d: Likewise.
2779 * testsuite/ld-elf/orphan-region.d: Likewise.
2780 * testsuite/ld-elf/orphan.d: Likewise.
2781 * testsuite/ld-elf/orphan3.d: Likewise.
2782 * testsuite/ld-elf/pr349.d: Likewise.
2783 * testsuite/ld-elf/warn1.d: Likewise.
2784 * testsuite/ld-elf/warn2.d: Likewise.
2785 * testsuite/ld-elf/warn3.d: Likewise.
2786 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2787 through linker flags.
2788 * testsuite/ld-srec/srec.exp: Set as xfail.
2790 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2793 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2794 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2796 2016-04-04 Nick Clifton <nickc@redhat.com>
2799 * emultempl/pe.em (change_undef): New function. Encapsulates
2800 duplicated code in pe_fixup_stdcalls and adds the newly defined
2801 sym to the gc root list.
2802 (pe_fixup_stdcall): Use the new function.
2803 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2804 symbol to gc root list.
2806 2016-03-31 Alan Modra <amodra@gmail.com>
2808 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2809 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2810 (print_input_section): Don't use TO_ADDR when printing section
2812 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2813 (lang_size_sections): Use TO_ADDR in relro end calculation.
2815 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2817 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2818 value from regexp_diff.
2819 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2820 * testsuite/ld-elf/orphan-6.l: Likewise.
2822 2016-03-30 Alan Modra <amodra@gmail.com>
2825 * ldlang.c (maybe_overlays): New static var.
2826 (lang_size_sections_1): Set it here.
2827 (struct check_sec): New.
2828 (sort_sections_by_lma): Adjust for array of structs.
2829 (sort_sections_by_vma): New function.
2830 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2831 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2833 2016-03-30 Alan Modra <amodra@gmail.com>
2835 * ldlang.c (lang_size_sections_1): Correct code detecting a
2836 backward non-overlapping move.
2838 2016-03-30 Alan Modra <amodra@gmail.com>
2840 * ldlang.c (IS_TBSS): New macro, extracted from..
2841 (IGNORE_SECTION): ..here.
2842 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2843 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2845 2016-03-22 Nick Clifton <nickc@redhat.com>
2848 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2849 symbol name to the list of gc symbols.
2850 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2851 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2852 and fini function names.
2853 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2855 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2856 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2858 2016-03-22 Nick Clifton <nickc@redhat.com>
2860 * configure: Regenerate.
2862 2016-03-21 Nick Clifton <nickc@redhat.com>
2864 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2865 * plugin.c: Likewise.
2866 * pe-dll.c: Likewise.
2868 2016-03-18 Awson <kyrab@mail.ru>
2871 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2873 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2875 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2877 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2879 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2882 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2883 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2884 * testsuite/ld-i386/pr19827.rd: New file.
2885 * testsuite/ld-i386/pr19827a.S: Likewise.
2886 * testsuite/ld-i386/pr19827b.S: Likewise.
2887 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2888 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2889 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2891 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2894 * Makefile.am (ELF_X86_DEPS): Add
2895 $(srcdir)/emulparams/reloc_overflow.sh.
2896 * Makefile.in: Regenerated.
2897 * NEWS: Mention -z noreloc-overflow.
2898 * ld.texinfo: Document -z noreloc-overflow.
2899 * emulparams/elf32_x86_64.sh: Source
2900 ${srcdir}/emulparams/reloc_overflow.sh.
2901 * emulparams/elf_x86_64.sh: Likewise.
2902 * emulparams/reloc_overflow.sh: New file.
2903 * testsuite/ld-x86-64/pr19807-1.s: New file.
2904 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2905 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2906 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2907 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2908 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2909 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2910 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2911 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2912 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2914 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2917 * testsuite/ld-i386/i386.exp: Run pr19539.
2918 * testsuite/ld-i386/pr19539.d: New file.
2919 * testsuite/ld-i386/pr19539.s: Likewise.
2920 * testsuite/ld-i386/pr19539.t: Likewise.
2921 * testsuite/ld-x86-64/pr19539.s: Likewise.
2922 * testsuite/ld-x86-64/pr19539.t: Likewise.
2923 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2924 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2925 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2927 2016-03-10 Mickael Guene <mickael.guene@st.com>
2930 * testsuite/ld-arm/arm-elf.exp: New tests.
2931 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2932 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2934 2016-03-10 Nick Clifton <nickc@redhat.com>
2936 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2938 2016-03-09 Pedro Alves <palves@redhat.com>
2940 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2941 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2943 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2946 * testsuite/ld-elf/pr19789.d: New file.
2947 * testsuite/ld-elf/pr19789.s: Likewise.
2949 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2952 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2953 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2954 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2955 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2956 * testsuite/ld-ifunc/pass.out: New file.
2957 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2958 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2959 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2961 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2964 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2965 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2966 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2967 --as-needed for pr18841c.
2969 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2972 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2973 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2974 before tmpdir/got1d.so and test --as-needed.
2975 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2976 tmpdir/pr18900.so and test --as-needed.
2978 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2980 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2981 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2983 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2985 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2987 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2988 before tmpdir/copyreloc-lib.so and test --as-needed.
2989 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2991 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2994 * testsuite/ld-elf/pr19579a.c: New file.
2995 * testsuite/ld-elf/pr19579b.c: Likewise.
2996 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2998 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3000 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
3002 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3004 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
3005 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
3007 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3010 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
3011 input sections for relocatable link.
3012 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3013 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3015 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3018 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3019 merge flags of other input sections for relocatable link.
3021 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3023 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
3025 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
3027 * testsuite/ld-elf/pr19162.d: Skip arc target.
3029 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
3032 * testsuite/ld-elf/pr19162.d: New file.
3033 * testsuite/ld-elf/pr19162a.s: Likwise.
3034 * testsuite/ld-elf/pr19162b.s: Likwise.
3036 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3038 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
3039 * testsuite/ld-elf/merge2.d: Likewise.
3040 * testsuite/ld-elf/merge3.d: Likewise.
3042 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
3044 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
3047 2016-02-26 Renlin Li <renlin.li@arm.com>
3049 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
3050 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
3051 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
3052 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
3053 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
3054 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
3055 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
3056 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
3057 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3058 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3060 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3063 * testsuite/ld-i386/got1.dd: Updated.
3064 * testsuite/ld-i386/lea1c.d: Likewise.
3065 * testsuite/ld-i386/load1-nacl.d: Likewise.
3066 * testsuite/ld-i386/load1.d: Likewise.
3067 * testsuite/ld-i386/load4b.d: Likewise.
3068 * testsuite/ld-i386/load5b.d: Likewise.
3069 * testsuite/ld-i386/mov1b.d: Likewise.
3070 * testsuite/ld-x86-64/mov1b.d: Likewise.
3071 * testsuite/ld-x86-64/mov1d.d: Likewise.
3072 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3073 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3074 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3075 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3076 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3077 * testsuite/ld-x86-64/lea1a.d: Likewise.
3078 * testsuite/ld-x86-64/lea1b.d: Likewise.
3079 * testsuite/ld-x86-64/lea1c.d: Likewise.
3080 * testsuite/ld-x86-64/lea1d.d: Likewise.
3081 * testsuite/ld-x86-64/lea1e.d: Likewise.
3082 * testsuite/ld-x86-64/lea1f.d: Likewise.
3083 * testsuite/ld-x86-64/mov1b.d: Likewise.
3084 * testsuite/ld-x86-64/mov1d.d: Likewise.
3085 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3086 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3087 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3088 * testsuite/ld-i386/pr19609-1.s: New file.
3089 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3090 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3091 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3092 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3093 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3094 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3095 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3096 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3097 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3098 * testsuite/ld-i386/pr19609-2.s: Likewise.
3099 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3100 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3101 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3102 * testsuite/ld-i386/undefweak.s: Likewise.
3103 * testsuite/ld-i386/undefweaka.d: Likewise.
3104 * testsuite/ld-i386/undefweakb.d: Likewise.
3105 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3106 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3107 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3108 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3109 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3110 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3111 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3112 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3113 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3114 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3115 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3116 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3117 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3118 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3119 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3120 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3121 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3122 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3123 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3124 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3125 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3126 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3127 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3128 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3129 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3130 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3131 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3132 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3133 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3134 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3135 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3136 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3137 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3138 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3139 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3140 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3141 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3142 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3143 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3144 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3145 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3146 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3147 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3148 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3149 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3150 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3151 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3153 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3154 and tests for PR ld/19609.
3156 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3159 * NEWS: Mention -z common/-z nocommon for ELF targets.
3160 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3161 -z common and -z nocommon.
3162 * ld.texinfo: Document -z common/-z nocommon.
3163 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3164 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3165 --elf-stt-common=yes with assembler.
3166 * testsuite/ld-elfcomm/common-1.s: New file.
3167 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3168 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3169 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3170 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3171 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3172 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3173 * testsuite/ld-elfcomm/common-2.s: Likewise.
3174 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3175 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3176 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3177 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3178 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3179 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3180 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3181 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3182 * testsuite/ld-i386/pr19645.d: Likewise.
3183 * testsuite/ld-i386/pr19645.s: Likewise.
3184 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3185 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3186 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3187 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3188 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3189 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3190 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3191 * testsuite/ld-x86-64/pr19645.d: Likewise.
3192 * testsuite/ld-x86-64/pr19645.s: Likewise.
3193 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3195 (assembler_generates_commons): Removed.
3196 Run -z common/-z nocommon tests. Run *.d tests.
3197 * testsuite/ld-i386/i386.exp: Run pr19645.
3198 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3199 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3200 assembler. Test STT_COMMON with readelf.
3202 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3207 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3208 * Makefile.in: Regenerated.
3209 * NEWS: Mention -z nodynamic-undefined-weak.
3210 * ld.texinfo: Document -z nodynamic-undefined-weak.
3211 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3212 * emulparams/dynamic_undefined_weak.sh: New file.
3213 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3214 * emulparams/elf_i386.sh: Likewise.
3215 * emulparams/elf_i386_be.sh: Likewise.
3216 * emulparams/elf_i386_chaos.sh: Likewise.
3217 * emulparams/elf_i386_ldso.sh: Likewise.
3218 * emulparams/elf_i386_vxworks.sh: Likewise.
3219 * emulparams/elf_iamcu.sh: Likewise.
3220 * emulparams/elf_k1om.sh: Likewise.
3221 * emulparams/elf_l1om.sh: Likewise.
3222 * emulparams/elf_x86_64.sh: Likewise.
3223 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3225 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3226 * testsuite/ld-elf/pr19719a.c: New file.
3227 * testsuite/ld-elf/pr19719b.c: Likewise.
3228 * testsuite/ld-elf/pr19719c.c: Likewise.
3229 * testsuite/ld-elf/pr19719d.c: Likewise.
3230 * testsuite/ld-i386/pr19636-1.s: Likewise.
3231 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3232 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3233 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3234 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3235 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3236 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3237 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3238 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3239 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3240 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3241 * testsuite/ld-i386/pr19636-2.s: Likewise.
3242 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3243 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3244 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3245 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3246 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3247 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3248 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3249 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3250 * testsuite/ld-i386/pr19636-3.s: Likewise.
3251 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3252 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3253 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3254 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3255 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3256 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3257 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3258 * testsuite/ld-i386/pr19636-4.s: Likewise.
3259 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3260 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3261 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3262 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3263 * testsuite/ld-i386/pr19704.out: Likewise.
3264 * testsuite/ld-i386/pr19704a.c: Likewise.
3265 * testsuite/ld-i386/pr19704b.c: Likewise.
3266 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3267 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3268 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3269 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3270 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3271 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3272 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3273 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3274 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3275 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3276 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3277 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3278 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3279 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3280 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3281 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3282 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3283 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3284 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3285 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3286 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3287 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3288 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3289 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3290 * testsuite/ld-x86-64/pr19704.out: Likewise.
3291 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3292 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3293 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3294 Run mix_pic_and_non_pic.
3295 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3296 Run undefined_weak and PR ld/19636 tests.
3297 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3298 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3299 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3301 2016-02-25 Nick Clifton <nickc@redhat.com>
3303 * ld.h (struct ld_config_type): Remove specified_data_size field.
3305 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3308 * testsuite/ld-elf/pr19698.d: New file.
3309 * testsuite/ld-elf/pr19698.s: Likewise.
3310 * testsuite/ld-elf/pr19698.t: Likewise.
3312 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3314 * Makefile.am (ELF_X86_DEPS): New.
3315 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3316 (eelf_i386_chaos.c): Likewise.
3317 (eelf_i386_fbsd.c): Likewise.
3318 (eelf_i386_ldso.c): Likewise.
3319 (eelf_i386_nacl.c): Likewise.
3320 (eelf_i386_sol2.c): Likewise.
3321 (eelf_iamcu.c): Likewise.
3322 (eelf32_x86_64.c): Likewise.
3323 (eelf32_x86_64_nacl.c): Likewise.
3324 (eelf_l1om.c): Likewise.
3325 (eelf_l1om_fbsd.c): Likewise.
3326 (eelf_k1om.c): Likewise.
3327 (eelf_k1om_fbsd.c): Likewise.
3328 (eelf_x86_64.c): Likewise.
3329 (eelf_x86_64_cloudabi.c): Likewise.
3330 (eelf_x86_64_fbsd.c): Likewise.
3331 (eelf_x86_64_sol2.c): Likewise.
3332 * Makefile.in: Regenerated.
3334 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3336 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3337 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3338 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3339 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3341 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3343 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3345 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3347 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3348 *-*-gnu* and *-*-solaris*.
3349 * testsuite/ld-elf/pr19617b.d: Likewise.
3350 * testsuite/ld-elf/pr19617c.d: Likewise.
3352 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3355 * testsuite/ld-elf/pr19617.s: New file.
3356 * testsuite/ld-elf/pr19617a.d: Likewise.
3357 * testsuite/ld-elf/pr19617b.d: Likewise.
3358 * testsuite/ld-elf/pr19617c.d: Likewise.
3360 2016-02-18 Nick Clifton <nickc@redhat.com>
3362 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3363 in-tree xg++ executable after checking for the presence of an
3364 in-tree g++ executable.
3365 * Makefile.in: Regenerate.
3367 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3369 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3370 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3371 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3373 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3375 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3376 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3377 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3378 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3379 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3380 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3381 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3382 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3383 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3384 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3385 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3386 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3387 * testsuite/ld-x86-64/load1c.d: Likewise.
3388 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3389 * testsuite/ld-x86-64/load1d.d: Likewise.
3390 * testsuite/ld-x86-64/pr14207.d: Likewise.
3391 * testsuite/ld-x86-64/pr19162.d: Likewise.
3392 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3393 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3394 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3395 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3396 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3397 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3399 2016-02-17 Nick Clifton <nickc@redhat.com>
3401 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3403 2016-02-15 Nick Clifton <nickc@redhat.com>
3405 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3406 description of the flags produced by readelf.
3407 * testsuite/ld-i386/pr12921.d: Likewise.
3408 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3409 * testsuite/ld-i386/tlsbin.rd: Likewise.
3410 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3411 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3412 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3413 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3414 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3415 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3416 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3417 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3418 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3419 * testsuite/ld-i386/tlspic.rd: Likewise.
3420 * testsuite/ld-s390/tlsbin.rd: Likewise.
3421 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3422 * testsuite/ld-s390/tlspic.rd: Likewise.
3423 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3424 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3425 * testsuite/ld-sh/tlspic-2.d: Likewise.
3426 * testsuite/ld-tic6x/common.d: Likewise.
3427 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3428 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3429 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3430 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3431 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3432 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3433 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3434 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3435 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3436 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3437 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3438 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3439 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3440 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3441 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3442 * testsuite/ld-x86-64/pr12718.d: Likewise.
3443 * testsuite/ld-x86-64/pr12921.d: Likewise.
3444 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3445 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3446 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3447 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3448 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3449 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3450 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3451 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3452 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3453 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3454 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3455 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3456 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3457 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3459 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3462 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3464 * lexsup.c (parse_args): Enable -Bsymbolic and
3465 -Bsymbolic-functions for PIE.
3466 * testsuite/ld-i386/i386.exp: Run pr19615.
3467 * testsuite/ld-i386/pr19615.d: New file.
3468 * testsuite/ld-i386/pr19615.s: Likewise.
3469 * testsuite/ld-x86-64/pr19615.d: Likewise.
3470 * testsuite/ld-x86-64/pr19615.s: Likewise.
3472 2016-02-09 Nick Clifton <nickc@redhat.com>
3474 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3475 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3476 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3477 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3479 2016-02-04 Nick Clifton <nickc@redhat.com>
3481 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3482 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3483 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3484 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3485 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3486 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3487 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3488 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3489 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3491 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3494 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3495 * testsuite/ld-i386/call1.d: Likewise.
3496 * testsuite/ld-i386/call2.d: Likewise.
3497 * testsuite/ld-i386/call3a.d: Likewise.
3498 * testsuite/ld-i386/call3b.d: Likewise.
3499 * testsuite/ld-i386/call3c.d: Likewise.
3500 * testsuite/ld-i386/call3d.d: Likewise.
3501 * testsuite/ld-i386/call3e.d: Likewise.
3502 * testsuite/ld-i386/call3f.d: Likewise.
3503 * testsuite/ld-i386/call3g.d: Likewise.
3504 * testsuite/ld-i386/call3h.d: Likewise.
3505 * testsuite/ld-i386/jmp1.d: Likewise.
3506 * testsuite/ld-i386/jmp2.d: Likewise.
3507 * testsuite/ld-i386/lea1c.d: Likewise.
3508 * testsuite/ld-i386/load1.d: Likewise.
3509 * testsuite/ld-i386/load2.d: Likewise.
3510 * testsuite/ld-i386/load3.d: Likewise.
3511 * testsuite/ld-i386/load4a.d: Likewise.
3512 * testsuite/ld-i386/load5a.d: Likewise.
3513 * testsuite/ld-i386/mov2b.d: Likewise.
3514 * testsuite/ld-i386/mov3.d: Likewise.
3515 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3516 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3517 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3518 * testsuite/ld-x86-64/call1a.d: Likewise.
3519 * testsuite/ld-x86-64/call1b.d: Likewise.
3520 * testsuite/ld-x86-64/call1c.d: Likewise.
3521 * testsuite/ld-x86-64/call1d.d: Likewise.
3522 * testsuite/ld-x86-64/call1e.d: Likewise.
3523 * testsuite/ld-x86-64/call1f.d: Likewise.
3524 * testsuite/ld-x86-64/call1h.d: Likewise.
3525 * testsuite/ld-x86-64/call1i.d: Likewise.
3526 * testsuite/ld-x86-64/load1a.d: Likewise.
3527 * testsuite/ld-x86-64/load1b.d: Likewise.
3528 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3529 * testsuite/ld-i386/got1.dd: Updated.
3530 * testsuite/ld-i386/got1d.S (1): Removed.
3531 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3532 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3534 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3537 * testsuite/ld-x86-64/pr18591.d: New file.
3538 * testsuite/ld-x86-64/pr18591.s: Likewise.
3539 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3541 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3544 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3545 * testsuite/ld-elf/pr19553.map: New file.
3546 * testsuite/ld-elf/pr19553.map: Likewise.
3547 * testsuite/ld-elf/pr19553a.c: Likewise.
3548 * testsuite/ld-elf/pr19553b.c: Likewise.
3549 * testsuite/ld-elf/pr19553b.out: Likewise.
3550 * testsuite/ld-elf/pr19553c.c: Likewise.
3551 * testsuite/ld-elf/pr19553c.out: Likewise.
3552 * testsuite/ld-elf/pr19553d.c: Likewise.
3553 * testsuite/ld-elf/pr19553d.out: Likewise.
3555 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3558 * testsuite/ld-elf/pr19539.d: New file.
3559 * testsuite/ld-elf/pr19539.s: Likewise.
3560 * testsuite/ld-elf/pr19539.t: Likewise.
3562 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3565 * configure.ac (compressed_debug_sections): Replace == with =.
3566 * configure: Regenerated.
3568 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3570 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3571 * scripttempl/avrtiny.sc (.noinit): Likewise.
3573 2016-01-21 Nick Clifton <nickc@redhat.com>
3576 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3577 the arm-netbsdelf target.
3580 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3581 disassmebler output.
3582 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3583 * testsuite/ld-arm/vxworks1.dd: Likewise.
3584 * testsuite/ld-arm/vxworks1.rd: Likewise.
3585 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3587 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3589 * testsuite/ld-aarch64/farcall-section.d: Delete.
3590 * testsuite/ld-aarch64/farcall-section.s: Delete.
3591 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3592 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3593 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3594 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3595 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3597 2016-01-20 Nick Clifton <nickc@redhat.com>
3600 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3601 early for PE based targets.
3602 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3603 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3605 2016-01-20 Mickael Guene <mickael.guene@st.com>
3607 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3608 Add 'y' attribute usage.
3609 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3610 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3611 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3613 2016-01-19 Nick Clifton <nickc@redhat.com>
3615 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3616 foo@FOO and bar@@FOO.
3618 2016-01-18 Alan Modra <amodra@gmail.com>
3620 * configure: Regenerate.
3622 2016-01-18 Nick Clifton <nickc@redhat.com>
3624 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3625 is not configured to support plugins.
3627 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3628 but with 16 byte section alignment.
3629 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3630 test for MIPS targets.
3632 2016-01-17 Alan Modra <amodra@gmail.com>
3634 * configure: Regenerate.
3636 2016-01-17 Alan Modra <amodra@gmail.com>
3638 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3639 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3640 * testsuite/ld-elf/pr14156a.d: Likewise.
3641 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3642 * testsuite/ld-elf/sec64k.exp: Likewise.
3644 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3646 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3647 Set address of .foo section when linking.
3648 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3650 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3651 output to the above changes.
3653 2016-01-13 Nick Clifton <nickc@redhat.com>
3655 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3658 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3659 fail for MIPS targets.
3661 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3664 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3666 * testsuite/ld-arm/arm-elf.exp: New test.
3667 * testsuite/ld-arm/unwind-mix.d: New file.
3668 * testsuite/ld-arm/unwind-mix1.s: New file.
3669 * testsuite/ld-arm/unwind-mix2.s: New file.
3671 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3674 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3675 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3676 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3677 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3678 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3679 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3681 2016-01-05 Nick Clifton <nickc@redhat.com>
3683 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3684 MSP430 hardware multiply address range.
3685 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3686 (__romdatacopysize): Define.
3687 * scripttempl/elf32msp430_3.sc: Likewise.
3689 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3691 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3692 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3694 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3696 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3697 messages expected according to MIPS BFD private data merge
3699 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3700 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3701 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3702 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3703 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3704 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3705 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3706 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3707 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3708 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3709 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3710 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3711 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3713 2016-01-01 Alan Modra <amodra@gmail.com>
3715 Update year range in copyright notice of all files.
3717 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3719 Copyright (C) 2016 Free Software Foundation, Inc.
3721 Copying and distribution of this file, with or without modification,
3722 are permitted in any medium without royalty provided the copyright
3723 notice and this notice are preserved.
3729 version-control: never