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