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