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