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