1 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
3 * ldlang.h (struct lang_wild_statement_struct): Add
4 exclude_name_list field.
5 * ldlang.c (walk_wild_file_in_exclude_list): New function.
6 (walk_wild_consider_section): Use new
7 walk_wild_file_in_exclude_list function.
8 (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
9 (print_wild_statement): Print new exclude_name_list field.
10 (lang_add_wild): Initialise new exclude_name_list field.
11 * testsuite/ld-scripts/exclude-file-1.d: New file.
12 * testsuite/ld-scripts/exclude-file-1.map: New file.
13 * testsuite/ld-scripts/exclude-file-1.t: New file.
14 * testsuite/ld-scripts/exclude-file-2.d: New file.
15 * testsuite/ld-scripts/exclude-file-2.map: New file.
16 * testsuite/ld-scripts/exclude-file-2.t: New file.
17 * testsuite/ld-scripts/exclude-file-3.d: New file.
18 * testsuite/ld-scripts/exclude-file-3.map: New file.
19 * testsuite/ld-scripts/exclude-file-3.t: New file.
20 * testsuite/ld-scripts/exclude-file-4.d: New file.
21 * testsuite/ld-scripts/exclude-file-4.map: New file.
22 * testsuite/ld-scripts/exclude-file-4.t: New file.
23 * testsuite/ld-scripts/exclude-file-a.s: New file.
24 * testsuite/ld-scripts/exclude-file-b.s: New file.
25 * testsuite/ld-scripts/exclude-file.exp: New file.
26 * ld.texinfo (Input Section Basics): Update description of
27 EXCLUDE_FILE to cover the new features.
28 * NEWS: Mention new EXCLUDE_FILE usage.
30 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
32 * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
33 based on the original source file name.
34 * testsuite/ld-discard/extern.d: Update object file names.
35 * testsuite/ld-discard/start.d: Likewise.
36 * testsuite/ld-discard/static.d: Likewise.
37 * testsuite/ld-elf/orphan-8.map: Likewise.
39 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
41 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
42 xc16x-*-elf to the list of targets that don't support -shared.
44 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
46 * ldgram.y: Rename file_NAME_list to section_NAME_list
49 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
50 Andrew Waterman <andrew@sifive.com>
52 Add support for RISC-V architecture.
53 * Makefile.am: Add riscv files.
54 * Makefile.in: Regenerate.
55 * NEWS: Mention the support for this target.
56 * configure.tgt: Add riscv entries.
57 * emulparams/elf32lriscv-defs.sh: New file.
58 * emulparams/elf32lriscv.sh: New file.
59 * emulparams/elf64lriscv-defs.sh: New file.
60 * emulparams/elf64lriscv.sh: New file.
61 * emultempl/riscvelf.em: New file.
63 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
65 * ldmain.c (add_archive_element): Initialize input->header.type.
66 * plugin.c (plugin_maybe_claim): Assert the statement is an input
69 2016-10-15 Alan Modra <amodra@gmail.com>
71 * emultempl/spu_ovl.o_c: Regenerate.
73 2016-10-14 Alan Modra <amodra@gmail.com>
75 * scripttempl/DWARF.sc: Add .debug_addr.
77 2016-10-12 Alan Modra <amodra@gmail.com>
79 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
80 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
81 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
82 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
83 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
85 2016-10-11 Nick Clifton <nickc@redhat.com>
87 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
89 * ld-aarch64/emit-relocs-515.d: Likewise.
90 * ld-aarch64/emit-relocs-516-be.d: Likewise.
91 * ld-aarch64/emit-relocs-516.d: Likewise.
92 * ld-aarch64/farcall-b-plt.d: Likewise.
93 * ld-aarch64/farcall-bl-plt.d: Likewise.
94 * ld-aarch64/gc-plt-relocs.d: Likewise.
95 * ld-aarch64/tls-desc-ie.d: Likewise.
96 * ld-aarch64/tls-tiny-desc.d: Likewise.
97 * ld-aarch64/tls-tiny-gd.d: Likewise.
98 * ld-aarch64/tls-tiny-ie.d: Likewise.
99 * ld-arm/arm-app-abs32.d: Likewise.
100 * ld-arm/arm-app.d: Likewise.
101 * ld-arm/arm-lib-plt32.d: Likewise.
102 * ld-arm/arm-lib.d: Likewise.
103 * ld-arm/armthumb-lib.d: Likewise.
104 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
105 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
106 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
107 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
108 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
109 * ld-arm/farcall-mixed-app-v5.d: Likewise.
110 * ld-arm/farcall-mixed-app.d: Likewise.
111 * ld-arm/farcall-mixed-app2.d: Likewise.
112 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
113 * ld-arm/farcall-mixed-lib.d: Likewise.
114 * ld-arm/ifunc-10.dd: Likewise.
115 * ld-arm/ifunc-14.dd: Likewise.
116 * ld-arm/ifunc-15.dd: Likewise.
117 * ld-arm/ifunc-3.dd: Likewise.
118 * ld-arm/ifunc-4.dd: Likewise.
119 * ld-arm/ifunc-9.dd: Likewise.
120 * ld-arm/long-plt-format.d: Likewise.
121 * ld-arm/mixed-app-v5.d: Likewise.
122 * ld-arm/mixed-app.d: Likewise.
123 * ld-arm/mixed-lib.d: Likewise.
124 * ld-arm/tls-lib-loc.d: Likewise.
125 * ld-cris/dso-pltdis1.d: Likewise.
126 * ld-cris/dso-pltdis2.d: Likewise.
127 * ld-cris/dso12-pltdis.d: Likewise.
128 * ld-elf/symbolic-func.r: Likewise.
129 * ld-frv/fdpic-pie-1.d: Likewise.
130 * ld-frv/fdpic-pie-2.d: Likewise.
131 * ld-frv/fdpic-pie-6.d: Likewise.
132 * ld-frv/fdpic-pie-7.d: Likewise.
133 * ld-frv/fdpic-pie-8.d: Likewise.
134 * ld-frv/fdpic-shared-1.d: Likewise.
135 * ld-frv/fdpic-shared-2.d: Likewise.
136 * ld-frv/fdpic-shared-3.d: Likewise.
137 * ld-frv/fdpic-shared-4.d: Likewise.
138 * ld-frv/fdpic-shared-5.d: Likewise.
139 * ld-frv/fdpic-shared-6.d: Likewise.
140 * ld-frv/fdpic-shared-7.d: Likewise.
141 * ld-frv/fdpic-shared-8.d: Likewise.
142 * ld-frv/fdpic-shared-local-2.d: Likewise.
143 * ld-frv/fdpic-shared-local-8.d: Likewise.
144 * ld-frv/fdpic-static-1.d: Likewise.
145 * ld-frv/fdpic-static-2.d: Likewise.
146 * ld-frv/fdpic-static-6.d: Likewise.
147 * ld-frv/fdpic-static-7.d: Likewise.
148 * ld-frv/fdpic-static-8.d: Likewise.
149 * ld-frv/tls-dynamic-2.d: Likewise.
150 * ld-frv/tls-initial-shared-2.d: Likewise.
151 * ld-frv/tls-relax-shared-2.d: Likewise.
152 * ld-frv/tls-shared-2.d: Likewise.
153 * ld-i386/plt-nacl.pd: Likewise.
154 * ld-i386/plt-pic-nacl.pd: Likewise.
155 * ld-i386/plt-pic.pd: Likewise.
156 * ld-i386/plt.pd: Likewise.
157 * ld-i386/pr19636-1d-nacl.d: Likewise.
158 * ld-i386/pr19636-1d.d: Likewise.
159 * ld-i386/pr19636-2c-nacl.d: Likewise.
160 * ld-i386/pr19636-2c.d: Likewise.
161 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
162 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
163 * ld-ifunc/pr17154-i386.d: Likewise.
164 * ld-ifunc/pr17154-x86-64.d: Likewise.
165 * ld-m68k/plt1-68020.d: Likewise.
166 * ld-m68k/plt1-cpu32.d: Likewise.
167 * ld-m68k/plt1-isab.d: Likewise.
168 * ld-m68k/plt1-isac.d: Likewise.
169 * ld-metag/shared.d: Likewise.
170 * ld-metag/stub_pic_app.d: Likewise.
171 * ld-metag/stub_pic_shared.d: Likewise.
172 * ld-metag/stub_shared.d: Likewise.
173 * ld-s390/tlsbin_64.dd: Likewise.
174 * ld-s390/tlspic_64.dd: Likewise.
175 * ld-tic6x/shlib-1.dd: Likewise.
176 * ld-tic6x/shlib-1b.dd: Likewise.
177 * ld-tic6x/shlib-1rb.dd: Likewise.
178 * ld-tic6x/shlib-app-1.dd: Likewise.
179 * ld-tic6x/shlib-app-1b.dd: Likewise.
180 * ld-tic6x/shlib-app-1r.dd: Likewise.
181 * ld-tic6x/shlib-app-1rb.dd: Likewise.
182 * ld-tic6x/shlib-noindex.dd: Likewise.
183 * ld-vax-elf/export-class-data.dd: Likewise.
184 * ld-vax-elf/plt-local-lib.dd: Likewise.
185 * ld-vax-elf/plt-local.dd: Likewise.
186 * ld-x86-64/bnd-ifunc-2.d: Likewise.
187 * ld-x86-64/bnd-plt-1.d: Likewise.
188 * ld-x86-64/gotpcrel1.dd: Likewise.
189 * ld-x86-64/libno-plt-1b.dd: Likewise.
190 * ld-x86-64/load1c-nacl.d: Likewise.
191 * ld-x86-64/load1c.d: Likewise.
192 * ld-x86-64/load1d-nacl.d: Likewise.
193 * ld-x86-64/load1d.d: Likewise.
194 * ld-x86-64/mov1a.d: Likewise.
195 * ld-x86-64/mov1b.d: Likewise.
196 * ld-x86-64/mov1c.d: Likewise.
197 * ld-x86-64/mov1d.d: Likewise.
198 * ld-x86-64/mov2a.d: Likewise.
199 * ld-x86-64/mov2b.d: Likewise.
200 * ld-x86-64/mov2c.d: Likewise.
201 * ld-x86-64/mov2d.d: Likewise.
202 * ld-x86-64/mpx3.dd: Likewise.
203 * ld-x86-64/mpx4.dd: Likewise.
204 * ld-x86-64/no-plt-1a.dd: Likewise.
205 * ld-x86-64/no-plt-1b.dd: Likewise.
206 * ld-x86-64/no-plt-1c.dd: Likewise.
207 * ld-x86-64/no-plt-1e.dd: Likewise.
208 * ld-x86-64/no-plt-1f.dd: Likewise.
209 * ld-x86-64/no-plt-1g.dd: Likewise.
210 * ld-x86-64/plt-main-bnd.dd: Likewise.
211 * ld-x86-64/plt-nacl.pd: Likewise.
212 * ld-x86-64/plt.pd: Likewise.
213 * ld-x86-64/pr18591.d: Likewise.
214 * ld-x86-64/pr19609-1c.d: Likewise.
215 * ld-x86-64/pr19609-1e.d: Likewise.
216 * ld-x86-64/pr19609-1j.d: Likewise.
217 * ld-x86-64/pr19609-1l.d: Likewise.
218 * ld-x86-64/pr19609-1m.d: Likewise.
219 * ld-x86-64/pr19609-5b.d: Likewise.
220 * ld-x86-64/pr19609-5c.d: Likewise.
221 * ld-x86-64/pr19609-5e.d: Likewise.
222 * ld-x86-64/pr19609-6b.d: Likewise.
223 * ld-x86-64/pr19609-7b.d: Likewise.
224 * ld-x86-64/pr19609-7d.d: Likewise.
225 * ld-x86-64/pr19636-2d.d: Likewise.
226 * ld-x86-64/pr20093-1.d: Likewise.
227 * ld-x86-64/pr20093-2.d: Likewise.
228 * ld-x86-64/pr20253-1b.d: Likewise.
229 * ld-x86-64/pr20253-1d.d: Likewise.
230 * ld-x86-64/pr20253-1f.d: Likewise.
231 * ld-x86-64/pr20253-1h.d: Likewise.
232 * ld-x86-64/pr20253-1j.d: Likewise.
233 * ld-x86-64/pr20253-1l.d: Likewise.
234 * ld-x86-64/protected3.d: Likewise.
235 * ld-x86-64/tlsbin.dd: Likewise.
236 * ld-x86-64/tlsbin2.dd: Likewise.
237 * ld-x86-64/tlsbindesc.dd: Likewise.
238 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
239 * ld-x86-64/tlsdesc.dd: Likewise.
240 * ld-x86-64/tlsdesc.pd: Likewise.
241 * ld-x86-64/tlsgd10.dd: Likewise.
242 * ld-x86-64/tlsgd5.dd: Likewise.
243 * ld-x86-64/tlsgd6.dd: Likewise.
244 * ld-x86-64/tlsgd8.dd: Likewise.
245 * ld-x86-64/tlsgdesc.dd: Likewise.
246 * ld-x86-64/tlspic.dd: Likewise.
247 * ld-x86-64/tlspic2.dd: Likewise.
249 2016-10-11 Nick Clifton <nickc@redhat.com>
252 * emultempl/elf32.em (_search_needed): Add support for pseudo
253 environment variables supported by ld.so. Namely $ORIGIN, $LIB
255 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
256 * config.in: Regenerate.
257 * configure: Regenerate.
259 2016-10-11 Alan Modra <amodra@gmail.com>
261 * ldlang.c (lang_do_assignments_1): Descend into output section
262 statements that do not yet have bfd sections. Set symbol section
263 temporarily for symbols defined in such statements to the undefined
264 section. Don't error on data or reloc statements until final phase.
265 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
267 * testsuite/ld-mmix/bpo-10.d: Adjust.
268 * testsuite/ld-mmix/bpo-11.d: Adjust.
270 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
272 * emulparams/elf64_s390.sh: Move binary start to 16M.
273 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
274 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
276 2016-10-07 Alan Modra <amodra@gmail.com>
278 * ldexp.c (MAX): Define.
279 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
282 2016-10-07 Alan Modra <amodra@gmail.com>
284 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
285 * testsuite/ld-elf/elf.exp: ..here.
287 2016-10-06 Ludovic Courtès <ludo@gnu.org>
289 * emulparams/elf32bmipn32-defs.sh: Shift quote of
290 "x$EMULATION_NAME" to the left to work around
291 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
293 2016-10-06 Alan Modra <amodra@gmail.com>
295 * lexsup.c: Spell fall through comments consistently and add
296 missing fall through comments.
298 2016-10-06 Alan Modra <amodra@gmail.com>
300 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
303 2016-10-04 Alan Modra <amodra@gmail.com>
305 * ld.texinfo (Expression Section): Update result of arithmetic
307 * ldexp.c (arith_result_section): New function.
308 (fold_binary): Use it.
310 2016-10-04 Alan Modra <amodra@gmail.com>
312 * ldexp.c (exp_value_fold): New function.
313 (exp_unop, exp_binop, exp_trinop): Use it.
315 2016-09-30 Alan Modra <amodra@gmail.com>
317 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
319 * scripttempl/v850_rh850.sc: Likewise.
321 2016-09-30 Alan Modra <amodra@gmail.com>
324 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
325 multiple .text sections for hppa-linux.
326 * testsuite/ld-elf/pr20528b.d: Likewise.
328 2016-09-30 Alan Modra <amodra@gmail.com>
330 * ldmain.c (default_bfd_error_handler): New function pointer.
331 (ld_bfd_error_handler): New function.
332 (main): Arrange to call it on bfd errors/warnings.
333 (ld_bfd_assert_handler): Enable tail call.
335 2016-09-30 Alan Modra <amodra@gmail.com>
337 * ldlang.c (ignore_bfd_errors): Update params.
339 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
342 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
343 merge 2 sections with different SHF_EXCLUDE.
344 * testsuite/ld-elf/pr20528a.d: New file.
345 * testsuite/ld-elf/pr20528a.s: Likewise.
346 * testsuite/ld-elf/pr20528b.d: Likewise.
347 * testsuite/ld-elf/pr20528b.s: Likewise.
349 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
352 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
353 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
354 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
355 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
356 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
358 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
360 * Makefile.in: Regenerate.
361 * configure: Likewise.
363 2016-09-26 Alan Modra <amodra@gmail.com>
365 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
366 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
367 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
368 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
369 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
370 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
371 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
372 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
373 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
374 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
375 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
376 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
377 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
378 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
379 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
380 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
381 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
383 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
386 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
387 line and -r option to objdump command line. Match emitted relocs
388 to make sure that superflous relocs are not generated.
390 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
392 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
393 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
394 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
396 2016-09-22 Nick Clifton <nickc@redhat.com>
398 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
399 attempts to find a needed library.
401 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
403 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
405 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
406 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
407 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
408 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
409 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
410 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
411 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
412 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
413 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
414 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
415 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
416 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
417 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
418 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
419 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
420 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
421 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
422 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
423 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
424 * testsuite/ld-aarch64/erratum835769.d: Likewise.
425 * testsuite/ld-aarch64/erratum843419.d: Likewise.
426 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
427 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
428 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
429 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
430 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
431 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
432 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
433 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
434 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
435 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
436 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
437 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
438 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
439 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
440 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
441 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
442 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
443 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
445 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
447 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
448 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
450 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
452 * ld.texinfo (Input Section Basics): Expand the description of
455 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
457 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
458 Extensions entry functions in absolute section.
459 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
461 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
463 * testsuite/ld-arc/tls-dtpoff.dd: New file.
464 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
465 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
466 * testsuite/ld-arc/tls-relocs.ld: Likewise.
467 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
469 2016-09-14 Nick Clifton <nickc@redhat.com>
472 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
473 OPTION_NO_EH_FRAME_HDR.
474 (_add_options): Add support for --no-eh-frame-hdr.
475 * ld.texinfo: Document new option.
476 * lexsup.c (elf_shlib_list_options): List new option.
477 * NEWS: Mention the new option.
479 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
482 * testsuite/ld-x86-64/pr20550a.s: New file.
483 * testsuite/ld-x86-64/pr20550b.s: Likewise.
484 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
487 2016-09-06 Nick Clifton <nickc@redhat.com>
489 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
490 without any sanitization options.
491 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
492 any sanitization options.
493 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
494 as CFLAGS and CXXFLAGS respectively.
496 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
499 * testsuite/ld-avr/avr-prop-7.d: New test.
500 * testsuite/ld-avr/avr-prop-7.s: New test.
501 * testsuite/ld-avr/avr-prop-8.d: New test.
502 * testsuite/ld-avr/avr-prop-8.s: New test.
504 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
506 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
508 * testsuite/ld-elf/pr20513d.d: Likewise.
510 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
513 * testsuite/ld-elf/pr20513a.d: New file.
514 * testsuite/ld-elf/pr20513a.s: Likewise.
515 * testsuite/ld-elf/pr20513b.d: Likewise.
516 * testsuite/ld-elf/pr20513b.s: Likewise.
517 * testsuite/ld-elf/pr20513c.d: Likewise.
518 * testsuite/ld-elf/pr20513d.d: Likewise.
519 * testsuite/ld-elf/pr20513e.d: Likewise.
520 * testsuite/ld-elf/pr20513f.d: Likewise.
522 2016-08-31 Alan Modra <amodra@gmail.com>
525 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
527 2016-08-31 Alan Modra <amodra@gmail.com>
529 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
530 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
531 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
532 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
533 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
535 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
537 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
538 * testsuite/ld-arc/tls_ie-01.d: Likewise.
540 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
542 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
543 if ifunc attribute works.
545 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
549 * testsuite/ld-i386/i386.exp: Run pr20515.
550 * testsuite/ld-i386/pr20515.d: New file.
551 * testsuite/ld-i386/pr20515.s: Likewise.
552 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
554 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
555 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
556 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
557 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
558 * testsuite/ld-x86-64/x86-64.exp: Here.
559 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
560 * testsuite/ld-x86-64/pr19784a.c: Here.
561 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
562 * testsuite/ld-x86-64/pr19784b.c: Here.
563 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
564 * testsuite/ld-x86-64/pr19784c.c: Here.
566 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
568 * emultempl/armelf.em (params): New static variable.
569 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
570 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
571 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
572 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
574 (arm_elf_before_allocation): Access static variable from the params
576 (gld${EMULATION_NAME}_finish): Likewise.
577 (arm_elf_create_output_section_statements): Likewise and pass the
578 address of that structure to bfd_elf32_arm_set_target_relocs instead
579 of the static variables.
580 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
583 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
585 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
586 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
588 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
590 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
591 * testsuite/ld-arc/tls_ie-01.d: Likewise
593 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
595 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
597 (arm_elf_create_output_section_statements): Open import input library
598 file for writing and pass resulting in_implib_bfd to
599 bfd_elf32_arm_set_target_relocs.
600 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
601 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
602 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
603 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
604 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
605 (--in-implib): Document new option.
607 * testsuite/ld-arm/arm-elf.exp
608 (Secure gateway import library generation): add --defsym VER=1 to gas
610 (Secure gateway import library generation: errors): Likewise.
611 (Input secure gateway import library): New test.
612 (Input secure gateway import library: no output import library):
614 (Input secure gateway import library: not an SG input import library):
616 (Input secure gateway import library: earlier stub section base):
618 (Input secure gateway import library: later stub section base):
620 (Input secure gateway import library: veneer comeback): Likewise.
621 (Input secure gateway import library: entry function change):
623 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
624 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
625 * testsuite/ld-arm/cmse-new-implib.out: New file.
626 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
627 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
628 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
629 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
630 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
631 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
633 2016-08-25 Alan Modra <amodra@gmail.com>
635 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
636 support for BE. First output all target endian configury
637 values, then opposite endian. Handle more tooldirs. Fix
638 bogus matches with strings in MANUF-OS part of target triple.
640 2016-08-23 Alan Modra <amodra@gmail.com>
642 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
645 2016-08-19 Nick Clifton <nickc@redhat.com>
647 * emultempl/aarch64elf.em (before_parse): Initialise the relro
648 field in the link_info structure.
649 * emultempl/armelf.em (before_parse): Likewise.
650 * emultempl/linux.em (before_parse): Likewise.
651 * emultempl/scoreelf.em (before_parse): Likewise.
653 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
654 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
655 * testsuite/ld-alpha/tlspic.rd: Likewise.
656 * testsuite/ld-cris/libdso-2.d: Likewise.
657 * testsuite/ld-i386/nogot1.d: Likewise.
658 * testsuite/ld-i386/pr12718.d: Likewise.
659 * testsuite/ld-i386/pr12921.d: Likewise.
660 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
661 * testsuite/ld-i386/tlsbin.rd: Likewise.
662 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
663 * testsuite/ld-i386/tlsbin2.rd: Likewise.
664 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
665 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
666 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
667 * testsuite/ld-i386/tlsdesc.rd: Likewise.
668 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
669 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
670 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
671 * testsuite/ld-i386/tlsnopic.rd: Likewise.
672 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
673 * testsuite/ld-i386/tlspic.rd: Likewise.
674 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
675 * testsuite/ld-i386/tlspic2.rd: Likewise.
676 * testsuite/ld-ia64/tlsbin.rd: Likewise.
677 * testsuite/ld-ia64/tlspic.rd: Likewise.
678 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
679 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
680 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
681 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
682 * testsuite/ld-mmix/bspec1.d: Likewise.
683 * testsuite/ld-mmix/bspec2.d: Likewise.
684 * testsuite/ld-mmix/local1.d: Likewise.
685 * testsuite/ld-mmix/local3.d: Likewise.
686 * testsuite/ld-mmix/local5.d: Likewise.
687 * testsuite/ld-mmix/local7.d: Likewise.
688 * testsuite/ld-mmix/undef-3.d: Likewise.
689 * testsuite/ld-powerpc/tlsexe.r: Likewise.
690 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
691 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
692 * testsuite/ld-powerpc/tlsso.r: Likewise.
693 * testsuite/ld-powerpc/tlsso32.r: Likewise.
694 * testsuite/ld-powerpc/tlstocso.r: Likewise.
695 * testsuite/ld-s390/tlsbin.rd: Likewise.
696 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
697 * testsuite/ld-s390/tlspic.rd: Likewise.
698 * testsuite/ld-s390/tlspic_64.rd: Likewise.
699 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
700 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
701 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
702 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
703 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
704 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
705 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
706 * testsuite/ld-sh/tlsbin-2.d: Likewise.
707 * testsuite/ld-sh/tlspic-2.d: Likewise.
708 * testsuite/ld-sparc/gotop32.rd: Likewise.
709 * testsuite/ld-sparc/gotop64.rd: Likewise.
710 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
711 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
712 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
713 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
714 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
715 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
716 * testsuite/ld-tic6x/common.d: Likewise.
717 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
718 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
719 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
720 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
721 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
722 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
723 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
724 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
725 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
726 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
727 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
728 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
729 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
730 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
731 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
732 * testsuite/ld-x86-64/nogot1.d: Likewise.
733 * testsuite/ld-x86-64/pr12718.d: Likewise.
734 * testsuite/ld-x86-64/pr12921.d: Likewise.
735 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
736 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
737 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
738 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
739 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
740 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
741 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
742 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
743 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
744 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
745 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
746 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
747 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
748 * testsuite/ld-x86-64/tlspic.rd: Likewise.
749 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
750 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
751 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
752 * testsuite/ld-xtensa/tlspic.rd: Likewise.
754 2016-08-18 Alan Modra <amodra@gmail.com>
756 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
759 2016-08-12 Alan Modra <amodra@gmail.com>
761 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
762 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
763 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
764 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
765 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
766 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
767 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
768 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
769 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
770 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
771 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
772 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
773 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
775 2016-08-12 Alan Modra <amodra@gmail.com>
777 * testsuite/ld-undefined/weak-fundef.s: New.
778 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
779 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
780 much of old code. Use is_elf_format to select targets.
782 2016-08-11 Alan Modra <amodra@gmail.com>
785 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
787 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
789 2016-08-11 Nick Clifton <nickc@redhat.com>
792 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
793 testing remotely, check to see if target compiler is installed
794 before trying to run it.
796 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
799 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
802 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
804 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
806 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
808 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
809 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
810 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
812 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
814 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
816 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
819 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
821 (check_lto_available): Return 0 if check_gcc_plugin_enabled
823 (check_lto_fat_available): Likewise.
824 (check_lto_shared_available): Likewise.
826 2016-08-09 Roland McGrath <roland@hack.frob.com>
828 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
830 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
832 * emultempl/armelf.em (cmse_implib): Declare and define this new
834 (arm_elf_create_output_section_statements): Add new cmse_implib
836 (OPTION_CMSE_IMPLIB): Define macro.
837 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
838 (PARSE_AND_LIST_OPTIONS): Likewise.
839 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
840 * ld.texinfo (--cmse-implib): Document new option.
841 * testsuite/ld-arm/arm-elf.exp
842 (Secure gateway import library generation): New test.
843 (Secure gateway import library generation: errors): Likewise.
844 * testsuite/ld-arm/cmse-implib.s: New file.
845 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
846 * testsuite/ld-arm/cmse-implib.rd: Likewise.
848 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
850 * ld.texinfo (Placement of SG veneers): New concept entry.
851 * testsuite/ld-arm/arm-elf.exp
852 (Secure gateway veneers: no .gnu.sgstubs section): New test.
853 (Secure gateway veneers: wrong entry functions): Likewise.
854 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
855 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
856 * testsuite/ld-arm/cmse-veneers.s: New file.
857 * testsuite/ld-arm/cmse-veneers.d: Likewise.
858 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
859 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
860 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
861 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
863 2016-08-02 Nick Clifton <nickc@redhat.com>
866 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
868 * emulparams/shelf32.sh: Likewise.
869 * emulparams/shelf32.sh: Likewise.
870 * emulparams/shelf_nto.sh: Likewise.
871 * emulparams/shelf_nto.sh: Likewise.
872 * emulparams/shelf_vxworks.sh: Likewise.
873 * emulparams/shelf_vxworks.sh: Likewise.
874 * emulparams/shlelf32_linux.sh: Likewise.
875 * emulparams/shlelf32_linux.sh: Likewise.
876 * emulparams/shlelf_linux.sh: Likewise.
877 * emulparams/shlelf_linux.sh: Likewise.
878 * emulparams/shlelf_nto.sh: Likewise.
879 * emulparams/shlelf_nto.sh: Likewise.
881 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
883 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
884 patterns for branch compaction.
885 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
888 2016-07-27 Nick Clifton <nickc@redhat.com>
890 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
891 test to targets which support cfi.
893 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
895 * ldbuildid.c (generate_build_id): Warning fix.
897 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
899 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
900 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
901 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
902 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
904 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
906 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
908 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
910 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
912 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
914 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
916 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
918 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
920 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
922 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
924 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
926 * ldbuildid.c: Changes for MinGW32:
927 Include windows.h and rpcdce.h.
928 (validate_build_id_style): Allow "uuid" style.
929 (generate_build_id): Fill in id_bits using UuidCreate().
931 2016-07-25 Alan Modra <amodra@gmail.com>
933 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
934 and m32r. Correct comment. Relax ld -r match to account for
935 msp increased number of default sections.
937 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
939 * testsuite/ld-arc/got-01.d: New file.
940 * testsuite/ld-arc/got-01.s: New file.
942 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
944 * configure: Regenerated.
946 2016-07-21 Alan Modra <amodra@gmail.com>
948 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
949 "targets_to_xfail" parameter with "args".
950 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
951 all calls to run_ld_link_exec_tests.
952 * testsuite/ld-elf/dwarf.exp: Likewise.
953 * testsuite/ld-elf/indirect.exp: Likewise.
954 * testsuite/ld-elf/wrap.exp: Likewise.
955 * testsuite/ld-i386/i386.exp: Likewise.
956 * testsuite/ld-i386/no-plt.exp: Likewise.
957 * testsuite/ld-i386/tls.exp: Likewise.
958 * testsuite/ld-ifunc/ifunc.exp: Likewise.
959 * testsuite/ld-pie/pie.exp: Likewise.
960 * testsuite/ld-plugin/lto.exp: Likewise.
961 * testsuite/ld-size/size.exp: Likewise.
962 * testsuite/ld-x86-64/mpx.exp: Likewise.
963 * testsuite/ld-x86-64/no-plt.exp: Likewise.
964 * testsuite/ld-x86-64/tls.exp: Likewise.
965 * testsuite/ld-x86-64/x86-64.exp: Likewise.
966 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
967 xfails and simplify lists.
968 * testsuite/ld-elf/shared.exp: Likewise.
970 2016-07-21 Alan Modra <amodra@gmail.com>
972 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
973 parameter to pass list of xfails.
974 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
975 implib test formatting. Don't set .data start address.
976 * testsuite/ld-elf/implib.s: Remove first .bss directive and
977 replace second one with equivalent .section directive.
978 * testsuite/ld-elf/empty-implib.out: Add expected final error.
979 * testsuite/ld-elf/implib.rd: Update.
981 2016-07-20 Alan Modra <amodra@gmail.com>
983 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
985 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
987 2016-07-19 Roland McGrath <roland@hack.frob.com>
989 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
990 * emulparams/aarch64elf32.sh: Likewise.
992 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
994 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
996 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
997 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
998 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
999 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
1000 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
1001 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
1002 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
1003 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
1004 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
1005 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
1006 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
1007 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
1008 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1009 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
1010 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
1011 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
1012 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1013 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
1014 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
1016 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
1018 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1020 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1022 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
1024 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1025 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1027 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1029 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1030 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1031 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
1032 microMIPS BAL and MIPS16 instructions.
1033 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
1035 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
1036 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
1037 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
1038 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
1039 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
1040 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
1041 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
1042 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
1043 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1045 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1047 * plugin.c (plugin_call_claim_file): Restore the file offset after
1048 an unsuccessful attempt to claim a file.
1049 * testplug.c (bytes_to_read_before_claim): New global.
1050 (record_read_length): New function, sets new global
1051 bytes_to_read_before_claim.
1052 (parse_option): Handle 'read:<NUMBER>' option.
1053 (onclaim_file): Read file content before checking for claim.
1054 * testsuite/ld-plugin/plugin-30.d: New file.
1055 * testsuite/ld-plugin/plugin.exp: Add new test.
1057 2016-07-16 Alan Modra <amodra@gmail.com>
1059 * plugin.c: Don't include libbfd.h. Include plugin-api.h
1060 before bfd/plugin.h.
1061 (plugin_object_p): Use bfd_plugin_open_input.
1063 2016-07-16 Alan Modra <amodra@gmail.com>
1065 * ldlang.c (open_output): Replace bfd_search_for_target with
1066 bfd_iterate_over_targets. Localize vars.
1068 2016-07-16 Alan Modra <amodra@gmail.com>
1070 * ldlang.c: Don't include libbfd.h.
1071 * emultempl/nds32elf.em: Likewise.
1072 * emultempl/ppc64elf.em: Likewise.
1073 * emultempl/ppc32elf.em: Likewise.
1075 (params): Update init.
1076 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1077 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1078 * emultempl/sh64elf.em: Don't include libbfd.h.
1079 (after_allocation): Use ASSERT, not BFD_ASSERT.
1080 * emultempl/xtensaelf.em: Don't include libbfd.h.
1081 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1082 * Makefile.am: Update dependencies.
1083 * Makefile.in: Regenerate.
1085 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1086 Nick Clifton <nickc@redhat.com>
1088 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1089 library file for writing and initialize implib_bfd field of link_info
1091 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1092 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1093 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1094 (gld_${EMULATION_NAME}_list_options): Likewise.
1095 (gld${EMULATION_NAME}_handle_option): Likewise.
1096 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1097 instead of pe_implib_filename.
1098 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1099 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1100 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1101 (gld_${EMULATION_NAME}_list_options): Likewise.
1102 (gld${EMULATION_NAME}_handle_option): Likewise.
1103 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1104 instead of pep_implib_filename.
1105 * ld.h (args_type): Declare new out_implib_filename field.
1106 * ld.texinfo (--out-implib): Move documentation to arch-independent
1107 part and rephrase to apply to ELF targets.
1108 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1109 defined in linker scripts.
1110 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1112 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1113 (parse_args): Handle OPTION_OUT_IMPLIB case.
1114 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1115 (Generate import library): Likewise.
1116 * testsuite/ld-elf/implib.s: Likewise.
1117 * testsuite/ld-elf/implib.rd: New file.
1118 * testsuite/ld-elf/empty-implib.out: Likewise
1120 2016-07-15 Nick Clifton <nickc@redhat.com>
1122 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1125 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1127 * testsuite/ld-mips-elf/mips-elf.exp: Run
1128 `branch-absolute-addend', `mips16-branch-absolute',
1129 `mips16-branch-absolute-addend' and
1130 `micromips-branch-absolute-addend'.
1132 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1134 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1135 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1136 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1137 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1139 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1141 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1143 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1144 from `mips16-branch-absolute' and
1145 `mips16-branch-absolute-addend', referred indirectly only.
1147 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1149 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1150 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1151 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1152 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1153 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1154 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1155 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1156 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1158 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1160 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1162 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1164 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1166 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1167 from `branch-absolute-addend' and
1168 `micromips-branch-absolute-addend', referred indirectly only.
1170 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1172 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1173 * testsuite/ld-arc/sda-relocs.dd: New file.
1174 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1175 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1176 * testsuite/ld-arc/sda-relocs.s: Likewise.
1177 * testsuite/ld-arc/arc.exp: Add SDA tests.
1179 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1181 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1184 2016-07-09 Alan Modra <amodra@gmail.com>
1186 * testsuite/ld-powerpc/elfv2exe.d: Update.
1188 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1190 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1194 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1196 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1198 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1200 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1201 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1202 * testsuite/ld-arm/arm-elf.exp: Run it.
1204 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1206 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1207 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1208 all noread's by purecode.
1210 2016-07-05 Jan Beulich <jbeulich@suse.com>
1212 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1213 assignment line number.
1214 * ldlex.l (lineno): Drop initializer.
1215 (<<EOF>>): Set lineno to zero after reaching top of stack.
1217 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1220 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1221 been loaded already.
1222 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1223 * testsuite/ld-plugin/pr20321.c: New file.
1225 2016-07-04 Nick Clifton <nickc@redhat.com>
1227 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1228 (__RAMSIZE): If not defined, set to 64K.
1229 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1232 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1234 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1235 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1237 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1239 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1240 (Thumb-2 BL on ARMv6-M): New testcase.
1241 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1242 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1244 2016-07-01 Tristan Gingold <gingold@adacore.com>
1246 * NEWS: Add marker for 2.27.
1248 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1250 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1251 * ld-gc/pr20306.c: New file.
1252 * ld-gc/pr20306.d: Likewise.
1254 2016-06-28 Nick Clifton <nickc@redhat.com>
1256 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1258 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1259 tests to fail for bfin.
1260 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1262 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1264 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1267 2016-06-28 Nick Clifton <nickc@redhat.com>
1269 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1270 expect to fail this test.
1271 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1273 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1275 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1276 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1277 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1278 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1279 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1281 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1283 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1286 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1288 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1289 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1290 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1291 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1293 2016-06-28 Alan Modra <amodra@gmail.com>
1296 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1298 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1300 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1301 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1302 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1303 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1304 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1305 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1307 2016-06-27 Nick Clifton <nickc@redhat.com>
1310 * lexsup.c (set_segment_start): If resetting the start address of
1311 a section, remember to generate a new script element as well.
1312 * testsuite/ld-scripts/pr20302.d: New test.
1313 * testsuite/ld-scripts/scripts.exp: Run the new test.
1315 2016-06-24 Alan Modra <amodra@gmail.com>
1317 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1318 Don't error out, always return an emulation.
1320 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1321 H.J. Lu <hongjiu.lu@intel.com>
1323 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1324 for -z relro help message.
1326 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1328 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1331 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1333 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1334 `undefweak-overflow' tests.
1336 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1339 * NEWS: Mention --enable-relro.
1340 * configure.ac: Add --enable-relro.
1341 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1342 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1344 * config.in: Regenerated.
1345 * configure: Likewise.
1346 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1347 link_info.relro to DEFAULT_LD_Z_RELRO.
1348 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1349 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1350 $ld_elf_shared_opt to ld for ELF targets with shared object
1352 (run_ld_link_tests): Likewise.
1354 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1356 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1357 twice rather than once.
1358 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1359 accordingly. Remove the full stop from the end of the message.
1361 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1363 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1364 * testsuite/ld-arc/nps-1b.d: Likewise.
1366 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1369 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1371 (lto_run_tests): Likewise.
1372 * testsuite/ld-plugin/pr20267a.c: New file.
1373 * testsuite/ld-plugin/pr20267b.c: Likewise.
1375 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1376 Alan Modra <amodra@gmail.com>
1379 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1380 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1382 (lto_run_tests): Likewise.
1383 * testsuite/ld-plugin/pass.out: New file.
1384 * testsuite/ld-plugin/pr20276a.c: Likewise.
1385 * testsuite/ld-plugin/pr20276b.c: Likewise.
1387 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1389 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1390 with bfd_plugin_unknown.
1392 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1395 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1396 * testsuite/ld-i386/no-plt.exp: Likewise.
1397 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1398 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1399 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1400 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1401 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1402 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1403 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1404 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1405 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1406 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1407 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1408 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1409 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1410 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1411 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1412 * testsuite/ld-i386/pr20244-2b.d: Updated.
1413 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1414 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1415 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1416 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1417 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1418 * testsuite/ld-i386/pr20253-1a.c: New file.
1419 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1420 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1421 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1422 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1423 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1424 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1425 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1426 * testsuite/ld-i386/pr20253-3.d: Likewise.
1427 * testsuite/ld-i386/pr20253-3.s: Likewise.
1428 * testsuite/ld-i386/pr20253-4.s: Likewise.
1429 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1430 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1431 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1432 * testsuite/ld-i386/pr20253-5.d: Likewise.
1433 * testsuite/ld-i386/pr20253-5.s: Likewise.
1434 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1435 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1436 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1437 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1438 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1439 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1440 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1441 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1442 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1443 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1444 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1445 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1446 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1447 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1448 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1449 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1450 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1451 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1452 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1453 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1454 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1455 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1456 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1457 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1458 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1459 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1460 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1461 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1462 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1463 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1464 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1465 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1466 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1467 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1468 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1469 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1470 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1471 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1472 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1473 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1474 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1475 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1477 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1478 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1479 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1480 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1481 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1483 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1484 Tony Wang <tony.wang@arm.com>
1486 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1487 Assemble for ARMv6-M.
1488 (Thumb2-Thumb2 farcall M profile): New testcase.
1489 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1490 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1491 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1492 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1494 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1496 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1497 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1498 Remove .rel.plt section.
1499 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1501 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1503 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1505 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1506 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1507 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1509 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1510 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1511 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1512 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1513 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1514 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1515 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1516 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1517 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1518 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1519 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1520 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1521 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1522 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1523 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1524 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1525 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1526 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1527 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1529 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1532 * testsuite/ld-avr/avr-prop-6.d: New test.
1533 * testsuite/ld-avr/avr-prop-6.s: New test.
1535 2016-06-14 Alan Modra <amodra@gmail.com>
1537 * ldbuildid.c: Formatting.
1538 * ldcref.c: Formatting.
1539 * ldctor.c: Formatting.
1540 * ldemul.c: Formatting.
1541 * ldexp.c: Formatting.
1542 * ldfile.c: Formatting.
1543 * ldlang.c: Formatting.
1544 * ldmain.c: Formatting.
1545 * ldwrite.c: Formatting.
1547 2016-06-14 Alan Modra <amodra@gmail.com>
1549 * ldlang.c: Expand uses of bfd_my_archive.
1550 * ldmain.c: Likewise.
1551 * ldmisc.c: Likewise.
1552 * plugin.c: Likewise.
1554 2016-06-14 Alan Modra <amodra@gmail.com>
1557 * ldmain.c (add_archive_element): Just print file name of file within
1559 * ldmisc.c (vfinfo): Likewise.
1560 * plugin.c (plugin_object_p): Open file within thin archives.
1561 (plugin_maybe_claim): Expand comment.
1563 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1566 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1567 pr20244-2c and pr20244-2d.
1568 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1569 * testsuite/ld-i386/pr20244-2.s: New file.
1570 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1571 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1572 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1573 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1574 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1575 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1576 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1577 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1579 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1581 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1582 * testsuite/ld-i386/ifunc-1a.c: New file.
1583 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1584 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1585 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1587 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1589 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1590 big endian ARC targets.
1592 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1594 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1595 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1596 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1597 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1598 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1599 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1600 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1601 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1602 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1603 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1604 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1605 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1606 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1607 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1608 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1610 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1613 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1614 * testsuite/ld-i386/pr20244-1.s: New file.
1615 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1616 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1617 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1619 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1622 * testsuite/ld-avr/avr-prop-5.d: New.
1623 * testsuite/ld-avr/avr-prop-5.s: New.
1625 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1627 * testsuite/ld-avr/lds-mega.d: New test.
1628 * testsuite/ld-avr/lds-mega.s: New test source.
1629 * testsuite/ld-avr/lds-tiny.d: New test.
1630 * testsuite/ld-avr/lds-tiny.s: New test source.
1632 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1634 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1635 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1636 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1637 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1638 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1639 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1640 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1641 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1642 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1643 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1644 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1645 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1646 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1647 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1648 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1649 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1650 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1651 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1652 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1653 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1654 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1655 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1656 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1657 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1658 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1659 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1660 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1661 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1662 * testsuite/ld-i386/no-plt.exp: Likewise.
1664 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1666 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1669 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1671 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1672 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1673 * testsuite/ld-i386/pass.out: New file.
1674 * testsuite/ld-i386/tls-def1.c: Likewise.
1675 * testsuite/ld-i386/tls-gd1.S: Likewise.
1676 * testsuite/ld-i386/tls-ld1.S: Likewise.
1677 * testsuite/ld-i386/tls-main1.c: Likewise.
1678 * testsuite/ld-i386/tls.exp: Likewise.
1679 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1680 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1681 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1682 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1683 * testsuite/ld-i386/tlsbin2.td: Likewise.
1684 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1685 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1686 * testsuite/ld-i386/tlsgd3.s: Likewise.
1687 * testsuite/ld-i386/tlsgd4.d: Likewise.
1688 * testsuite/ld-i386/tlsgd4.s: Likewise.
1689 * testsuite/ld-i386/tlsld2.s: Likewise.
1690 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1691 * testsuite/ld-i386/tlspic2.dd: Likewise.
1692 * testsuite/ld-i386/tlspic2.rd: Likewise.
1693 * testsuite/ld-i386/tlspic2.sd: Likewise.
1694 * testsuite/ld-i386/tlspic2.td: Likewise.
1695 * testsuite/ld-i386/tlspic3.s: Likewise.
1696 * testsuite/ld-i386/tlspie3.s: Likewise.
1697 * testsuite/ld-i386/tlspie3a.d: Likewise.
1698 * testsuite/ld-i386/tlspie3b.d: Likewise.
1699 * testsuite/ld-i386/tlspie3c.d: Likewise.
1701 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1703 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1704 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1705 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1706 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1707 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1708 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1709 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1710 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1712 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1714 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1715 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1716 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1717 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1718 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1719 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1720 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1721 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1722 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1723 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1724 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1725 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1726 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1727 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1728 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1729 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1730 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1731 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1732 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1733 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1734 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1736 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1738 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1740 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1742 * testsuite/ld-s390/pltoffset-1.dd: New test.
1743 * testsuite/ld-s390/pltoffset-1.ld: New test.
1744 * testsuite/ld-s390/pltoffset-1.s: New test.
1745 * testsuite/ld-s390/s390.exp: Run new test.
1747 2016-06-07 Alan Modra <amodra@gmail.com>
1749 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1750 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1751 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1753 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1755 * testsuite/ld-x86-64/pass.out: New file.
1756 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1757 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1758 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1759 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1760 * testsuite/ld-x86-64/tls.exp: Likewise.
1761 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1762 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1763 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1764 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1765 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1766 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1767 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1768 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1769 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1770 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1771 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1772 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1773 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1774 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1775 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1776 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1777 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1778 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1779 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1780 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1781 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1782 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1783 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1784 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1785 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1786 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1787 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1788 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1789 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1790 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1791 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1792 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1793 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1794 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1795 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1796 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1797 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1798 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1799 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1800 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1801 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1804 2016-06-04 Christian Groessler <chris@groessler.org>
1806 * testsuite/ld-z8k/0filler.s: New file.
1807 * testsuite/ld-z8k/branch-target.s: New file.
1808 * testsuite/ld-z8k/branch-target2.s: New file.
1809 * testsuite/ld-z8k/calr-back-8001.d: New file.
1810 * testsuite/ld-z8k/calr-back-8002.d: New file.
1811 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1812 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1813 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1814 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1815 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1816 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1817 * testsuite/ld-z8k/calr-opcode.s: New file.
1818 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1819 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1820 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1821 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1822 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1823 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1824 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1825 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1826 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1827 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1828 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1829 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1830 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1831 * testsuite/ld-z8k/djnz-opcode.s: New file.
1832 * testsuite/ld-z8k/filler.s: New file.
1833 * testsuite/ld-z8k/jr-back-8001.d: New file.
1834 * testsuite/ld-z8k/jr-back-8002.d: New file.
1835 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1836 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1837 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1838 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1839 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1840 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1841 * testsuite/ld-z8k/jr-opcode.s: New file.
1842 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1843 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1844 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1845 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1846 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1847 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1848 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1849 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1850 * testsuite/ld-z8k/ldr-opcode.s: New file.
1851 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1852 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1853 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1854 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1855 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1856 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1857 * testsuite/ld-z8k/other-file.s: New file.
1858 * testsuite/ld-z8k/reloc.dd: New file.
1859 * testsuite/ld-z8k/reloc.ld: New file.
1860 * testsuite/ld-z8k/relocseg.dd: New file.
1861 * testsuite/ld-z8k/relocseg.ld: New file.
1862 * testsuite/ld-z8k/relocseg1.dd: New file.
1863 * testsuite/ld-z8k/this-file.s: New file.
1864 * testsuite/ld-z8k/z8k.exp: New file.
1866 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1868 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1869 with -mrelax-relocations=yes.
1870 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1871 * testsuite/ld-i386/lea1b.d (as): Likewise.
1872 * testsuite/ld-i386/lea1d.d (as): Likewise.
1873 * testsuite/ld-i386/lea1e.d (as): Likewise.
1874 * testsuite/ld-i386/lea1f.d (as): Likewise.
1875 * testsuite/ld-i386/load7.d (as): Likewise.
1876 * testsuite/ld-i386/mov1b.d (as): Likewise.
1877 * testsuite/ld-i386/pr19175.d (as): Likewise.
1878 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1879 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1880 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1881 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1882 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1884 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1886 * configure.tgt: Replace -uclibc with *.
1888 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1890 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1891 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1892 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1893 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1895 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1897 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1898 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1899 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1900 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1901 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1902 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1904 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1906 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1907 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1908 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1909 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1910 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1911 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1912 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1914 2016-05-28 Alan Modra <amodra@gmail.com>
1916 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1917 constructor_callback, warning_callback, undefined_symbol,
1918 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1919 * emultempl/elf32.em: Adjust callback calls.
1921 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1923 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1924 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1925 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1927 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1929 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1931 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1933 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1935 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1937 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1939 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1941 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1942 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1944 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1946 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1948 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1949 `unaligned-jalx-2' here.
1950 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1951 `unaligned-jalx-mips16-2' here.
1952 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1953 `unaligned-jalx-micromips-2' here.
1954 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1955 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1957 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1958 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1959 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1960 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1961 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1963 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1964 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1965 `unaligned-lwpc-3' here.
1966 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1967 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1968 `unaligned-lwpc-2' here.
1969 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1970 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1971 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1972 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1973 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1974 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1975 `unaligned-ldpc-4' here.
1976 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1977 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1978 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1979 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1980 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1981 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1982 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1983 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1984 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1985 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1986 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1988 2016-05-26 Nick Clifton <nickc@redhat.com>
1991 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1993 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1995 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1997 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1998 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1999 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
2000 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
2001 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
2002 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
2003 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
2004 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
2005 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
2006 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
2007 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
2008 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
2009 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
2010 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
2011 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
2012 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
2013 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
2014 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
2015 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
2016 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
2017 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
2018 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
2019 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
2020 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
2021 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
2022 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
2023 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
2024 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
2025 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
2026 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
2027 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
2028 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
2029 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2031 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2034 * ldmain.c (add_archive_element): Don't claim new IR symbols
2035 after all IR symbols have been claimed.
2036 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
2038 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
2039 Run PR ld/20103 tests.
2040 * testsuite/ld-plugin/pr20103a.c: New file.
2041 * testsuite/ld-plugin/pr20103b.c: Likewise.
2042 * testsuite/ld-plugin/pr20103c.c: Likewise.
2044 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2046 * testsuite/ld-mips-elf/jalx-local.d: New test.
2047 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
2048 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
2049 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2051 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2053 * Makefile.am: Add earmelf_phoenix.c.
2054 * Makefile.in: Regenerate.
2055 * configure.tgt: Add entry for arm-phoenix.
2056 * emulparams/armelf_phoenix.sh: New file.
2058 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
2060 * emultempl/armelf.em (arm_elf_before_allocation): Call
2061 bfd_elf32_arm_keep_private_stub_output_sections before generic
2062 before_allocation function.
2064 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2066 * testsuite/ld-mips-elf/jalx-addend.d: New test.
2067 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2068 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2069 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2071 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2074 * testsuite/ld-i386/i386.exp: Run pr20117.
2075 * testsuite/ld-i386/pr19609-1i.d: Updated.
2076 * testsuite/ld-i386/pr20117.d: New file.
2077 * testsuite/ld-i386/pr20117.s: Likewise.
2079 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2081 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2082 * testsuite/ld-elf/group8a.d: Likewise.
2083 * testsuite/ld-elf/group8b.d: Likewise.
2084 * testsuite/ld-elf/group9a.d: Likewise.
2085 * testsuite/ld-elf/group9b.d: Likewise.
2086 * testsuite/ld-elf/pr12851.d: Likewise.
2087 * testsuite/ld-elf/pr12975.d: Likewise.
2088 * testsuite/ld-elf/pr13177.d: Likewise.
2089 * testsuite/ld-elf/pr13195.d: Likewise.
2090 * testsuite/ld-elf/pr17615.d: Likewise.
2091 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2092 * testsuite/ld-elf/group3b.d: Likewise.
2093 * testsuite/ld-srec/srec.exp: Likewise.
2094 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2096 (check_shared_lib_support): Mark ARC as supporting.
2098 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2100 * emulparams/arcelf.sh: Changed.
2101 * emulparams/arclinux.sh: Likewise.
2102 * scripttempl/arclinux.sc: Moved to a more standard implementation
2105 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2107 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2108 `ft32-*-*' behind `frv-*-*'.
2110 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2112 * configure.tgt: Remove `am34-*-linux*' support.
2114 2016-05-19 Alan Modra <amodra@gmail.com>
2116 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2117 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2118 * testsuite/ld-scripts/cross3.t: Likewise.
2119 * testsuite/ld-scripts/cross4.t: Likewise.
2120 * testsuite/ld-scripts/cross5.t: Likewise.
2121 * testsuite/ld-scripts/cross6.t: Likewise.
2122 * testsuite/ld-scripts/cross7.t: Likewise.
2124 2016-05-19 Alan Modra <amodra@gmail.com>
2126 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2127 exe name rather than constructing testname. Fix typo in
2128 sub-test name. Log copying. Use -rpath rather than -R.
2130 2016-05-18 Nick Clifton <nickc@redhat.com>
2132 * scripttempl/ft32.sc: Use fixed constants for memory region
2133 lengths. Include DWARF debug sections.
2134 (.data .bss): Do not assign locations during relocatable links.
2135 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2136 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2137 * testsuite/ld-elf/sec64k.exp: Likewise.
2138 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2139 * testsuite/ld-elf/merge.d: Likewise.
2140 * testsuite/ld-elf/orphan-region.d: Likewise.
2141 * testsuite/ld-elf/orphan.s: Likewise.
2142 * testsuite/ld-elf/orphan3.d: Likewise.
2143 * testsuite/ld-elf/pr349.d: Likewise.
2144 * testsuite/ld-elf/warn2.d: Likewise.
2145 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2146 that the FT32 does not support shared libraries.
2148 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2150 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2153 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2155 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2157 * scripttempl/avrtiny.sc (text): Likewise.
2159 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2161 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2162 `supports_gnu_unique' to qualify testing.
2164 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2166 * testsuite/ld-elf/flags1.d: Update the xfail list.
2168 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2170 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2173 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2176 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2177 on EXPECTED_VIEW_LENGTH.
2178 * testplug4.c (onall_symbols_read): Likewise.
2180 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2183 * testsuite/ld-x86-64/pr20093-1.d: New file.
2184 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2185 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2186 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2187 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2189 2016-05-13 Alan Modra <amodra@gmail.com>
2191 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2192 Use different output file name for static app without .rel.plt.
2193 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2194 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2195 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2196 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2197 * testsuite/ld-arm/arm-static-app.r: Likewise.
2199 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2202 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2203 (libldtestplug4_la_SOURCES): New.
2204 (libldtestplug4_la_CFLAGS): Likewise.
2205 (libldtestplug4_la_LDFLAGS): Likewise.
2206 * Makefile.in: Regenerated.
2207 * plugin.c (get_symbols): Return resolution based on IR symbol
2208 kinds for symbols defined/referenced only within IR.
2209 * testplug4.c: New file.
2210 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2211 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2212 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2213 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2214 (plugin4_path): Likewise.
2215 Add a test for ld/20070.
2217 2016-05-11 Alan Modra <amodra@gmail.com>
2219 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2220 Call elf32_hppa_init_stub_bfd.
2222 2016-05-11 Alan Modra <amodra@gmail.com>
2225 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2226 * testsuite/ld-powerpc/tlsdll.s: New.
2227 * testsuite/ld-powerpc/tlsdll.ver: New.
2228 * testsuite/ld-powerpc/tlsdll_32.s: New.
2229 * testsuite/ld-powerpc/tlsopt5.d: New.
2230 * testsuite/ld-powerpc/tlsopt5.s: New.
2231 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2232 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2234 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2236 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2237 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2239 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2241 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2242 parameter and rename input_section parameter to after_input_section.
2243 Append input stub section to the output section if after_input_section
2246 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2248 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2250 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2251 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2253 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2255 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2257 2016-05-09 Christophe Monat <christophe.monat@st.com>
2260 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2261 tests. Fix misnamed stm32l4xx-fix-all.
2262 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2263 loads with DP registers.
2264 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2265 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2266 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2267 loads with DP registers.
2268 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2270 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2272 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2274 (xfail): Remove avr-*-*.
2275 Update regex to check the section flags.
2276 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2278 2016-05-09 Alan Modra <amodra@gmail.com>
2280 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2281 * Makefile.in: Regenerate.
2283 2016-05-09 Alan Modra <amodra@gmail.com>
2285 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2286 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2287 * testsuite/ld-scripts/section-match-1.t: Likewise.
2289 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2292 * testsuite/ld-elf/pr17550-1.s: New file.
2293 * testsuite/ld-elf/pr17550-2.s: Likewise.
2294 * testsuite/ld-elf/pr17550-3.s: Likewise.
2295 * testsuite/ld-elf/pr17550-4.s: Likewise.
2296 * testsuite/ld-elf/pr17550a.d: Likewise.
2297 * testsuite/ld-elf/pr17550b.d: Likewise.
2298 * testsuite/ld-elf/pr17550c.d: Likewise.
2299 * testsuite/ld-elf/pr17550d.d: Likewise.
2301 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2303 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2305 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2307 * testsuite/ld-i386/i386.exp: Run load7.
2308 * testsuite/ld-i386/load7.d: New file.
2309 * testsuite/ld-i386/load7.map: Likewise.
2310 * testsuite/ld-i386/load7.s: Likewise.
2311 * testsuite/ld-x86-64/load2.d: Likewise.
2312 * testsuite/ld-x86-64/load2.map: Likewise.
2313 * testsuite/ld-x86-64/load2.s: Likewise.
2314 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2316 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2318 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2319 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2321 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2324 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2326 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2328 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2330 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2332 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2334 * testsuite/ld-unique/unique.d: New test.
2335 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2336 messages for compiled tests.
2338 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2340 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2341 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2342 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2343 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2344 plugin_tests only if check_shared_lib_support is true.
2345 * testsuite/ld-selective/selective.exp: Add --section-start
2348 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2351 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2353 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2355 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2356 * NEWS: Mention --no-apply-dynamic-relocs.
2357 * ld.texinfo (ld and the ARM family): Document
2358 --no-apply-dynamic-relocs.
2359 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2360 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2361 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2362 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2365 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2367 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2368 before running STT_COMMON tests.
2370 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2372 * config/default.exp (NOPIE_CFLAGS): Download source only on
2374 (NOPIE_LDFLAGS): Likewise.
2375 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2376 (check_lto_fat_available): Likewise.
2377 (check_lto_shared_available): Likewise.
2378 (check_ifunc_available): Likewise.
2379 (check_ifunc_attribute_available): Likewise.
2381 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2383 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2385 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2388 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2389 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2392 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2394 * testsuite/ld-elf/compressed1b.d: Pass
2395 --compress-debug-sections=none to ld.
2396 * testsuite/ld-elf/compressed1c.d: Likewise.
2398 2016-04-27 Alan Modra <amodra@gmail.com>
2401 * configure.tgt: Don't use var+=.
2403 2016-04-25 Nick Clifton <nickc@redhat.com>
2406 * configure.tgt: Include big endian PPC64 emulations with little
2407 endian PPC64 targets.
2409 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2411 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2413 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2415 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2416 Linux with GCC 4.9 or newer.
2417 (check_lto_fat_available): Likewise.
2418 (check_lto_shared_available): Likewise.
2420 2016-04-21 Nick Clifton <nickc@redhat.com>
2422 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2423 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2424 targets. Do not stop the checks when problems are encountered.
2426 2016-04-21 Alan Modra <amodra@gmail.com>
2428 * testsuite/ld-scripts/cross3.t: Add commonly used data
2429 and text section names to output section statements.
2430 * testsuite/ld-scripts/cross4.t: Likewise.
2431 * testsuite/ld-scripts/cross5.t: Likewise.
2432 * testsuite/ld-scripts/cross6.t: Likewise.
2433 * testsuite/ld-scripts/cross7.t: Likewise.
2435 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2437 * ldlang.c (lang_check_relocs): New function.
2438 (lang_process): Call lang_check_relocs after lang_gc_sections.
2439 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2440 call _bfd_elf_link_check_relocs here.
2442 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2445 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2446 R_386_NONE or R_X86_64_NONE.
2448 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2450 * testsuite/ld-x86-64/pic1.d: New file.
2451 * testsuite/ld-x86-64/pic1.s: Likewise.
2452 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2454 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2456 * testsuite/ld-x86-64/pie2.d: New file.
2457 * testsuite/ld-x86-64/pie2.s: Likewise.
2458 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2460 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2463 * testsuite/ld-x86-64/pr19969.d: New file.
2464 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2465 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2466 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2468 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2470 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2472 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2474 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2476 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2478 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2480 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2482 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2484 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2486 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2487 Set check_relocs_after_open_input to TRUE if
2488 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2489 (gld${EMULATION_NAME}_after_open): Call
2490 _bfd_elf_link_check_relocs on all inputs if
2491 check_relocs_after_open_input is TRUE.
2493 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2495 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2498 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2500 * emultempl/scoreelf.em: Likewise.
2502 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2505 * testsuite/ld-x86-64/pr19719.d: New file.
2506 * testsuite/ld-x86-64/pr19719.s: Likewise.
2507 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2509 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2511 * ld.texinfo: Document NOCROSSREFS_TO script command.
2512 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2513 (lang_add_nocrossref_to): New prototype.
2514 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2515 symbols defined in the first section.
2516 (check_nocrossref): Likewise.
2517 * ldgram.y (NOCROSSREFS_TO): New script command.
2518 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2519 (lang_add_nocrossref_to): New function.
2520 * ldlex.l (NOCROSSREFS_TO): New token.
2521 * NEWS: Mention NOCROSSREFS_TO.
2522 * testsuite/ld-scripts/cross4.t: New file.
2523 * testsuite/ld-scripts/cross5.t: Likewise.
2524 * testsuite/ld-scripts/cross6.t: Likewise.
2525 * testsuite/ld-scripts/cross7.t: Likewise.
2526 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2529 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2531 * Makefile.in: Regenerated with automake 1.11.6.
2532 * aclocal.m4: Likewise.
2534 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2536 * testsuite/ld-arc/arc.exp: New file.
2537 * testsuite/ld-arc/nps-1.s: New file.
2538 * testsuite/ld-arc/nps-1a.d: New file.
2539 * testsuite/ld-arc/nps-1b.d: New file.
2540 * testsuite/ld-arc/nps-1b.err: New file.
2542 2016-04-14 Nick Clifton <nickc@redhat.com>
2545 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2546 exceptions for Mingw and Cygwin.
2548 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2550 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2553 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2556 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2557 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2560 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2563 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2564 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2565 * testsuite/ld-i386/pr19939.s: New file.
2566 * testsuite/ld-i386/pr19939a.d: Likewise.
2567 * testsuite/ld-i386/pr19939b.d: Likewise.
2568 * testsuite/ld-x86-64/pr19939.s: Likewise.
2569 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2570 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2572 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2574 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2576 2016-04-08 Alan Modra <amodra@gmail.com>
2579 * ldlang.c (maybe_overlays): Delete.
2580 (lang_size_sections_1): Remove code setting maybe_overlays.
2581 (lang_check_section_addresses): Instead detect overlays by
2582 exact match of section VMAs here. Fix memory leak.
2584 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2586 * ldlang.c (print_output_section_statement): Show minfo size
2587 in target machine address units.
2588 (print_reloc_statement): Likewise.
2589 (print_padding_statement): Likewise.
2590 (print_data_statement): Likewise. Ensure minimum print_dot
2591 increment of one address unit.
2593 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2595 * emulparams/arc-endianness.sh: Make little endian default choice.
2597 2016-04-07 Nick Clifton <nickc@redhat.com>
2599 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2601 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2603 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2605 * emulparams/arc-endianness.sh: New file.
2606 * emulparams/arcebelf.sh: Deleted.
2607 * emulparams/arcebelf_prof.sh: Deleted.
2608 * emulparams/arceblinux.sh: Deleted.
2609 * emulparams/arceblinux_prof.sh: Deleted.
2610 * emulparams/arcelf.sh: Include arc-endinness.sh.
2611 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2612 * emulparams/arclinux.sh: Include arc-endinness.sh.
2613 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2614 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2615 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2616 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2617 little endian arc targets.
2618 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2619 * testsuite/ld-elf/group1.d: Likewise.
2620 * testsuite/ld-elf/group3b.d: Likewise.
2621 * testsuite/ld-elf/group8a.d: Likewise.
2622 * testsuite/ld-elf/group8b.d: Likewise.
2623 * testsuite/ld-elf/group9a.d: Likewise.
2624 * testsuite/ld-elf/group9b.d: Likewise.
2625 * testsuite/ld-elf/linkonce2.d: Likewise.
2626 * testsuite/ld-elf/pr12851.d: Likewise.
2627 * testsuite/ld-elf/pr12975.d: Likewise.
2628 * testsuite/ld-elf/pr13177.d: Likewise.
2629 * testsuite/ld-elf/pr13195.d: Likewise.
2630 * testsuite/ld-elf/pr17615.d: Likewise.
2631 * testsuite/ld-elf/pr19162.d: Likewise.
2632 * testsuite/ld-elf/sec64k.exp: Likewise.
2633 * testsuite/lib/ld-lib.exp: Likewise.
2635 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2638 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2640 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2641 * testsuite/ld-cris/tls-e-21.d: Likewise.
2642 * testsuite/ld-cris/tls-e-23.d: Likewise.
2643 * testsuite/ld-cris/tls-e-80.d: Likewise.
2644 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2645 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2646 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2647 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2648 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2649 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2650 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2651 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2652 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2653 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2655 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2657 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2658 * testsuite/ld-discard/start.d: Likewise.
2659 * testsuite/ld-discard/static.d: Likewise.
2660 * testsuite/ld-elf/group1.d: Likewise.
2661 * testsuite/ld-elf/group3b.d: Likewise.
2662 * testsuite/ld-elf/orphan-region.d: Likewise.
2663 * testsuite/ld-elf/orphan.d: Likewise.
2664 * testsuite/ld-elf/orphan3.d: Likewise.
2665 * testsuite/ld-elf/pr349.d: Likewise.
2666 * testsuite/ld-elf/warn1.d: Likewise.
2667 * testsuite/ld-elf/warn2.d: Likewise.
2668 * testsuite/ld-elf/warn3.d: Likewise.
2669 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2670 through linker flags.
2671 * testsuite/ld-srec/srec.exp: Set as xfail.
2673 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2676 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2677 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2679 2016-04-04 Nick Clifton <nickc@redhat.com>
2682 * emultempl/pe.em (change_undef): New function. Encapsulates
2683 duplicated code in pe_fixup_stdcalls and adds the newly defined
2684 sym to the gc root list.
2685 (pe_fixup_stdcall): Use the new function.
2686 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2687 symbol to gc root list.
2689 2016-03-31 Alan Modra <amodra@gmail.com>
2691 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2692 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2693 (print_input_section): Don't use TO_ADDR when printing section
2695 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2696 (lang_size_sections): Use TO_ADDR in relro end calculation.
2698 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2700 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2701 value from regexp_diff.
2702 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2703 * testsuite/ld-elf/orphan-6.l: Likewise.
2705 2016-03-30 Alan Modra <amodra@gmail.com>
2708 * ldlang.c (maybe_overlays): New static var.
2709 (lang_size_sections_1): Set it here.
2710 (struct check_sec): New.
2711 (sort_sections_by_lma): Adjust for array of structs.
2712 (sort_sections_by_vma): New function.
2713 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2714 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2716 2016-03-30 Alan Modra <amodra@gmail.com>
2718 * ldlang.c (lang_size_sections_1): Correct code detecting a
2719 backward non-overlapping move.
2721 2016-03-30 Alan Modra <amodra@gmail.com>
2723 * ldlang.c (IS_TBSS): New macro, extracted from..
2724 (IGNORE_SECTION): ..here.
2725 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2726 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2728 2016-03-22 Nick Clifton <nickc@redhat.com>
2731 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2732 symbol name to the list of gc symbols.
2733 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2734 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2735 and fini function names.
2736 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2738 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2739 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2741 2016-03-22 Nick Clifton <nickc@redhat.com>
2743 * configure: Regenerate.
2745 2016-03-21 Nick Clifton <nickc@redhat.com>
2747 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2748 * plugin.c: Likewise.
2749 * pe-dll.c: Likewise.
2751 2016-03-18 Awson <kyrab@mail.ru>
2754 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2756 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2758 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2760 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2762 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2765 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2766 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2767 * testsuite/ld-i386/pr19827.rd: New file.
2768 * testsuite/ld-i386/pr19827a.S: Likewise.
2769 * testsuite/ld-i386/pr19827b.S: Likewise.
2770 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2771 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2772 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2774 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2777 * Makefile.am (ELF_X86_DEPS): Add
2778 $(srcdir)/emulparams/reloc_overflow.sh.
2779 * Makefile.in: Regenerated.
2780 * NEWS: Mention -z noreloc-overflow.
2781 * ld.texinfo: Document -z noreloc-overflow.
2782 * emulparams/elf32_x86_64.sh: Source
2783 ${srcdir}/emulparams/reloc_overflow.sh.
2784 * emulparams/elf_x86_64.sh: Likewise.
2785 * emulparams/reloc_overflow.sh: New file.
2786 * testsuite/ld-x86-64/pr19807-1.s: New file.
2787 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2788 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2789 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2790 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2791 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2792 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2793 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2794 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2795 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2797 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2800 * testsuite/ld-i386/i386.exp: Run pr19539.
2801 * testsuite/ld-i386/pr19539.d: New file.
2802 * testsuite/ld-i386/pr19539.s: Likewise.
2803 * testsuite/ld-i386/pr19539.t: Likewise.
2804 * testsuite/ld-x86-64/pr19539.s: Likewise.
2805 * testsuite/ld-x86-64/pr19539.t: Likewise.
2806 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2807 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2808 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2810 2016-03-10 Mickael Guene <mickael.guene@st.com>
2813 * testsuite/ld-arm/arm-elf.exp: New tests.
2814 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2815 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2817 2016-03-10 Nick Clifton <nickc@redhat.com>
2819 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2821 2016-03-09 Pedro Alves <palves@redhat.com>
2823 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2824 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2826 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2829 * testsuite/ld-elf/pr19789.d: New file.
2830 * testsuite/ld-elf/pr19789.s: Likewise.
2832 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2835 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2836 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2837 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2838 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2839 * testsuite/ld-ifunc/pass.out: New file.
2840 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2841 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2842 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2844 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2847 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2848 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2849 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2850 --as-needed for pr18841c.
2852 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2855 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2856 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2857 before tmpdir/got1d.so and test --as-needed.
2858 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2859 tmpdir/pr18900.so and test --as-needed.
2861 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2863 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2864 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2866 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2868 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2870 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2871 before tmpdir/copyreloc-lib.so and test --as-needed.
2872 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2874 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2877 * testsuite/ld-elf/pr19579a.c: New file.
2878 * testsuite/ld-elf/pr19579b.c: Likewise.
2879 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2881 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2883 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2885 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2887 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2888 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2890 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2893 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2894 input sections for relocatable link.
2895 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2896 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2898 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2901 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2902 merge flags of other input sections for relocatable link.
2904 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2906 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2908 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2910 * testsuite/ld-elf/pr19162.d: Skip arc target.
2912 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2915 * testsuite/ld-elf/pr19162.d: New file.
2916 * testsuite/ld-elf/pr19162a.s: Likwise.
2917 * testsuite/ld-elf/pr19162b.s: Likwise.
2919 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2921 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2922 * testsuite/ld-elf/merge2.d: Likewise.
2923 * testsuite/ld-elf/merge3.d: Likewise.
2925 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2927 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2930 2016-02-26 Renlin Li <renlin.li@arm.com>
2932 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2933 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2934 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2935 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2936 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2937 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2938 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2939 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2940 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2941 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2943 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2946 * testsuite/ld-i386/got1.dd: Updated.
2947 * testsuite/ld-i386/lea1c.d: Likewise.
2948 * testsuite/ld-i386/load1-nacl.d: Likewise.
2949 * testsuite/ld-i386/load1.d: Likewise.
2950 * testsuite/ld-i386/load4b.d: Likewise.
2951 * testsuite/ld-i386/load5b.d: Likewise.
2952 * testsuite/ld-i386/mov1b.d: Likewise.
2953 * testsuite/ld-x86-64/mov1b.d: Likewise.
2954 * testsuite/ld-x86-64/mov1d.d: Likewise.
2955 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2956 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2957 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2958 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2959 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2960 * testsuite/ld-x86-64/lea1a.d: Likewise.
2961 * testsuite/ld-x86-64/lea1b.d: Likewise.
2962 * testsuite/ld-x86-64/lea1c.d: Likewise.
2963 * testsuite/ld-x86-64/lea1d.d: Likewise.
2964 * testsuite/ld-x86-64/lea1e.d: Likewise.
2965 * testsuite/ld-x86-64/lea1f.d: Likewise.
2966 * testsuite/ld-x86-64/mov1b.d: Likewise.
2967 * testsuite/ld-x86-64/mov1d.d: Likewise.
2968 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2969 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2970 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2971 * testsuite/ld-i386/pr19609-1.s: New file.
2972 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2973 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2974 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2975 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2976 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2977 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2978 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2979 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2980 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2981 * testsuite/ld-i386/pr19609-2.s: Likewise.
2982 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2983 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2984 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2985 * testsuite/ld-i386/undefweak.s: Likewise.
2986 * testsuite/ld-i386/undefweaka.d: Likewise.
2987 * testsuite/ld-i386/undefweakb.d: Likewise.
2988 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2989 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2990 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2991 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2992 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2993 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2994 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2995 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2996 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2997 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2998 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2999 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
3000 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
3001 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
3002 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
3003 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
3004 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
3005 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
3006 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
3007 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
3008 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
3009 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
3010 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
3011 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
3012 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
3013 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
3014 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
3015 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
3016 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
3017 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
3018 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
3019 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
3020 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
3021 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
3022 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
3023 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
3024 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
3025 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
3026 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
3027 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
3028 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
3029 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
3030 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
3031 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
3032 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
3033 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
3034 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
3036 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
3037 and tests for PR ld/19609.
3039 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3042 * NEWS: Mention -z common/-z nocommon for ELF targets.
3043 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
3044 -z common and -z nocommon.
3045 * ld.texinfo: Document -z common/-z nocommon.
3046 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
3047 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
3048 --elf-stt-common=yes with assembler.
3049 * testsuite/ld-elfcomm/common-1.s: New file.
3050 * testsuite/ld-elfcomm/common-1a.d: Likewise.
3051 * testsuite/ld-elfcomm/common-1b.d: Likewise.
3052 * testsuite/ld-elfcomm/common-1c.d: Likewise.
3053 * testsuite/ld-elfcomm/common-1d.d: Likewise.
3054 * testsuite/ld-elfcomm/common-1e.d: Likewise.
3055 * testsuite/ld-elfcomm/common-1f.d: Likewise.
3056 * testsuite/ld-elfcomm/common-2.s: Likewise.
3057 * testsuite/ld-elfcomm/common-2a.d: Likewise.
3058 * testsuite/ld-elfcomm/common-2b.d: Likewise.
3059 * testsuite/ld-elfcomm/common-2c.d: Likewise.
3060 * testsuite/ld-elfcomm/common-2d.d: Likewise.
3061 * testsuite/ld-elfcomm/common-2e.d: Likewise.
3062 * testsuite/ld-elfcomm/common-2f.d: Likewise.
3063 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
3064 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
3065 * testsuite/ld-i386/pr19645.d: Likewise.
3066 * testsuite/ld-i386/pr19645.s: Likewise.
3067 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3068 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3069 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3070 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3071 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3072 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3073 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3074 * testsuite/ld-x86-64/pr19645.d: Likewise.
3075 * testsuite/ld-x86-64/pr19645.s: Likewise.
3076 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3078 (assembler_generates_commons): Removed.
3079 Run -z common/-z nocommon tests. Run *.d tests.
3080 * testsuite/ld-i386/i386.exp: Run pr19645.
3081 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3082 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3083 assembler. Test STT_COMMON with readelf.
3085 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3090 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3091 * Makefile.in: Regenerated.
3092 * NEWS: Mention -z nodynamic-undefined-weak.
3093 * ld.texinfo: Document -z nodynamic-undefined-weak.
3094 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3095 * emulparams/dynamic_undefined_weak.sh: New file.
3096 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3097 * emulparams/elf_i386.sh: Likewise.
3098 * emulparams/elf_i386_be.sh: Likewise.
3099 * emulparams/elf_i386_chaos.sh: Likewise.
3100 * emulparams/elf_i386_ldso.sh: Likewise.
3101 * emulparams/elf_i386_vxworks.sh: Likewise.
3102 * emulparams/elf_iamcu.sh: Likewise.
3103 * emulparams/elf_k1om.sh: Likewise.
3104 * emulparams/elf_l1om.sh: Likewise.
3105 * emulparams/elf_x86_64.sh: Likewise.
3106 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3108 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3109 * testsuite/ld-elf/pr19719a.c: New file.
3110 * testsuite/ld-elf/pr19719b.c: Likewise.
3111 * testsuite/ld-elf/pr19719c.c: Likewise.
3112 * testsuite/ld-elf/pr19719d.c: Likewise.
3113 * testsuite/ld-i386/pr19636-1.s: Likewise.
3114 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3115 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3116 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3117 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3118 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3119 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3120 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3121 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3122 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3123 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3124 * testsuite/ld-i386/pr19636-2.s: Likewise.
3125 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3126 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3127 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3128 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3129 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3130 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3131 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3132 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3133 * testsuite/ld-i386/pr19636-3.s: Likewise.
3134 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3135 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3136 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3137 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3138 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3139 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3140 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3141 * testsuite/ld-i386/pr19636-4.s: Likewise.
3142 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3143 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3144 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3145 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3146 * testsuite/ld-i386/pr19704.out: Likewise.
3147 * testsuite/ld-i386/pr19704a.c: Likewise.
3148 * testsuite/ld-i386/pr19704b.c: Likewise.
3149 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3150 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3151 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3152 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3153 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3154 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3155 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3156 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3157 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3158 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3159 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3160 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3161 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3162 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3163 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3164 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3165 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3166 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3167 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3168 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3169 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3170 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3171 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3172 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3173 * testsuite/ld-x86-64/pr19704.out: Likewise.
3174 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3175 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3176 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3177 Run mix_pic_and_non_pic.
3178 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3179 Run undefined_weak and PR ld/19636 tests.
3180 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3181 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3182 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3184 2016-02-25 Nick Clifton <nickc@redhat.com>
3186 * ld.h (struct ld_config_type): Remove specified_data_size field.
3188 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3191 * testsuite/ld-elf/pr19698.d: New file.
3192 * testsuite/ld-elf/pr19698.s: Likewise.
3193 * testsuite/ld-elf/pr19698.t: Likewise.
3195 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3197 * Makefile.am (ELF_X86_DEPS): New.
3198 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3199 (eelf_i386_chaos.c): Likewise.
3200 (eelf_i386_fbsd.c): Likewise.
3201 (eelf_i386_ldso.c): Likewise.
3202 (eelf_i386_nacl.c): Likewise.
3203 (eelf_i386_sol2.c): Likewise.
3204 (eelf_iamcu.c): Likewise.
3205 (eelf32_x86_64.c): Likewise.
3206 (eelf32_x86_64_nacl.c): Likewise.
3207 (eelf_l1om.c): Likewise.
3208 (eelf_l1om_fbsd.c): Likewise.
3209 (eelf_k1om.c): Likewise.
3210 (eelf_k1om_fbsd.c): Likewise.
3211 (eelf_x86_64.c): Likewise.
3212 (eelf_x86_64_cloudabi.c): Likewise.
3213 (eelf_x86_64_fbsd.c): Likewise.
3214 (eelf_x86_64_sol2.c): Likewise.
3215 * Makefile.in: Regenerated.
3217 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3219 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3220 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3221 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3222 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3224 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3226 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3228 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3230 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3231 *-*-gnu* and *-*-solaris*.
3232 * testsuite/ld-elf/pr19617b.d: Likewise.
3233 * testsuite/ld-elf/pr19617c.d: Likewise.
3235 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3238 * testsuite/ld-elf/pr19617.s: New file.
3239 * testsuite/ld-elf/pr19617a.d: Likewise.
3240 * testsuite/ld-elf/pr19617b.d: Likewise.
3241 * testsuite/ld-elf/pr19617c.d: Likewise.
3243 2016-02-18 Nick Clifton <nickc@redhat.com>
3245 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3246 in-tree xg++ executable after checking for the presence of an
3247 in-tree g++ executable.
3248 * Makefile.in: Regenerate.
3250 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3252 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3253 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3254 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3256 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3258 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3259 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3260 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3261 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3262 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3263 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3264 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3265 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3266 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3267 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3268 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3269 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3270 * testsuite/ld-x86-64/load1c.d: Likewise.
3271 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3272 * testsuite/ld-x86-64/load1d.d: Likewise.
3273 * testsuite/ld-x86-64/pr14207.d: Likewise.
3274 * testsuite/ld-x86-64/pr19162.d: Likewise.
3275 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3276 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3277 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3278 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3279 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3280 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3282 2016-02-17 Nick Clifton <nickc@redhat.com>
3284 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3286 2016-02-15 Nick Clifton <nickc@redhat.com>
3288 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3289 description of the flags produced by readelf.
3290 * testsuite/ld-i386/pr12921.d: Likewise.
3291 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3292 * testsuite/ld-i386/tlsbin.rd: Likewise.
3293 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3294 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3295 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3296 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3297 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3298 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3299 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3300 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3301 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3302 * testsuite/ld-i386/tlspic.rd: Likewise.
3303 * testsuite/ld-s390/tlsbin.rd: Likewise.
3304 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3305 * testsuite/ld-s390/tlspic.rd: Likewise.
3306 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3307 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3308 * testsuite/ld-sh/tlspic-2.d: Likewise.
3309 * testsuite/ld-tic6x/common.d: Likewise.
3310 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3311 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3312 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3313 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3314 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3315 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3316 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3317 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3318 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3319 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3320 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3321 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3322 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3323 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3324 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3325 * testsuite/ld-x86-64/pr12718.d: Likewise.
3326 * testsuite/ld-x86-64/pr12921.d: Likewise.
3327 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3328 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3329 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3330 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3331 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3332 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3333 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3334 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3335 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3336 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3337 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3338 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3339 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3340 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3342 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3345 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3347 * lexsup.c (parse_args): Enable -Bsymbolic and
3348 -Bsymbolic-functions for PIE.
3349 * testsuite/ld-i386/i386.exp: Run pr19615.
3350 * testsuite/ld-i386/pr19615.d: New file.
3351 * testsuite/ld-i386/pr19615.s: Likewise.
3352 * testsuite/ld-x86-64/pr19615.d: Likewise.
3353 * testsuite/ld-x86-64/pr19615.s: Likewise.
3355 2016-02-09 Nick Clifton <nickc@redhat.com>
3357 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3358 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3359 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3360 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3362 2016-02-04 Nick Clifton <nickc@redhat.com>
3364 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3365 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3366 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3367 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3368 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3369 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3370 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3371 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3372 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3374 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3377 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3378 * testsuite/ld-i386/call1.d: Likewise.
3379 * testsuite/ld-i386/call2.d: Likewise.
3380 * testsuite/ld-i386/call3a.d: Likewise.
3381 * testsuite/ld-i386/call3b.d: Likewise.
3382 * testsuite/ld-i386/call3c.d: Likewise.
3383 * testsuite/ld-i386/call3d.d: Likewise.
3384 * testsuite/ld-i386/call3e.d: Likewise.
3385 * testsuite/ld-i386/call3f.d: Likewise.
3386 * testsuite/ld-i386/call3g.d: Likewise.
3387 * testsuite/ld-i386/call3h.d: Likewise.
3388 * testsuite/ld-i386/jmp1.d: Likewise.
3389 * testsuite/ld-i386/jmp2.d: Likewise.
3390 * testsuite/ld-i386/lea1c.d: Likewise.
3391 * testsuite/ld-i386/load1.d: Likewise.
3392 * testsuite/ld-i386/load2.d: Likewise.
3393 * testsuite/ld-i386/load3.d: Likewise.
3394 * testsuite/ld-i386/load4a.d: Likewise.
3395 * testsuite/ld-i386/load5a.d: Likewise.
3396 * testsuite/ld-i386/mov2b.d: Likewise.
3397 * testsuite/ld-i386/mov3.d: Likewise.
3398 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3399 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3400 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3401 * testsuite/ld-x86-64/call1a.d: Likewise.
3402 * testsuite/ld-x86-64/call1b.d: Likewise.
3403 * testsuite/ld-x86-64/call1c.d: Likewise.
3404 * testsuite/ld-x86-64/call1d.d: Likewise.
3405 * testsuite/ld-x86-64/call1e.d: Likewise.
3406 * testsuite/ld-x86-64/call1f.d: Likewise.
3407 * testsuite/ld-x86-64/call1h.d: Likewise.
3408 * testsuite/ld-x86-64/call1i.d: Likewise.
3409 * testsuite/ld-x86-64/load1a.d: Likewise.
3410 * testsuite/ld-x86-64/load1b.d: Likewise.
3411 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3412 * testsuite/ld-i386/got1.dd: Updated.
3413 * testsuite/ld-i386/got1d.S (1): Removed.
3414 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3415 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3417 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3420 * testsuite/ld-x86-64/pr18591.d: New file.
3421 * testsuite/ld-x86-64/pr18591.s: Likewise.
3422 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3424 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3427 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3428 * testsuite/ld-elf/pr19553.map: New file.
3429 * testsuite/ld-elf/pr19553.map: Likewise.
3430 * testsuite/ld-elf/pr19553a.c: Likewise.
3431 * testsuite/ld-elf/pr19553b.c: Likewise.
3432 * testsuite/ld-elf/pr19553b.out: Likewise.
3433 * testsuite/ld-elf/pr19553c.c: Likewise.
3434 * testsuite/ld-elf/pr19553c.out: Likewise.
3435 * testsuite/ld-elf/pr19553d.c: Likewise.
3436 * testsuite/ld-elf/pr19553d.out: Likewise.
3438 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3441 * testsuite/ld-elf/pr19539.d: New file.
3442 * testsuite/ld-elf/pr19539.s: Likewise.
3443 * testsuite/ld-elf/pr19539.t: Likewise.
3445 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3448 * configure.ac (compressed_debug_sections): Replace == with =.
3449 * configure: Regenerated.
3451 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3453 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3454 * scripttempl/avrtiny.sc (.noinit): Likewise.
3456 2016-01-21 Nick Clifton <nickc@redhat.com>
3459 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3460 the arm-netbsdelf target.
3463 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3464 disassmebler output.
3465 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3466 * testsuite/ld-arm/vxworks1.dd: Likewise.
3467 * testsuite/ld-arm/vxworks1.rd: Likewise.
3468 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3470 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3472 * testsuite/ld-aarch64/farcall-section.d: Delete.
3473 * testsuite/ld-aarch64/farcall-section.s: Delete.
3474 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3475 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3476 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3477 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3478 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3480 2016-01-20 Nick Clifton <nickc@redhat.com>
3483 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3484 early for PE based targets.
3485 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3486 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3488 2016-01-20 Mickael Guene <mickael.guene@st.com>
3490 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3491 Add 'y' attribute usage.
3492 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3493 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3494 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3496 2016-01-19 Nick Clifton <nickc@redhat.com>
3498 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3499 foo@FOO and bar@@FOO.
3501 2016-01-18 Alan Modra <amodra@gmail.com>
3503 * configure: Regenerate.
3505 2016-01-18 Nick Clifton <nickc@redhat.com>
3507 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3508 is not configured to support plugins.
3510 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3511 but with 16 byte section alignment.
3512 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3513 test for MIPS targets.
3515 2016-01-17 Alan Modra <amodra@gmail.com>
3517 * configure: Regenerate.
3519 2016-01-17 Alan Modra <amodra@gmail.com>
3521 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3522 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3523 * testsuite/ld-elf/pr14156a.d: Likewise.
3524 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3525 * testsuite/ld-elf/sec64k.exp: Likewise.
3527 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3529 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3530 Set address of .foo section when linking.
3531 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3533 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3534 output to the above changes.
3536 2016-01-13 Nick Clifton <nickc@redhat.com>
3538 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3541 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3542 fail for MIPS targets.
3544 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3547 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3549 * testsuite/ld-arm/arm-elf.exp: New test.
3550 * testsuite/ld-arm/unwind-mix.d: New file.
3551 * testsuite/ld-arm/unwind-mix1.s: New file.
3552 * testsuite/ld-arm/unwind-mix2.s: New file.
3554 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3557 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3558 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3559 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3560 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3561 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3562 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3564 2016-01-05 Nick Clifton <nickc@redhat.com>
3566 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3567 MSP430 hardware multiply address range.
3568 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3569 (__romdatacopysize): Define.
3570 * scripttempl/elf32msp430_3.sc: Likewise.
3572 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3574 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3575 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3577 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3579 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3580 messages expected according to MIPS BFD private data merge
3582 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3583 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3584 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3585 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3586 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3587 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3588 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3589 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3590 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3591 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3592 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3593 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3594 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3596 2016-01-01 Alan Modra <amodra@gmail.com>
3598 Update year range in copyright notice of all files.
3600 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3602 Copyright (C) 2016 Free Software Foundation, Inc.
3604 Copying and distribution of this file, with or without modification,
3605 are permitted in any medium without royalty provided the copyright
3606 notice and this notice are preserved.
3612 version-control: never