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