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