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