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