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