1 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
3 * configure: Regenerate.
5 2016-11-22 Alan Modra <amodra@gmail.com>
8 * emultempl/ppc32elf.em (params): Update initializer. Handle
9 --vle-reloc-fixup command line arg.
11 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
14 * ld/testsuite/ld-avr/pr20789.d: New test.
15 * ld/testsuite/ld-avr/pr20789.s: New test.
18 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
21 * testsuite/ld-x86-64/pr20800a.S: New file.
22 * testsuite/ld-x86-64/pr20800b.S: Likewise.
23 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
25 2016-11-14 Nick Clifton <nickc@redhat.com>
27 * lexsup.c (parse_args): Add break at end of default case.
29 2016-11-10 Jiong Wang <jiong.wang@arm.com>
32 * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
33 * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
34 * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
35 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
37 2016-11-07 Nick Clifton <nickc@redhat.com>
40 * emultempl/elf32.em (search_needed): Fix infinite loop when
41 unable to process a token. Add support for curly braced enclosed
43 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
46 2016-11-07 Nick Clifton <nickc@redhat.com>
48 * ld.texinfo (--compress-debug-sections): Expand documentation of
51 2016-11-04 Nick Clifton <nickc@redhat.com>
53 * emultempl/elf32.em (search_needed): Remove use of getauxval and
54 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
56 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
57 * configure: Regenerate.
58 * config.in: Regenerate.
60 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
62 * ldlang.h (struct lang_wild_statement_struct): Add
63 exclude_name_list field.
64 * ldlang.c (walk_wild_file_in_exclude_list): New function.
65 (walk_wild_consider_section): Use new
66 walk_wild_file_in_exclude_list function.
67 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
68 (print_wild_statement): Print new exclude_name_list field.
69 (lang_add_wild): Initialise new exclude_name_list field.
70 * testsuite/ld-scripts/exclude-file-1.d: New file.
71 * testsuite/ld-scripts/exclude-file-1.map: New file.
72 * testsuite/ld-scripts/exclude-file-1.t: New file.
73 * testsuite/ld-scripts/exclude-file-2.d: New file.
74 * testsuite/ld-scripts/exclude-file-2.map: New file.
75 * testsuite/ld-scripts/exclude-file-2.t: New file.
76 * testsuite/ld-scripts/exclude-file-3.d: New file.
77 * testsuite/ld-scripts/exclude-file-3.map: New file.
78 * testsuite/ld-scripts/exclude-file-3.t: New file.
79 * testsuite/ld-scripts/exclude-file-4.d: New file.
80 * testsuite/ld-scripts/exclude-file-4.map: New file.
81 * testsuite/ld-scripts/exclude-file-4.t: New file.
82 * testsuite/ld-scripts/exclude-file-a.s: New file.
83 * testsuite/ld-scripts/exclude-file-b.s: New file.
84 * testsuite/ld-scripts/exclude-file.exp: New file.
85 * ld.texinfo (Input Section Basics): Update description of
86 EXCLUDE_FILE to cover the new features.
87 * NEWS: Mention new EXCLUDE_FILE usage.
89 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
91 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
92 based on the original source file name.
93 * testsuite/ld-discard/extern.d: Update object file names.
94 * testsuite/ld-discard/start.d: Likewise.
95 * testsuite/ld-discard/static.d: Likewise.
96 * testsuite/ld-elf/orphan-8.map: Likewise.
98 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
100 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
101 xc16x-*-elf to the list of targets that don't support -shared.
103 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
105 * ldgram.y: Rename file_NAME_list to section_NAME_list
108 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
109 Andrew Waterman <andrew@sifive.com>
111 Add support for RISC-V architecture.
112 * Makefile.am: Add riscv files.
113 * Makefile.in: Regenerate.
114 * NEWS: Mention the support for this target.
115 * configure.tgt: Add riscv entries.
116 * emulparams/elf32lriscv-defs.sh: New file.
117 * emulparams/elf32lriscv.sh: New file.
118 * emulparams/elf64lriscv-defs.sh: New file.
119 * emulparams/elf64lriscv.sh: New file.
120 * emultempl/riscvelf.em: New file.
122 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
124 * ldmain.c (add_archive_element): Initialize input->header.type.
125 * plugin.c (plugin_maybe_claim): Assert the statement is an input
128 2016-10-15 Alan Modra <amodra@gmail.com>
130 * emultempl/spu_ovl.o_c: Regenerate.
132 2016-10-14 Alan Modra <amodra@gmail.com>
134 * scripttempl/DWARF.sc: Add .debug_addr.
136 2016-10-12 Alan Modra <amodra@gmail.com>
138 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
139 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
140 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
141 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
142 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
144 2016-10-11 Nick Clifton <nickc@redhat.com>
146 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
148 * ld-aarch64/emit-relocs-515.d: Likewise.
149 * ld-aarch64/emit-relocs-516-be.d: Likewise.
150 * ld-aarch64/emit-relocs-516.d: Likewise.
151 * ld-aarch64/farcall-b-plt.d: Likewise.
152 * ld-aarch64/farcall-bl-plt.d: Likewise.
153 * ld-aarch64/gc-plt-relocs.d: Likewise.
154 * ld-aarch64/tls-desc-ie.d: Likewise.
155 * ld-aarch64/tls-tiny-desc.d: Likewise.
156 * ld-aarch64/tls-tiny-gd.d: Likewise.
157 * ld-aarch64/tls-tiny-ie.d: Likewise.
158 * ld-arm/arm-app-abs32.d: Likewise.
159 * ld-arm/arm-app.d: Likewise.
160 * ld-arm/arm-lib-plt32.d: Likewise.
161 * ld-arm/arm-lib.d: Likewise.
162 * ld-arm/armthumb-lib.d: Likewise.
163 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
164 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
165 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
166 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
167 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
168 * ld-arm/farcall-mixed-app-v5.d: Likewise.
169 * ld-arm/farcall-mixed-app.d: Likewise.
170 * ld-arm/farcall-mixed-app2.d: Likewise.
171 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
172 * ld-arm/farcall-mixed-lib.d: Likewise.
173 * ld-arm/ifunc-10.dd: Likewise.
174 * ld-arm/ifunc-14.dd: Likewise.
175 * ld-arm/ifunc-15.dd: Likewise.
176 * ld-arm/ifunc-3.dd: Likewise.
177 * ld-arm/ifunc-4.dd: Likewise.
178 * ld-arm/ifunc-9.dd: Likewise.
179 * ld-arm/long-plt-format.d: Likewise.
180 * ld-arm/mixed-app-v5.d: Likewise.
181 * ld-arm/mixed-app.d: Likewise.
182 * ld-arm/mixed-lib.d: Likewise.
183 * ld-arm/tls-lib-loc.d: Likewise.
184 * ld-cris/dso-pltdis1.d: Likewise.
185 * ld-cris/dso-pltdis2.d: Likewise.
186 * ld-cris/dso12-pltdis.d: Likewise.
187 * ld-elf/symbolic-func.r: Likewise.
188 * ld-frv/fdpic-pie-1.d: Likewise.
189 * ld-frv/fdpic-pie-2.d: Likewise.
190 * ld-frv/fdpic-pie-6.d: Likewise.
191 * ld-frv/fdpic-pie-7.d: Likewise.
192 * ld-frv/fdpic-pie-8.d: Likewise.
193 * ld-frv/fdpic-shared-1.d: Likewise.
194 * ld-frv/fdpic-shared-2.d: Likewise.
195 * ld-frv/fdpic-shared-3.d: Likewise.
196 * ld-frv/fdpic-shared-4.d: Likewise.
197 * ld-frv/fdpic-shared-5.d: Likewise.
198 * ld-frv/fdpic-shared-6.d: Likewise.
199 * ld-frv/fdpic-shared-7.d: Likewise.
200 * ld-frv/fdpic-shared-8.d: Likewise.
201 * ld-frv/fdpic-shared-local-2.d: Likewise.
202 * ld-frv/fdpic-shared-local-8.d: Likewise.
203 * ld-frv/fdpic-static-1.d: Likewise.
204 * ld-frv/fdpic-static-2.d: Likewise.
205 * ld-frv/fdpic-static-6.d: Likewise.
206 * ld-frv/fdpic-static-7.d: Likewise.
207 * ld-frv/fdpic-static-8.d: Likewise.
208 * ld-frv/tls-dynamic-2.d: Likewise.
209 * ld-frv/tls-initial-shared-2.d: Likewise.
210 * ld-frv/tls-relax-shared-2.d: Likewise.
211 * ld-frv/tls-shared-2.d: Likewise.
212 * ld-i386/plt-nacl.pd: Likewise.
213 * ld-i386/plt-pic-nacl.pd: Likewise.
214 * ld-i386/plt-pic.pd: Likewise.
215 * ld-i386/plt.pd: Likewise.
216 * ld-i386/pr19636-1d-nacl.d: Likewise.
217 * ld-i386/pr19636-1d.d: Likewise.
218 * ld-i386/pr19636-2c-nacl.d: Likewise.
219 * ld-i386/pr19636-2c.d: Likewise.
220 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
221 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
222 * ld-ifunc/pr17154-i386.d: Likewise.
223 * ld-ifunc/pr17154-x86-64.d: Likewise.
224 * ld-m68k/plt1-68020.d: Likewise.
225 * ld-m68k/plt1-cpu32.d: Likewise.
226 * ld-m68k/plt1-isab.d: Likewise.
227 * ld-m68k/plt1-isac.d: Likewise.
228 * ld-metag/shared.d: Likewise.
229 * ld-metag/stub_pic_app.d: Likewise.
230 * ld-metag/stub_pic_shared.d: Likewise.
231 * ld-metag/stub_shared.d: Likewise.
232 * ld-s390/tlsbin_64.dd: Likewise.
233 * ld-s390/tlspic_64.dd: Likewise.
234 * ld-tic6x/shlib-1.dd: Likewise.
235 * ld-tic6x/shlib-1b.dd: Likewise.
236 * ld-tic6x/shlib-1rb.dd: Likewise.
237 * ld-tic6x/shlib-app-1.dd: Likewise.
238 * ld-tic6x/shlib-app-1b.dd: Likewise.
239 * ld-tic6x/shlib-app-1r.dd: Likewise.
240 * ld-tic6x/shlib-app-1rb.dd: Likewise.
241 * ld-tic6x/shlib-noindex.dd: Likewise.
242 * ld-vax-elf/export-class-data.dd: Likewise.
243 * ld-vax-elf/plt-local-lib.dd: Likewise.
244 * ld-vax-elf/plt-local.dd: Likewise.
245 * ld-x86-64/bnd-ifunc-2.d: Likewise.
246 * ld-x86-64/bnd-plt-1.d: Likewise.
247 * ld-x86-64/gotpcrel1.dd: Likewise.
248 * ld-x86-64/libno-plt-1b.dd: Likewise.
249 * ld-x86-64/load1c-nacl.d: Likewise.
250 * ld-x86-64/load1c.d: Likewise.
251 * ld-x86-64/load1d-nacl.d: Likewise.
252 * ld-x86-64/load1d.d: Likewise.
253 * ld-x86-64/mov1a.d: Likewise.
254 * ld-x86-64/mov1b.d: Likewise.
255 * ld-x86-64/mov1c.d: Likewise.
256 * ld-x86-64/mov1d.d: Likewise.
257 * ld-x86-64/mov2a.d: Likewise.
258 * ld-x86-64/mov2b.d: Likewise.
259 * ld-x86-64/mov2c.d: Likewise.
260 * ld-x86-64/mov2d.d: Likewise.
261 * ld-x86-64/mpx3.dd: Likewise.
262 * ld-x86-64/mpx4.dd: Likewise.
263 * ld-x86-64/no-plt-1a.dd: Likewise.
264 * ld-x86-64/no-plt-1b.dd: Likewise.
265 * ld-x86-64/no-plt-1c.dd: Likewise.
266 * ld-x86-64/no-plt-1e.dd: Likewise.
267 * ld-x86-64/no-plt-1f.dd: Likewise.
268 * ld-x86-64/no-plt-1g.dd: Likewise.
269 * ld-x86-64/plt-main-bnd.dd: Likewise.
270 * ld-x86-64/plt-nacl.pd: Likewise.
271 * ld-x86-64/plt.pd: Likewise.
272 * ld-x86-64/pr18591.d: Likewise.
273 * ld-x86-64/pr19609-1c.d: Likewise.
274 * ld-x86-64/pr19609-1e.d: Likewise.
275 * ld-x86-64/pr19609-1j.d: Likewise.
276 * ld-x86-64/pr19609-1l.d: Likewise.
277 * ld-x86-64/pr19609-1m.d: Likewise.
278 * ld-x86-64/pr19609-5b.d: Likewise.
279 * ld-x86-64/pr19609-5c.d: Likewise.
280 * ld-x86-64/pr19609-5e.d: Likewise.
281 * ld-x86-64/pr19609-6b.d: Likewise.
282 * ld-x86-64/pr19609-7b.d: Likewise.
283 * ld-x86-64/pr19609-7d.d: Likewise.
284 * ld-x86-64/pr19636-2d.d: Likewise.
285 * ld-x86-64/pr20093-1.d: Likewise.
286 * ld-x86-64/pr20093-2.d: Likewise.
287 * ld-x86-64/pr20253-1b.d: Likewise.
288 * ld-x86-64/pr20253-1d.d: Likewise.
289 * ld-x86-64/pr20253-1f.d: Likewise.
290 * ld-x86-64/pr20253-1h.d: Likewise.
291 * ld-x86-64/pr20253-1j.d: Likewise.
292 * ld-x86-64/pr20253-1l.d: Likewise.
293 * ld-x86-64/protected3.d: Likewise.
294 * ld-x86-64/tlsbin.dd: Likewise.
295 * ld-x86-64/tlsbin2.dd: Likewise.
296 * ld-x86-64/tlsbindesc.dd: Likewise.
297 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
298 * ld-x86-64/tlsdesc.dd: Likewise.
299 * ld-x86-64/tlsdesc.pd: Likewise.
300 * ld-x86-64/tlsgd10.dd: Likewise.
301 * ld-x86-64/tlsgd5.dd: Likewise.
302 * ld-x86-64/tlsgd6.dd: Likewise.
303 * ld-x86-64/tlsgd8.dd: Likewise.
304 * ld-x86-64/tlsgdesc.dd: Likewise.
305 * ld-x86-64/tlspic.dd: Likewise.
306 * ld-x86-64/tlspic2.dd: Likewise.
308 2016-10-11 Nick Clifton <nickc@redhat.com>
311 * emultempl/elf32.em (_search_needed): Add support for pseudo
312 environment variables supported by ld.so. Namely $ORIGIN, $LIB
314 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
315 * config.in: Regenerate.
316 * configure: Regenerate.
318 2016-10-11 Alan Modra <amodra@gmail.com>
320 * ldlang.c (lang_do_assignments_1): Descend into output section
321 statements that do not yet have bfd sections. Set symbol section
322 temporarily for symbols defined in such statements to the undefined
323 section. Don't error on data or reloc statements until final phase.
324 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
326 * testsuite/ld-mmix/bpo-10.d: Adjust.
327 * testsuite/ld-mmix/bpo-11.d: Adjust.
329 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
331 * emulparams/elf64_s390.sh: Move binary start to 16M.
332 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
333 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
335 2016-10-07 Alan Modra <amodra@gmail.com>
337 * ldexp.c (MAX): Define.
338 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
341 2016-10-07 Alan Modra <amodra@gmail.com>
343 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
344 * testsuite/ld-elf/elf.exp: ..here.
346 2016-10-06 Ludovic Courtès <ludo@gnu.org>
348 * emulparams/elf32bmipn32-defs.sh: Shift quote of
349 "x$EMULATION_NAME" to the left to work around
350 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
352 2016-10-06 Alan Modra <amodra@gmail.com>
354 * lexsup.c: Spell fall through comments consistently and add
355 missing fall through comments.
357 2016-10-06 Alan Modra <amodra@gmail.com>
359 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
362 2016-10-04 Alan Modra <amodra@gmail.com>
364 * ld.texinfo (Expression Section): Update result of arithmetic
366 * ldexp.c (arith_result_section): New function.
367 (fold_binary): Use it.
369 2016-10-04 Alan Modra <amodra@gmail.com>
371 * ldexp.c (exp_value_fold): New function.
372 (exp_unop, exp_binop, exp_trinop): Use it.
374 2016-09-30 Alan Modra <amodra@gmail.com>
376 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
378 * scripttempl/v850_rh850.sc: Likewise.
380 2016-09-30 Alan Modra <amodra@gmail.com>
383 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
384 multiple .text sections for hppa-linux.
385 * testsuite/ld-elf/pr20528b.d: Likewise.
387 2016-09-30 Alan Modra <amodra@gmail.com>
389 * ldmain.c (default_bfd_error_handler): New function pointer.
390 (ld_bfd_error_handler): New function.
391 (main): Arrange to call it on bfd errors/warnings.
392 (ld_bfd_assert_handler): Enable tail call.
394 2016-09-30 Alan Modra <amodra@gmail.com>
396 * ldlang.c (ignore_bfd_errors): Update params.
398 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
401 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
402 merge 2 sections with different SHF_EXCLUDE.
403 * testsuite/ld-elf/pr20528a.d: New file.
404 * testsuite/ld-elf/pr20528a.s: Likewise.
405 * testsuite/ld-elf/pr20528b.d: Likewise.
406 * testsuite/ld-elf/pr20528b.s: Likewise.
408 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
411 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
412 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
413 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
414 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
415 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
417 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
419 * Makefile.in: Regenerate.
420 * configure: Likewise.
422 2016-09-26 Alan Modra <amodra@gmail.com>
424 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
425 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
426 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
427 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
428 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
429 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
430 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
431 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
432 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
433 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
434 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
435 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
436 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
437 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
438 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
439 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
440 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
442 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
445 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
446 line and -r option to objdump command line. Match emitted relocs
447 to make sure that superflous relocs are not generated.
449 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
451 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
452 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
453 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
455 2016-09-22 Nick Clifton <nickc@redhat.com>
457 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
458 attempts to find a needed library.
460 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
462 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
464 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
465 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
466 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
467 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
468 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
469 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
470 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
471 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
472 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
473 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
474 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
475 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
476 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
477 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
478 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
479 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
480 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
481 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
482 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
483 * testsuite/ld-aarch64/erratum835769.d: Likewise.
484 * testsuite/ld-aarch64/erratum843419.d: Likewise.
485 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
486 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
487 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
488 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
489 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
490 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
491 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
492 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
493 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
494 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
495 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
496 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
497 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
498 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
499 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
500 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
501 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
502 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
504 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
506 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
507 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
509 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
511 * ld.texinfo (Input Section Basics): Expand the description of
514 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
516 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
517 Extensions entry functions in absolute section.
518 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
520 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
522 * testsuite/ld-arc/tls-dtpoff.dd: New file.
523 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
524 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
525 * testsuite/ld-arc/tls-relocs.ld: Likewise.
526 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
528 2016-09-14 Nick Clifton <nickc@redhat.com>
531 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
532 OPTION_NO_EH_FRAME_HDR.
533 (_add_options): Add support for --no-eh-frame-hdr.
534 * ld.texinfo: Document new option.
535 * lexsup.c (elf_shlib_list_options): List new option.
536 * NEWS: Mention the new option.
538 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
541 * testsuite/ld-x86-64/pr20550a.s: New file.
542 * testsuite/ld-x86-64/pr20550b.s: Likewise.
543 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
546 2016-09-06 Nick Clifton <nickc@redhat.com>
548 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
549 without any sanitization options.
550 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
551 any sanitization options.
552 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
553 as CFLAGS and CXXFLAGS respectively.
555 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
558 * testsuite/ld-avr/avr-prop-7.d: New test.
559 * testsuite/ld-avr/avr-prop-7.s: New test.
560 * testsuite/ld-avr/avr-prop-8.d: New test.
561 * testsuite/ld-avr/avr-prop-8.s: New test.
563 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
565 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
567 * testsuite/ld-elf/pr20513d.d: Likewise.
569 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
572 * testsuite/ld-elf/pr20513a.d: New file.
573 * testsuite/ld-elf/pr20513a.s: Likewise.
574 * testsuite/ld-elf/pr20513b.d: Likewise.
575 * testsuite/ld-elf/pr20513b.s: Likewise.
576 * testsuite/ld-elf/pr20513c.d: Likewise.
577 * testsuite/ld-elf/pr20513d.d: Likewise.
578 * testsuite/ld-elf/pr20513e.d: Likewise.
579 * testsuite/ld-elf/pr20513f.d: Likewise.
581 2016-08-31 Alan Modra <amodra@gmail.com>
584 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
586 2016-08-31 Alan Modra <amodra@gmail.com>
588 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
589 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
590 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
591 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
592 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
594 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
596 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
597 * testsuite/ld-arc/tls_ie-01.d: Likewise.
599 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
601 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
602 if ifunc attribute works.
604 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
608 * testsuite/ld-i386/i386.exp: Run pr20515.
609 * testsuite/ld-i386/pr20515.d: New file.
610 * testsuite/ld-i386/pr20515.s: Likewise.
611 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
613 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
614 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
615 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
616 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
617 * testsuite/ld-x86-64/x86-64.exp: Here.
618 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
619 * testsuite/ld-x86-64/pr19784a.c: Here.
620 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
621 * testsuite/ld-x86-64/pr19784b.c: Here.
622 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
623 * testsuite/ld-x86-64/pr19784c.c: Here.
625 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
627 * emultempl/armelf.em (params): New static variable.
628 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
629 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
630 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
631 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
633 (arm_elf_before_allocation): Access static variable from the params
635 (gld${EMULATION_NAME}_finish): Likewise.
636 (arm_elf_create_output_section_statements): Likewise and pass the
637 address of that structure to bfd_elf32_arm_set_target_relocs instead
638 of the static variables.
639 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
642 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
644 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
645 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
647 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
649 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
650 * testsuite/ld-arc/tls_ie-01.d: Likewise
652 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
654 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
656 (arm_elf_create_output_section_statements): Open import input library
657 file for writing and pass resulting in_implib_bfd to
658 bfd_elf32_arm_set_target_relocs.
659 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
660 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
661 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
662 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
663 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
664 (--in-implib): Document new option.
666 * testsuite/ld-arm/arm-elf.exp
667 (Secure gateway import library generation): add --defsym VER=1 to gas
669 (Secure gateway import library generation: errors): Likewise.
670 (Input secure gateway import library): New test.
671 (Input secure gateway import library: no output import library):
673 (Input secure gateway import library: not an SG input import library):
675 (Input secure gateway import library: earlier stub section base):
677 (Input secure gateway import library: later stub section base):
679 (Input secure gateway import library: veneer comeback): Likewise.
680 (Input secure gateway import library: entry function change):
682 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
683 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
684 * testsuite/ld-arm/cmse-new-implib.out: New file.
685 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
686 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
687 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
688 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
689 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
690 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
692 2016-08-25 Alan Modra <amodra@gmail.com>
694 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
695 support for BE. First output all target endian configury
696 values, then opposite endian. Handle more tooldirs. Fix
697 bogus matches with strings in MANUF-OS part of target triple.
699 2016-08-23 Alan Modra <amodra@gmail.com>
701 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
704 2016-08-19 Nick Clifton <nickc@redhat.com>
706 * emultempl/aarch64elf.em (before_parse): Initialise the relro
707 field in the link_info structure.
708 * emultempl/armelf.em (before_parse): Likewise.
709 * emultempl/linux.em (before_parse): Likewise.
710 * emultempl/scoreelf.em (before_parse): Likewise.
712 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
713 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
714 * testsuite/ld-alpha/tlspic.rd: Likewise.
715 * testsuite/ld-cris/libdso-2.d: Likewise.
716 * testsuite/ld-i386/nogot1.d: Likewise.
717 * testsuite/ld-i386/pr12718.d: Likewise.
718 * testsuite/ld-i386/pr12921.d: Likewise.
719 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
720 * testsuite/ld-i386/tlsbin.rd: Likewise.
721 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
722 * testsuite/ld-i386/tlsbin2.rd: Likewise.
723 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
724 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
725 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
726 * testsuite/ld-i386/tlsdesc.rd: Likewise.
727 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
728 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
729 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
730 * testsuite/ld-i386/tlsnopic.rd: Likewise.
731 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
732 * testsuite/ld-i386/tlspic.rd: Likewise.
733 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
734 * testsuite/ld-i386/tlspic2.rd: Likewise.
735 * testsuite/ld-ia64/tlsbin.rd: Likewise.
736 * testsuite/ld-ia64/tlspic.rd: Likewise.
737 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
738 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
739 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
740 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
741 * testsuite/ld-mmix/bspec1.d: Likewise.
742 * testsuite/ld-mmix/bspec2.d: Likewise.
743 * testsuite/ld-mmix/local1.d: Likewise.
744 * testsuite/ld-mmix/local3.d: Likewise.
745 * testsuite/ld-mmix/local5.d: Likewise.
746 * testsuite/ld-mmix/local7.d: Likewise.
747 * testsuite/ld-mmix/undef-3.d: Likewise.
748 * testsuite/ld-powerpc/tlsexe.r: Likewise.
749 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
750 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
751 * testsuite/ld-powerpc/tlsso.r: Likewise.
752 * testsuite/ld-powerpc/tlsso32.r: Likewise.
753 * testsuite/ld-powerpc/tlstocso.r: Likewise.
754 * testsuite/ld-s390/tlsbin.rd: Likewise.
755 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
756 * testsuite/ld-s390/tlspic.rd: Likewise.
757 * testsuite/ld-s390/tlspic_64.rd: Likewise.
758 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
759 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
760 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
761 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
762 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
763 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
764 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
765 * testsuite/ld-sh/tlsbin-2.d: Likewise.
766 * testsuite/ld-sh/tlspic-2.d: Likewise.
767 * testsuite/ld-sparc/gotop32.rd: Likewise.
768 * testsuite/ld-sparc/gotop64.rd: Likewise.
769 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
770 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
771 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
772 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
773 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
774 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
775 * testsuite/ld-tic6x/common.d: Likewise.
776 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
777 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
778 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
779 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
780 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
781 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
782 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
783 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
784 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
785 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
786 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
787 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
788 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
789 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
790 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
791 * testsuite/ld-x86-64/nogot1.d: Likewise.
792 * testsuite/ld-x86-64/pr12718.d: Likewise.
793 * testsuite/ld-x86-64/pr12921.d: Likewise.
794 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
795 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
796 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
797 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
798 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
799 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
800 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
801 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
802 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
803 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
804 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
805 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
806 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
807 * testsuite/ld-x86-64/tlspic.rd: Likewise.
808 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
809 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
810 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
811 * testsuite/ld-xtensa/tlspic.rd: Likewise.
813 2016-08-18 Alan Modra <amodra@gmail.com>
815 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
818 2016-08-12 Alan Modra <amodra@gmail.com>
820 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
821 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
822 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
823 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
824 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
825 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
826 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
827 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
828 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
829 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
830 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
831 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
832 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
834 2016-08-12 Alan Modra <amodra@gmail.com>
836 * testsuite/ld-undefined/weak-fundef.s: New.
837 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
838 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
839 much of old code. Use is_elf_format to select targets.
841 2016-08-11 Alan Modra <amodra@gmail.com>
844 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
846 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
848 2016-08-11 Nick Clifton <nickc@redhat.com>
851 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
852 testing remotely, check to see if target compiler is installed
853 before trying to run it.
855 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
858 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
861 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
863 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
865 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
867 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
868 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
869 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
871 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
873 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
875 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
878 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
880 (check_lto_available): Return 0 if check_gcc_plugin_enabled
882 (check_lto_fat_available): Likewise.
883 (check_lto_shared_available): Likewise.
885 2016-08-09 Roland McGrath <roland@hack.frob.com>
887 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
889 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
891 * emultempl/armelf.em (cmse_implib): Declare and define this new
893 (arm_elf_create_output_section_statements): Add new cmse_implib
895 (OPTION_CMSE_IMPLIB): Define macro.
896 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
897 (PARSE_AND_LIST_OPTIONS): Likewise.
898 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
899 * ld.texinfo (--cmse-implib): Document new option.
900 * testsuite/ld-arm/arm-elf.exp
901 (Secure gateway import library generation): New test.
902 (Secure gateway import library generation: errors): Likewise.
903 * testsuite/ld-arm/cmse-implib.s: New file.
904 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
905 * testsuite/ld-arm/cmse-implib.rd: Likewise.
907 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
909 * ld.texinfo (Placement of SG veneers): New concept entry.
910 * testsuite/ld-arm/arm-elf.exp
911 (Secure gateway veneers: no .gnu.sgstubs section): New test.
912 (Secure gateway veneers: wrong entry functions): Likewise.
913 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
914 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
915 * testsuite/ld-arm/cmse-veneers.s: New file.
916 * testsuite/ld-arm/cmse-veneers.d: Likewise.
917 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
918 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
919 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
920 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
922 2016-08-02 Nick Clifton <nickc@redhat.com>
925 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
927 * emulparams/shelf32.sh: Likewise.
928 * emulparams/shelf32.sh: Likewise.
929 * emulparams/shelf_nto.sh: Likewise.
930 * emulparams/shelf_nto.sh: Likewise.
931 * emulparams/shelf_vxworks.sh: Likewise.
932 * emulparams/shelf_vxworks.sh: Likewise.
933 * emulparams/shlelf32_linux.sh: Likewise.
934 * emulparams/shlelf32_linux.sh: Likewise.
935 * emulparams/shlelf_linux.sh: Likewise.
936 * emulparams/shlelf_linux.sh: Likewise.
937 * emulparams/shlelf_nto.sh: Likewise.
938 * emulparams/shlelf_nto.sh: Likewise.
940 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
942 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
943 patterns for branch compaction.
944 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
947 2016-07-27 Nick Clifton <nickc@redhat.com>
949 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
950 test to targets which support cfi.
952 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
954 * ldbuildid.c (generate_build_id): Warning fix.
956 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
958 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
959 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
960 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
961 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
963 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
965 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
967 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
969 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
971 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
973 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
975 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
977 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
979 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
981 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
983 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
985 * ldbuildid.c: Changes for MinGW32:
986 Include windows.h and rpcdce.h.
987 (validate_build_id_style): Allow "uuid" style.
988 (generate_build_id): Fill in id_bits using UuidCreate().
990 2016-07-25 Alan Modra <amodra@gmail.com>
992 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
993 and m32r. Correct comment. Relax ld -r match to account for
994 msp increased number of default sections.
996 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
998 * testsuite/ld-arc/got-01.d: New file.
999 * testsuite/ld-arc/got-01.s: New file.
1001 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1003 * configure: Regenerated.
1005 2016-07-21 Alan Modra <amodra@gmail.com>
1007 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
1008 "targets_to_xfail" parameter with "args".
1009 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
1010 all calls to run_ld_link_exec_tests.
1011 * testsuite/ld-elf/dwarf.exp: Likewise.
1012 * testsuite/ld-elf/indirect.exp: Likewise.
1013 * testsuite/ld-elf/wrap.exp: Likewise.
1014 * testsuite/ld-i386/i386.exp: Likewise.
1015 * testsuite/ld-i386/no-plt.exp: Likewise.
1016 * testsuite/ld-i386/tls.exp: Likewise.
1017 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1018 * testsuite/ld-pie/pie.exp: Likewise.
1019 * testsuite/ld-plugin/lto.exp: Likewise.
1020 * testsuite/ld-size/size.exp: Likewise.
1021 * testsuite/ld-x86-64/mpx.exp: Likewise.
1022 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1023 * testsuite/ld-x86-64/tls.exp: Likewise.
1024 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1025 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
1026 xfails and simplify lists.
1027 * testsuite/ld-elf/shared.exp: Likewise.
1029 2016-07-21 Alan Modra <amodra@gmail.com>
1031 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
1032 parameter to pass list of xfails.
1033 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
1034 implib test formatting. Don't set .data start address.
1035 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1036 replace second one with equivalent .section directive.
1037 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1038 * testsuite/ld-elf/implib.rd: Update.
1040 2016-07-20 Alan Modra <amodra@gmail.com>
1042 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1044 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1046 2016-07-19 Roland McGrath <roland@hack.frob.com>
1048 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1049 * emulparams/aarch64elf32.sh: Likewise.
1051 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1053 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1055 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1056 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1057 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1058 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1059 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1060 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1061 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1062 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1063 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1064 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1065 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1066 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1067 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1068 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1069 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1070 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1071 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1072 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1073 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1075 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1077 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1079 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1081 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1083 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1084 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1086 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1088 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1089 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1090 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1091 microMIPS BAL and MIPS16 instructions.
1092 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1094 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1095 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1096 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1097 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1098 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1099 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1100 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1101 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1102 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1104 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1106 * plugin.c (plugin_call_claim_file): Restore the file offset after
1107 an unsuccessful attempt to claim a file.
1108 * testplug.c (bytes_to_read_before_claim): New global.
1109 (record_read_length): New function, sets new global
1110 bytes_to_read_before_claim.
1111 (parse_option): Handle 'read:<NUMBER>' option.
1112 (onclaim_file): Read file content before checking for claim.
1113 * testsuite/ld-plugin/plugin-30.d: New file.
1114 * testsuite/ld-plugin/plugin.exp: Add new test.
1116 2016-07-16 Alan Modra <amodra@gmail.com>
1118 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1119 before bfd/plugin.h.
1120 (plugin_object_p): Use bfd_plugin_open_input.
1122 2016-07-16 Alan Modra <amodra@gmail.com>
1124 * ldlang.c (open_output): Replace bfd_search_for_target with
1125 bfd_iterate_over_targets. Localize vars.
1127 2016-07-16 Alan Modra <amodra@gmail.com>
1129 * ldlang.c: Don't include libbfd.h.
1130 * emultempl/nds32elf.em: Likewise.
1131 * emultempl/ppc64elf.em: Likewise.
1132 * emultempl/ppc32elf.em: Likewise.
1134 (params): Update init.
1135 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1136 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1137 * emultempl/sh64elf.em: Don't include libbfd.h.
1138 (after_allocation): Use ASSERT, not BFD_ASSERT.
1139 * emultempl/xtensaelf.em: Don't include libbfd.h.
1140 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1141 * Makefile.am: Update dependencies.
1142 * Makefile.in: Regenerate.
1144 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1145 Nick Clifton <nickc@redhat.com>
1147 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1148 library file for writing and initialize implib_bfd field of link_info
1150 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1151 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1152 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1153 (gld_${EMULATION_NAME}_list_options): Likewise.
1154 (gld${EMULATION_NAME}_handle_option): Likewise.
1155 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1156 instead of pe_implib_filename.
1157 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1158 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1159 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1160 (gld_${EMULATION_NAME}_list_options): Likewise.
1161 (gld${EMULATION_NAME}_handle_option): Likewise.
1162 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1163 instead of pep_implib_filename.
1164 * ld.h (args_type): Declare new out_implib_filename field.
1165 * ld.texinfo (--out-implib): Move documentation to arch-independent
1166 part and rephrase to apply to ELF targets.
1167 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1168 defined in linker scripts.
1169 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1171 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1172 (parse_args): Handle OPTION_OUT_IMPLIB case.
1173 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1174 (Generate import library): Likewise.
1175 * testsuite/ld-elf/implib.s: Likewise.
1176 * testsuite/ld-elf/implib.rd: New file.
1177 * testsuite/ld-elf/empty-implib.out: Likewise
1179 2016-07-15 Nick Clifton <nickc@redhat.com>
1181 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1184 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1186 * testsuite/ld-mips-elf/mips-elf.exp: Run
1187 `branch-absolute-addend', `mips16-branch-absolute',
1188 `mips16-branch-absolute-addend' and
1189 `micromips-branch-absolute-addend'.
1191 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1193 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1194 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1195 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1196 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1198 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1200 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1202 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1203 from `mips16-branch-absolute' and
1204 `mips16-branch-absolute-addend', referred indirectly only.
1206 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1208 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1209 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1210 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1211 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1212 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1213 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1214 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1215 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1217 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1219 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1221 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1223 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1225 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1226 from `branch-absolute-addend' and
1227 `micromips-branch-absolute-addend', referred indirectly only.
1229 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1231 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1232 * testsuite/ld-arc/sda-relocs.dd: New file.
1233 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1234 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1235 * testsuite/ld-arc/sda-relocs.s: Likewise.
1236 * testsuite/ld-arc/arc.exp: Add SDA tests.
1238 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1240 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1243 2016-07-09 Alan Modra <amodra@gmail.com>
1245 * testsuite/ld-powerpc/elfv2exe.d: Update.
1247 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1249 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1253 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1255 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1257 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1259 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1260 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1261 * testsuite/ld-arm/arm-elf.exp: Run it.
1263 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1265 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1266 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1267 all noread's by purecode.
1269 2016-07-05 Jan Beulich <jbeulich@suse.com>
1271 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1272 assignment line number.
1273 * ldlex.l (lineno): Drop initializer.
1274 (<<EOF>>): Set lineno to zero after reaching top of stack.
1276 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1279 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1280 been loaded already.
1281 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1282 * testsuite/ld-plugin/pr20321.c: New file.
1284 2016-07-04 Nick Clifton <nickc@redhat.com>
1286 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1287 (__RAMSIZE): If not defined, set to 64K.
1288 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1291 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1293 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1294 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1296 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1298 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1299 (Thumb-2 BL on ARMv6-M): New testcase.
1300 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1301 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1303 2016-07-01 Tristan Gingold <gingold@adacore.com>
1305 * NEWS: Add marker for 2.27.
1307 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1309 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1310 * ld-gc/pr20306.c: New file.
1311 * ld-gc/pr20306.d: Likewise.
1313 2016-06-28 Nick Clifton <nickc@redhat.com>
1315 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1317 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1318 tests to fail for bfin.
1319 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1321 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1323 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1326 2016-06-28 Nick Clifton <nickc@redhat.com>
1328 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1329 expect to fail this test.
1330 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1332 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1334 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1335 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1336 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1337 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1338 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1340 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1342 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1345 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1347 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1348 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1349 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1350 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1352 2016-06-28 Alan Modra <amodra@gmail.com>
1355 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1357 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1359 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1360 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1361 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1362 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1363 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1364 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1366 2016-06-27 Nick Clifton <nickc@redhat.com>
1369 * lexsup.c (set_segment_start): If resetting the start address of
1370 a section, remember to generate a new script element as well.
1371 * testsuite/ld-scripts/pr20302.d: New test.
1372 * testsuite/ld-scripts/scripts.exp: Run the new test.
1374 2016-06-24 Alan Modra <amodra@gmail.com>
1376 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1377 Don't error out, always return an emulation.
1379 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1380 H.J. Lu <hongjiu.lu@intel.com>
1382 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1383 for -z relro help message.
1385 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1387 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1390 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1392 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1393 `undefweak-overflow' tests.
1395 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1398 * NEWS: Mention --enable-relro.
1399 * configure.ac: Add --enable-relro.
1400 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1401 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1403 * config.in: Regenerated.
1404 * configure: Likewise.
1405 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1406 link_info.relro to DEFAULT_LD_Z_RELRO.
1407 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1408 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1409 $ld_elf_shared_opt to ld for ELF targets with shared object
1411 (run_ld_link_tests): Likewise.
1413 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1415 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1416 twice rather than once.
1417 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1418 accordingly. Remove the full stop from the end of the message.
1420 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1422 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1423 * testsuite/ld-arc/nps-1b.d: Likewise.
1425 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1428 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1430 (lto_run_tests): Likewise.
1431 * testsuite/ld-plugin/pr20267a.c: New file.
1432 * testsuite/ld-plugin/pr20267b.c: Likewise.
1434 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1435 Alan Modra <amodra@gmail.com>
1438 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1439 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1441 (lto_run_tests): Likewise.
1442 * testsuite/ld-plugin/pass.out: New file.
1443 * testsuite/ld-plugin/pr20276a.c: Likewise.
1444 * testsuite/ld-plugin/pr20276b.c: Likewise.
1446 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1448 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1449 with bfd_plugin_unknown.
1451 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1454 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1455 * testsuite/ld-i386/no-plt.exp: Likewise.
1456 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1457 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1458 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1459 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1460 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1461 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1462 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1463 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1464 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1465 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1466 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1467 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1468 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1469 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1470 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1471 * testsuite/ld-i386/pr20244-2b.d: Updated.
1472 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1473 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1474 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1475 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1476 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1477 * testsuite/ld-i386/pr20253-1a.c: New file.
1478 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1479 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1480 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1481 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1482 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1483 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1484 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1485 * testsuite/ld-i386/pr20253-3.d: Likewise.
1486 * testsuite/ld-i386/pr20253-3.s: Likewise.
1487 * testsuite/ld-i386/pr20253-4.s: Likewise.
1488 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1489 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1490 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1491 * testsuite/ld-i386/pr20253-5.d: Likewise.
1492 * testsuite/ld-i386/pr20253-5.s: Likewise.
1493 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1494 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1495 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1496 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1497 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1498 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1499 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1500 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1501 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1502 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1503 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1504 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1505 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1506 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1507 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1508 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1509 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1510 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1511 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1512 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1513 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1514 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1515 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1516 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1517 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1518 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1519 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1520 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1521 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1522 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1523 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1524 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1525 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1526 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1527 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1528 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1529 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1530 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1531 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1532 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1533 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1534 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1536 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1537 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1538 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1539 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1540 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1542 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1543 Tony Wang <tony.wang@arm.com>
1545 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1546 Assemble for ARMv6-M.
1547 (Thumb2-Thumb2 farcall M profile): New testcase.
1548 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1549 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1550 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1551 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1553 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1555 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1556 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1557 Remove .rel.plt section.
1558 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1560 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1562 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1564 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1565 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1566 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1568 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1569 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1570 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1571 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1572 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1573 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1574 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1575 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1576 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1577 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1578 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1579 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1580 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1581 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1582 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1583 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1584 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1585 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1586 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1588 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1591 * testsuite/ld-avr/avr-prop-6.d: New test.
1592 * testsuite/ld-avr/avr-prop-6.s: New test.
1594 2016-06-14 Alan Modra <amodra@gmail.com>
1596 * ldbuildid.c: Formatting.
1597 * ldcref.c: Formatting.
1598 * ldctor.c: Formatting.
1599 * ldemul.c: Formatting.
1600 * ldexp.c: Formatting.
1601 * ldfile.c: Formatting.
1602 * ldlang.c: Formatting.
1603 * ldmain.c: Formatting.
1604 * ldwrite.c: Formatting.
1606 2016-06-14 Alan Modra <amodra@gmail.com>
1608 * ldlang.c: Expand uses of bfd_my_archive.
1609 * ldmain.c: Likewise.
1610 * ldmisc.c: Likewise.
1611 * plugin.c: Likewise.
1613 2016-06-14 Alan Modra <amodra@gmail.com>
1616 * ldmain.c (add_archive_element): Just print file name of file within
1618 * ldmisc.c (vfinfo): Likewise.
1619 * plugin.c (plugin_object_p): Open file within thin archives.
1620 (plugin_maybe_claim): Expand comment.
1622 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1625 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1626 pr20244-2c and pr20244-2d.
1627 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1628 * testsuite/ld-i386/pr20244-2.s: New file.
1629 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1630 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1631 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1632 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1633 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1634 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1635 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1636 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1638 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1640 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1641 * testsuite/ld-i386/ifunc-1a.c: New file.
1642 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1643 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1644 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1646 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1648 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1649 big endian ARC targets.
1651 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1653 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1654 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1655 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1656 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1657 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1658 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1659 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1660 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1661 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1662 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1663 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1664 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1665 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1666 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1667 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1669 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1672 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1673 * testsuite/ld-i386/pr20244-1.s: New file.
1674 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1675 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1676 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1678 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1681 * testsuite/ld-avr/avr-prop-5.d: New.
1682 * testsuite/ld-avr/avr-prop-5.s: New.
1684 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1686 * testsuite/ld-avr/lds-mega.d: New test.
1687 * testsuite/ld-avr/lds-mega.s: New test source.
1688 * testsuite/ld-avr/lds-tiny.d: New test.
1689 * testsuite/ld-avr/lds-tiny.s: New test source.
1691 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1693 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1694 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1695 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1696 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1697 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1698 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1699 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1700 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1701 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1702 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1703 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1704 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1705 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1706 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1707 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1708 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1709 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1710 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1711 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1712 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1713 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1714 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1715 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1716 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1717 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1718 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1719 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1720 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1721 * testsuite/ld-i386/no-plt.exp: Likewise.
1723 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1725 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1728 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1730 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1731 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1732 * testsuite/ld-i386/pass.out: New file.
1733 * testsuite/ld-i386/tls-def1.c: Likewise.
1734 * testsuite/ld-i386/tls-gd1.S: Likewise.
1735 * testsuite/ld-i386/tls-ld1.S: Likewise.
1736 * testsuite/ld-i386/tls-main1.c: Likewise.
1737 * testsuite/ld-i386/tls.exp: Likewise.
1738 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1739 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1740 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1741 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1742 * testsuite/ld-i386/tlsbin2.td: Likewise.
1743 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1744 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1745 * testsuite/ld-i386/tlsgd3.s: Likewise.
1746 * testsuite/ld-i386/tlsgd4.d: Likewise.
1747 * testsuite/ld-i386/tlsgd4.s: Likewise.
1748 * testsuite/ld-i386/tlsld2.s: Likewise.
1749 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1750 * testsuite/ld-i386/tlspic2.dd: Likewise.
1751 * testsuite/ld-i386/tlspic2.rd: Likewise.
1752 * testsuite/ld-i386/tlspic2.sd: Likewise.
1753 * testsuite/ld-i386/tlspic2.td: Likewise.
1754 * testsuite/ld-i386/tlspic3.s: Likewise.
1755 * testsuite/ld-i386/tlspie3.s: Likewise.
1756 * testsuite/ld-i386/tlspie3a.d: Likewise.
1757 * testsuite/ld-i386/tlspie3b.d: Likewise.
1758 * testsuite/ld-i386/tlspie3c.d: Likewise.
1760 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1762 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1763 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1764 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1765 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1766 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1767 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1768 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1769 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1771 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1773 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1774 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1775 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1776 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1777 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1778 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1779 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1780 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1781 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1782 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1783 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1784 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1785 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1786 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1787 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1788 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1789 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1790 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1791 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1792 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1793 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1795 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1797 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1799 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1801 * testsuite/ld-s390/pltoffset-1.dd: New test.
1802 * testsuite/ld-s390/pltoffset-1.ld: New test.
1803 * testsuite/ld-s390/pltoffset-1.s: New test.
1804 * testsuite/ld-s390/s390.exp: Run new test.
1806 2016-06-07 Alan Modra <amodra@gmail.com>
1808 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1809 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1810 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1812 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1814 * testsuite/ld-x86-64/pass.out: New file.
1815 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1816 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1817 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1818 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1819 * testsuite/ld-x86-64/tls.exp: Likewise.
1820 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1821 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1822 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1823 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1824 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1825 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1826 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1827 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1828 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1829 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1830 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1831 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1832 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1833 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1834 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1835 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1836 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1837 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1838 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1839 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1840 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1841 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1842 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1843 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1844 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1845 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1846 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1847 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1848 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1849 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1850 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1851 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1852 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1853 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1854 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1855 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1856 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1857 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1858 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1859 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1860 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1863 2016-06-04 Christian Groessler <chris@groessler.org>
1865 * testsuite/ld-z8k/0filler.s: New file.
1866 * testsuite/ld-z8k/branch-target.s: New file.
1867 * testsuite/ld-z8k/branch-target2.s: New file.
1868 * testsuite/ld-z8k/calr-back-8001.d: New file.
1869 * testsuite/ld-z8k/calr-back-8002.d: New file.
1870 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1871 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1872 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1873 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1874 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1875 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1876 * testsuite/ld-z8k/calr-opcode.s: New file.
1877 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1878 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1879 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1880 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1881 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1882 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1883 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1884 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1885 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1886 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1887 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1888 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1889 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1890 * testsuite/ld-z8k/djnz-opcode.s: New file.
1891 * testsuite/ld-z8k/filler.s: New file.
1892 * testsuite/ld-z8k/jr-back-8001.d: New file.
1893 * testsuite/ld-z8k/jr-back-8002.d: New file.
1894 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1895 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1896 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1897 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1898 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1899 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1900 * testsuite/ld-z8k/jr-opcode.s: New file.
1901 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1902 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1903 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1904 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1905 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1906 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1907 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1908 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1909 * testsuite/ld-z8k/ldr-opcode.s: New file.
1910 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1911 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1912 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1913 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1914 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1915 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1916 * testsuite/ld-z8k/other-file.s: New file.
1917 * testsuite/ld-z8k/reloc.dd: New file.
1918 * testsuite/ld-z8k/reloc.ld: New file.
1919 * testsuite/ld-z8k/relocseg.dd: New file.
1920 * testsuite/ld-z8k/relocseg.ld: New file.
1921 * testsuite/ld-z8k/relocseg1.dd: New file.
1922 * testsuite/ld-z8k/this-file.s: New file.
1923 * testsuite/ld-z8k/z8k.exp: New file.
1925 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1927 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1928 with -mrelax-relocations=yes.
1929 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1930 * testsuite/ld-i386/lea1b.d (as): Likewise.
1931 * testsuite/ld-i386/lea1d.d (as): Likewise.
1932 * testsuite/ld-i386/lea1e.d (as): Likewise.
1933 * testsuite/ld-i386/lea1f.d (as): Likewise.
1934 * testsuite/ld-i386/load7.d (as): Likewise.
1935 * testsuite/ld-i386/mov1b.d (as): Likewise.
1936 * testsuite/ld-i386/pr19175.d (as): Likewise.
1937 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1938 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1939 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1940 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1941 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1943 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1945 * configure.tgt: Replace -uclibc with *.
1947 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1949 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1950 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1951 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1952 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1954 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1956 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1957 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1958 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1959 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1960 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1961 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1963 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1965 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1966 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1967 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1968 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1969 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1970 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1971 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1973 2016-05-28 Alan Modra <amodra@gmail.com>
1975 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1976 constructor_callback, warning_callback, undefined_symbol,
1977 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1978 * emultempl/elf32.em: Adjust callback calls.
1980 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1982 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1983 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1984 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1986 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1988 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1990 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1992 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1994 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1996 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1998 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
2000 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
2001 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
2003 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2005 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2007 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
2008 `unaligned-jalx-2' here.
2009 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
2010 `unaligned-jalx-mips16-2' here.
2011 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
2012 `unaligned-jalx-micromips-2' here.
2013 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
2014 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
2016 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
2017 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
2018 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
2019 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
2020 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
2022 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
2023 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
2024 `unaligned-lwpc-3' here.
2025 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
2026 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
2027 `unaligned-lwpc-2' here.
2028 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
2029 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
2030 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
2031 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
2032 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
2033 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
2034 `unaligned-ldpc-4' here.
2035 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2036 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2037 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2038 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2039 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2040 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2041 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2042 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2043 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2044 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2045 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2047 2016-05-26 Nick Clifton <nickc@redhat.com>
2050 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2052 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2054 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2056 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2057 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2058 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2059 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2060 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2061 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2062 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2063 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2064 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2065 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2066 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2067 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2068 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2069 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2070 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2071 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2072 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2073 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2074 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2075 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2076 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2077 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2078 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2079 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2080 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2081 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2082 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2083 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2084 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2085 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2086 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2087 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2088 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2090 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2093 * ldmain.c (add_archive_element): Don't claim new IR symbols
2094 after all IR symbols have been claimed.
2095 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2097 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2098 Run PR ld/20103 tests.
2099 * testsuite/ld-plugin/pr20103a.c: New file.
2100 * testsuite/ld-plugin/pr20103b.c: Likewise.
2101 * testsuite/ld-plugin/pr20103c.c: Likewise.
2103 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2105 * testsuite/ld-mips-elf/jalx-local.d: New test.
2106 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2107 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2108 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2110 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2112 * Makefile.am: Add earmelf_phoenix.c.
2113 * Makefile.in: Regenerate.
2114 * configure.tgt: Add entry for arm-phoenix.
2115 * emulparams/armelf_phoenix.sh: New file.
2117 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2119 * emultempl/armelf.em (arm_elf_before_allocation): Call
2120 bfd_elf32_arm_keep_private_stub_output_sections before generic
2121 before_allocation function.
2123 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2125 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2126 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2127 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2128 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2130 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2133 * testsuite/ld-i386/i386.exp: Run pr20117.
2134 * testsuite/ld-i386/pr19609-1i.d: Updated.
2135 * testsuite/ld-i386/pr20117.d: New file.
2136 * testsuite/ld-i386/pr20117.s: Likewise.
2138 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2140 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2141 * testsuite/ld-elf/group8a.d: Likewise.
2142 * testsuite/ld-elf/group8b.d: Likewise.
2143 * testsuite/ld-elf/group9a.d: Likewise.
2144 * testsuite/ld-elf/group9b.d: Likewise.
2145 * testsuite/ld-elf/pr12851.d: Likewise.
2146 * testsuite/ld-elf/pr12975.d: Likewise.
2147 * testsuite/ld-elf/pr13177.d: Likewise.
2148 * testsuite/ld-elf/pr13195.d: Likewise.
2149 * testsuite/ld-elf/pr17615.d: Likewise.
2150 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2151 * testsuite/ld-elf/group3b.d: Likewise.
2152 * testsuite/ld-srec/srec.exp: Likewise.
2153 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2155 (check_shared_lib_support): Mark ARC as supporting.
2157 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2159 * emulparams/arcelf.sh: Changed.
2160 * emulparams/arclinux.sh: Likewise.
2161 * scripttempl/arclinux.sc: Moved to a more standard implementation
2164 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2166 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2167 `ft32-*-*' behind `frv-*-*'.
2169 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2171 * configure.tgt: Remove `am34-*-linux*' support.
2173 2016-05-19 Alan Modra <amodra@gmail.com>
2175 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2176 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2177 * testsuite/ld-scripts/cross3.t: Likewise.
2178 * testsuite/ld-scripts/cross4.t: Likewise.
2179 * testsuite/ld-scripts/cross5.t: Likewise.
2180 * testsuite/ld-scripts/cross6.t: Likewise.
2181 * testsuite/ld-scripts/cross7.t: Likewise.
2183 2016-05-19 Alan Modra <amodra@gmail.com>
2185 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2186 exe name rather than constructing testname. Fix typo in
2187 sub-test name. Log copying. Use -rpath rather than -R.
2189 2016-05-18 Nick Clifton <nickc@redhat.com>
2191 * scripttempl/ft32.sc: Use fixed constants for memory region
2192 lengths. Include DWARF debug sections.
2193 (.data .bss): Do not assign locations during relocatable links.
2194 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2195 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2196 * testsuite/ld-elf/sec64k.exp: Likewise.
2197 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2198 * testsuite/ld-elf/merge.d: Likewise.
2199 * testsuite/ld-elf/orphan-region.d: Likewise.
2200 * testsuite/ld-elf/orphan.s: Likewise.
2201 * testsuite/ld-elf/orphan3.d: Likewise.
2202 * testsuite/ld-elf/pr349.d: Likewise.
2203 * testsuite/ld-elf/warn2.d: Likewise.
2204 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2205 that the FT32 does not support shared libraries.
2207 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2209 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2212 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2214 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2216 * scripttempl/avrtiny.sc (text): Likewise.
2218 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2220 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2221 `supports_gnu_unique' to qualify testing.
2223 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2225 * testsuite/ld-elf/flags1.d: Update the xfail list.
2227 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2229 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2232 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2235 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2236 on EXPECTED_VIEW_LENGTH.
2237 * testplug4.c (onall_symbols_read): Likewise.
2239 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2242 * testsuite/ld-x86-64/pr20093-1.d: New file.
2243 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2244 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2245 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2246 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2248 2016-05-13 Alan Modra <amodra@gmail.com>
2250 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2251 Use different output file name for static app without .rel.plt.
2252 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2253 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2254 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2255 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2256 * testsuite/ld-arm/arm-static-app.r: Likewise.
2258 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2261 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2262 (libldtestplug4_la_SOURCES): New.
2263 (libldtestplug4_la_CFLAGS): Likewise.
2264 (libldtestplug4_la_LDFLAGS): Likewise.
2265 * Makefile.in: Regenerated.
2266 * plugin.c (get_symbols): Return resolution based on IR symbol
2267 kinds for symbols defined/referenced only within IR.
2268 * testplug4.c: New file.
2269 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2270 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2271 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2272 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2273 (plugin4_path): Likewise.
2274 Add a test for ld/20070.
2276 2016-05-11 Alan Modra <amodra@gmail.com>
2278 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2279 Call elf32_hppa_init_stub_bfd.
2281 2016-05-11 Alan Modra <amodra@gmail.com>
2284 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2285 * testsuite/ld-powerpc/tlsdll.s: New.
2286 * testsuite/ld-powerpc/tlsdll.ver: New.
2287 * testsuite/ld-powerpc/tlsdll_32.s: New.
2288 * testsuite/ld-powerpc/tlsopt5.d: New.
2289 * testsuite/ld-powerpc/tlsopt5.s: New.
2290 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2291 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2293 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2295 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2296 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2298 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2300 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2301 parameter and rename input_section parameter to after_input_section.
2302 Append input stub section to the output section if after_input_section
2305 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2307 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2309 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2310 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2312 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2314 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2316 2016-05-09 Christophe Monat <christophe.monat@st.com>
2319 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2320 tests. Fix misnamed stm32l4xx-fix-all.
2321 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2322 loads with DP registers.
2323 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2324 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2325 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2326 loads with DP registers.
2327 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2329 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2331 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2333 (xfail): Remove avr-*-*.
2334 Update regex to check the section flags.
2335 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2337 2016-05-09 Alan Modra <amodra@gmail.com>
2339 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2340 * Makefile.in: Regenerate.
2342 2016-05-09 Alan Modra <amodra@gmail.com>
2344 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2345 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2346 * testsuite/ld-scripts/section-match-1.t: Likewise.
2348 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2351 * testsuite/ld-elf/pr17550-1.s: New file.
2352 * testsuite/ld-elf/pr17550-2.s: Likewise.
2353 * testsuite/ld-elf/pr17550-3.s: Likewise.
2354 * testsuite/ld-elf/pr17550-4.s: Likewise.
2355 * testsuite/ld-elf/pr17550a.d: Likewise.
2356 * testsuite/ld-elf/pr17550b.d: Likewise.
2357 * testsuite/ld-elf/pr17550c.d: Likewise.
2358 * testsuite/ld-elf/pr17550d.d: Likewise.
2360 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2362 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2364 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2366 * testsuite/ld-i386/i386.exp: Run load7.
2367 * testsuite/ld-i386/load7.d: New file.
2368 * testsuite/ld-i386/load7.map: Likewise.
2369 * testsuite/ld-i386/load7.s: Likewise.
2370 * testsuite/ld-x86-64/load2.d: Likewise.
2371 * testsuite/ld-x86-64/load2.map: Likewise.
2372 * testsuite/ld-x86-64/load2.s: Likewise.
2373 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2375 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2377 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2378 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2380 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2383 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2385 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2387 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2389 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2391 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2393 * testsuite/ld-unique/unique.d: New test.
2394 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2395 messages for compiled tests.
2397 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2399 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2400 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2401 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2402 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2403 plugin_tests only if check_shared_lib_support is true.
2404 * testsuite/ld-selective/selective.exp: Add --section-start
2407 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2410 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2412 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2414 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2415 * NEWS: Mention --no-apply-dynamic-relocs.
2416 * ld.texinfo (ld and the ARM family): Document
2417 --no-apply-dynamic-relocs.
2418 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2419 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2420 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2421 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2424 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2426 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2427 before running STT_COMMON tests.
2429 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2431 * config/default.exp (NOPIE_CFLAGS): Download source only on
2433 (NOPIE_LDFLAGS): Likewise.
2434 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2435 (check_lto_fat_available): Likewise.
2436 (check_lto_shared_available): Likewise.
2437 (check_ifunc_available): Likewise.
2438 (check_ifunc_attribute_available): Likewise.
2440 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2442 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2444 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2447 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2448 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2451 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2453 * testsuite/ld-elf/compressed1b.d: Pass
2454 --compress-debug-sections=none to ld.
2455 * testsuite/ld-elf/compressed1c.d: Likewise.
2457 2016-04-27 Alan Modra <amodra@gmail.com>
2460 * configure.tgt: Don't use var+=.
2462 2016-04-25 Nick Clifton <nickc@redhat.com>
2465 * configure.tgt: Include big endian PPC64 emulations with little
2466 endian PPC64 targets.
2468 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2470 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2472 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2474 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2475 Linux with GCC 4.9 or newer.
2476 (check_lto_fat_available): Likewise.
2477 (check_lto_shared_available): Likewise.
2479 2016-04-21 Nick Clifton <nickc@redhat.com>
2481 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2482 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2483 targets. Do not stop the checks when problems are encountered.
2485 2016-04-21 Alan Modra <amodra@gmail.com>
2487 * testsuite/ld-scripts/cross3.t: Add commonly used data
2488 and text section names to output section statements.
2489 * testsuite/ld-scripts/cross4.t: Likewise.
2490 * testsuite/ld-scripts/cross5.t: Likewise.
2491 * testsuite/ld-scripts/cross6.t: Likewise.
2492 * testsuite/ld-scripts/cross7.t: Likewise.
2494 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2496 * ldlang.c (lang_check_relocs): New function.
2497 (lang_process): Call lang_check_relocs after lang_gc_sections.
2498 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2499 call _bfd_elf_link_check_relocs here.
2501 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2504 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2505 R_386_NONE or R_X86_64_NONE.
2507 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2509 * testsuite/ld-x86-64/pic1.d: New file.
2510 * testsuite/ld-x86-64/pic1.s: Likewise.
2511 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2513 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2515 * testsuite/ld-x86-64/pie2.d: New file.
2516 * testsuite/ld-x86-64/pie2.s: Likewise.
2517 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2519 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2522 * testsuite/ld-x86-64/pr19969.d: New file.
2523 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2524 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2525 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2527 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2529 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2531 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2533 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2535 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2537 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2539 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2541 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2543 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2545 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2546 Set check_relocs_after_open_input to TRUE if
2547 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2548 (gld${EMULATION_NAME}_after_open): Call
2549 _bfd_elf_link_check_relocs on all inputs if
2550 check_relocs_after_open_input is TRUE.
2552 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2554 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2557 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2559 * emultempl/scoreelf.em: Likewise.
2561 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2564 * testsuite/ld-x86-64/pr19719.d: New file.
2565 * testsuite/ld-x86-64/pr19719.s: Likewise.
2566 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2568 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2570 * ld.texinfo: Document NOCROSSREFS_TO script command.
2571 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2572 (lang_add_nocrossref_to): New prototype.
2573 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2574 symbols defined in the first section.
2575 (check_nocrossref): Likewise.
2576 * ldgram.y (NOCROSSREFS_TO): New script command.
2577 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2578 (lang_add_nocrossref_to): New function.
2579 * ldlex.l (NOCROSSREFS_TO): New token.
2580 * NEWS: Mention NOCROSSREFS_TO.
2581 * testsuite/ld-scripts/cross4.t: New file.
2582 * testsuite/ld-scripts/cross5.t: Likewise.
2583 * testsuite/ld-scripts/cross6.t: Likewise.
2584 * testsuite/ld-scripts/cross7.t: Likewise.
2585 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2588 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2590 * Makefile.in: Regenerated with automake 1.11.6.
2591 * aclocal.m4: Likewise.
2593 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2595 * testsuite/ld-arc/arc.exp: New file.
2596 * testsuite/ld-arc/nps-1.s: New file.
2597 * testsuite/ld-arc/nps-1a.d: New file.
2598 * testsuite/ld-arc/nps-1b.d: New file.
2599 * testsuite/ld-arc/nps-1b.err: New file.
2601 2016-04-14 Nick Clifton <nickc@redhat.com>
2604 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2605 exceptions for Mingw and Cygwin.
2607 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2609 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2612 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2615 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2616 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2619 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2622 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2623 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2624 * testsuite/ld-i386/pr19939.s: New file.
2625 * testsuite/ld-i386/pr19939a.d: Likewise.
2626 * testsuite/ld-i386/pr19939b.d: Likewise.
2627 * testsuite/ld-x86-64/pr19939.s: Likewise.
2628 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2629 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2631 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2633 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2635 2016-04-08 Alan Modra <amodra@gmail.com>
2638 * ldlang.c (maybe_overlays): Delete.
2639 (lang_size_sections_1): Remove code setting maybe_overlays.
2640 (lang_check_section_addresses): Instead detect overlays by
2641 exact match of section VMAs here. Fix memory leak.
2643 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2645 * ldlang.c (print_output_section_statement): Show minfo size
2646 in target machine address units.
2647 (print_reloc_statement): Likewise.
2648 (print_padding_statement): Likewise.
2649 (print_data_statement): Likewise. Ensure minimum print_dot
2650 increment of one address unit.
2652 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2654 * emulparams/arc-endianness.sh: Make little endian default choice.
2656 2016-04-07 Nick Clifton <nickc@redhat.com>
2658 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2660 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2662 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2664 * emulparams/arc-endianness.sh: New file.
2665 * emulparams/arcebelf.sh: Deleted.
2666 * emulparams/arcebelf_prof.sh: Deleted.
2667 * emulparams/arceblinux.sh: Deleted.
2668 * emulparams/arceblinux_prof.sh: Deleted.
2669 * emulparams/arcelf.sh: Include arc-endinness.sh.
2670 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2671 * emulparams/arclinux.sh: Include arc-endinness.sh.
2672 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2673 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2674 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2675 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2676 little endian arc targets.
2677 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2678 * testsuite/ld-elf/group1.d: Likewise.
2679 * testsuite/ld-elf/group3b.d: Likewise.
2680 * testsuite/ld-elf/group8a.d: Likewise.
2681 * testsuite/ld-elf/group8b.d: Likewise.
2682 * testsuite/ld-elf/group9a.d: Likewise.
2683 * testsuite/ld-elf/group9b.d: Likewise.
2684 * testsuite/ld-elf/linkonce2.d: Likewise.
2685 * testsuite/ld-elf/pr12851.d: Likewise.
2686 * testsuite/ld-elf/pr12975.d: Likewise.
2687 * testsuite/ld-elf/pr13177.d: Likewise.
2688 * testsuite/ld-elf/pr13195.d: Likewise.
2689 * testsuite/ld-elf/pr17615.d: Likewise.
2690 * testsuite/ld-elf/pr19162.d: Likewise.
2691 * testsuite/ld-elf/sec64k.exp: Likewise.
2692 * testsuite/lib/ld-lib.exp: Likewise.
2694 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2697 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2699 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2700 * testsuite/ld-cris/tls-e-21.d: Likewise.
2701 * testsuite/ld-cris/tls-e-23.d: Likewise.
2702 * testsuite/ld-cris/tls-e-80.d: Likewise.
2703 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2704 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2705 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2706 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2707 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2708 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2709 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2710 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2711 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2712 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2714 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2716 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2717 * testsuite/ld-discard/start.d: Likewise.
2718 * testsuite/ld-discard/static.d: Likewise.
2719 * testsuite/ld-elf/group1.d: Likewise.
2720 * testsuite/ld-elf/group3b.d: Likewise.
2721 * testsuite/ld-elf/orphan-region.d: Likewise.
2722 * testsuite/ld-elf/orphan.d: Likewise.
2723 * testsuite/ld-elf/orphan3.d: Likewise.
2724 * testsuite/ld-elf/pr349.d: Likewise.
2725 * testsuite/ld-elf/warn1.d: Likewise.
2726 * testsuite/ld-elf/warn2.d: Likewise.
2727 * testsuite/ld-elf/warn3.d: Likewise.
2728 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2729 through linker flags.
2730 * testsuite/ld-srec/srec.exp: Set as xfail.
2732 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2735 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2736 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2738 2016-04-04 Nick Clifton <nickc@redhat.com>
2741 * emultempl/pe.em (change_undef): New function. Encapsulates
2742 duplicated code in pe_fixup_stdcalls and adds the newly defined
2743 sym to the gc root list.
2744 (pe_fixup_stdcall): Use the new function.
2745 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2746 symbol to gc root list.
2748 2016-03-31 Alan Modra <amodra@gmail.com>
2750 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2751 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2752 (print_input_section): Don't use TO_ADDR when printing section
2754 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2755 (lang_size_sections): Use TO_ADDR in relro end calculation.
2757 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2759 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2760 value from regexp_diff.
2761 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2762 * testsuite/ld-elf/orphan-6.l: Likewise.
2764 2016-03-30 Alan Modra <amodra@gmail.com>
2767 * ldlang.c (maybe_overlays): New static var.
2768 (lang_size_sections_1): Set it here.
2769 (struct check_sec): New.
2770 (sort_sections_by_lma): Adjust for array of structs.
2771 (sort_sections_by_vma): New function.
2772 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2773 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2775 2016-03-30 Alan Modra <amodra@gmail.com>
2777 * ldlang.c (lang_size_sections_1): Correct code detecting a
2778 backward non-overlapping move.
2780 2016-03-30 Alan Modra <amodra@gmail.com>
2782 * ldlang.c (IS_TBSS): New macro, extracted from..
2783 (IGNORE_SECTION): ..here.
2784 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2785 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2787 2016-03-22 Nick Clifton <nickc@redhat.com>
2790 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2791 symbol name to the list of gc symbols.
2792 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2793 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2794 and fini function names.
2795 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2797 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2798 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2800 2016-03-22 Nick Clifton <nickc@redhat.com>
2802 * configure: Regenerate.
2804 2016-03-21 Nick Clifton <nickc@redhat.com>
2806 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2807 * plugin.c: Likewise.
2808 * pe-dll.c: Likewise.
2810 2016-03-18 Awson <kyrab@mail.ru>
2813 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2815 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2817 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2819 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2821 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2824 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2825 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2826 * testsuite/ld-i386/pr19827.rd: New file.
2827 * testsuite/ld-i386/pr19827a.S: Likewise.
2828 * testsuite/ld-i386/pr19827b.S: Likewise.
2829 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2830 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2831 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2833 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2836 * Makefile.am (ELF_X86_DEPS): Add
2837 $(srcdir)/emulparams/reloc_overflow.sh.
2838 * Makefile.in: Regenerated.
2839 * NEWS: Mention -z noreloc-overflow.
2840 * ld.texinfo: Document -z noreloc-overflow.
2841 * emulparams/elf32_x86_64.sh: Source
2842 ${srcdir}/emulparams/reloc_overflow.sh.
2843 * emulparams/elf_x86_64.sh: Likewise.
2844 * emulparams/reloc_overflow.sh: New file.
2845 * testsuite/ld-x86-64/pr19807-1.s: New file.
2846 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2847 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2848 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2849 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2850 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2851 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2852 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2853 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2854 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2856 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2859 * testsuite/ld-i386/i386.exp: Run pr19539.
2860 * testsuite/ld-i386/pr19539.d: New file.
2861 * testsuite/ld-i386/pr19539.s: Likewise.
2862 * testsuite/ld-i386/pr19539.t: Likewise.
2863 * testsuite/ld-x86-64/pr19539.s: Likewise.
2864 * testsuite/ld-x86-64/pr19539.t: Likewise.
2865 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2866 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2867 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2869 2016-03-10 Mickael Guene <mickael.guene@st.com>
2872 * testsuite/ld-arm/arm-elf.exp: New tests.
2873 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2874 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2876 2016-03-10 Nick Clifton <nickc@redhat.com>
2878 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2880 2016-03-09 Pedro Alves <palves@redhat.com>
2882 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2883 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2885 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2888 * testsuite/ld-elf/pr19789.d: New file.
2889 * testsuite/ld-elf/pr19789.s: Likewise.
2891 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2894 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2895 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2896 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2897 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2898 * testsuite/ld-ifunc/pass.out: New file.
2899 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2900 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2901 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2903 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2906 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2907 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2908 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2909 --as-needed for pr18841c.
2911 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2914 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2915 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2916 before tmpdir/got1d.so and test --as-needed.
2917 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2918 tmpdir/pr18900.so and test --as-needed.
2920 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2922 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2923 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2925 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2927 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2929 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2930 before tmpdir/copyreloc-lib.so and test --as-needed.
2931 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2933 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2936 * testsuite/ld-elf/pr19579a.c: New file.
2937 * testsuite/ld-elf/pr19579b.c: Likewise.
2938 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2940 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2942 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2944 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2946 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2947 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2949 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2952 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2953 input sections for relocatable link.
2954 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2955 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2957 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2960 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2961 merge flags of other input sections for relocatable link.
2963 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2965 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2967 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2969 * testsuite/ld-elf/pr19162.d: Skip arc target.
2971 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2974 * testsuite/ld-elf/pr19162.d: New file.
2975 * testsuite/ld-elf/pr19162a.s: Likwise.
2976 * testsuite/ld-elf/pr19162b.s: Likwise.
2978 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2980 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2981 * testsuite/ld-elf/merge2.d: Likewise.
2982 * testsuite/ld-elf/merge3.d: Likewise.
2984 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2986 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2989 2016-02-26 Renlin Li <renlin.li@arm.com>
2991 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2992 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2993 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2994 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2995 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2996 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2997 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2998 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2999 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
3000 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
3002 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3005 * testsuite/ld-i386/got1.dd: Updated.
3006 * testsuite/ld-i386/lea1c.d: Likewise.
3007 * testsuite/ld-i386/load1-nacl.d: Likewise.
3008 * testsuite/ld-i386/load1.d: Likewise.
3009 * testsuite/ld-i386/load4b.d: Likewise.
3010 * testsuite/ld-i386/load5b.d: Likewise.
3011 * testsuite/ld-i386/mov1b.d: Likewise.
3012 * testsuite/ld-x86-64/mov1b.d: Likewise.
3013 * testsuite/ld-x86-64/mov1d.d: Likewise.
3014 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3015 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3016 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3017 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3018 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
3019 * testsuite/ld-x86-64/lea1a.d: Likewise.
3020 * testsuite/ld-x86-64/lea1b.d: Likewise.
3021 * testsuite/ld-x86-64/lea1c.d: Likewise.
3022 * testsuite/ld-x86-64/lea1d.d: Likewise.
3023 * testsuite/ld-x86-64/lea1e.d: Likewise.
3024 * testsuite/ld-x86-64/lea1f.d: Likewise.
3025 * testsuite/ld-x86-64/mov1b.d: Likewise.
3026 * testsuite/ld-x86-64/mov1d.d: Likewise.
3027 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
3028 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3029 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
3030 * testsuite/ld-i386/pr19609-1.s: New file.
3031 * testsuite/ld-i386/pr19609-1a.d: Likewise.
3032 * testsuite/ld-i386/pr19609-1b.d: Likewise.
3033 * testsuite/ld-i386/pr19609-1c.d: Likewise.
3034 * testsuite/ld-i386/pr19609-1d.d: Likewise.
3035 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3036 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3037 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3038 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3039 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3040 * testsuite/ld-i386/pr19609-2.s: Likewise.
3041 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3042 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3043 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3044 * testsuite/ld-i386/undefweak.s: Likewise.
3045 * testsuite/ld-i386/undefweaka.d: Likewise.
3046 * testsuite/ld-i386/undefweakb.d: Likewise.
3047 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3048 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3049 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3050 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3051 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3052 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3053 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3054 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3055 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3056 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3057 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3058 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3059 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3060 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3061 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3062 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3063 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3064 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3065 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3066 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3067 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3068 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3069 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3070 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3071 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3072 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3073 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3074 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3075 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3076 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3077 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3078 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3079 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3080 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3081 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3082 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3083 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3084 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3085 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3086 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3087 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3088 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3089 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3090 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3091 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3092 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3093 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3095 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3096 and tests for PR ld/19609.
3098 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3101 * NEWS: Mention -z common/-z nocommon for ELF targets.
3102 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3103 -z common and -z nocommon.
3104 * ld.texinfo: Document -z common/-z nocommon.
3105 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3106 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3107 --elf-stt-common=yes with assembler.
3108 * testsuite/ld-elfcomm/common-1.s: New file.
3109 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3110 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3111 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3112 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3113 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3114 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3115 * testsuite/ld-elfcomm/common-2.s: Likewise.
3116 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3117 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3118 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3119 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3120 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3121 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3122 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3123 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3124 * testsuite/ld-i386/pr19645.d: Likewise.
3125 * testsuite/ld-i386/pr19645.s: Likewise.
3126 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3127 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3128 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3129 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3130 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3131 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3132 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3133 * testsuite/ld-x86-64/pr19645.d: Likewise.
3134 * testsuite/ld-x86-64/pr19645.s: Likewise.
3135 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3137 (assembler_generates_commons): Removed.
3138 Run -z common/-z nocommon tests. Run *.d tests.
3139 * testsuite/ld-i386/i386.exp: Run pr19645.
3140 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3141 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3142 assembler. Test STT_COMMON with readelf.
3144 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3149 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3150 * Makefile.in: Regenerated.
3151 * NEWS: Mention -z nodynamic-undefined-weak.
3152 * ld.texinfo: Document -z nodynamic-undefined-weak.
3153 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3154 * emulparams/dynamic_undefined_weak.sh: New file.
3155 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3156 * emulparams/elf_i386.sh: Likewise.
3157 * emulparams/elf_i386_be.sh: Likewise.
3158 * emulparams/elf_i386_chaos.sh: Likewise.
3159 * emulparams/elf_i386_ldso.sh: Likewise.
3160 * emulparams/elf_i386_vxworks.sh: Likewise.
3161 * emulparams/elf_iamcu.sh: Likewise.
3162 * emulparams/elf_k1om.sh: Likewise.
3163 * emulparams/elf_l1om.sh: Likewise.
3164 * emulparams/elf_x86_64.sh: Likewise.
3165 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3167 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3168 * testsuite/ld-elf/pr19719a.c: New file.
3169 * testsuite/ld-elf/pr19719b.c: Likewise.
3170 * testsuite/ld-elf/pr19719c.c: Likewise.
3171 * testsuite/ld-elf/pr19719d.c: Likewise.
3172 * testsuite/ld-i386/pr19636-1.s: Likewise.
3173 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3174 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3175 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3176 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3177 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3178 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3179 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3180 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3181 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3182 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3183 * testsuite/ld-i386/pr19636-2.s: Likewise.
3184 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3185 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3186 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3187 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3188 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3189 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3190 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3191 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3192 * testsuite/ld-i386/pr19636-3.s: Likewise.
3193 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3194 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3195 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3196 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3197 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3198 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3199 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3200 * testsuite/ld-i386/pr19636-4.s: Likewise.
3201 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3202 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3203 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3204 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3205 * testsuite/ld-i386/pr19704.out: Likewise.
3206 * testsuite/ld-i386/pr19704a.c: Likewise.
3207 * testsuite/ld-i386/pr19704b.c: Likewise.
3208 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3209 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3210 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3211 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3212 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3213 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3214 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3215 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3216 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3217 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3218 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3219 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3220 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3221 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3222 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3223 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3224 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3225 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3226 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3227 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3228 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3229 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3230 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3231 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3232 * testsuite/ld-x86-64/pr19704.out: Likewise.
3233 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3234 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3235 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3236 Run mix_pic_and_non_pic.
3237 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3238 Run undefined_weak and PR ld/19636 tests.
3239 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3240 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3241 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3243 2016-02-25 Nick Clifton <nickc@redhat.com>
3245 * ld.h (struct ld_config_type): Remove specified_data_size field.
3247 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3250 * testsuite/ld-elf/pr19698.d: New file.
3251 * testsuite/ld-elf/pr19698.s: Likewise.
3252 * testsuite/ld-elf/pr19698.t: Likewise.
3254 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3256 * Makefile.am (ELF_X86_DEPS): New.
3257 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3258 (eelf_i386_chaos.c): Likewise.
3259 (eelf_i386_fbsd.c): Likewise.
3260 (eelf_i386_ldso.c): Likewise.
3261 (eelf_i386_nacl.c): Likewise.
3262 (eelf_i386_sol2.c): Likewise.
3263 (eelf_iamcu.c): Likewise.
3264 (eelf32_x86_64.c): Likewise.
3265 (eelf32_x86_64_nacl.c): Likewise.
3266 (eelf_l1om.c): Likewise.
3267 (eelf_l1om_fbsd.c): Likewise.
3268 (eelf_k1om.c): Likewise.
3269 (eelf_k1om_fbsd.c): Likewise.
3270 (eelf_x86_64.c): Likewise.
3271 (eelf_x86_64_cloudabi.c): Likewise.
3272 (eelf_x86_64_fbsd.c): Likewise.
3273 (eelf_x86_64_sol2.c): Likewise.
3274 * Makefile.in: Regenerated.
3276 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3278 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3279 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3280 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3281 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3283 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3285 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3287 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3289 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3290 *-*-gnu* and *-*-solaris*.
3291 * testsuite/ld-elf/pr19617b.d: Likewise.
3292 * testsuite/ld-elf/pr19617c.d: Likewise.
3294 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3297 * testsuite/ld-elf/pr19617.s: New file.
3298 * testsuite/ld-elf/pr19617a.d: Likewise.
3299 * testsuite/ld-elf/pr19617b.d: Likewise.
3300 * testsuite/ld-elf/pr19617c.d: Likewise.
3302 2016-02-18 Nick Clifton <nickc@redhat.com>
3304 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3305 in-tree xg++ executable after checking for the presence of an
3306 in-tree g++ executable.
3307 * Makefile.in: Regenerate.
3309 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3311 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3312 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3313 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3315 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3317 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3318 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3319 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3320 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3321 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3322 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3323 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3324 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3325 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3326 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3327 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3328 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3329 * testsuite/ld-x86-64/load1c.d: Likewise.
3330 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3331 * testsuite/ld-x86-64/load1d.d: Likewise.
3332 * testsuite/ld-x86-64/pr14207.d: Likewise.
3333 * testsuite/ld-x86-64/pr19162.d: Likewise.
3334 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3335 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3336 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3337 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3338 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3339 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3341 2016-02-17 Nick Clifton <nickc@redhat.com>
3343 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3345 2016-02-15 Nick Clifton <nickc@redhat.com>
3347 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3348 description of the flags produced by readelf.
3349 * testsuite/ld-i386/pr12921.d: Likewise.
3350 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3351 * testsuite/ld-i386/tlsbin.rd: Likewise.
3352 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3353 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3354 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3355 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3356 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3357 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3358 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3359 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3360 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3361 * testsuite/ld-i386/tlspic.rd: Likewise.
3362 * testsuite/ld-s390/tlsbin.rd: Likewise.
3363 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3364 * testsuite/ld-s390/tlspic.rd: Likewise.
3365 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3366 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3367 * testsuite/ld-sh/tlspic-2.d: Likewise.
3368 * testsuite/ld-tic6x/common.d: Likewise.
3369 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3370 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3371 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3372 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3373 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3374 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3375 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3376 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3377 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3378 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3379 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3380 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3381 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3382 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3383 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3384 * testsuite/ld-x86-64/pr12718.d: Likewise.
3385 * testsuite/ld-x86-64/pr12921.d: Likewise.
3386 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3387 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3388 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3389 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3390 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3391 * testsuite/ld-x86-64/tlsbindesc.rd: 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.
3398 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3399 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3401 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3404 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3406 * lexsup.c (parse_args): Enable -Bsymbolic and
3407 -Bsymbolic-functions for PIE.
3408 * testsuite/ld-i386/i386.exp: Run pr19615.
3409 * testsuite/ld-i386/pr19615.d: New file.
3410 * testsuite/ld-i386/pr19615.s: Likewise.
3411 * testsuite/ld-x86-64/pr19615.d: Likewise.
3412 * testsuite/ld-x86-64/pr19615.s: Likewise.
3414 2016-02-09 Nick Clifton <nickc@redhat.com>
3416 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3417 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3418 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3419 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3421 2016-02-04 Nick Clifton <nickc@redhat.com>
3423 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3424 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3425 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3426 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3427 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3428 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3429 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3430 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3431 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3433 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3436 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3437 * testsuite/ld-i386/call1.d: Likewise.
3438 * testsuite/ld-i386/call2.d: Likewise.
3439 * testsuite/ld-i386/call3a.d: Likewise.
3440 * testsuite/ld-i386/call3b.d: Likewise.
3441 * testsuite/ld-i386/call3c.d: Likewise.
3442 * testsuite/ld-i386/call3d.d: Likewise.
3443 * testsuite/ld-i386/call3e.d: Likewise.
3444 * testsuite/ld-i386/call3f.d: Likewise.
3445 * testsuite/ld-i386/call3g.d: Likewise.
3446 * testsuite/ld-i386/call3h.d: Likewise.
3447 * testsuite/ld-i386/jmp1.d: Likewise.
3448 * testsuite/ld-i386/jmp2.d: Likewise.
3449 * testsuite/ld-i386/lea1c.d: Likewise.
3450 * testsuite/ld-i386/load1.d: Likewise.
3451 * testsuite/ld-i386/load2.d: Likewise.
3452 * testsuite/ld-i386/load3.d: Likewise.
3453 * testsuite/ld-i386/load4a.d: Likewise.
3454 * testsuite/ld-i386/load5a.d: Likewise.
3455 * testsuite/ld-i386/mov2b.d: Likewise.
3456 * testsuite/ld-i386/mov3.d: Likewise.
3457 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3458 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3459 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3460 * testsuite/ld-x86-64/call1a.d: Likewise.
3461 * testsuite/ld-x86-64/call1b.d: Likewise.
3462 * testsuite/ld-x86-64/call1c.d: Likewise.
3463 * testsuite/ld-x86-64/call1d.d: Likewise.
3464 * testsuite/ld-x86-64/call1e.d: Likewise.
3465 * testsuite/ld-x86-64/call1f.d: Likewise.
3466 * testsuite/ld-x86-64/call1h.d: Likewise.
3467 * testsuite/ld-x86-64/call1i.d: Likewise.
3468 * testsuite/ld-x86-64/load1a.d: Likewise.
3469 * testsuite/ld-x86-64/load1b.d: Likewise.
3470 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3471 * testsuite/ld-i386/got1.dd: Updated.
3472 * testsuite/ld-i386/got1d.S (1): Removed.
3473 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3474 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3476 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3479 * testsuite/ld-x86-64/pr18591.d: New file.
3480 * testsuite/ld-x86-64/pr18591.s: Likewise.
3481 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3483 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3486 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3487 * testsuite/ld-elf/pr19553.map: New file.
3488 * testsuite/ld-elf/pr19553.map: Likewise.
3489 * testsuite/ld-elf/pr19553a.c: Likewise.
3490 * testsuite/ld-elf/pr19553b.c: Likewise.
3491 * testsuite/ld-elf/pr19553b.out: Likewise.
3492 * testsuite/ld-elf/pr19553c.c: Likewise.
3493 * testsuite/ld-elf/pr19553c.out: Likewise.
3494 * testsuite/ld-elf/pr19553d.c: Likewise.
3495 * testsuite/ld-elf/pr19553d.out: Likewise.
3497 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3500 * testsuite/ld-elf/pr19539.d: New file.
3501 * testsuite/ld-elf/pr19539.s: Likewise.
3502 * testsuite/ld-elf/pr19539.t: Likewise.
3504 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3507 * configure.ac (compressed_debug_sections): Replace == with =.
3508 * configure: Regenerated.
3510 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3512 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3513 * scripttempl/avrtiny.sc (.noinit): Likewise.
3515 2016-01-21 Nick Clifton <nickc@redhat.com>
3518 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3519 the arm-netbsdelf target.
3522 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3523 disassmebler output.
3524 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3525 * testsuite/ld-arm/vxworks1.dd: Likewise.
3526 * testsuite/ld-arm/vxworks1.rd: Likewise.
3527 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3529 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3531 * testsuite/ld-aarch64/farcall-section.d: Delete.
3532 * testsuite/ld-aarch64/farcall-section.s: Delete.
3533 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3534 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3535 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3536 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3537 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3539 2016-01-20 Nick Clifton <nickc@redhat.com>
3542 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3543 early for PE based targets.
3544 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3545 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3547 2016-01-20 Mickael Guene <mickael.guene@st.com>
3549 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3550 Add 'y' attribute usage.
3551 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3552 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3553 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3555 2016-01-19 Nick Clifton <nickc@redhat.com>
3557 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3558 foo@FOO and bar@@FOO.
3560 2016-01-18 Alan Modra <amodra@gmail.com>
3562 * configure: Regenerate.
3564 2016-01-18 Nick Clifton <nickc@redhat.com>
3566 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3567 is not configured to support plugins.
3569 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3570 but with 16 byte section alignment.
3571 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3572 test for MIPS targets.
3574 2016-01-17 Alan Modra <amodra@gmail.com>
3576 * configure: Regenerate.
3578 2016-01-17 Alan Modra <amodra@gmail.com>
3580 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3581 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3582 * testsuite/ld-elf/pr14156a.d: Likewise.
3583 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3584 * testsuite/ld-elf/sec64k.exp: Likewise.
3586 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3588 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3589 Set address of .foo section when linking.
3590 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3592 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3593 output to the above changes.
3595 2016-01-13 Nick Clifton <nickc@redhat.com>
3597 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3600 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3601 fail for MIPS targets.
3603 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3606 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3608 * testsuite/ld-arm/arm-elf.exp: New test.
3609 * testsuite/ld-arm/unwind-mix.d: New file.
3610 * testsuite/ld-arm/unwind-mix1.s: New file.
3611 * testsuite/ld-arm/unwind-mix2.s: New file.
3613 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3616 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3617 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3618 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3619 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3620 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3621 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3623 2016-01-05 Nick Clifton <nickc@redhat.com>
3625 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3626 MSP430 hardware multiply address range.
3627 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3628 (__romdatacopysize): Define.
3629 * scripttempl/elf32msp430_3.sc: Likewise.
3631 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3633 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3634 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3636 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3638 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3639 messages expected according to MIPS BFD private data merge
3641 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3642 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3643 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3644 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3645 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3646 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3647 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3648 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3649 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3650 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3651 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3652 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3653 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3655 2016-01-01 Alan Modra <amodra@gmail.com>
3657 Update year range in copyright notice of all files.
3659 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3661 Copyright (C) 2016 Free Software Foundation, Inc.
3663 Copying and distribution of this file, with or without modification,
3664 are permitted in any medium without royalty provided the copyright
3665 notice and this notice are preserved.
3671 version-control: never