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