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