1 2016-11-07 Nick Clifton <nickc@redhat.com>
4 * emultempl/elf32.em (search_needed): Fix infinite loop when
5 unable to process a token. Add support for curly braced enclosed
7 * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
10 2016-11-07 Nick Clifton <nickc@redhat.com>
12 * ld.texinfo (--compress-debug-sections): Expand documentation of
15 2016-11-04 Nick Clifton <nickc@redhat.com>
17 * emultempl/elf32.em (search_needed): Remove use of getauxval and
18 inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
20 * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
21 * configure: Regenerate.
22 * config.in: Regenerate.
24 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
26 * ldlang.h (struct lang_wild_statement_struct): Add
27 exclude_name_list field.
28 * ldlang.c (walk_wild_file_in_exclude_list): New function.
29 (walk_wild_consider_section): Use new
30 walk_wild_file_in_exclude_list function.
31 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
32 (print_wild_statement): Print new exclude_name_list field.
33 (lang_add_wild): Initialise new exclude_name_list field.
34 * testsuite/ld-scripts/exclude-file-1.d: New file.
35 * testsuite/ld-scripts/exclude-file-1.map: New file.
36 * testsuite/ld-scripts/exclude-file-1.t: New file.
37 * testsuite/ld-scripts/exclude-file-2.d: New file.
38 * testsuite/ld-scripts/exclude-file-2.map: New file.
39 * testsuite/ld-scripts/exclude-file-2.t: New file.
40 * testsuite/ld-scripts/exclude-file-3.d: New file.
41 * testsuite/ld-scripts/exclude-file-3.map: New file.
42 * testsuite/ld-scripts/exclude-file-3.t: New file.
43 * testsuite/ld-scripts/exclude-file-4.d: New file.
44 * testsuite/ld-scripts/exclude-file-4.map: New file.
45 * testsuite/ld-scripts/exclude-file-4.t: New file.
46 * testsuite/ld-scripts/exclude-file-a.s: New file.
47 * testsuite/ld-scripts/exclude-file-b.s: New file.
48 * testsuite/ld-scripts/exclude-file.exp: New file.
49 * ld.texinfo (Input Section Basics): Update description of
50 EXCLUDE_FILE to cover the new features.
51 * NEWS: Mention new EXCLUDE_FILE usage.
53 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
55 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
56 based on the original source file name.
57 * testsuite/ld-discard/extern.d: Update object file names.
58 * testsuite/ld-discard/start.d: Likewise.
59 * testsuite/ld-discard/static.d: Likewise.
60 * testsuite/ld-elf/orphan-8.map: Likewise.
62 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
64 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
65 xc16x-*-elf to the list of targets that don't support -shared.
67 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
69 * ldgram.y: Rename file_NAME_list to section_NAME_list
72 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
73 Andrew Waterman <andrew@sifive.com>
75 Add support for RISC-V architecture.
76 * Makefile.am: Add riscv files.
77 * Makefile.in: Regenerate.
78 * NEWS: Mention the support for this target.
79 * configure.tgt: Add riscv entries.
80 * emulparams/elf32lriscv-defs.sh: New file.
81 * emulparams/elf32lriscv.sh: New file.
82 * emulparams/elf64lriscv-defs.sh: New file.
83 * emulparams/elf64lriscv.sh: New file.
84 * emultempl/riscvelf.em: New file.
86 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
88 * ldmain.c (add_archive_element): Initialize input->header.type.
89 * plugin.c (plugin_maybe_claim): Assert the statement is an input
92 2016-10-15 Alan Modra <amodra@gmail.com>
94 * emultempl/spu_ovl.o_c: Regenerate.
96 2016-10-14 Alan Modra <amodra@gmail.com>
98 * scripttempl/DWARF.sc: Add .debug_addr.
100 2016-10-12 Alan Modra <amodra@gmail.com>
102 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
103 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
104 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
105 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
106 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
108 2016-10-11 Nick Clifton <nickc@redhat.com>
110 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
112 * ld-aarch64/emit-relocs-515.d: Likewise.
113 * ld-aarch64/emit-relocs-516-be.d: Likewise.
114 * ld-aarch64/emit-relocs-516.d: Likewise.
115 * ld-aarch64/farcall-b-plt.d: Likewise.
116 * ld-aarch64/farcall-bl-plt.d: Likewise.
117 * ld-aarch64/gc-plt-relocs.d: Likewise.
118 * ld-aarch64/tls-desc-ie.d: Likewise.
119 * ld-aarch64/tls-tiny-desc.d: Likewise.
120 * ld-aarch64/tls-tiny-gd.d: Likewise.
121 * ld-aarch64/tls-tiny-ie.d: Likewise.
122 * ld-arm/arm-app-abs32.d: Likewise.
123 * ld-arm/arm-app.d: Likewise.
124 * ld-arm/arm-lib-plt32.d: Likewise.
125 * ld-arm/arm-lib.d: Likewise.
126 * ld-arm/armthumb-lib.d: Likewise.
127 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
128 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
129 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
130 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
131 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
132 * ld-arm/farcall-mixed-app-v5.d: Likewise.
133 * ld-arm/farcall-mixed-app.d: Likewise.
134 * ld-arm/farcall-mixed-app2.d: Likewise.
135 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
136 * ld-arm/farcall-mixed-lib.d: Likewise.
137 * ld-arm/ifunc-10.dd: Likewise.
138 * ld-arm/ifunc-14.dd: Likewise.
139 * ld-arm/ifunc-15.dd: Likewise.
140 * ld-arm/ifunc-3.dd: Likewise.
141 * ld-arm/ifunc-4.dd: Likewise.
142 * ld-arm/ifunc-9.dd: Likewise.
143 * ld-arm/long-plt-format.d: Likewise.
144 * ld-arm/mixed-app-v5.d: Likewise.
145 * ld-arm/mixed-app.d: Likewise.
146 * ld-arm/mixed-lib.d: Likewise.
147 * ld-arm/tls-lib-loc.d: Likewise.
148 * ld-cris/dso-pltdis1.d: Likewise.
149 * ld-cris/dso-pltdis2.d: Likewise.
150 * ld-cris/dso12-pltdis.d: Likewise.
151 * ld-elf/symbolic-func.r: Likewise.
152 * ld-frv/fdpic-pie-1.d: Likewise.
153 * ld-frv/fdpic-pie-2.d: Likewise.
154 * ld-frv/fdpic-pie-6.d: Likewise.
155 * ld-frv/fdpic-pie-7.d: Likewise.
156 * ld-frv/fdpic-pie-8.d: Likewise.
157 * ld-frv/fdpic-shared-1.d: Likewise.
158 * ld-frv/fdpic-shared-2.d: Likewise.
159 * ld-frv/fdpic-shared-3.d: Likewise.
160 * ld-frv/fdpic-shared-4.d: Likewise.
161 * ld-frv/fdpic-shared-5.d: Likewise.
162 * ld-frv/fdpic-shared-6.d: Likewise.
163 * ld-frv/fdpic-shared-7.d: Likewise.
164 * ld-frv/fdpic-shared-8.d: Likewise.
165 * ld-frv/fdpic-shared-local-2.d: Likewise.
166 * ld-frv/fdpic-shared-local-8.d: Likewise.
167 * ld-frv/fdpic-static-1.d: Likewise.
168 * ld-frv/fdpic-static-2.d: Likewise.
169 * ld-frv/fdpic-static-6.d: Likewise.
170 * ld-frv/fdpic-static-7.d: Likewise.
171 * ld-frv/fdpic-static-8.d: Likewise.
172 * ld-frv/tls-dynamic-2.d: Likewise.
173 * ld-frv/tls-initial-shared-2.d: Likewise.
174 * ld-frv/tls-relax-shared-2.d: Likewise.
175 * ld-frv/tls-shared-2.d: Likewise.
176 * ld-i386/plt-nacl.pd: Likewise.
177 * ld-i386/plt-pic-nacl.pd: Likewise.
178 * ld-i386/plt-pic.pd: Likewise.
179 * ld-i386/plt.pd: Likewise.
180 * ld-i386/pr19636-1d-nacl.d: Likewise.
181 * ld-i386/pr19636-1d.d: Likewise.
182 * ld-i386/pr19636-2c-nacl.d: Likewise.
183 * ld-i386/pr19636-2c.d: Likewise.
184 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
185 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
186 * ld-ifunc/pr17154-i386.d: Likewise.
187 * ld-ifunc/pr17154-x86-64.d: Likewise.
188 * ld-m68k/plt1-68020.d: Likewise.
189 * ld-m68k/plt1-cpu32.d: Likewise.
190 * ld-m68k/plt1-isab.d: Likewise.
191 * ld-m68k/plt1-isac.d: Likewise.
192 * ld-metag/shared.d: Likewise.
193 * ld-metag/stub_pic_app.d: Likewise.
194 * ld-metag/stub_pic_shared.d: Likewise.
195 * ld-metag/stub_shared.d: Likewise.
196 * ld-s390/tlsbin_64.dd: Likewise.
197 * ld-s390/tlspic_64.dd: Likewise.
198 * ld-tic6x/shlib-1.dd: Likewise.
199 * ld-tic6x/shlib-1b.dd: Likewise.
200 * ld-tic6x/shlib-1rb.dd: Likewise.
201 * ld-tic6x/shlib-app-1.dd: Likewise.
202 * ld-tic6x/shlib-app-1b.dd: Likewise.
203 * ld-tic6x/shlib-app-1r.dd: Likewise.
204 * ld-tic6x/shlib-app-1rb.dd: Likewise.
205 * ld-tic6x/shlib-noindex.dd: Likewise.
206 * ld-vax-elf/export-class-data.dd: Likewise.
207 * ld-vax-elf/plt-local-lib.dd: Likewise.
208 * ld-vax-elf/plt-local.dd: Likewise.
209 * ld-x86-64/bnd-ifunc-2.d: Likewise.
210 * ld-x86-64/bnd-plt-1.d: Likewise.
211 * ld-x86-64/gotpcrel1.dd: Likewise.
212 * ld-x86-64/libno-plt-1b.dd: Likewise.
213 * ld-x86-64/load1c-nacl.d: Likewise.
214 * ld-x86-64/load1c.d: Likewise.
215 * ld-x86-64/load1d-nacl.d: Likewise.
216 * ld-x86-64/load1d.d: Likewise.
217 * ld-x86-64/mov1a.d: Likewise.
218 * ld-x86-64/mov1b.d: Likewise.
219 * ld-x86-64/mov1c.d: Likewise.
220 * ld-x86-64/mov1d.d: Likewise.
221 * ld-x86-64/mov2a.d: Likewise.
222 * ld-x86-64/mov2b.d: Likewise.
223 * ld-x86-64/mov2c.d: Likewise.
224 * ld-x86-64/mov2d.d: Likewise.
225 * ld-x86-64/mpx3.dd: Likewise.
226 * ld-x86-64/mpx4.dd: Likewise.
227 * ld-x86-64/no-plt-1a.dd: Likewise.
228 * ld-x86-64/no-plt-1b.dd: Likewise.
229 * ld-x86-64/no-plt-1c.dd: Likewise.
230 * ld-x86-64/no-plt-1e.dd: Likewise.
231 * ld-x86-64/no-plt-1f.dd: Likewise.
232 * ld-x86-64/no-plt-1g.dd: Likewise.
233 * ld-x86-64/plt-main-bnd.dd: Likewise.
234 * ld-x86-64/plt-nacl.pd: Likewise.
235 * ld-x86-64/plt.pd: Likewise.
236 * ld-x86-64/pr18591.d: Likewise.
237 * ld-x86-64/pr19609-1c.d: Likewise.
238 * ld-x86-64/pr19609-1e.d: Likewise.
239 * ld-x86-64/pr19609-1j.d: Likewise.
240 * ld-x86-64/pr19609-1l.d: Likewise.
241 * ld-x86-64/pr19609-1m.d: Likewise.
242 * ld-x86-64/pr19609-5b.d: Likewise.
243 * ld-x86-64/pr19609-5c.d: Likewise.
244 * ld-x86-64/pr19609-5e.d: Likewise.
245 * ld-x86-64/pr19609-6b.d: Likewise.
246 * ld-x86-64/pr19609-7b.d: Likewise.
247 * ld-x86-64/pr19609-7d.d: Likewise.
248 * ld-x86-64/pr19636-2d.d: Likewise.
249 * ld-x86-64/pr20093-1.d: Likewise.
250 * ld-x86-64/pr20093-2.d: Likewise.
251 * ld-x86-64/pr20253-1b.d: Likewise.
252 * ld-x86-64/pr20253-1d.d: Likewise.
253 * ld-x86-64/pr20253-1f.d: Likewise.
254 * ld-x86-64/pr20253-1h.d: Likewise.
255 * ld-x86-64/pr20253-1j.d: Likewise.
256 * ld-x86-64/pr20253-1l.d: Likewise.
257 * ld-x86-64/protected3.d: Likewise.
258 * ld-x86-64/tlsbin.dd: Likewise.
259 * ld-x86-64/tlsbin2.dd: Likewise.
260 * ld-x86-64/tlsbindesc.dd: Likewise.
261 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
262 * ld-x86-64/tlsdesc.dd: Likewise.
263 * ld-x86-64/tlsdesc.pd: Likewise.
264 * ld-x86-64/tlsgd10.dd: Likewise.
265 * ld-x86-64/tlsgd5.dd: Likewise.
266 * ld-x86-64/tlsgd6.dd: Likewise.
267 * ld-x86-64/tlsgd8.dd: Likewise.
268 * ld-x86-64/tlsgdesc.dd: Likewise.
269 * ld-x86-64/tlspic.dd: Likewise.
270 * ld-x86-64/tlspic2.dd: Likewise.
272 2016-10-11 Nick Clifton <nickc@redhat.com>
275 * emultempl/elf32.em (_search_needed): Add support for pseudo
276 environment variables supported by ld.so. Namely $ORIGIN, $LIB
278 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
279 * config.in: Regenerate.
280 * configure: Regenerate.
282 2016-10-11 Alan Modra <amodra@gmail.com>
284 * ldlang.c (lang_do_assignments_1): Descend into output section
285 statements that do not yet have bfd sections. Set symbol section
286 temporarily for symbols defined in such statements to the undefined
287 section. Don't error on data or reloc statements until final phase.
288 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
290 * testsuite/ld-mmix/bpo-10.d: Adjust.
291 * testsuite/ld-mmix/bpo-11.d: Adjust.
293 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
295 * emulparams/elf64_s390.sh: Move binary start to 16M.
296 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
297 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
299 2016-10-07 Alan Modra <amodra@gmail.com>
301 * ldexp.c (MAX): Define.
302 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
305 2016-10-07 Alan Modra <amodra@gmail.com>
307 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
308 * testsuite/ld-elf/elf.exp: ..here.
310 2016-10-06 Ludovic Courtès <ludo@gnu.org>
312 * emulparams/elf32bmipn32-defs.sh: Shift quote of
313 "x$EMULATION_NAME" to the left to work around
314 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
316 2016-10-06 Alan Modra <amodra@gmail.com>
318 * lexsup.c: Spell fall through comments consistently and add
319 missing fall through comments.
321 2016-10-06 Alan Modra <amodra@gmail.com>
323 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
326 2016-10-04 Alan Modra <amodra@gmail.com>
328 * ld.texinfo (Expression Section): Update result of arithmetic
330 * ldexp.c (arith_result_section): New function.
331 (fold_binary): Use it.
333 2016-10-04 Alan Modra <amodra@gmail.com>
335 * ldexp.c (exp_value_fold): New function.
336 (exp_unop, exp_binop, exp_trinop): Use it.
338 2016-09-30 Alan Modra <amodra@gmail.com>
340 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
342 * scripttempl/v850_rh850.sc: Likewise.
344 2016-09-30 Alan Modra <amodra@gmail.com>
347 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
348 multiple .text sections for hppa-linux.
349 * testsuite/ld-elf/pr20528b.d: Likewise.
351 2016-09-30 Alan Modra <amodra@gmail.com>
353 * ldmain.c (default_bfd_error_handler): New function pointer.
354 (ld_bfd_error_handler): New function.
355 (main): Arrange to call it on bfd errors/warnings.
356 (ld_bfd_assert_handler): Enable tail call.
358 2016-09-30 Alan Modra <amodra@gmail.com>
360 * ldlang.c (ignore_bfd_errors): Update params.
362 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
365 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
366 merge 2 sections with different SHF_EXCLUDE.
367 * testsuite/ld-elf/pr20528a.d: New file.
368 * testsuite/ld-elf/pr20528a.s: Likewise.
369 * testsuite/ld-elf/pr20528b.d: Likewise.
370 * testsuite/ld-elf/pr20528b.s: Likewise.
372 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
375 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
376 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
377 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
378 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
379 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
381 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
383 * Makefile.in: Regenerate.
384 * configure: Likewise.
386 2016-09-26 Alan Modra <amodra@gmail.com>
388 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
389 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
390 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
391 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
392 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
393 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
394 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
395 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
396 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
397 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
398 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
399 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
400 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
401 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
402 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
403 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
404 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
406 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
409 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
410 line and -r option to objdump command line. Match emitted relocs
411 to make sure that superflous relocs are not generated.
413 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
415 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
416 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
417 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
419 2016-09-22 Nick Clifton <nickc@redhat.com>
421 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
422 attempts to find a needed library.
424 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
426 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
428 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
429 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
430 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
431 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
432 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
433 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
434 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
435 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
436 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
437 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
438 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
439 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
440 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
441 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
442 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
443 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
444 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
445 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
446 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
447 * testsuite/ld-aarch64/erratum835769.d: Likewise.
448 * testsuite/ld-aarch64/erratum843419.d: Likewise.
449 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
450 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
451 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
452 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
453 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
454 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
455 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
456 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
457 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
458 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
459 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
460 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
461 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
462 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
463 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
464 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
465 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
466 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
468 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
470 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
471 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
473 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
475 * ld.texinfo (Input Section Basics): Expand the description of
478 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
480 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
481 Extensions entry functions in absolute section.
482 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
484 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
486 * testsuite/ld-arc/tls-dtpoff.dd: New file.
487 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
488 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
489 * testsuite/ld-arc/tls-relocs.ld: Likewise.
490 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
492 2016-09-14 Nick Clifton <nickc@redhat.com>
495 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
496 OPTION_NO_EH_FRAME_HDR.
497 (_add_options): Add support for --no-eh-frame-hdr.
498 * ld.texinfo: Document new option.
499 * lexsup.c (elf_shlib_list_options): List new option.
500 * NEWS: Mention the new option.
502 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
505 * testsuite/ld-x86-64/pr20550a.s: New file.
506 * testsuite/ld-x86-64/pr20550b.s: Likewise.
507 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
510 2016-09-06 Nick Clifton <nickc@redhat.com>
512 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
513 without any sanitization options.
514 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
515 any sanitization options.
516 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
517 as CFLAGS and CXXFLAGS respectively.
519 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
522 * testsuite/ld-avr/avr-prop-7.d: New test.
523 * testsuite/ld-avr/avr-prop-7.s: New test.
524 * testsuite/ld-avr/avr-prop-8.d: New test.
525 * testsuite/ld-avr/avr-prop-8.s: New test.
527 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
529 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
531 * testsuite/ld-elf/pr20513d.d: Likewise.
533 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
536 * testsuite/ld-elf/pr20513a.d: New file.
537 * testsuite/ld-elf/pr20513a.s: Likewise.
538 * testsuite/ld-elf/pr20513b.d: Likewise.
539 * testsuite/ld-elf/pr20513b.s: Likewise.
540 * testsuite/ld-elf/pr20513c.d: Likewise.
541 * testsuite/ld-elf/pr20513d.d: Likewise.
542 * testsuite/ld-elf/pr20513e.d: Likewise.
543 * testsuite/ld-elf/pr20513f.d: Likewise.
545 2016-08-31 Alan Modra <amodra@gmail.com>
548 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
550 2016-08-31 Alan Modra <amodra@gmail.com>
552 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
553 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
554 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
555 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
556 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
558 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
560 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
561 * testsuite/ld-arc/tls_ie-01.d: Likewise.
563 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
565 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
566 if ifunc attribute works.
568 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
572 * testsuite/ld-i386/i386.exp: Run pr20515.
573 * testsuite/ld-i386/pr20515.d: New file.
574 * testsuite/ld-i386/pr20515.s: Likewise.
575 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
577 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
578 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
579 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
580 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
581 * testsuite/ld-x86-64/x86-64.exp: Here.
582 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
583 * testsuite/ld-x86-64/pr19784a.c: Here.
584 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
585 * testsuite/ld-x86-64/pr19784b.c: Here.
586 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
587 * testsuite/ld-x86-64/pr19784c.c: Here.
589 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
591 * emultempl/armelf.em (params): New static variable.
592 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
593 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
594 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
595 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
597 (arm_elf_before_allocation): Access static variable from the params
599 (gld${EMULATION_NAME}_finish): Likewise.
600 (arm_elf_create_output_section_statements): Likewise and pass the
601 address of that structure to bfd_elf32_arm_set_target_relocs instead
602 of the static variables.
603 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
606 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
608 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
609 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
611 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
613 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
614 * testsuite/ld-arc/tls_ie-01.d: Likewise
616 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
618 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
620 (arm_elf_create_output_section_statements): Open import input library
621 file for writing and pass resulting in_implib_bfd to
622 bfd_elf32_arm_set_target_relocs.
623 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
624 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
625 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
626 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
627 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
628 (--in-implib): Document new option.
630 * testsuite/ld-arm/arm-elf.exp
631 (Secure gateway import library generation): add --defsym VER=1 to gas
633 (Secure gateway import library generation: errors): Likewise.
634 (Input secure gateway import library): New test.
635 (Input secure gateway import library: no output import library):
637 (Input secure gateway import library: not an SG input import library):
639 (Input secure gateway import library: earlier stub section base):
641 (Input secure gateway import library: later stub section base):
643 (Input secure gateway import library: veneer comeback): Likewise.
644 (Input secure gateway import library: entry function change):
646 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
647 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
648 * testsuite/ld-arm/cmse-new-implib.out: New file.
649 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
650 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
651 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
652 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
653 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
654 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
656 2016-08-25 Alan Modra <amodra@gmail.com>
658 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
659 support for BE. First output all target endian configury
660 values, then opposite endian. Handle more tooldirs. Fix
661 bogus matches with strings in MANUF-OS part of target triple.
663 2016-08-23 Alan Modra <amodra@gmail.com>
665 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
668 2016-08-19 Nick Clifton <nickc@redhat.com>
670 * emultempl/aarch64elf.em (before_parse): Initialise the relro
671 field in the link_info structure.
672 * emultempl/armelf.em (before_parse): Likewise.
673 * emultempl/linux.em (before_parse): Likewise.
674 * emultempl/scoreelf.em (before_parse): Likewise.
676 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
677 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
678 * testsuite/ld-alpha/tlspic.rd: Likewise.
679 * testsuite/ld-cris/libdso-2.d: Likewise.
680 * testsuite/ld-i386/nogot1.d: Likewise.
681 * testsuite/ld-i386/pr12718.d: Likewise.
682 * testsuite/ld-i386/pr12921.d: Likewise.
683 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
684 * testsuite/ld-i386/tlsbin.rd: Likewise.
685 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
686 * testsuite/ld-i386/tlsbin2.rd: Likewise.
687 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
688 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
689 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
690 * testsuite/ld-i386/tlsdesc.rd: Likewise.
691 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
692 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
693 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
694 * testsuite/ld-i386/tlsnopic.rd: Likewise.
695 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
696 * testsuite/ld-i386/tlspic.rd: Likewise.
697 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
698 * testsuite/ld-i386/tlspic2.rd: Likewise.
699 * testsuite/ld-ia64/tlsbin.rd: Likewise.
700 * testsuite/ld-ia64/tlspic.rd: Likewise.
701 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
702 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
703 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
704 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
705 * testsuite/ld-mmix/bspec1.d: Likewise.
706 * testsuite/ld-mmix/bspec2.d: Likewise.
707 * testsuite/ld-mmix/local1.d: Likewise.
708 * testsuite/ld-mmix/local3.d: Likewise.
709 * testsuite/ld-mmix/local5.d: Likewise.
710 * testsuite/ld-mmix/local7.d: Likewise.
711 * testsuite/ld-mmix/undef-3.d: Likewise.
712 * testsuite/ld-powerpc/tlsexe.r: Likewise.
713 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
714 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
715 * testsuite/ld-powerpc/tlsso.r: Likewise.
716 * testsuite/ld-powerpc/tlsso32.r: Likewise.
717 * testsuite/ld-powerpc/tlstocso.r: Likewise.
718 * testsuite/ld-s390/tlsbin.rd: Likewise.
719 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
720 * testsuite/ld-s390/tlspic.rd: Likewise.
721 * testsuite/ld-s390/tlspic_64.rd: Likewise.
722 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
723 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
724 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
725 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
726 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
727 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
728 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
729 * testsuite/ld-sh/tlsbin-2.d: Likewise.
730 * testsuite/ld-sh/tlspic-2.d: Likewise.
731 * testsuite/ld-sparc/gotop32.rd: Likewise.
732 * testsuite/ld-sparc/gotop64.rd: Likewise.
733 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
734 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
735 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
736 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
737 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
738 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
739 * testsuite/ld-tic6x/common.d: Likewise.
740 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
741 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
742 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
743 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
744 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
745 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
746 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
747 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
748 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
749 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
750 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
751 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
752 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
753 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
754 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
755 * testsuite/ld-x86-64/nogot1.d: Likewise.
756 * testsuite/ld-x86-64/pr12718.d: Likewise.
757 * testsuite/ld-x86-64/pr12921.d: Likewise.
758 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
759 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
760 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
761 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
762 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
763 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
764 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
765 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
766 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
767 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
768 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
769 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
770 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
771 * testsuite/ld-x86-64/tlspic.rd: Likewise.
772 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
773 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
774 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
775 * testsuite/ld-xtensa/tlspic.rd: Likewise.
777 2016-08-18 Alan Modra <amodra@gmail.com>
779 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
782 2016-08-12 Alan Modra <amodra@gmail.com>
784 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
785 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
786 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
787 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
788 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
789 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
790 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
791 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
792 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
793 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
794 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
795 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
796 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
798 2016-08-12 Alan Modra <amodra@gmail.com>
800 * testsuite/ld-undefined/weak-fundef.s: New.
801 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
802 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
803 much of old code. Use is_elf_format to select targets.
805 2016-08-11 Alan Modra <amodra@gmail.com>
808 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
810 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
812 2016-08-11 Nick Clifton <nickc@redhat.com>
815 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
816 testing remotely, check to see if target compiler is installed
817 before trying to run it.
819 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
822 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
825 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
827 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
829 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
831 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
832 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
833 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
835 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
837 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
839 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
842 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
844 (check_lto_available): Return 0 if check_gcc_plugin_enabled
846 (check_lto_fat_available): Likewise.
847 (check_lto_shared_available): Likewise.
849 2016-08-09 Roland McGrath <roland@hack.frob.com>
851 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
853 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
855 * emultempl/armelf.em (cmse_implib): Declare and define this new
857 (arm_elf_create_output_section_statements): Add new cmse_implib
859 (OPTION_CMSE_IMPLIB): Define macro.
860 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
861 (PARSE_AND_LIST_OPTIONS): Likewise.
862 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
863 * ld.texinfo (--cmse-implib): Document new option.
864 * testsuite/ld-arm/arm-elf.exp
865 (Secure gateway import library generation): New test.
866 (Secure gateway import library generation: errors): Likewise.
867 * testsuite/ld-arm/cmse-implib.s: New file.
868 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
869 * testsuite/ld-arm/cmse-implib.rd: Likewise.
871 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
873 * ld.texinfo (Placement of SG veneers): New concept entry.
874 * testsuite/ld-arm/arm-elf.exp
875 (Secure gateway veneers: no .gnu.sgstubs section): New test.
876 (Secure gateway veneers: wrong entry functions): Likewise.
877 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
878 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
879 * testsuite/ld-arm/cmse-veneers.s: New file.
880 * testsuite/ld-arm/cmse-veneers.d: Likewise.
881 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
882 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
883 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
884 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
886 2016-08-02 Nick Clifton <nickc@redhat.com>
889 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
891 * emulparams/shelf32.sh: Likewise.
892 * emulparams/shelf32.sh: Likewise.
893 * emulparams/shelf_nto.sh: Likewise.
894 * emulparams/shelf_nto.sh: Likewise.
895 * emulparams/shelf_vxworks.sh: Likewise.
896 * emulparams/shelf_vxworks.sh: Likewise.
897 * emulparams/shlelf32_linux.sh: Likewise.
898 * emulparams/shlelf32_linux.sh: Likewise.
899 * emulparams/shlelf_linux.sh: Likewise.
900 * emulparams/shlelf_linux.sh: Likewise.
901 * emulparams/shlelf_nto.sh: Likewise.
902 * emulparams/shlelf_nto.sh: Likewise.
904 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
906 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
907 patterns for branch compaction.
908 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
911 2016-07-27 Nick Clifton <nickc@redhat.com>
913 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
914 test to targets which support cfi.
916 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
918 * ldbuildid.c (generate_build_id): Warning fix.
920 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
922 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
923 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
924 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
925 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
927 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
929 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
931 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
933 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
935 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
937 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
939 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
941 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
943 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
945 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
947 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
949 * ldbuildid.c: Changes for MinGW32:
950 Include windows.h and rpcdce.h.
951 (validate_build_id_style): Allow "uuid" style.
952 (generate_build_id): Fill in id_bits using UuidCreate().
954 2016-07-25 Alan Modra <amodra@gmail.com>
956 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
957 and m32r. Correct comment. Relax ld -r match to account for
958 msp increased number of default sections.
960 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
962 * testsuite/ld-arc/got-01.d: New file.
963 * testsuite/ld-arc/got-01.s: New file.
965 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
967 * configure: Regenerated.
969 2016-07-21 Alan Modra <amodra@gmail.com>
971 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
972 "targets_to_xfail" parameter with "args".
973 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
974 all calls to run_ld_link_exec_tests.
975 * testsuite/ld-elf/dwarf.exp: Likewise.
976 * testsuite/ld-elf/indirect.exp: Likewise.
977 * testsuite/ld-elf/wrap.exp: Likewise.
978 * testsuite/ld-i386/i386.exp: Likewise.
979 * testsuite/ld-i386/no-plt.exp: Likewise.
980 * testsuite/ld-i386/tls.exp: Likewise.
981 * testsuite/ld-ifunc/ifunc.exp: Likewise.
982 * testsuite/ld-pie/pie.exp: Likewise.
983 * testsuite/ld-plugin/lto.exp: Likewise.
984 * testsuite/ld-size/size.exp: Likewise.
985 * testsuite/ld-x86-64/mpx.exp: Likewise.
986 * testsuite/ld-x86-64/no-plt.exp: Likewise.
987 * testsuite/ld-x86-64/tls.exp: Likewise.
988 * testsuite/ld-x86-64/x86-64.exp: Likewise.
989 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
990 xfails and simplify lists.
991 * testsuite/ld-elf/shared.exp: Likewise.
993 2016-07-21 Alan Modra <amodra@gmail.com>
995 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
996 parameter to pass list of xfails.
997 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
998 implib test formatting. Don't set .data start address.
999 * testsuite/ld-elf/implib.s: Remove first .bss directive and
1000 replace second one with equivalent .section directive.
1001 * testsuite/ld-elf/empty-implib.out: Add expected final error.
1002 * testsuite/ld-elf/implib.rd: Update.
1004 2016-07-20 Alan Modra <amodra@gmail.com>
1006 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
1008 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
1010 2016-07-19 Roland McGrath <roland@hack.frob.com>
1012 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
1013 * emulparams/aarch64elf32.sh: Likewise.
1015 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1017 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
1019 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1020 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1021 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1022 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1023 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1024 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1025 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1026 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1027 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1028 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1029 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1030 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1031 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1032 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1033 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1034 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1035 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1036 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1037 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1039 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1041 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1043 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1045 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1047 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1048 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1050 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1052 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1053 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1054 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1055 microMIPS BAL and MIPS16 instructions.
1056 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1058 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1059 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1060 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1061 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1062 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1063 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1064 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1065 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1066 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1068 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1070 * plugin.c (plugin_call_claim_file): Restore the file offset after
1071 an unsuccessful attempt to claim a file.
1072 * testplug.c (bytes_to_read_before_claim): New global.
1073 (record_read_length): New function, sets new global
1074 bytes_to_read_before_claim.
1075 (parse_option): Handle 'read:<NUMBER>' option.
1076 (onclaim_file): Read file content before checking for claim.
1077 * testsuite/ld-plugin/plugin-30.d: New file.
1078 * testsuite/ld-plugin/plugin.exp: Add new test.
1080 2016-07-16 Alan Modra <amodra@gmail.com>
1082 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1083 before bfd/plugin.h.
1084 (plugin_object_p): Use bfd_plugin_open_input.
1086 2016-07-16 Alan Modra <amodra@gmail.com>
1088 * ldlang.c (open_output): Replace bfd_search_for_target with
1089 bfd_iterate_over_targets. Localize vars.
1091 2016-07-16 Alan Modra <amodra@gmail.com>
1093 * ldlang.c: Don't include libbfd.h.
1094 * emultempl/nds32elf.em: Likewise.
1095 * emultempl/ppc64elf.em: Likewise.
1096 * emultempl/ppc32elf.em: Likewise.
1098 (params): Update init.
1099 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1100 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1101 * emultempl/sh64elf.em: Don't include libbfd.h.
1102 (after_allocation): Use ASSERT, not BFD_ASSERT.
1103 * emultempl/xtensaelf.em: Don't include libbfd.h.
1104 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1105 * Makefile.am: Update dependencies.
1106 * Makefile.in: Regenerate.
1108 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1109 Nick Clifton <nickc@redhat.com>
1111 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1112 library file for writing and initialize implib_bfd field of link_info
1114 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1115 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1116 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1117 (gld_${EMULATION_NAME}_list_options): Likewise.
1118 (gld${EMULATION_NAME}_handle_option): Likewise.
1119 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1120 instead of pe_implib_filename.
1121 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1122 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1123 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1124 (gld_${EMULATION_NAME}_list_options): Likewise.
1125 (gld${EMULATION_NAME}_handle_option): Likewise.
1126 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1127 instead of pep_implib_filename.
1128 * ld.h (args_type): Declare new out_implib_filename field.
1129 * ld.texinfo (--out-implib): Move documentation to arch-independent
1130 part and rephrase to apply to ELF targets.
1131 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1132 defined in linker scripts.
1133 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1135 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1136 (parse_args): Handle OPTION_OUT_IMPLIB case.
1137 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1138 (Generate import library): Likewise.
1139 * testsuite/ld-elf/implib.s: Likewise.
1140 * testsuite/ld-elf/implib.rd: New file.
1141 * testsuite/ld-elf/empty-implib.out: Likewise
1143 2016-07-15 Nick Clifton <nickc@redhat.com>
1145 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1148 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1150 * testsuite/ld-mips-elf/mips-elf.exp: Run
1151 `branch-absolute-addend', `mips16-branch-absolute',
1152 `mips16-branch-absolute-addend' and
1153 `micromips-branch-absolute-addend'.
1155 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1157 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1158 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1159 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1160 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1162 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1164 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1166 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1167 from `mips16-branch-absolute' and
1168 `mips16-branch-absolute-addend', referred indirectly only.
1170 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1172 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1173 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1174 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1175 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1176 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1177 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1178 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1179 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1181 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1183 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1185 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1187 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1189 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1190 from `branch-absolute-addend' and
1191 `micromips-branch-absolute-addend', referred indirectly only.
1193 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1195 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1196 * testsuite/ld-arc/sda-relocs.dd: New file.
1197 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1198 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1199 * testsuite/ld-arc/sda-relocs.s: Likewise.
1200 * testsuite/ld-arc/arc.exp: Add SDA tests.
1202 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1204 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1207 2016-07-09 Alan Modra <amodra@gmail.com>
1209 * testsuite/ld-powerpc/elfv2exe.d: Update.
1211 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1213 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1217 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1219 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1221 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1223 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1224 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1225 * testsuite/ld-arm/arm-elf.exp: Run it.
1227 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1229 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1230 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1231 all noread's by purecode.
1233 2016-07-05 Jan Beulich <jbeulich@suse.com>
1235 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1236 assignment line number.
1237 * ldlex.l (lineno): Drop initializer.
1238 (<<EOF>>): Set lineno to zero after reaching top of stack.
1240 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1243 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1244 been loaded already.
1245 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1246 * testsuite/ld-plugin/pr20321.c: New file.
1248 2016-07-04 Nick Clifton <nickc@redhat.com>
1250 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1251 (__RAMSIZE): If not defined, set to 64K.
1252 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1255 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1257 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1258 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1260 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1262 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1263 (Thumb-2 BL on ARMv6-M): New testcase.
1264 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1265 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1267 2016-07-01 Tristan Gingold <gingold@adacore.com>
1269 * NEWS: Add marker for 2.27.
1271 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1273 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1274 * ld-gc/pr20306.c: New file.
1275 * ld-gc/pr20306.d: Likewise.
1277 2016-06-28 Nick Clifton <nickc@redhat.com>
1279 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1281 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1282 tests to fail for bfin.
1283 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1285 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1287 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1290 2016-06-28 Nick Clifton <nickc@redhat.com>
1292 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1293 expect to fail this test.
1294 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1296 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1298 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1299 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1300 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1301 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1302 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1304 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1306 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1309 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1311 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1312 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1313 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1314 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1316 2016-06-28 Alan Modra <amodra@gmail.com>
1319 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1321 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1323 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1324 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1325 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1326 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1327 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1328 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1330 2016-06-27 Nick Clifton <nickc@redhat.com>
1333 * lexsup.c (set_segment_start): If resetting the start address of
1334 a section, remember to generate a new script element as well.
1335 * testsuite/ld-scripts/pr20302.d: New test.
1336 * testsuite/ld-scripts/scripts.exp: Run the new test.
1338 2016-06-24 Alan Modra <amodra@gmail.com>
1340 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1341 Don't error out, always return an emulation.
1343 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1344 H.J. Lu <hongjiu.lu@intel.com>
1346 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1347 for -z relro help message.
1349 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1351 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1354 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1356 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1357 `undefweak-overflow' tests.
1359 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1362 * NEWS: Mention --enable-relro.
1363 * configure.ac: Add --enable-relro.
1364 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1365 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1367 * config.in: Regenerated.
1368 * configure: Likewise.
1369 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1370 link_info.relro to DEFAULT_LD_Z_RELRO.
1371 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1372 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1373 $ld_elf_shared_opt to ld for ELF targets with shared object
1375 (run_ld_link_tests): Likewise.
1377 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1379 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1380 twice rather than once.
1381 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1382 accordingly. Remove the full stop from the end of the message.
1384 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1386 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1387 * testsuite/ld-arc/nps-1b.d: Likewise.
1389 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1392 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1394 (lto_run_tests): Likewise.
1395 * testsuite/ld-plugin/pr20267a.c: New file.
1396 * testsuite/ld-plugin/pr20267b.c: Likewise.
1398 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1399 Alan Modra <amodra@gmail.com>
1402 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1403 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1405 (lto_run_tests): Likewise.
1406 * testsuite/ld-plugin/pass.out: New file.
1407 * testsuite/ld-plugin/pr20276a.c: Likewise.
1408 * testsuite/ld-plugin/pr20276b.c: Likewise.
1410 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1412 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1413 with bfd_plugin_unknown.
1415 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1418 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1419 * testsuite/ld-i386/no-plt.exp: Likewise.
1420 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1421 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1422 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1423 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1424 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1425 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1426 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1427 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1428 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1429 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1430 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1431 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1432 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1433 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1434 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1435 * testsuite/ld-i386/pr20244-2b.d: Updated.
1436 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1437 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1438 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1439 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1440 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1441 * testsuite/ld-i386/pr20253-1a.c: New file.
1442 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1443 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1444 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1445 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1446 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1447 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1448 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1449 * testsuite/ld-i386/pr20253-3.d: Likewise.
1450 * testsuite/ld-i386/pr20253-3.s: Likewise.
1451 * testsuite/ld-i386/pr20253-4.s: Likewise.
1452 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1453 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1454 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1455 * testsuite/ld-i386/pr20253-5.d: Likewise.
1456 * testsuite/ld-i386/pr20253-5.s: Likewise.
1457 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1458 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1459 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1460 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1461 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1462 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1463 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1464 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1465 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1466 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1467 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1468 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1469 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1470 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1471 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1472 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1473 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1474 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1475 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1476 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1477 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1478 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1479 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1480 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1481 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1482 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1483 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1484 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1485 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1486 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1487 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1488 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1489 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1490 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1491 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1492 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1493 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1494 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1495 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1496 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1497 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1498 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1500 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1501 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1502 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1503 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1504 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1506 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1507 Tony Wang <tony.wang@arm.com>
1509 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1510 Assemble for ARMv6-M.
1511 (Thumb2-Thumb2 farcall M profile): New testcase.
1512 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1513 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1514 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1515 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1517 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1519 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1520 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1521 Remove .rel.plt section.
1522 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1524 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1526 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1528 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1529 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1530 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1532 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1533 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1534 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1535 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1536 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1537 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1538 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1539 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1540 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1541 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1542 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1543 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1544 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1545 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1546 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1547 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1548 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1549 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1550 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1552 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1555 * testsuite/ld-avr/avr-prop-6.d: New test.
1556 * testsuite/ld-avr/avr-prop-6.s: New test.
1558 2016-06-14 Alan Modra <amodra@gmail.com>
1560 * ldbuildid.c: Formatting.
1561 * ldcref.c: Formatting.
1562 * ldctor.c: Formatting.
1563 * ldemul.c: Formatting.
1564 * ldexp.c: Formatting.
1565 * ldfile.c: Formatting.
1566 * ldlang.c: Formatting.
1567 * ldmain.c: Formatting.
1568 * ldwrite.c: Formatting.
1570 2016-06-14 Alan Modra <amodra@gmail.com>
1572 * ldlang.c: Expand uses of bfd_my_archive.
1573 * ldmain.c: Likewise.
1574 * ldmisc.c: Likewise.
1575 * plugin.c: Likewise.
1577 2016-06-14 Alan Modra <amodra@gmail.com>
1580 * ldmain.c (add_archive_element): Just print file name of file within
1582 * ldmisc.c (vfinfo): Likewise.
1583 * plugin.c (plugin_object_p): Open file within thin archives.
1584 (plugin_maybe_claim): Expand comment.
1586 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1589 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1590 pr20244-2c and pr20244-2d.
1591 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1592 * testsuite/ld-i386/pr20244-2.s: New file.
1593 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1594 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1595 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1596 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1597 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1598 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1599 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1600 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1602 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1604 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1605 * testsuite/ld-i386/ifunc-1a.c: New file.
1606 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1607 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1608 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1610 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1612 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1613 big endian ARC targets.
1615 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1617 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1618 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1619 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1620 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1621 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1622 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1623 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1624 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1625 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1626 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1627 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1628 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1629 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1630 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1631 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1633 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1636 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1637 * testsuite/ld-i386/pr20244-1.s: New file.
1638 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1639 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1640 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1642 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1645 * testsuite/ld-avr/avr-prop-5.d: New.
1646 * testsuite/ld-avr/avr-prop-5.s: New.
1648 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1650 * testsuite/ld-avr/lds-mega.d: New test.
1651 * testsuite/ld-avr/lds-mega.s: New test source.
1652 * testsuite/ld-avr/lds-tiny.d: New test.
1653 * testsuite/ld-avr/lds-tiny.s: New test source.
1655 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1657 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1658 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1659 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1660 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1661 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1662 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1663 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1664 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1665 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1666 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1667 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1668 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1669 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1670 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1671 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1672 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1673 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1674 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1675 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1676 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1677 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1678 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1679 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1680 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1681 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1682 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1683 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1684 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1685 * testsuite/ld-i386/no-plt.exp: Likewise.
1687 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1689 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1692 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1694 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1695 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1696 * testsuite/ld-i386/pass.out: New file.
1697 * testsuite/ld-i386/tls-def1.c: Likewise.
1698 * testsuite/ld-i386/tls-gd1.S: Likewise.
1699 * testsuite/ld-i386/tls-ld1.S: Likewise.
1700 * testsuite/ld-i386/tls-main1.c: Likewise.
1701 * testsuite/ld-i386/tls.exp: Likewise.
1702 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1703 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1704 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1705 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1706 * testsuite/ld-i386/tlsbin2.td: Likewise.
1707 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1708 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1709 * testsuite/ld-i386/tlsgd3.s: Likewise.
1710 * testsuite/ld-i386/tlsgd4.d: Likewise.
1711 * testsuite/ld-i386/tlsgd4.s: Likewise.
1712 * testsuite/ld-i386/tlsld2.s: Likewise.
1713 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1714 * testsuite/ld-i386/tlspic2.dd: Likewise.
1715 * testsuite/ld-i386/tlspic2.rd: Likewise.
1716 * testsuite/ld-i386/tlspic2.sd: Likewise.
1717 * testsuite/ld-i386/tlspic2.td: Likewise.
1718 * testsuite/ld-i386/tlspic3.s: Likewise.
1719 * testsuite/ld-i386/tlspie3.s: Likewise.
1720 * testsuite/ld-i386/tlspie3a.d: Likewise.
1721 * testsuite/ld-i386/tlspie3b.d: Likewise.
1722 * testsuite/ld-i386/tlspie3c.d: Likewise.
1724 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1726 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1727 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1728 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1729 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1730 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1731 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1732 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1733 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1735 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1737 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1738 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1739 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1740 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1741 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1742 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1743 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1744 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1745 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1746 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1747 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1748 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1749 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1750 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1751 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1752 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1753 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1754 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1755 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1756 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1757 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1759 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1761 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1763 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1765 * testsuite/ld-s390/pltoffset-1.dd: New test.
1766 * testsuite/ld-s390/pltoffset-1.ld: New test.
1767 * testsuite/ld-s390/pltoffset-1.s: New test.
1768 * testsuite/ld-s390/s390.exp: Run new test.
1770 2016-06-07 Alan Modra <amodra@gmail.com>
1772 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1773 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1774 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1776 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1778 * testsuite/ld-x86-64/pass.out: New file.
1779 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1780 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1781 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1782 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1783 * testsuite/ld-x86-64/tls.exp: Likewise.
1784 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1785 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1786 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1787 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1788 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1789 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1790 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1791 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1792 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1793 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1794 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1795 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1796 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1797 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1798 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1799 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1800 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1801 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1802 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1803 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1804 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1805 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1806 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1807 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1808 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1809 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1810 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1811 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1812 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1813 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1814 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1815 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1816 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1817 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1818 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1819 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1820 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1821 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1822 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1823 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1824 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1827 2016-06-04 Christian Groessler <chris@groessler.org>
1829 * testsuite/ld-z8k/0filler.s: New file.
1830 * testsuite/ld-z8k/branch-target.s: New file.
1831 * testsuite/ld-z8k/branch-target2.s: New file.
1832 * testsuite/ld-z8k/calr-back-8001.d: New file.
1833 * testsuite/ld-z8k/calr-back-8002.d: New file.
1834 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1835 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1836 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1837 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1838 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1839 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1840 * testsuite/ld-z8k/calr-opcode.s: New file.
1841 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1842 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1843 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1844 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1845 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1846 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1847 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1848 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1849 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1850 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1851 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1852 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1853 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1854 * testsuite/ld-z8k/djnz-opcode.s: New file.
1855 * testsuite/ld-z8k/filler.s: New file.
1856 * testsuite/ld-z8k/jr-back-8001.d: New file.
1857 * testsuite/ld-z8k/jr-back-8002.d: New file.
1858 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1859 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1860 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1861 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1862 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1863 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1864 * testsuite/ld-z8k/jr-opcode.s: New file.
1865 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1866 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1867 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1868 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1869 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1870 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1871 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1872 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1873 * testsuite/ld-z8k/ldr-opcode.s: New file.
1874 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1875 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1876 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1877 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1878 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1879 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1880 * testsuite/ld-z8k/other-file.s: New file.
1881 * testsuite/ld-z8k/reloc.dd: New file.
1882 * testsuite/ld-z8k/reloc.ld: New file.
1883 * testsuite/ld-z8k/relocseg.dd: New file.
1884 * testsuite/ld-z8k/relocseg.ld: New file.
1885 * testsuite/ld-z8k/relocseg1.dd: New file.
1886 * testsuite/ld-z8k/this-file.s: New file.
1887 * testsuite/ld-z8k/z8k.exp: New file.
1889 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1891 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1892 with -mrelax-relocations=yes.
1893 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1894 * testsuite/ld-i386/lea1b.d (as): Likewise.
1895 * testsuite/ld-i386/lea1d.d (as): Likewise.
1896 * testsuite/ld-i386/lea1e.d (as): Likewise.
1897 * testsuite/ld-i386/lea1f.d (as): Likewise.
1898 * testsuite/ld-i386/load7.d (as): Likewise.
1899 * testsuite/ld-i386/mov1b.d (as): Likewise.
1900 * testsuite/ld-i386/pr19175.d (as): Likewise.
1901 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1902 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1903 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1904 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1905 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1907 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1909 * configure.tgt: Replace -uclibc with *.
1911 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1913 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1914 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1915 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1916 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1918 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1920 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1921 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1922 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1923 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1924 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1925 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1927 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1929 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1930 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1931 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1932 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1933 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1934 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1935 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1937 2016-05-28 Alan Modra <amodra@gmail.com>
1939 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1940 constructor_callback, warning_callback, undefined_symbol,
1941 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1942 * emultempl/elf32.em: Adjust callback calls.
1944 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1946 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1947 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1948 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1950 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1952 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1954 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1956 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1958 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1960 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1962 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1964 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1965 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1967 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1969 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1971 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1972 `unaligned-jalx-2' here.
1973 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1974 `unaligned-jalx-mips16-2' here.
1975 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1976 `unaligned-jalx-micromips-2' here.
1977 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1978 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1980 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1981 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1982 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1983 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1984 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1986 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1987 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1988 `unaligned-lwpc-3' here.
1989 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1990 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1991 `unaligned-lwpc-2' here.
1992 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1993 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1994 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1995 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1996 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1997 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1998 `unaligned-ldpc-4' here.
1999 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
2000 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
2001 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
2002 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
2003 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
2004 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
2005 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
2006 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
2007 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
2008 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
2009 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
2011 2016-05-26 Nick Clifton <nickc@redhat.com>
2014 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
2016 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
2018 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
2020 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
2021 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
2022 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2023 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2024 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2025 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2026 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2027 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2028 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2029 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2030 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2031 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2032 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2033 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2034 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2035 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2036 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2037 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2038 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2039 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2040 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2041 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2042 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2043 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2044 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2045 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2046 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2047 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2048 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2049 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2050 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2051 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2052 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2054 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2057 * ldmain.c (add_archive_element): Don't claim new IR symbols
2058 after all IR symbols have been claimed.
2059 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2061 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2062 Run PR ld/20103 tests.
2063 * testsuite/ld-plugin/pr20103a.c: New file.
2064 * testsuite/ld-plugin/pr20103b.c: Likewise.
2065 * testsuite/ld-plugin/pr20103c.c: Likewise.
2067 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2069 * testsuite/ld-mips-elf/jalx-local.d: New test.
2070 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2071 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2072 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2074 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2076 * Makefile.am: Add earmelf_phoenix.c.
2077 * Makefile.in: Regenerate.
2078 * configure.tgt: Add entry for arm-phoenix.
2079 * emulparams/armelf_phoenix.sh: New file.
2081 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2083 * emultempl/armelf.em (arm_elf_before_allocation): Call
2084 bfd_elf32_arm_keep_private_stub_output_sections before generic
2085 before_allocation function.
2087 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2089 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2090 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2091 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2092 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2094 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2097 * testsuite/ld-i386/i386.exp: Run pr20117.
2098 * testsuite/ld-i386/pr19609-1i.d: Updated.
2099 * testsuite/ld-i386/pr20117.d: New file.
2100 * testsuite/ld-i386/pr20117.s: Likewise.
2102 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2104 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2105 * testsuite/ld-elf/group8a.d: Likewise.
2106 * testsuite/ld-elf/group8b.d: Likewise.
2107 * testsuite/ld-elf/group9a.d: Likewise.
2108 * testsuite/ld-elf/group9b.d: Likewise.
2109 * testsuite/ld-elf/pr12851.d: Likewise.
2110 * testsuite/ld-elf/pr12975.d: Likewise.
2111 * testsuite/ld-elf/pr13177.d: Likewise.
2112 * testsuite/ld-elf/pr13195.d: Likewise.
2113 * testsuite/ld-elf/pr17615.d: Likewise.
2114 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2115 * testsuite/ld-elf/group3b.d: Likewise.
2116 * testsuite/ld-srec/srec.exp: Likewise.
2117 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2119 (check_shared_lib_support): Mark ARC as supporting.
2121 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2123 * emulparams/arcelf.sh: Changed.
2124 * emulparams/arclinux.sh: Likewise.
2125 * scripttempl/arclinux.sc: Moved to a more standard implementation
2128 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2130 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2131 `ft32-*-*' behind `frv-*-*'.
2133 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2135 * configure.tgt: Remove `am34-*-linux*' support.
2137 2016-05-19 Alan Modra <amodra@gmail.com>
2139 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2140 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2141 * testsuite/ld-scripts/cross3.t: Likewise.
2142 * testsuite/ld-scripts/cross4.t: Likewise.
2143 * testsuite/ld-scripts/cross5.t: Likewise.
2144 * testsuite/ld-scripts/cross6.t: Likewise.
2145 * testsuite/ld-scripts/cross7.t: Likewise.
2147 2016-05-19 Alan Modra <amodra@gmail.com>
2149 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2150 exe name rather than constructing testname. Fix typo in
2151 sub-test name. Log copying. Use -rpath rather than -R.
2153 2016-05-18 Nick Clifton <nickc@redhat.com>
2155 * scripttempl/ft32.sc: Use fixed constants for memory region
2156 lengths. Include DWARF debug sections.
2157 (.data .bss): Do not assign locations during relocatable links.
2158 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2159 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2160 * testsuite/ld-elf/sec64k.exp: Likewise.
2161 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2162 * testsuite/ld-elf/merge.d: Likewise.
2163 * testsuite/ld-elf/orphan-region.d: Likewise.
2164 * testsuite/ld-elf/orphan.s: Likewise.
2165 * testsuite/ld-elf/orphan3.d: Likewise.
2166 * testsuite/ld-elf/pr349.d: Likewise.
2167 * testsuite/ld-elf/warn2.d: Likewise.
2168 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2169 that the FT32 does not support shared libraries.
2171 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2173 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2176 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2178 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2180 * scripttempl/avrtiny.sc (text): Likewise.
2182 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2184 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2185 `supports_gnu_unique' to qualify testing.
2187 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2189 * testsuite/ld-elf/flags1.d: Update the xfail list.
2191 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2193 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2196 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2199 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2200 on EXPECTED_VIEW_LENGTH.
2201 * testplug4.c (onall_symbols_read): Likewise.
2203 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2206 * testsuite/ld-x86-64/pr20093-1.d: New file.
2207 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2208 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2209 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2210 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2212 2016-05-13 Alan Modra <amodra@gmail.com>
2214 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2215 Use different output file name for static app without .rel.plt.
2216 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2217 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2218 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2219 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2220 * testsuite/ld-arm/arm-static-app.r: Likewise.
2222 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2225 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2226 (libldtestplug4_la_SOURCES): New.
2227 (libldtestplug4_la_CFLAGS): Likewise.
2228 (libldtestplug4_la_LDFLAGS): Likewise.
2229 * Makefile.in: Regenerated.
2230 * plugin.c (get_symbols): Return resolution based on IR symbol
2231 kinds for symbols defined/referenced only within IR.
2232 * testplug4.c: New file.
2233 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2234 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2235 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2236 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2237 (plugin4_path): Likewise.
2238 Add a test for ld/20070.
2240 2016-05-11 Alan Modra <amodra@gmail.com>
2242 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2243 Call elf32_hppa_init_stub_bfd.
2245 2016-05-11 Alan Modra <amodra@gmail.com>
2248 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2249 * testsuite/ld-powerpc/tlsdll.s: New.
2250 * testsuite/ld-powerpc/tlsdll.ver: New.
2251 * testsuite/ld-powerpc/tlsdll_32.s: New.
2252 * testsuite/ld-powerpc/tlsopt5.d: New.
2253 * testsuite/ld-powerpc/tlsopt5.s: New.
2254 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2255 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2257 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2259 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2260 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2262 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2264 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2265 parameter and rename input_section parameter to after_input_section.
2266 Append input stub section to the output section if after_input_section
2269 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2271 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2273 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2274 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2276 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2278 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2280 2016-05-09 Christophe Monat <christophe.monat@st.com>
2283 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2284 tests. Fix misnamed stm32l4xx-fix-all.
2285 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2286 loads with DP registers.
2287 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2288 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2289 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2290 loads with DP registers.
2291 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2293 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2295 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2297 (xfail): Remove avr-*-*.
2298 Update regex to check the section flags.
2299 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2301 2016-05-09 Alan Modra <amodra@gmail.com>
2303 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2304 * Makefile.in: Regenerate.
2306 2016-05-09 Alan Modra <amodra@gmail.com>
2308 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2309 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2310 * testsuite/ld-scripts/section-match-1.t: Likewise.
2312 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2315 * testsuite/ld-elf/pr17550-1.s: New file.
2316 * testsuite/ld-elf/pr17550-2.s: Likewise.
2317 * testsuite/ld-elf/pr17550-3.s: Likewise.
2318 * testsuite/ld-elf/pr17550-4.s: Likewise.
2319 * testsuite/ld-elf/pr17550a.d: Likewise.
2320 * testsuite/ld-elf/pr17550b.d: Likewise.
2321 * testsuite/ld-elf/pr17550c.d: Likewise.
2322 * testsuite/ld-elf/pr17550d.d: Likewise.
2324 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2326 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2328 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2330 * testsuite/ld-i386/i386.exp: Run load7.
2331 * testsuite/ld-i386/load7.d: New file.
2332 * testsuite/ld-i386/load7.map: Likewise.
2333 * testsuite/ld-i386/load7.s: Likewise.
2334 * testsuite/ld-x86-64/load2.d: Likewise.
2335 * testsuite/ld-x86-64/load2.map: Likewise.
2336 * testsuite/ld-x86-64/load2.s: Likewise.
2337 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2339 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2341 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2342 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2344 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2347 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2349 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2351 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2353 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2355 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2357 * testsuite/ld-unique/unique.d: New test.
2358 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2359 messages for compiled tests.
2361 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2363 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2364 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2365 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2366 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2367 plugin_tests only if check_shared_lib_support is true.
2368 * testsuite/ld-selective/selective.exp: Add --section-start
2371 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2374 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2376 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2378 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2379 * NEWS: Mention --no-apply-dynamic-relocs.
2380 * ld.texinfo (ld and the ARM family): Document
2381 --no-apply-dynamic-relocs.
2382 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2383 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2384 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2385 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2388 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2390 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2391 before running STT_COMMON tests.
2393 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2395 * config/default.exp (NOPIE_CFLAGS): Download source only on
2397 (NOPIE_LDFLAGS): Likewise.
2398 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2399 (check_lto_fat_available): Likewise.
2400 (check_lto_shared_available): Likewise.
2401 (check_ifunc_available): Likewise.
2402 (check_ifunc_attribute_available): Likewise.
2404 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2406 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2408 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2411 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2412 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2415 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2417 * testsuite/ld-elf/compressed1b.d: Pass
2418 --compress-debug-sections=none to ld.
2419 * testsuite/ld-elf/compressed1c.d: Likewise.
2421 2016-04-27 Alan Modra <amodra@gmail.com>
2424 * configure.tgt: Don't use var+=.
2426 2016-04-25 Nick Clifton <nickc@redhat.com>
2429 * configure.tgt: Include big endian PPC64 emulations with little
2430 endian PPC64 targets.
2432 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2434 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2436 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2438 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2439 Linux with GCC 4.9 or newer.
2440 (check_lto_fat_available): Likewise.
2441 (check_lto_shared_available): Likewise.
2443 2016-04-21 Nick Clifton <nickc@redhat.com>
2445 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2446 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2447 targets. Do not stop the checks when problems are encountered.
2449 2016-04-21 Alan Modra <amodra@gmail.com>
2451 * testsuite/ld-scripts/cross3.t: Add commonly used data
2452 and text section names to output section statements.
2453 * testsuite/ld-scripts/cross4.t: Likewise.
2454 * testsuite/ld-scripts/cross5.t: Likewise.
2455 * testsuite/ld-scripts/cross6.t: Likewise.
2456 * testsuite/ld-scripts/cross7.t: Likewise.
2458 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2460 * ldlang.c (lang_check_relocs): New function.
2461 (lang_process): Call lang_check_relocs after lang_gc_sections.
2462 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2463 call _bfd_elf_link_check_relocs here.
2465 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2468 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2469 R_386_NONE or R_X86_64_NONE.
2471 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2473 * testsuite/ld-x86-64/pic1.d: New file.
2474 * testsuite/ld-x86-64/pic1.s: Likewise.
2475 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2477 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2479 * testsuite/ld-x86-64/pie2.d: New file.
2480 * testsuite/ld-x86-64/pie2.s: Likewise.
2481 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2483 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2486 * testsuite/ld-x86-64/pr19969.d: New file.
2487 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2488 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2489 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2491 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2493 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2495 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2497 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2499 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2501 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2503 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2505 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2507 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2509 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2510 Set check_relocs_after_open_input to TRUE if
2511 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2512 (gld${EMULATION_NAME}_after_open): Call
2513 _bfd_elf_link_check_relocs on all inputs if
2514 check_relocs_after_open_input is TRUE.
2516 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2518 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2521 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2523 * emultempl/scoreelf.em: Likewise.
2525 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2528 * testsuite/ld-x86-64/pr19719.d: New file.
2529 * testsuite/ld-x86-64/pr19719.s: Likewise.
2530 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2532 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2534 * ld.texinfo: Document NOCROSSREFS_TO script command.
2535 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2536 (lang_add_nocrossref_to): New prototype.
2537 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2538 symbols defined in the first section.
2539 (check_nocrossref): Likewise.
2540 * ldgram.y (NOCROSSREFS_TO): New script command.
2541 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2542 (lang_add_nocrossref_to): New function.
2543 * ldlex.l (NOCROSSREFS_TO): New token.
2544 * NEWS: Mention NOCROSSREFS_TO.
2545 * testsuite/ld-scripts/cross4.t: New file.
2546 * testsuite/ld-scripts/cross5.t: Likewise.
2547 * testsuite/ld-scripts/cross6.t: Likewise.
2548 * testsuite/ld-scripts/cross7.t: Likewise.
2549 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2552 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2554 * Makefile.in: Regenerated with automake 1.11.6.
2555 * aclocal.m4: Likewise.
2557 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2559 * testsuite/ld-arc/arc.exp: New file.
2560 * testsuite/ld-arc/nps-1.s: New file.
2561 * testsuite/ld-arc/nps-1a.d: New file.
2562 * testsuite/ld-arc/nps-1b.d: New file.
2563 * testsuite/ld-arc/nps-1b.err: New file.
2565 2016-04-14 Nick Clifton <nickc@redhat.com>
2568 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2569 exceptions for Mingw and Cygwin.
2571 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2573 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2576 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2579 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2580 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2583 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2586 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2587 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2588 * testsuite/ld-i386/pr19939.s: New file.
2589 * testsuite/ld-i386/pr19939a.d: Likewise.
2590 * testsuite/ld-i386/pr19939b.d: Likewise.
2591 * testsuite/ld-x86-64/pr19939.s: Likewise.
2592 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2593 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2595 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2597 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2599 2016-04-08 Alan Modra <amodra@gmail.com>
2602 * ldlang.c (maybe_overlays): Delete.
2603 (lang_size_sections_1): Remove code setting maybe_overlays.
2604 (lang_check_section_addresses): Instead detect overlays by
2605 exact match of section VMAs here. Fix memory leak.
2607 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2609 * ldlang.c (print_output_section_statement): Show minfo size
2610 in target machine address units.
2611 (print_reloc_statement): Likewise.
2612 (print_padding_statement): Likewise.
2613 (print_data_statement): Likewise. Ensure minimum print_dot
2614 increment of one address unit.
2616 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2618 * emulparams/arc-endianness.sh: Make little endian default choice.
2620 2016-04-07 Nick Clifton <nickc@redhat.com>
2622 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2624 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2626 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2628 * emulparams/arc-endianness.sh: New file.
2629 * emulparams/arcebelf.sh: Deleted.
2630 * emulparams/arcebelf_prof.sh: Deleted.
2631 * emulparams/arceblinux.sh: Deleted.
2632 * emulparams/arceblinux_prof.sh: Deleted.
2633 * emulparams/arcelf.sh: Include arc-endinness.sh.
2634 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2635 * emulparams/arclinux.sh: Include arc-endinness.sh.
2636 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2637 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2638 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2639 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2640 little endian arc targets.
2641 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2642 * testsuite/ld-elf/group1.d: Likewise.
2643 * testsuite/ld-elf/group3b.d: Likewise.
2644 * testsuite/ld-elf/group8a.d: Likewise.
2645 * testsuite/ld-elf/group8b.d: Likewise.
2646 * testsuite/ld-elf/group9a.d: Likewise.
2647 * testsuite/ld-elf/group9b.d: Likewise.
2648 * testsuite/ld-elf/linkonce2.d: Likewise.
2649 * testsuite/ld-elf/pr12851.d: Likewise.
2650 * testsuite/ld-elf/pr12975.d: Likewise.
2651 * testsuite/ld-elf/pr13177.d: Likewise.
2652 * testsuite/ld-elf/pr13195.d: Likewise.
2653 * testsuite/ld-elf/pr17615.d: Likewise.
2654 * testsuite/ld-elf/pr19162.d: Likewise.
2655 * testsuite/ld-elf/sec64k.exp: Likewise.
2656 * testsuite/lib/ld-lib.exp: Likewise.
2658 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2661 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2663 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2664 * testsuite/ld-cris/tls-e-21.d: Likewise.
2665 * testsuite/ld-cris/tls-e-23.d: Likewise.
2666 * testsuite/ld-cris/tls-e-80.d: Likewise.
2667 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2668 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2669 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2670 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2671 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2672 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2673 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2674 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2675 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2676 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2678 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2680 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2681 * testsuite/ld-discard/start.d: Likewise.
2682 * testsuite/ld-discard/static.d: Likewise.
2683 * testsuite/ld-elf/group1.d: Likewise.
2684 * testsuite/ld-elf/group3b.d: Likewise.
2685 * testsuite/ld-elf/orphan-region.d: Likewise.
2686 * testsuite/ld-elf/orphan.d: Likewise.
2687 * testsuite/ld-elf/orphan3.d: Likewise.
2688 * testsuite/ld-elf/pr349.d: Likewise.
2689 * testsuite/ld-elf/warn1.d: Likewise.
2690 * testsuite/ld-elf/warn2.d: Likewise.
2691 * testsuite/ld-elf/warn3.d: Likewise.
2692 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2693 through linker flags.
2694 * testsuite/ld-srec/srec.exp: Set as xfail.
2696 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2699 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2700 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2702 2016-04-04 Nick Clifton <nickc@redhat.com>
2705 * emultempl/pe.em (change_undef): New function. Encapsulates
2706 duplicated code in pe_fixup_stdcalls and adds the newly defined
2707 sym to the gc root list.
2708 (pe_fixup_stdcall): Use the new function.
2709 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2710 symbol to gc root list.
2712 2016-03-31 Alan Modra <amodra@gmail.com>
2714 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2715 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2716 (print_input_section): Don't use TO_ADDR when printing section
2718 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2719 (lang_size_sections): Use TO_ADDR in relro end calculation.
2721 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2723 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2724 value from regexp_diff.
2725 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2726 * testsuite/ld-elf/orphan-6.l: Likewise.
2728 2016-03-30 Alan Modra <amodra@gmail.com>
2731 * ldlang.c (maybe_overlays): New static var.
2732 (lang_size_sections_1): Set it here.
2733 (struct check_sec): New.
2734 (sort_sections_by_lma): Adjust for array of structs.
2735 (sort_sections_by_vma): New function.
2736 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2737 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2739 2016-03-30 Alan Modra <amodra@gmail.com>
2741 * ldlang.c (lang_size_sections_1): Correct code detecting a
2742 backward non-overlapping move.
2744 2016-03-30 Alan Modra <amodra@gmail.com>
2746 * ldlang.c (IS_TBSS): New macro, extracted from..
2747 (IGNORE_SECTION): ..here.
2748 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2749 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2751 2016-03-22 Nick Clifton <nickc@redhat.com>
2754 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2755 symbol name to the list of gc symbols.
2756 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2757 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2758 and fini function names.
2759 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2761 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2762 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2764 2016-03-22 Nick Clifton <nickc@redhat.com>
2766 * configure: Regenerate.
2768 2016-03-21 Nick Clifton <nickc@redhat.com>
2770 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2771 * plugin.c: Likewise.
2772 * pe-dll.c: Likewise.
2774 2016-03-18 Awson <kyrab@mail.ru>
2777 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2779 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2781 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2783 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2785 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2788 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2789 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2790 * testsuite/ld-i386/pr19827.rd: New file.
2791 * testsuite/ld-i386/pr19827a.S: Likewise.
2792 * testsuite/ld-i386/pr19827b.S: Likewise.
2793 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2794 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2795 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2797 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2800 * Makefile.am (ELF_X86_DEPS): Add
2801 $(srcdir)/emulparams/reloc_overflow.sh.
2802 * Makefile.in: Regenerated.
2803 * NEWS: Mention -z noreloc-overflow.
2804 * ld.texinfo: Document -z noreloc-overflow.
2805 * emulparams/elf32_x86_64.sh: Source
2806 ${srcdir}/emulparams/reloc_overflow.sh.
2807 * emulparams/elf_x86_64.sh: Likewise.
2808 * emulparams/reloc_overflow.sh: New file.
2809 * testsuite/ld-x86-64/pr19807-1.s: New file.
2810 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2811 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2812 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2813 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2814 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2815 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2816 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2817 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2818 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2820 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2823 * testsuite/ld-i386/i386.exp: Run pr19539.
2824 * testsuite/ld-i386/pr19539.d: New file.
2825 * testsuite/ld-i386/pr19539.s: Likewise.
2826 * testsuite/ld-i386/pr19539.t: Likewise.
2827 * testsuite/ld-x86-64/pr19539.s: Likewise.
2828 * testsuite/ld-x86-64/pr19539.t: Likewise.
2829 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2830 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2831 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2833 2016-03-10 Mickael Guene <mickael.guene@st.com>
2836 * testsuite/ld-arm/arm-elf.exp: New tests.
2837 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2838 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2840 2016-03-10 Nick Clifton <nickc@redhat.com>
2842 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2844 2016-03-09 Pedro Alves <palves@redhat.com>
2846 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2847 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2849 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2852 * testsuite/ld-elf/pr19789.d: New file.
2853 * testsuite/ld-elf/pr19789.s: Likewise.
2855 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2858 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2859 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2860 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2861 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2862 * testsuite/ld-ifunc/pass.out: New file.
2863 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2864 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2865 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2867 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2870 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2871 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2872 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2873 --as-needed for pr18841c.
2875 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2878 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2879 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2880 before tmpdir/got1d.so and test --as-needed.
2881 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2882 tmpdir/pr18900.so and test --as-needed.
2884 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2886 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2887 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2889 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2891 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2893 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2894 before tmpdir/copyreloc-lib.so and test --as-needed.
2895 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2897 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2900 * testsuite/ld-elf/pr19579a.c: New file.
2901 * testsuite/ld-elf/pr19579b.c: Likewise.
2902 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2904 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2906 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2908 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2910 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2911 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2913 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2916 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2917 input sections for relocatable link.
2918 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2919 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2921 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2924 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2925 merge flags of other input sections for relocatable link.
2927 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2929 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2931 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2933 * testsuite/ld-elf/pr19162.d: Skip arc target.
2935 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2938 * testsuite/ld-elf/pr19162.d: New file.
2939 * testsuite/ld-elf/pr19162a.s: Likwise.
2940 * testsuite/ld-elf/pr19162b.s: Likwise.
2942 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2944 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2945 * testsuite/ld-elf/merge2.d: Likewise.
2946 * testsuite/ld-elf/merge3.d: Likewise.
2948 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2950 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2953 2016-02-26 Renlin Li <renlin.li@arm.com>
2955 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2956 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2957 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2958 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2959 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2960 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2961 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2962 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2963 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2964 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2966 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2969 * testsuite/ld-i386/got1.dd: Updated.
2970 * testsuite/ld-i386/lea1c.d: Likewise.
2971 * testsuite/ld-i386/load1-nacl.d: Likewise.
2972 * testsuite/ld-i386/load1.d: Likewise.
2973 * testsuite/ld-i386/load4b.d: Likewise.
2974 * testsuite/ld-i386/load5b.d: Likewise.
2975 * testsuite/ld-i386/mov1b.d: Likewise.
2976 * testsuite/ld-x86-64/mov1b.d: Likewise.
2977 * testsuite/ld-x86-64/mov1d.d: Likewise.
2978 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2979 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2980 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2981 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2982 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2983 * testsuite/ld-x86-64/lea1a.d: Likewise.
2984 * testsuite/ld-x86-64/lea1b.d: Likewise.
2985 * testsuite/ld-x86-64/lea1c.d: Likewise.
2986 * testsuite/ld-x86-64/lea1d.d: Likewise.
2987 * testsuite/ld-x86-64/lea1e.d: Likewise.
2988 * testsuite/ld-x86-64/lea1f.d: Likewise.
2989 * testsuite/ld-x86-64/mov1b.d: Likewise.
2990 * testsuite/ld-x86-64/mov1d.d: Likewise.
2991 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2992 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2993 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2994 * testsuite/ld-i386/pr19609-1.s: New file.
2995 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2996 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2997 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2998 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2999 * testsuite/ld-i386/pr19609-1e.d: Likewise.
3000 * testsuite/ld-i386/pr19609-1f.d: Likewise.
3001 * testsuite/ld-i386/pr19609-1g.d: Likewise.
3002 * testsuite/ld-i386/pr19609-1h.d: Likewise.
3003 * testsuite/ld-i386/pr19609-1i.d: Likewise.
3004 * testsuite/ld-i386/pr19609-2.s: Likewise.
3005 * testsuite/ld-i386/pr19609-2a.d: Likewise.
3006 * testsuite/ld-i386/pr19609-2b.d: Likewise.
3007 * testsuite/ld-i386/pr19609-2c.d: Likewise.
3008 * testsuite/ld-i386/undefweak.s: Likewise.
3009 * testsuite/ld-i386/undefweaka.d: Likewise.
3010 * testsuite/ld-i386/undefweakb.d: Likewise.
3011 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
3012 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
3013 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
3014 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
3015 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
3016 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
3017 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
3018 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
3019 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
3020 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
3021 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
3022 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3023 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3024 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3025 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3026 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3027 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3028 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3029 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3030 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3031 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3032 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3033 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3034 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3035 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3036 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3037 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3038 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3039 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3040 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3041 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3042 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3043 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3044 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3045 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3046 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3047 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3048 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3049 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3050 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3051 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3052 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3053 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3054 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3055 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3056 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3057 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3059 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3060 and tests for PR ld/19609.
3062 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3065 * NEWS: Mention -z common/-z nocommon for ELF targets.
3066 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3067 -z common and -z nocommon.
3068 * ld.texinfo: Document -z common/-z nocommon.
3069 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3070 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3071 --elf-stt-common=yes with assembler.
3072 * testsuite/ld-elfcomm/common-1.s: New file.
3073 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3074 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3075 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3076 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3077 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3078 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3079 * testsuite/ld-elfcomm/common-2.s: Likewise.
3080 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3081 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3082 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3083 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3084 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3085 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3086 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3087 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3088 * testsuite/ld-i386/pr19645.d: Likewise.
3089 * testsuite/ld-i386/pr19645.s: Likewise.
3090 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3091 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3092 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3093 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3094 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3095 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3096 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3097 * testsuite/ld-x86-64/pr19645.d: Likewise.
3098 * testsuite/ld-x86-64/pr19645.s: Likewise.
3099 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3101 (assembler_generates_commons): Removed.
3102 Run -z common/-z nocommon tests. Run *.d tests.
3103 * testsuite/ld-i386/i386.exp: Run pr19645.
3104 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3105 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3106 assembler. Test STT_COMMON with readelf.
3108 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3113 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3114 * Makefile.in: Regenerated.
3115 * NEWS: Mention -z nodynamic-undefined-weak.
3116 * ld.texinfo: Document -z nodynamic-undefined-weak.
3117 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3118 * emulparams/dynamic_undefined_weak.sh: New file.
3119 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3120 * emulparams/elf_i386.sh: Likewise.
3121 * emulparams/elf_i386_be.sh: Likewise.
3122 * emulparams/elf_i386_chaos.sh: Likewise.
3123 * emulparams/elf_i386_ldso.sh: Likewise.
3124 * emulparams/elf_i386_vxworks.sh: Likewise.
3125 * emulparams/elf_iamcu.sh: Likewise.
3126 * emulparams/elf_k1om.sh: Likewise.
3127 * emulparams/elf_l1om.sh: Likewise.
3128 * emulparams/elf_x86_64.sh: Likewise.
3129 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3131 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3132 * testsuite/ld-elf/pr19719a.c: New file.
3133 * testsuite/ld-elf/pr19719b.c: Likewise.
3134 * testsuite/ld-elf/pr19719c.c: Likewise.
3135 * testsuite/ld-elf/pr19719d.c: Likewise.
3136 * testsuite/ld-i386/pr19636-1.s: Likewise.
3137 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3138 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3139 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3140 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3141 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3142 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3143 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3144 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3145 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3146 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3147 * testsuite/ld-i386/pr19636-2.s: Likewise.
3148 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3149 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3150 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3151 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3152 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3153 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3154 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3155 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3156 * testsuite/ld-i386/pr19636-3.s: Likewise.
3157 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3158 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3159 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3160 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3161 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3162 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3163 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3164 * testsuite/ld-i386/pr19636-4.s: Likewise.
3165 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3166 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3167 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3168 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3169 * testsuite/ld-i386/pr19704.out: Likewise.
3170 * testsuite/ld-i386/pr19704a.c: Likewise.
3171 * testsuite/ld-i386/pr19704b.c: Likewise.
3172 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3173 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3174 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3175 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3176 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3177 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3178 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3179 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3180 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3181 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3182 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3183 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3184 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3185 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3186 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3187 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3188 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3189 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3190 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3191 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3192 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3193 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3194 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3195 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3196 * testsuite/ld-x86-64/pr19704.out: Likewise.
3197 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3198 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3199 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3200 Run mix_pic_and_non_pic.
3201 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3202 Run undefined_weak and PR ld/19636 tests.
3203 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3204 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3205 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3207 2016-02-25 Nick Clifton <nickc@redhat.com>
3209 * ld.h (struct ld_config_type): Remove specified_data_size field.
3211 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3214 * testsuite/ld-elf/pr19698.d: New file.
3215 * testsuite/ld-elf/pr19698.s: Likewise.
3216 * testsuite/ld-elf/pr19698.t: Likewise.
3218 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3220 * Makefile.am (ELF_X86_DEPS): New.
3221 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3222 (eelf_i386_chaos.c): Likewise.
3223 (eelf_i386_fbsd.c): Likewise.
3224 (eelf_i386_ldso.c): Likewise.
3225 (eelf_i386_nacl.c): Likewise.
3226 (eelf_i386_sol2.c): Likewise.
3227 (eelf_iamcu.c): Likewise.
3228 (eelf32_x86_64.c): Likewise.
3229 (eelf32_x86_64_nacl.c): Likewise.
3230 (eelf_l1om.c): Likewise.
3231 (eelf_l1om_fbsd.c): Likewise.
3232 (eelf_k1om.c): Likewise.
3233 (eelf_k1om_fbsd.c): Likewise.
3234 (eelf_x86_64.c): Likewise.
3235 (eelf_x86_64_cloudabi.c): Likewise.
3236 (eelf_x86_64_fbsd.c): Likewise.
3237 (eelf_x86_64_sol2.c): Likewise.
3238 * Makefile.in: Regenerated.
3240 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3242 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3243 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3244 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3245 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3247 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3249 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3251 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3253 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3254 *-*-gnu* and *-*-solaris*.
3255 * testsuite/ld-elf/pr19617b.d: Likewise.
3256 * testsuite/ld-elf/pr19617c.d: Likewise.
3258 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3261 * testsuite/ld-elf/pr19617.s: New file.
3262 * testsuite/ld-elf/pr19617a.d: Likewise.
3263 * testsuite/ld-elf/pr19617b.d: Likewise.
3264 * testsuite/ld-elf/pr19617c.d: Likewise.
3266 2016-02-18 Nick Clifton <nickc@redhat.com>
3268 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3269 in-tree xg++ executable after checking for the presence of an
3270 in-tree g++ executable.
3271 * Makefile.in: Regenerate.
3273 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3275 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3276 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3277 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3279 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3281 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3282 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3283 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3284 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3285 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3286 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3287 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3288 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3289 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3290 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3291 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3292 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3293 * testsuite/ld-x86-64/load1c.d: Likewise.
3294 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3295 * testsuite/ld-x86-64/load1d.d: Likewise.
3296 * testsuite/ld-x86-64/pr14207.d: Likewise.
3297 * testsuite/ld-x86-64/pr19162.d: Likewise.
3298 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3299 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3300 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3301 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3302 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3303 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3305 2016-02-17 Nick Clifton <nickc@redhat.com>
3307 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3309 2016-02-15 Nick Clifton <nickc@redhat.com>
3311 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3312 description of the flags produced by readelf.
3313 * testsuite/ld-i386/pr12921.d: Likewise.
3314 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3315 * testsuite/ld-i386/tlsbin.rd: Likewise.
3316 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3317 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3318 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3319 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3320 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3321 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3322 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3323 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3324 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3325 * testsuite/ld-i386/tlspic.rd: Likewise.
3326 * testsuite/ld-s390/tlsbin.rd: Likewise.
3327 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3328 * testsuite/ld-s390/tlspic.rd: Likewise.
3329 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3330 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3331 * testsuite/ld-sh/tlspic-2.d: Likewise.
3332 * testsuite/ld-tic6x/common.d: Likewise.
3333 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3334 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3335 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3336 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3337 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3338 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3339 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3340 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3341 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3342 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3343 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3344 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3345 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3346 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3347 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3348 * testsuite/ld-x86-64/pr12718.d: Likewise.
3349 * testsuite/ld-x86-64/pr12921.d: Likewise.
3350 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3351 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3352 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3353 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3354 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3355 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3356 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3357 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3358 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3359 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3360 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3361 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3362 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3363 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3365 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3368 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3370 * lexsup.c (parse_args): Enable -Bsymbolic and
3371 -Bsymbolic-functions for PIE.
3372 * testsuite/ld-i386/i386.exp: Run pr19615.
3373 * testsuite/ld-i386/pr19615.d: New file.
3374 * testsuite/ld-i386/pr19615.s: Likewise.
3375 * testsuite/ld-x86-64/pr19615.d: Likewise.
3376 * testsuite/ld-x86-64/pr19615.s: Likewise.
3378 2016-02-09 Nick Clifton <nickc@redhat.com>
3380 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3381 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3382 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3383 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3385 2016-02-04 Nick Clifton <nickc@redhat.com>
3387 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3388 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3389 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3390 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3391 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3392 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3393 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3394 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3395 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3397 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3400 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3401 * testsuite/ld-i386/call1.d: Likewise.
3402 * testsuite/ld-i386/call2.d: Likewise.
3403 * testsuite/ld-i386/call3a.d: Likewise.
3404 * testsuite/ld-i386/call3b.d: Likewise.
3405 * testsuite/ld-i386/call3c.d: Likewise.
3406 * testsuite/ld-i386/call3d.d: Likewise.
3407 * testsuite/ld-i386/call3e.d: Likewise.
3408 * testsuite/ld-i386/call3f.d: Likewise.
3409 * testsuite/ld-i386/call3g.d: Likewise.
3410 * testsuite/ld-i386/call3h.d: Likewise.
3411 * testsuite/ld-i386/jmp1.d: Likewise.
3412 * testsuite/ld-i386/jmp2.d: Likewise.
3413 * testsuite/ld-i386/lea1c.d: Likewise.
3414 * testsuite/ld-i386/load1.d: Likewise.
3415 * testsuite/ld-i386/load2.d: Likewise.
3416 * testsuite/ld-i386/load3.d: Likewise.
3417 * testsuite/ld-i386/load4a.d: Likewise.
3418 * testsuite/ld-i386/load5a.d: Likewise.
3419 * testsuite/ld-i386/mov2b.d: Likewise.
3420 * testsuite/ld-i386/mov3.d: Likewise.
3421 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3422 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3423 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3424 * testsuite/ld-x86-64/call1a.d: Likewise.
3425 * testsuite/ld-x86-64/call1b.d: Likewise.
3426 * testsuite/ld-x86-64/call1c.d: Likewise.
3427 * testsuite/ld-x86-64/call1d.d: Likewise.
3428 * testsuite/ld-x86-64/call1e.d: Likewise.
3429 * testsuite/ld-x86-64/call1f.d: Likewise.
3430 * testsuite/ld-x86-64/call1h.d: Likewise.
3431 * testsuite/ld-x86-64/call1i.d: Likewise.
3432 * testsuite/ld-x86-64/load1a.d: Likewise.
3433 * testsuite/ld-x86-64/load1b.d: Likewise.
3434 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3435 * testsuite/ld-i386/got1.dd: Updated.
3436 * testsuite/ld-i386/got1d.S (1): Removed.
3437 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3438 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3440 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3443 * testsuite/ld-x86-64/pr18591.d: New file.
3444 * testsuite/ld-x86-64/pr18591.s: Likewise.
3445 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3447 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3450 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3451 * testsuite/ld-elf/pr19553.map: New file.
3452 * testsuite/ld-elf/pr19553.map: Likewise.
3453 * testsuite/ld-elf/pr19553a.c: Likewise.
3454 * testsuite/ld-elf/pr19553b.c: Likewise.
3455 * testsuite/ld-elf/pr19553b.out: Likewise.
3456 * testsuite/ld-elf/pr19553c.c: Likewise.
3457 * testsuite/ld-elf/pr19553c.out: Likewise.
3458 * testsuite/ld-elf/pr19553d.c: Likewise.
3459 * testsuite/ld-elf/pr19553d.out: Likewise.
3461 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3464 * testsuite/ld-elf/pr19539.d: New file.
3465 * testsuite/ld-elf/pr19539.s: Likewise.
3466 * testsuite/ld-elf/pr19539.t: Likewise.
3468 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3471 * configure.ac (compressed_debug_sections): Replace == with =.
3472 * configure: Regenerated.
3474 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3476 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3477 * scripttempl/avrtiny.sc (.noinit): Likewise.
3479 2016-01-21 Nick Clifton <nickc@redhat.com>
3482 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3483 the arm-netbsdelf target.
3486 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3487 disassmebler output.
3488 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3489 * testsuite/ld-arm/vxworks1.dd: Likewise.
3490 * testsuite/ld-arm/vxworks1.rd: Likewise.
3491 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3493 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3495 * testsuite/ld-aarch64/farcall-section.d: Delete.
3496 * testsuite/ld-aarch64/farcall-section.s: Delete.
3497 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3498 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3499 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3500 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3501 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3503 2016-01-20 Nick Clifton <nickc@redhat.com>
3506 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3507 early for PE based targets.
3508 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3509 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3511 2016-01-20 Mickael Guene <mickael.guene@st.com>
3513 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3514 Add 'y' attribute usage.
3515 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3516 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3517 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3519 2016-01-19 Nick Clifton <nickc@redhat.com>
3521 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3522 foo@FOO and bar@@FOO.
3524 2016-01-18 Alan Modra <amodra@gmail.com>
3526 * configure: Regenerate.
3528 2016-01-18 Nick Clifton <nickc@redhat.com>
3530 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3531 is not configured to support plugins.
3533 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3534 but with 16 byte section alignment.
3535 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3536 test for MIPS targets.
3538 2016-01-17 Alan Modra <amodra@gmail.com>
3540 * configure: Regenerate.
3542 2016-01-17 Alan Modra <amodra@gmail.com>
3544 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3545 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3546 * testsuite/ld-elf/pr14156a.d: Likewise.
3547 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3548 * testsuite/ld-elf/sec64k.exp: Likewise.
3550 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3552 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3553 Set address of .foo section when linking.
3554 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3556 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3557 output to the above changes.
3559 2016-01-13 Nick Clifton <nickc@redhat.com>
3561 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3564 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3565 fail for MIPS targets.
3567 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3570 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3572 * testsuite/ld-arm/arm-elf.exp: New test.
3573 * testsuite/ld-arm/unwind-mix.d: New file.
3574 * testsuite/ld-arm/unwind-mix1.s: New file.
3575 * testsuite/ld-arm/unwind-mix2.s: New file.
3577 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3580 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3581 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3582 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3583 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3584 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3585 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3587 2016-01-05 Nick Clifton <nickc@redhat.com>
3589 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3590 MSP430 hardware multiply address range.
3591 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3592 (__romdatacopysize): Define.
3593 * scripttempl/elf32msp430_3.sc: Likewise.
3595 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3597 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3598 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3600 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3602 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3603 messages expected according to MIPS BFD private data merge
3605 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3606 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3607 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3608 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3609 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3610 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3611 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3612 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3613 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3614 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3615 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3616 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3617 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3619 2016-01-01 Alan Modra <amodra@gmail.com>
3621 Update year range in copyright notice of all files.
3623 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3625 Copyright (C) 2016 Free Software Foundation, Inc.
3627 Copying and distribution of this file, with or without modification,
3628 are permitted in any medium without royalty provided the copyright
3629 notice and this notice are preserved.
3635 version-control: never