Fix more linker testsuite failures.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1b857aee
NC
12016-06-28 Nick Clifton <nickc@redhat.com>
2
3 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
4 for bfin.
5 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
6 tests to fail for bfin.
7 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
8 nds32 and visium.
9 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
10 microblaze.
11 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
12 mcore-pe.
13
142016-06-28 Nick Clifton <nickc@redhat.com>
15
16 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
17 expect to fail this test.
18 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
19 RX.
20 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
21 fail for the RX.
22 * testsuite/ld-scripts/rgn-at11.d: Likewise.
23 * testsuite/ld-scripts/rgn-at2.d: Likewise.
24 * testsuite/ld-scripts/rgn-at6.d: Likewise.
25 * testsuite/ld-scripts/rgn-at7.d: Likewise.
26 * testsuite/ld-scripts/rgn-at8.d: Likewise.
27
7160c10d
JC
282016-06-28 James Clarke <jrtc27@jrtc27.com>
29
30 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
31 .text.
32
6c9a7fb6
MR
332016-06-28 Maciej W. Rozycki <macro@imgtec.com>
34
35 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
36 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
37 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
38 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
39
56a30421
AM
402016-06-28 Alan Modra <amodra@gmail.com>
41
42 PR ld/20302
43 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
44
c9775dde
MR
452016-06-28 Maciej W. Rozycki <macro@imgtec.com>
46
47 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
48 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
49 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
50 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
51 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
52 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
53
42b7a39b
NC
542016-06-27 Nick Clifton <nickc@redhat.com>
55
56 PR ld/20302
57 * lexsup.c (set_segment_start): If resetting the start address of
58 a section, remember to generate a new script element as well.
59 * testsuite/ld-scripts/pr20302.d: New test.
60 * testsuite/ld-scripts/scripts.exp: Run the new test.
61
78da3bc1
AM
622016-06-24 Alan Modra <amodra@gmail.com>
63
64 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
65 Don't error out, always return an emulation.
66
da4463c7
L
672016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
68 H.J. Lu <hongjiu.lu@intel.com>
69
70 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
71 for -z relro help message.
72
4041bc9b
MR
732016-06-22 Maciej W. Rozycki <macro@imgtec.com>
74
75 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
76 address matching.
77
4861b804
MR
782016-06-22 Maciej W. Rozycki <macro@imgtec.com>
79
80 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
81 `undefweak-overflow' tests.
82
647e4d46
L
832016-06-22 H.J. Lu <hongjiu.lu@intel.com>
84
85 PR ld/20283
86 * NEWS: Mention --enable-relro.
87 * configure.ac: Add --enable-relro.
88 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
89 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
90 some Linux targets.
91 * config.in: Regenerated.
92 * configure: Likewise.
93 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
94 link_info.relro to DEFAULT_LD_Z_RELRO.
95 * testsuite/config/default.exp (ld_elf_shared_opt): New.
96 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
97 $ld_elf_shared_opt to ld for ELF targets with shared object
98 support.
99 (run_ld_link_tests): Likewise.
100
5f68df25
MR
1012016-06-21 Maciej W. Rozycki <macro@imgtec.com>
102
103 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
104 twice rather than once.
105 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
106 accordingly. Remove the full stop from the end of the message.
107
bdd582db
GM
1082016-06-21 Graham Markall <graham.markall@embecosm.com>
109
110 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
111 * testsuite/ld-arc/nps-1b.d: Likewise.
112
7dc3990e
L
1132016-06-20 H.J. Lu <hongjiu.lu@intel.com>
114
115 PR ld/20267
116 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
117 PR ld/20267.
118 (lto_run_tests): Likewise.
119 * testsuite/ld-plugin/pr20267a.c: New file.
120 * testsuite/ld-plugin/pr20267b.c: Likewise.
121
0616a280
AM
1222016-06-20 H.J. Lu <hongjiu.lu@intel.com>
123 Alan Modra <amodra@gmail.com>
124
125 PR ld/20276
126 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
127 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
128 PR ld/20276.
129 (lto_run_tests): Likewise.
130 * testsuite/ld-plugin/pass.out: New file.
131 * testsuite/ld-plugin/pr20276a.c: Likewise.
132 * testsuite/ld-plugin/pr20276b.c: Likewise.
133
49f30d83
L
1342016-06-18 H.J. Lu <hongjiu.lu@intel.com>
135
136 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
137 with bfd_plugin_unknown.
138
233cc9c1
L
1392016-06-18 H.J. Lu <hongjiu.lu@intel.com>
140
141 PR ld/20253
142 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
143 * testsuite/ld-i386/no-plt.exp: Likewise.
144 * testsuite/ld-x86-64/no-plt.exp: Likewise.
145 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
146 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
147 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
148 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
149 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
150 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
151 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
152 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
153 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
154 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
155 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
156 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
157 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
158 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
159 * testsuite/ld-i386/pr20244-2b.d: Updated.
160 * testsuite/ld-i386/pr20244-2c.d: Likewise.
161 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
162 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
163 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
164 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
165 * testsuite/ld-i386/pr20253-1a.c: New file.
166 * testsuite/ld-i386/pr20253-1b.S: Likewise.
167 * testsuite/ld-i386/pr20253-1c.S: Likewise.
168 * testsuite/ld-i386/pr20253-1d.S: Likewise.
169 * testsuite/ld-i386/pr20253-2a.c: Likewise.
170 * testsuite/ld-i386/pr20253-2b.S: Likewise.
171 * testsuite/ld-i386/pr20253-2c.S: Likewise.
172 * testsuite/ld-i386/pr20253-2d.S: Likewise.
173 * testsuite/ld-i386/pr20253-3.d: Likewise.
174 * testsuite/ld-i386/pr20253-3.s: Likewise.
175 * testsuite/ld-i386/pr20253-4.s: Likewise.
176 * testsuite/ld-i386/pr20253-4a.d: Likewise.
177 * testsuite/ld-i386/pr20253-4b.d: Likewise.
178 * testsuite/ld-i386/pr20253-4c.d: Likewise.
179 * testsuite/ld-i386/pr20253-5.d: Likewise.
180 * testsuite/ld-i386/pr20253-5.s: Likewise.
181 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
182 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
183 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
184 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
185 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
186 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
187 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
188 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
189 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
190 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
191 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
192 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
193 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
194 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
195 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
196 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
197 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
198 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
199 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
200 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
201 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
202 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
203 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
204 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
205 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
206 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
207 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
208 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
209 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
210 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
211 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
212 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
213 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
214 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
215 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
216 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
217 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
218 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
219 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
220 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
221 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
222 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
223 relocation.
224 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
225 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
226 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
227 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
228 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
229
80c135e5
TP
2302016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
231 Tony Wang <tony.wang@arm.com>
232
233 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
234 Assemble for ARMv6-M.
235 (Thumb2-Thumb2 farcall M profile): New testcase.
236 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
237 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
238 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
239 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
240
ca45f6e9
L
2412016-06-16 H.J. Lu <hongjiu.lu@intel.com>
242
243 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
244 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
245 Remove .rel.plt section.
246 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
247
3a4b0e0f
L
2482016-06-15 H.J. Lu <hongjiu.lu@intel.com>
249
250 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
251 function pointer.
252 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
253 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
254 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
255 function pointer.
256 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
257 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
258 * testsuite/ld-i386/no-plt-1a.dd: Updated.
259 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
260 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
261 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
262 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
263 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
264 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
265 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
266 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
267 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
268 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
269 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
270 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
271 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
272 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
273 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
274 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
275
31eef93e
SKS
2762016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
277
278 PR ld/20254
279 * testsuite/ld-avr/avr-prop-6.d: New test.
280 * testsuite/ld-avr/avr-prop-6.s: New test.
281
0aa7f586
AM
2822016-06-14 Alan Modra <amodra@gmail.com>
283
284 * ldbuildid.c: Formatting.
285 * ldcref.c: Formatting.
286 * ldctor.c: Formatting.
287 * ldemul.c: Formatting.
288 * ldexp.c: Formatting.
289 * ldfile.c: Formatting.
290 * ldlang.c: Formatting.
291 * ldmain.c: Formatting.
292 * ldwrite.c: Formatting.
293
3860d2b4
AM
2942016-06-14 Alan Modra <amodra@gmail.com>
295
296 * ldlang.c: Expand uses of bfd_my_archive.
297 * ldmain.c: Likewise.
298 * ldmisc.c: Likewise.
299 * plugin.c: Likewise.
300
b0cffb47
AM
3012016-06-14 Alan Modra <amodra@gmail.com>
302
303 PR ld/20241
304 * ldmain.c (add_archive_element): Just print file name of file within
305 thin archives.
306 * ldmisc.c (vfinfo): Likewise.
307 * plugin.c (plugin_object_p): Open file within thin archives.
308 (plugin_maybe_claim): Expand comment.
309
712ec279
L
3102016-06-13 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR ld/20244
313 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
314 pr20244-2c and pr20244-2d.
315 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
316 * testsuite/ld-i386/pr20244-2.s: New file.
317 * testsuite/ld-i386/pr20244-2a.d: Likewise.
318 * testsuite/ld-i386/pr20244-2b.d: Likewise.
319 * testsuite/ld-i386/pr20244-2c.d: Likewise.
320 * testsuite/ld-i386/pr20244-2d.d: Likewise.
321 * testsuite/ld-i386/pr20244-3a.c: Likewise.
322 * testsuite/ld-i386/pr20244-3b.S: Likewise.
323 * testsuite/ld-i386/pr20244-3c.S: Likewise.
324 * testsuite/ld-i386/pr20244-3d.S: Likewise.
325
ca8c86ef
L
3262016-06-13 H.J. Lu <hongjiu.lu@intel.com>
327
328 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
329 * testsuite/ld-i386/ifunc-1a.c: New file.
330 * testsuite/ld-i386/ifunc-1b.S: Likewise.
331 * testsuite/ld-i386/ifunc-1c.S: Likewise.
332 * testsuite/ld-i386/ifunc-1d.S: Likewise.
333
82f46e2c
CM
3342016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
335
336 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
337 big endian ARC targets.
338
6d84fed1
L
3392016-06-12 H.J. Lu <hongjiu.lu@intel.com>
340
341 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
342 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
343 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
344 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
345 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
346 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
347 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
348 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
349 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
350 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
351 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
352 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
353 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
354 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
355 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
356
74d7f0aa
L
3572016-06-11 H.J. Lu <hongjiu.lu@intel.com>
358
359 PR ld/20244
360 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
361 * testsuite/ld-i386/pr20244-1.s: New file.
362 * testsuite/ld-i386/pr20244-1a.d: Likewise.
363 * testsuite/ld-i386/pr20244-1b.d: Likewise.
364 * testsuite/ld-i386/pr20244-1c.d: Likewise.
365
5c41dbc3
DC
3662016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
367
368 PR ld/20221
369 * testsuite/ld-avr/avr-prop-5.d: New.
370 * testsuite/ld-avr/avr-prop-5.s: New.
371
1857fe72 3722016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 373
1857fe72
DC
374 * testsuite/ld-avr/lds-mega.d: New test.
375 * testsuite/ld-avr/lds-mega.s: New test source.
376 * testsuite/ld-avr/lds-tiny.d: New test.
377 * testsuite/ld-avr/lds-tiny.s: New test source.
378
cd41072b
L
3792016-06-08 H.J. Lu <hongjiu.lu@intel.com>
380
381 * testsuite/ld-i386/libno-plt-1b.dd: New file.
382 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
383 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
384 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
385 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
386 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
387 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
388 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
389 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
390 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
391 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
392 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
393 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
394 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
395 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
396 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
397 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
398 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
399 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
400 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
401 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
402 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
403 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
404 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
405 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
406 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
407 * testsuite/ld-i386/no-plt-func1.c: Likewise.
408 * testsuite/ld-i386/no-plt-main1.c: Likewise.
409 * testsuite/ld-i386/no-plt.exp: Likewise.
410
dcc03cb3
L
4112016-06-08 H.J. Lu <hongjiu.lu@intel.com>
412
413 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
414 name.
415
6eaa7fb5
L
4162016-06-08 H.J. Lu <hongjiu.lu@intel.com>
417
418 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
419 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
420 * testsuite/ld-i386/pass.out: New file.
421 * testsuite/ld-i386/tls-def1.c: Likewise.
422 * testsuite/ld-i386/tls-gd1.S: Likewise.
423 * testsuite/ld-i386/tls-ld1.S: Likewise.
424 * testsuite/ld-i386/tls-main1.c: Likewise.
425 * testsuite/ld-i386/tls.exp: Likewise.
426 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
427 * testsuite/ld-i386/tlsbin2.dd: Likewise.
428 * testsuite/ld-i386/tlsbin2.rd: Likewise.
429 * testsuite/ld-i386/tlsbin2.sd: Likewise.
430 * testsuite/ld-i386/tlsbin2.td: Likewise.
431 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
432 * testsuite/ld-i386/tlsgd3.dd: Likewise.
433 * testsuite/ld-i386/tlsgd3.s: Likewise.
434 * testsuite/ld-i386/tlsgd4.d: Likewise.
435 * testsuite/ld-i386/tlsgd4.s: Likewise.
436 * testsuite/ld-i386/tlsld2.s: Likewise.
437 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
438 * testsuite/ld-i386/tlspic2.dd: Likewise.
439 * testsuite/ld-i386/tlspic2.rd: Likewise.
440 * testsuite/ld-i386/tlspic2.sd: Likewise.
441 * testsuite/ld-i386/tlspic2.td: Likewise.
442 * testsuite/ld-i386/tlspic3.s: Likewise.
443 * testsuite/ld-i386/tlspie3.s: Likewise.
444 * testsuite/ld-i386/tlspie3a.d: Likewise.
445 * testsuite/ld-i386/tlspie3b.d: Likewise.
446 * testsuite/ld-i386/tlspie3c.d: Likewise.
447
010bc3ce
L
4482016-06-08 H.J. Lu <hongjiu.lu@intel.com>
449
450 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
451 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
452 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
453 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
454 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
455 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
456 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
457 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
458
1f26b7ae
L
4592016-06-08 H.J. Lu <hongjiu.lu@intel.com>
460
461 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
462 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
463 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
464 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
465 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
466 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
467 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
468 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
469 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
470 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
471 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
472 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
473 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
474 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
475 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
476 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
477 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
478 * testsuite/ld-x86-64/no-plt.exp: Likewise.
479 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
480 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
481 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
482
1133012c
MR
4832016-06-07 Maciej W. Rozycki <macro@imgtec.com>
484
485 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
486
161db279
AK
4872016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
488
489 * testsuite/ld-s390/pltoffset-1.dd: New test.
490 * testsuite/ld-s390/pltoffset-1.ld: New test.
491 * testsuite/ld-s390/pltoffset-1.s: New test.
492 * testsuite/ld-s390/s390.exp: Run new test.
493
14b57c7c
AM
4942016-06-07 Alan Modra <amodra@gmail.com>
495
496 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
497 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
498 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
499
e2cbcd91
L
5002016-06-06 H.J. Lu <hongjiu.lu@intel.com>
501
502 * testsuite/ld-x86-64/pass.out: New file.
503 * testsuite/ld-x86-64/tls-def1.c: Likewise.
504 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
505 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
506 * testsuite/ld-x86-64/tls-main1.c: Likewise.
507 * testsuite/ld-x86-64/tls.exp: Likewise.
508 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
509 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
510 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
511 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
512 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
513 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
514 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
515 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
516 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
517 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
518 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
519 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
520 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
521 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
522 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
523 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
524 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
525 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
526 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
527 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
528 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
529 * testsuite/ld-x86-64/tlsld4.s: Likewise.
530 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
531 * testsuite/ld-x86-64/tlsld5.s: Likewise.
532 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
533 * testsuite/ld-x86-64/tlsld6.s: Likewise.
534 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
535 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
536 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
537 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
538 * testsuite/ld-x86-64/tlspic2.td: Likewise.
539 * testsuite/ld-x86-64/tlspic3.s: Likewise.
540 * testsuite/ld-x86-64/tlspie2.s: Likewise.
541 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
542 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
543 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
544 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
545 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
546 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
547 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
548 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
549 tlspie2c.
550
2ac27cd3
CG
5512016-06-04 Christian Groessler <chris@groessler.org>
552
67cb102b
CG
553 * testsuite/ld-z8k/0filler.s: New file.
554 * testsuite/ld-z8k/branch-target.s: New file.
555 * testsuite/ld-z8k/branch-target2.s: New file.
556 * testsuite/ld-z8k/calr-back-8001.d: New file.
557 * testsuite/ld-z8k/calr-back-8002.d: New file.
558 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
559 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
560 * testsuite/ld-z8k/calr-forw-8001.d: New file.
561 * testsuite/ld-z8k/calr-forw-8002.d: New file.
562 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
563 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
564 * testsuite/ld-z8k/calr-opcode.s: New file.
565 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
566 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
567 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
568 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
569 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
570 * testsuite/ld-z8k/djnz-back-8001.d: New file.
571 * testsuite/ld-z8k/djnz-back-8002.d: New file.
572 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
573 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
574 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
575 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
576 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
577 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
578 * testsuite/ld-z8k/djnz-opcode.s: New file.
579 * testsuite/ld-z8k/filler.s: New file.
580 * testsuite/ld-z8k/jr-back-8001.d: New file.
581 * testsuite/ld-z8k/jr-back-8002.d: New file.
582 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
583 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
584 * testsuite/ld-z8k/jr-forw-8001.d: New file.
585 * testsuite/ld-z8k/jr-forw-8002.d: New file.
586 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
587 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
588 * testsuite/ld-z8k/jr-opcode.s: New file.
589 * testsuite/ld-z8k/ldr-back-8001.d: New file.
590 * testsuite/ld-z8k/ldr-back-8002.d: New file.
591 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
592 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
593 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
594 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
595 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
596 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
597 * testsuite/ld-z8k/ldr-opcode.s: New file.
598 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
599 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
600 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
601 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
602 * testsuite/ld-z8k/ldrb-opcode.s: New file.
603 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
604 * testsuite/ld-z8k/other-file.s: New file.
605 * testsuite/ld-z8k/reloc.dd: New file.
606 * testsuite/ld-z8k/reloc.ld: New file.
607 * testsuite/ld-z8k/relocseg.dd: New file.
608 * testsuite/ld-z8k/relocseg.ld: New file.
609 * testsuite/ld-z8k/relocseg1.dd: New file.
610 * testsuite/ld-z8k/this-file.s: New file.
611 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 612
b1058ce9
L
6132016-06-03 H.J. Lu <hongjiu.lu@intel.com>
614
615 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
616 with -mrelax-relocations=yes.
617 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
618 * testsuite/ld-i386/lea1b.d (as): Likewise.
619 * testsuite/ld-i386/lea1d.d (as): Likewise.
620 * testsuite/ld-i386/lea1e.d (as): Likewise.
621 * testsuite/ld-i386/lea1f.d (as): Likewise.
622 * testsuite/ld-i386/load7.d (as): Likewise.
623 * testsuite/ld-i386/mov1b.d (as): Likewise.
624 * testsuite/ld-i386/pr19175.d (as): Likewise.
625 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
626 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
627 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
628 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
629 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
630
4ad0bb5f
VG
6312016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
632
633 * configure.tgt: Replace -uclibc with *.
634
99aefae6
MR
6352016-05-28 Maciej W. Rozycki <macro@imgtec.com>
636
637 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
638 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
639 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
640 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
641
3b4412a0
MR
6422016-05-28 Maciej W. Rozycki <macro@imgtec.com>
643
644 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
645 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
646 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
647 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
648 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
649 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
650
77434823
MR
6512016-05-28 Maciej W. Rozycki <macro@imgtec.com>
652
653 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
654 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
655 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
656 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
657 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
658 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
659 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
660
1a72702b
AM
6612016-05-28 Alan Modra <amodra@gmail.com>
662
663 * ldmain.c (multiple_definition, multiple_common, add_to_set,
664 constructor_callback, warning_callback, undefined_symbol,
665 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
666 * emultempl/elf32.em: Adjust callback calls.
667
bc27bb05
MR
6682016-05-27 Maciej W. Rozycki <macro@imgtec.com>
669
670 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
671 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
672 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
673 test.
674 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
675 test.
676 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
677 test.
678 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
679 test.
680 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
681 source.
682 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
683 source.
684 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
685
ceab86af
MR
6862016-05-27 Maciej W. Rozycki <macro@imgtec.com>
687
688 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
689 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
690 new test.
691 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
692
ed53407e
MR
6932016-05-26 Maciej W. Rozycki <macro@imgtec.com>
694
695 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
696 `unaligned-jalx-2' here.
697 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
698 `unaligned-jalx-mips16-2' here.
699 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
700 `unaligned-jalx-micromips-2' here.
701 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
702 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
703 message.
704 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
705 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
706 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
707 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
708 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
709 test.
710 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
711 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
712 `unaligned-lwpc-3' here.
713 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
714 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
715 `unaligned-lwpc-2' here.
716 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
717 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
718 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
719 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
720 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
721 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
722 `unaligned-ldpc-4' here.
723 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
724 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
725 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
726 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
727 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
728 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
729 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
730 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
731 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
732 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
733 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
734
0d832c8e
NC
7352016-05-26 Nick Clifton <nickc@redhat.com>
736
737 PR target/20134
738 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
739 __bsssize.
740 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
741
de341542 7422016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 743
de341542
MR
744 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
745 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
746 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
747 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
748 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
749 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
750 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
751 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
752 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
753 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
754 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
755 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
756 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
757 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
758 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
759 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
760 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
761 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
762 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
763 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
764 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
765 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
766 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
767 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
768 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
769 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
770 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
771 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
772 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
773 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
774 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
775 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
776 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
777
b95a0a31
L
7782016-05-25 H.J. Lu <hongjiu.lu@intel.com>
779
780 PR ld/20103
781 * ldmain.c (add_archive_element): Don't claim new IR symbols
782 after all IR symbols have been claimed.
783 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
784 check.
785 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
786 Run PR ld/20103 tests.
787 * testsuite/ld-plugin/pr20103a.c: New file.
788 * testsuite/ld-plugin/pr20103b.c: Likewise.
789 * testsuite/ld-plugin/pr20103c.c: Likewise.
790
44d3da23
MR
7912016-05-24 Maciej W. Rozycki <macro@imgtec.com>
792
793 * testsuite/ld-mips-elf/jalx-local.d: New test.
794 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
795 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
796 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
797
a2bea324
KS
7982016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
799
800 * Makefile.am: Add earmelf_phoenix.c.
801 * Makefile.in: Regenerate.
802 * configure.tgt: Add entry for arm-phoenix.
803 * emulparams/armelf_phoenix.sh: New file.
804
daa4adae
TP
8052016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
806
807 * emultempl/armelf.em (arm_elf_before_allocation): Call
808 bfd_elf32_arm_keep_private_stub_output_sections before generic
809 before_allocation function.
810
17c6c9d9
MR
8112016-05-20 Maciej W. Rozycki <macro@imgtec.com>
812
813 * testsuite/ld-mips-elf/jalx-addend.d: New test.
814 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
815 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
816 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
817
7d4d9709
L
8182016-05-19 H.J. Lu <hongjiu.lu@intel.com>
819
820 PR ld/20117
821 * testsuite/ld-i386/i386.exp: Run pr20117.
822 * testsuite/ld-i386/pr19609-1i.d: Updated.
823 * testsuite/ld-i386/pr20117.d: New file.
824 * testsuite/ld-i386/pr20117.s: Likewise.
825
fc3eec7e
CZ
8262016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
827
828 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
829 * testsuite/ld-elf/group8a.d: Likewise.
830 * testsuite/ld-elf/group8b.d: Likewise.
831 * testsuite/ld-elf/group9a.d: Likewise.
832 * testsuite/ld-elf/group9b.d: Likewise.
833 * testsuite/ld-elf/pr12851.d: Likewise.
834 * testsuite/ld-elf/pr12975.d: Likewise.
835 * testsuite/ld-elf/pr13177.d: Likewise.
836 * testsuite/ld-elf/pr13195.d: Likewise.
837 * testsuite/ld-elf/pr17615.d: Likewise.
838 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
839 * testsuite/ld-elf/group3b.d: Likewise.
840 * testsuite/ld-srec/srec.exp: Likewise.
841 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
842 as supporting gc.
843 (check_shared_lib_support): Mark ARC as supporting.
844
c0913ebf
CZ
8452016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
846
847 * emulparams/arcelf.sh: Changed.
848 * emulparams/arclinux.sh: Likewise.
849 * scripttempl/arclinux.sc: Moved to a more standard implementation
850 similar to elf.sc.
851
c4107a7d
MR
8522016-05-19 Maciej W. Rozycki <macro@imgtec.com>
853
854 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
855 `ft32-*-*' behind `frv-*-*'.
856
6b200de0
MR
8572016-05-19 Maciej W. Rozycki <macro@imgtec.com>
858
859 * configure.tgt: Remove `am34-*-linux*' support.
860
82bc9362
AM
8612016-05-19 Alan Modra <amodra@gmail.com>
862
863 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
864 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
865 * testsuite/ld-scripts/cross3.t: Likewise.
866 * testsuite/ld-scripts/cross4.t: Likewise.
867 * testsuite/ld-scripts/cross5.t: Likewise.
868 * testsuite/ld-scripts/cross6.t: Likewise.
869 * testsuite/ld-scripts/cross7.t: Likewise.
870
f1b2ca70
AM
8712016-05-19 Alan Modra <amodra@gmail.com>
872
873 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
874 exe name rather than constructing testname. Fix typo in
875 sub-test name. Log copying. Use -rpath rather than -R.
876
d1f70bdc
NC
8772016-05-18 Nick Clifton <nickc@redhat.com>
878
879 * scripttempl/ft32.sc: Use fixed constants for memory region
880 lengths. Include DWARF debug sections.
881 (.data .bss): Do not assign locations during relocatable links.
882 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
883 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
884 * testsuite/ld-elf/sec64k.exp: Likewise.
885 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
886 * testsuite/ld-elf/merge.d: Likewise.
887 * testsuite/ld-elf/orphan-region.d: Likewise.
888 * testsuite/ld-elf/orphan.s: Likewise.
889 * testsuite/ld-elf/orphan3.d: Likewise.
890 * testsuite/ld-elf/pr349.d: Likewise.
891 * testsuite/ld-elf/warn2.d: Likewise.
892 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
893 that the FT32 does not support shared libraries.
894
68bce020
L
8952016-05-17 H.J. Lu <hongjiu.lu@intel.com>
896
897 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
898 global CC.
899
23b5dc39 9002016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
901
902 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
903 above .progmem*.
904 * scripttempl/avrtiny.sc (text): Likewise.
905
a43942db
MR
9062016-05-17 Maciej W. Rozycki <macro@imgtec.com>
907
908 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
909 `supports_gnu_unique' to qualify testing.
910
69a1c856
MR
9112016-05-16 Maciej W. Rozycki <macro@imgtec.com>
912
913 * testsuite/ld-elf/flags1.d: Update the xfail list.
914
180c87d9
MR
9152016-05-15 Maciej W. Rozycki <macro@imgtec.com>
916
917 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
918 removal.
919
bf6f87e7
L
9202016-05-14 H.J. Lu <hongjiu.lu@intel.com>
921
922 PR ld/20097
923 * testplug2.c (onall_symbols_read): Remove redundant sizeof
924 on EXPECTED_VIEW_LENGTH.
925 * testplug4.c (onall_symbols_read): Likewise.
926
2168b268
L
9272016-05-13 H.J. Lu <hongjiu.lu@intel.com>
928
929 PR ld/20093
930 * testsuite/ld-x86-64/pr20093-1.d: New file.
931 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
932 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
933 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
934 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
935
4ade44b7
AM
9362016-05-13 Alan Modra <amodra@gmail.com>
937
938 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
939 Use different output file name for static app without .rel.plt.
940 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
941 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
942 * testsuite/ld-arm/arm-no-rel-plt.r: New.
943 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
944 * testsuite/ld-arm/arm-static-app.r: Likewise.
945
3355cb3b
L
9462016-05-12 H.J. Lu <hongjiu.lu@intel.com>
947
948 PR ld/20070
949 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
950 (libldtestplug4_la_SOURCES): New.
951 (libldtestplug4_la_CFLAGS): Likewise.
952 (libldtestplug4_la_LDFLAGS): Likewise.
953 * Makefile.in: Regenerated.
954 * plugin.c (get_symbols): Return resolution based on IR symbol
955 kinds for symbols defined/referenced only within IR.
956 * testplug4.c: New file.
957 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
958 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
959 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
960 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
961 (plugin4_path): Likewise.
962 Add a test for ld/20070.
963
a464198b
AM
9642016-05-11 Alan Modra <amodra@gmail.com>
965
966 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
967 Call elf32_hppa_init_stub_bfd.
968
3bd43ebc
AM
9692016-05-11 Alan Modra <amodra@gmail.com>
970
971 PR 20060
972 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
973 * testsuite/ld-powerpc/tlsdll.s: New.
974 * testsuite/ld-powerpc/tlsdll.ver: New.
975 * testsuite/ld-powerpc/tlsdll_32.s: New.
976 * testsuite/ld-powerpc/tlsopt5.d: New.
977 * testsuite/ld-powerpc/tlsopt5.s: New.
978 * testsuite/ld-powerpc/tlsopt5_32.d: New.
979 * testsuite/ld-powerpc/tlsopt5_32.s: New.
980
39d911fc
TP
9812016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
982
983 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
984 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
985
6bde4c52
TP
9862016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
987
988 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
989 parameter and rename input_section parameter to after_input_section.
990 Append input stub section to the output section if after_input_section
991 is NULL.
992
15afaa63
TP
9932016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
994
995 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
996 test.
997 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
998 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
999
d63a50b7
CL
10002016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1001
1002 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1003
9239bbd3
CM
10042016-05-09 Christophe Monat <christophe.monat@st.com>
1005
1006 PR ld/20030
1007 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1008 tests. Fix misnamed stm32l4xx-fix-all.
1009 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1010 loads with DP registers.
1011 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1012 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1013 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1014 loads with DP registers.
1015 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1016
924bc11b
PS
10172016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1018
1019 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1020 program headers.
1021 (xfail): Remove avr-*-*.
1022 Update regex to check the section flags.
1023 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1024
a64f5ba1
AM
10252016-05-09 Alan Modra <amodra@gmail.com>
1026
1027 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1028 * Makefile.in: Regenerate.
1029
cc969da9
AM
10302016-05-09 Alan Modra <amodra@gmail.com>
1031
1032 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1033 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1034 * testsuite/ld-scripts/section-match-1.t: Likewise.
1035
97196564
L
10362016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 PR ld/17550
1039 * testsuite/ld-elf/pr17550-1.s: New file.
1040 * testsuite/ld-elf/pr17550-2.s: Likewise.
1041 * testsuite/ld-elf/pr17550-3.s: Likewise.
1042 * testsuite/ld-elf/pr17550-4.s: Likewise.
1043 * testsuite/ld-elf/pr17550a.d: Likewise.
1044 * testsuite/ld-elf/pr17550b.d: Likewise.
1045 * testsuite/ld-elf/pr17550c.d: Likewise.
1046 * testsuite/ld-elf/pr17550d.d: Likewise.
1047
887cf791
SKS
10482016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1049
1050 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1051
2856a627
L
10522016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 * testsuite/ld-i386/i386.exp: Run load7.
1055 * testsuite/ld-i386/load7.d: New file.
1056 * testsuite/ld-i386/load7.map: Likewise.
1057 * testsuite/ld-i386/load7.s: Likewise.
1058 * testsuite/ld-x86-64/load2.d: Likewise.
1059 * testsuite/ld-x86-64/load2.map: Likewise.
1060 * testsuite/ld-x86-64/load2.s: Likewise.
1061 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1062
004b1309
L
10632016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1066 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1067 Likewise.
1068 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1069 Likewise.
1070
d7adef8b
L
10712016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1074
d4758f96
L
10752016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1078
c3fbf828
MR
10792016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1080
1081 * testsuite/ld-unique/unique.d: New test.
1082 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1083 messages for compiled tests.
1084
4a85cc09
SKS
10852016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1086
1087 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1088 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1089 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1090 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1091 plugin_tests only if check_shared_lib_support is true.
1092 * testsuite/ld-selective/selective.exp: Add --section-start
1093 flag for avr.
1094
6d6a648c
MR
10952016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1096
1097 PR 10549
1098 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1099
1f56df9d
JW
11002016-05-03 Jiong Wang <jiong.wang@arm.com>
1101
1102 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1103 * NEWS: Mention --no-apply-dynamic-relocs.
1104 * ld.texinfo (ld and the ARM family): Document
1105 --no-apply-dynamic-relocs.
1106 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1107 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1108 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1109 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1110 option.
1111
a2076b34
SKS
11122016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1113
1114 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1115 before running STT_COMMON tests.
1116
010f98a5
L
11172016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * config/default.exp (NOPIE_CFLAGS): Download source only on
1120 remote host.
1121 (NOPIE_LDFLAGS): Likewise.
1122 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1123 (check_lto_fat_available): Likewise.
1124 (check_lto_shared_available): Likewise.
1125 (check_ifunc_available): Likewise.
1126 (check_ifunc_attribute_available): Likewise.
1127
83a471c3
L
11282016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1131
52728a42
L
11322016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1133
91f8bf69
L
1134 PR ld/20006
1135 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1136 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1137 ELF targets.
1138
11392016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * testsuite/ld-elf/compressed1b.d: Pass
1142 --compress-debug-sections=none to ld.
1143 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 1144
13b8c335
AM
11452016-04-27 Alan Modra <amodra@gmail.com>
1146
1147 PR target/19985
1148 * configure.tgt: Don't use var+=.
1149
731bb67a
NC
11502016-04-25 Nick Clifton <nickc@redhat.com>
1151
1152 PR target/19985
1153 * configure.tgt: Include big endian PPC64 emulations with little
1154 endian PPC64 targets.
1155
0e03d18a
SKS
11562016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1157
1158 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1159
4f3b23b3
NC
11602016-04-21 Nick Clifton <nickc@redhat.com>
1161
1162 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1163 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1164 targets. Do not stop the checks when problems are encountered.
1165
96bf8cb0
AM
11662016-04-21 Alan Modra <amodra@gmail.com>
1167
1168 * testsuite/ld-scripts/cross3.t: Add commonly used data
1169 and text section names to output section statements.
1170 * testsuite/ld-scripts/cross4.t: Likewise.
1171 * testsuite/ld-scripts/cross5.t: Likewise.
1172 * testsuite/ld-scripts/cross6.t: Likewise.
1173 * testsuite/ld-scripts/cross7.t: Likewise.
1174
fbf05aa7
L
11752016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 * ldlang.c (lang_check_relocs): New function.
1178 (lang_process): Call lang_check_relocs after lang_gc_sections.
1179 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1180 call _bfd_elf_link_check_relocs here.
1181
c7ce9410
L
11822016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 PR ld/19972
1185 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1186 R_386_NONE or R_X86_64_NONE.
1187
03f2309a
L
11882016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 * testsuite/ld-x86-64/pic1.d: New file.
1191 * testsuite/ld-x86-64/pic1.s: Likewise.
1192 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1193
126697d1
L
11942016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1195
1196 * testsuite/ld-x86-64/pie2.d: New file.
1197 * testsuite/ld-x86-64/pie2.s: Likewise.
1198 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1199
338c190a
L
12002016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 PR ld/19969
1203 * testsuite/ld-x86-64/pr19969.d: New file.
1204 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1205 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1206 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1207
d9689752
L
12082016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1211 New.
1212 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1213 Likewise.
1214 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1215 Likewise.
1216 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1217 Likewise.
1218 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1219 Likewise.
1220 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1221 Likewise.
1222 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1223 Likewise.
1224 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1225 Likewise.
1226 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1227 Set check_relocs_after_open_input to TRUE if
1228 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1229 (gld${EMULATION_NAME}_after_open): Call
1230 _bfd_elf_link_check_relocs on all inputs if
1231 check_relocs_after_open_input is TRUE.
1232
7cc9c114
L
12332016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1236 my_personality_v0.
1237
e6c7cdec
TS
12382016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1239
1240 * emultempl/scoreelf.em: Likewise.
1241
87d455c0
L
12422016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 PR ld/19719
1245 * testsuite/ld-x86-64/pr19719.d: New file.
1246 * testsuite/ld-x86-64/pr19719.s: Likewise.
1247 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1248
cdf96953
MF
12492016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1250
1251 * ld.texinfo: Document NOCROSSREFS_TO script command.
1252 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1253 (lang_add_nocrossref_to): New prototype.
1254 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1255 symbols defined in the first section.
1256 (check_nocrossref): Likewise.
1257 * ldgram.y (NOCROSSREFS_TO): New script command.
1258 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1259 (lang_add_nocrossref_to): New function.
1260 * ldlex.l (NOCROSSREFS_TO): New token.
1261 * NEWS: Mention NOCROSSREFS_TO.
1262 * testsuite/ld-scripts/cross4.t: New file.
1263 * testsuite/ld-scripts/cross5.t: Likewise.
1264 * testsuite/ld-scripts/cross6.t: Likewise.
1265 * testsuite/ld-scripts/cross7.t: Likewise.
1266 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1267 tests.
1268
6fd8e7c2
L
12692016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * Makefile.in: Regenerated with automake 1.11.6.
1272 * aclocal.m4: Likewise.
1273
4b0c052e
AB
12742016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1275
1276 * testsuite/ld-arc/arc.exp: New file.
1277 * testsuite/ld-arc/nps-1.s: New file.
1278 * testsuite/ld-arc/nps-1a.d: New file.
1279 * testsuite/ld-arc/nps-1b.d: New file.
1280 * testsuite/ld-arc/nps-1b.err: New file.
1281
8dc483a0
NC
12822016-04-14 Nick Clifton <nickc@redhat.com>
1283
1284 PR 19457
1285 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1286 exceptions for Mingw and Cygwin.
1287
758c5495
AB
12882016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1289
1290 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1291 check_ld(terminal).
1292
37ce0cc4
L
12932016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR ld/19774
1296 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1297 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1298 tests.
1299
2df3368d
L
13002016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 PR ld/19939
1303 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1304 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1305 * testsuite/ld-i386/pr19939.s: New file.
1306 * testsuite/ld-i386/pr19939a.d: Likewise.
1307 * testsuite/ld-i386/pr19939b.d: Likewise.
1308 * testsuite/ld-x86-64/pr19939.s: Likewise.
1309 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1310 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1311
417a667c
OE
13122016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1313
1314 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1315
136a43b7
AM
13162016-04-08 Alan Modra <amodra@gmail.com>
1317
1318 PR 18452
1319 * ldlang.c (maybe_overlays): Delete.
1320 (lang_size_sections_1): Remove code setting maybe_overlays.
1321 (lang_check_section_addresses): Instead detect overlays by
1322 exact match of section VMAs here. Fix memory leak.
1323
953dd97e
DG
13242016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1325
1326 * ldlang.c (print_output_section_statement): Show minfo size
1327 in target machine address units.
1328 (print_reloc_statement): Likewise.
1329 (print_padding_statement): Likewise.
1330 (print_data_statement): Likewise. Ensure minimum print_dot
1331 increment of one address unit.
1332
1a295c62
AB
13332016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1334
1335 * emulparams/arc-endianness.sh: Make little endian default choice.
1336
df154dc1
NC
13372016-04-07 Nick Clifton <nickc@redhat.com>
1338
1339 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1340 section name.
1341 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1342
9a5f28ae
AB
13432016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * emulparams/arc-endianness.sh: New file.
1346 * emulparams/arcebelf.sh: Deleted.
1347 * emulparams/arcebelf_prof.sh: Deleted.
1348 * emulparams/arceblinux.sh: Deleted.
1349 * emulparams/arceblinux_prof.sh: Deleted.
1350 * emulparams/arcelf.sh: Include arc-endinness.sh.
1351 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1352 * emulparams/arclinux.sh: Include arc-endinness.sh.
1353 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1354 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1355 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1356 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1357 little endian arc targets.
1358 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1359 * testsuite/ld-elf/group1.d: Likewise.
1360 * testsuite/ld-elf/group3b.d: Likewise.
1361 * testsuite/ld-elf/group8a.d: Likewise.
1362 * testsuite/ld-elf/group8b.d: Likewise.
1363 * testsuite/ld-elf/group9a.d: Likewise.
1364 * testsuite/ld-elf/group9b.d: Likewise.
1365 * testsuite/ld-elf/linkonce2.d: Likewise.
1366 * testsuite/ld-elf/pr12851.d: Likewise.
1367 * testsuite/ld-elf/pr12975.d: Likewise.
1368 * testsuite/ld-elf/pr13177.d: Likewise.
1369 * testsuite/ld-elf/pr13195.d: Likewise.
1370 * testsuite/ld-elf/pr17615.d: Likewise.
1371 * testsuite/ld-elf/pr19162.d: Likewise.
1372 * testsuite/ld-elf/sec64k.exp: Likewise.
1373 * testsuite/lib/ld-lib.exp: Likewise.
1374
1f599d0e
MR
13752016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1376
1377 PR ld/19908
1378 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1379 handling fix.
1380 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1381 * testsuite/ld-cris/tls-e-21.d: Likewise.
1382 * testsuite/ld-cris/tls-e-23.d: Likewise.
1383 * testsuite/ld-cris/tls-e-80.d: Likewise.
1384 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1385 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1386 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1387 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1388 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1389 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1390 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1391 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1392 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1393 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1394
a9fa4610
CZ
13952016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1396
1397 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1398 * testsuite/ld-discard/start.d: Likewise.
1399 * testsuite/ld-discard/static.d: Likewise.
1400 * testsuite/ld-elf/group1.d: Likewise.
1401 * testsuite/ld-elf/group3b.d: Likewise.
1402 * testsuite/ld-elf/orphan-region.d: Likewise.
1403 * testsuite/ld-elf/orphan.d: Likewise.
1404 * testsuite/ld-elf/orphan3.d: Likewise.
1405 * testsuite/ld-elf/pr349.d: Likewise.
1406 * testsuite/ld-elf/warn1.d: Likewise.
1407 * testsuite/ld-elf/warn2.d: Likewise.
1408 * testsuite/ld-elf/warn3.d: Likewise.
1409 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1410 through linker flags.
1411 * testsuite/ld-srec/srec.exp: Set as xfail.
1412
5fdf3872
L
14132016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 PR ld/19827
1416 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1417 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1418
a061de07
NC
14192016-04-04 Nick Clifton <nickc@redhat.com>
1420
1421 PR 19803
1422 * emultempl/pe.em (change_undef): New function. Encapsulates
1423 duplicated code in pe_fixup_stdcalls and adds the newly defined
1424 sym to the gc root list.
1425 (pe_fixup_stdcall): Use the new function.
1426 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1427 symbol to gc root list.
1428
fc90c280
AM
14292016-03-31 Alan Modra <amodra@gmail.com>
1430
1431 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1432 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1433 (print_input_section): Don't use TO_ADDR when printing section
1434 size.
1435 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1436 (lang_size_sections): Use TO_ADDR in relro end calculation.
1437
62bdf2d6
AB
14382016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1439
1440 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1441 value from regexp_diff.
1442 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1443 * testsuite/ld-elf/orphan-6.l: Likewise.
1444
a87dd97a
AM
14452016-03-30 Alan Modra <amodra@gmail.com>
1446
1447 PR 18452
1448 * ldlang.c (maybe_overlays): New static var.
1449 (lang_size_sections_1): Set it here.
1450 (struct check_sec): New.
1451 (sort_sections_by_lma): Adjust for array of structs.
1452 (sort_sections_by_vma): New function.
1453 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1454 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1455
ca62bc4a
AM
14562016-03-30 Alan Modra <amodra@gmail.com>
1457
1458 * ldlang.c (lang_size_sections_1): Correct code detecting a
1459 backward non-overlapping move.
1460
2e4a7aea
AM
14612016-03-30 Alan Modra <amodra@gmail.com>
1462
1463 * ldlang.c (IS_TBSS): New macro, extracted from..
1464 (IGNORE_SECTION): ..here.
1465 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1466 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1467
4153b6db
NC
14682016-03-22 Nick Clifton <nickc@redhat.com>
1469
1470 PR ld/19803
1471 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1472 symbol name to the list of gc symbols.
1473 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1474 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1475 and fini function names.
1476 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1477 the gc symbol list.
1478 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1479 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1480
9780e045
NC
14812016-03-22 Nick Clifton <nickc@redhat.com>
1482
1483 * configure: Regenerate.
1484
e1fa0163
NC
14852016-03-21 Nick Clifton <nickc@redhat.com>
1486
1487 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1488 * plugin.c: Likewise.
1489 * pe-dll.c: Likewise.
1490
45821bef
A
14912016-03-18 Awson <kyrab@mail.ru>
1492
1493 PR 19531
1494 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1495 this section.
1496 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1497
41f46ed9
SKS
14982016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1499
1500 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1501
4e0c91e4
L
15022016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 PR ld/19827
1505 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1506 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1507 * testsuite/ld-i386/pr19827.rd: New file.
1508 * testsuite/ld-i386/pr19827a.S: Likewise.
1509 * testsuite/ld-i386/pr19827b.S: Likewise.
1510 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1511 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1512 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1513
4c10bbaa
L
15142016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1515
1516 PR ld/19807
1517 * Makefile.am (ELF_X86_DEPS): Add
1518 $(srcdir)/emulparams/reloc_overflow.sh.
1519 * Makefile.in: Regenerated.
1520 * NEWS: Mention -z noreloc-overflow.
1521 * ld.texinfo: Document -z noreloc-overflow.
1522 * emulparams/elf32_x86_64.sh: Source
1523 ${srcdir}/emulparams/reloc_overflow.sh.
1524 * emulparams/elf_x86_64.sh: Likewise.
1525 * emulparams/reloc_overflow.sh: New file.
1526 * testsuite/ld-x86-64/pr19807-1.s: New file.
1527 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1528 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1529 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1530 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1531 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1532 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1533 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1534 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1535 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1536
3ab94f96
L
15372016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 PR ld/19539
1540 * testsuite/ld-i386/i386.exp: Run pr19539.
1541 * testsuite/ld-i386/pr19539.d: New file.
1542 * testsuite/ld-i386/pr19539.s: Likewise.
1543 * testsuite/ld-i386/pr19539.t: Likewise.
1544 * testsuite/ld-x86-64/pr19539.s: Likewise.
1545 * testsuite/ld-x86-64/pr19539.t: Likewise.
1546 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1547 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1548 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1549
a9f02af8
MG
15502016-03-10 Mickael Guene <mickael.guene@st.com>
1551
1552 PR gas/19744
1553 * testsuite/ld-arm/arm-elf.exp: New tests.
1554 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1555 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1556
878a6877
NC
15572016-03-10 Nick Clifton <nickc@redhat.com>
1558
1559 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1560
4b05e0a7
PA
15612016-03-09 Pedro Alves <palves@redhat.com>
1562
1563 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1564 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1565
9c1d7a08
L
15662016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 PR ld/19789
1569 * testsuite/ld-elf/pr19789.d: New file.
1570 * testsuite/ld-elf/pr19789.s: Likewise.
1571
d1ed1c7d
L
15722016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1573
1574 PR ld/19784
1575 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1576 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1577 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1578 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1579 * testsuite/ld-ifunc/pass.out: New file.
1580 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1581 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1582 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1583
205ac185
L
15842016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1585
1586 PR ld/19774
1587 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1588 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1589 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1590 --as-needed for pr18841c.
1591
23a4bd22
L
15922016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 PR ld/19774
1595 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1596 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1597 before tmpdir/got1d.so and test --as-needed.
1598 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1599 tmpdir/pr18900.so and test --as-needed.
1600
18f822a0
JW
16012016-03-07 Jiong Wang <jiong.wang@arm.com>
1602
1603 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1604 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1605 result.
1606 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1607
46175b4e
L
16082016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1611 before tmpdir/copyreloc-lib.so and test --as-needed.
1612 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1613
07492f66
L
16142016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 PR ld/19579
1617 * testsuite/ld-elf/pr19579a.c: New file.
1618 * testsuite/ld-elf/pr19579b.c: Likewise.
1619 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1620
7bcc503f
L
16212016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1624
7494161b
L
16252016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1628 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1629
523f4c92
L
16302016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1631
1632 PR ld/19739
1633 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1634 input sections for relocatable link.
1635 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1636 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1637
16382016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 PR ld/19739
e18b24a4 1641 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
1642 merge flags of other input sections for relocatable link.
1643
ef621b15
L
16442016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1647
2955a517
L
16482016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * testsuite/ld-elf/pr19162.d: Skip arc target.
1651
7f50ebc1
L
16522016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 PR ld/19162
1655 * testsuite/ld-elf/pr19162.d: New file.
1656 * testsuite/ld-elf/pr19162a.s: Likwise.
1657 * testsuite/ld-elf/pr19162b.s: Likwise.
1658
841fdfcd
CZ
16592016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1660
1661 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1662 * testsuite/ld-elf/merge2.d: Likewise.
1663 * testsuite/ld-elf/merge3.d: Likewise.
1664
7e458899
CZ
16652016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1666
1667 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1668 generated.
1669
c5e3a364
RL
16702016-02-26 Renlin Li <renlin.li@arm.com>
1671
1672 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1673 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1674 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1675 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1676 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1677 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1678 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1679 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1680 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1681 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1682
bae420ef
L
16832016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 PR ld/19609
1686 * testsuite/ld-i386/got1.dd: Updated.
1687 * testsuite/ld-i386/lea1c.d: Likewise.
1688 * testsuite/ld-i386/load1-nacl.d: Likewise.
1689 * testsuite/ld-i386/load1.d: Likewise.
1690 * testsuite/ld-i386/load4b.d: Likewise.
1691 * testsuite/ld-i386/load5b.d: Likewise.
1692 * testsuite/ld-i386/mov1b.d: Likewise.
1693 * testsuite/ld-x86-64/mov1b.d: Likewise.
1694 * testsuite/ld-x86-64/mov1d.d: Likewise.
1695 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1696 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1697 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1698 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1699 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1700 * testsuite/ld-x86-64/lea1a.d: Likewise.
1701 * testsuite/ld-x86-64/lea1b.d: Likewise.
1702 * testsuite/ld-x86-64/lea1c.d: Likewise.
1703 * testsuite/ld-x86-64/lea1d.d: Likewise.
1704 * testsuite/ld-x86-64/lea1e.d: Likewise.
1705 * testsuite/ld-x86-64/lea1f.d: Likewise.
1706 * testsuite/ld-x86-64/mov1b.d: Likewise.
1707 * testsuite/ld-x86-64/mov1d.d: Likewise.
1708 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1709 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1710 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1711 * testsuite/ld-i386/pr19609-1.s: New file.
1712 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1713 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1714 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1715 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1716 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1717 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1718 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1719 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1720 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1721 * testsuite/ld-i386/pr19609-2.s: Likewise.
1722 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1723 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1724 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1725 * testsuite/ld-i386/undefweak.s: Likewise.
1726 * testsuite/ld-i386/undefweaka.d: Likewise.
1727 * testsuite/ld-i386/undefweakb.d: Likewise.
1728 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1729 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1730 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1731 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1732 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1733 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1734 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1735 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1736 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1737 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1738 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1739 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1740 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1741 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1742 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1743 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1744 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1745 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1746 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1747 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1748 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1749 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1750 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1751 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1752 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1753 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1754 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1755 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1756 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1757 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1758 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1759 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1760 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1761 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1762 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1763 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1764 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1765 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1766 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1767 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1768 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1769 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1770 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1771 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1772 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1773 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1774 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1775 PR ld/19609.
1776 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1777 and tests for PR ld/19609.
1778
11e5f1ec
L
17792016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1780
1781 PR ld/19645
1782 * NEWS: Mention -z common/-z nocommon for ELF targets.
1783 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1784 -z common and -z nocommon.
1785 * ld.texinfo: Document -z common/-z nocommon.
1786 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1787 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1788 --elf-stt-common=yes with assembler.
1789 * testsuite/ld-elfcomm/common-1.s: New file.
1790 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1791 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1792 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1793 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1794 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1795 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1796 * testsuite/ld-elfcomm/common-2.s: Likewise.
1797 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1798 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1799 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1800 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1801 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1802 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1803 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1804 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1805 * testsuite/ld-i386/pr19645.d: Likewise.
1806 * testsuite/ld-i386/pr19645.s: Likewise.
1807 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1808 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1809 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1810 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1811 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1812 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1813 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1814 * testsuite/ld-x86-64/pr19645.d: Likewise.
1815 * testsuite/ld-x86-64/pr19645.s: Likewise.
1816 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1817 with assembler.
1818 (assembler_generates_commons): Removed.
1819 Run -z common/-z nocommon tests. Run *.d tests.
1820 * testsuite/ld-i386/i386.exp: Run pr19645.
1821 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1822 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1823 assembler. Test STT_COMMON with readelf.
1824
aec6b87e
L
18252016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 PR ld/19636
1828 PR ld/19704
1829 PR ld/19719
1830 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1831 * Makefile.in: Regenerated.
1832 * NEWS: Mention -z nodynamic-undefined-weak.
1833 * ld.texinfo: Document -z nodynamic-undefined-weak.
1834 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1835 * emulparams/dynamic_undefined_weak.sh: New file.
1836 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1837 * emulparams/elf_i386.sh: Likewise.
1838 * emulparams/elf_i386_be.sh: Likewise.
1839 * emulparams/elf_i386_chaos.sh: Likewise.
1840 * emulparams/elf_i386_ldso.sh: Likewise.
1841 * emulparams/elf_i386_vxworks.sh: Likewise.
1842 * emulparams/elf_iamcu.sh: Likewise.
1843 * emulparams/elf_k1om.sh: Likewise.
1844 * emulparams/elf_l1om.sh: Likewise.
1845 * emulparams/elf_x86_64.sh: Likewise.
1846 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1847 Append.
1848 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1849 * testsuite/ld-elf/pr19719a.c: New file.
1850 * testsuite/ld-elf/pr19719b.c: Likewise.
1851 * testsuite/ld-elf/pr19719c.c: Likewise.
1852 * testsuite/ld-elf/pr19719d.c: Likewise.
1853 * testsuite/ld-i386/pr19636-1.s: Likewise.
1854 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1855 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1856 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1857 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1858 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1859 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1860 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1861 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1862 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1863 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1864 * testsuite/ld-i386/pr19636-2.s: Likewise.
1865 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1866 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1867 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1868 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1869 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1870 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1871 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1872 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1873 * testsuite/ld-i386/pr19636-3.s: Likewise.
1874 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1875 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1876 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1877 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1878 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1879 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1880 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1881 * testsuite/ld-i386/pr19636-4.s: Likewise.
1882 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1883 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1884 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1885 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1886 * testsuite/ld-i386/pr19704.out: Likewise.
1887 * testsuite/ld-i386/pr19704a.c: Likewise.
1888 * testsuite/ld-i386/pr19704b.c: Likewise.
1889 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1890 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1891 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1892 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1893 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1894 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1895 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1896 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1897 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1898 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1899 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1900 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1901 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1902 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1903 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1904 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1905 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1906 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1907 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1908 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1909 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1910 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1911 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1912 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1913 * testsuite/ld-x86-64/pr19704.out: Likewise.
1914 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1915 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1916 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1917 Run mix_pic_and_non_pic.
1918 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1919 Run undefined_weak and PR ld/19636 tests.
1920 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1921 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1922 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1923
920e4862
NC
19242016-02-25 Nick Clifton <nickc@redhat.com>
1925
1926 * ld.h (struct ld_config_type): Remove specified_data_size field.
1927
0f550b3d
L
19282016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1929
1930 PR ld/19698
1931 * testsuite/ld-elf/pr19698.d: New file.
1932 * testsuite/ld-elf/pr19698.s: Likewise.
1933 * testsuite/ld-elf/pr19698.t: Likewise.
1934
31866b2c
L
19352016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * Makefile.am (ELF_X86_DEPS): New.
1938 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1939 (eelf_i386_chaos.c): Likewise.
1940 (eelf_i386_fbsd.c): Likewise.
1941 (eelf_i386_ldso.c): Likewise.
1942 (eelf_i386_nacl.c): Likewise.
1943 (eelf_i386_sol2.c): Likewise.
1944 (eelf_iamcu.c): Likewise.
1945 (eelf32_x86_64.c): Likewise.
1946 (eelf32_x86_64_nacl.c): Likewise.
1947 (eelf_l1om.c): Likewise.
1948 (eelf_l1om_fbsd.c): Likewise.
1949 (eelf_k1om.c): Likewise.
1950 (eelf_k1om_fbsd.c): Likewise.
1951 (eelf_x86_64.c): Likewise.
1952 (eelf_x86_64_cloudabi.c): Likewise.
1953 (eelf_x86_64_fbsd.c): Likewise.
1954 (eelf_x86_64_sol2.c): Likewise.
1955 * Makefile.in: Regenerated.
1956
6b3b0ab8
L
19572016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1960 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1961 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1962 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1963
de818c22
L
19642016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1967
c304e18e
L
19682016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1971 *-*-gnu* and *-*-solaris*.
1972 * testsuite/ld-elf/pr19617b.d: Likewise.
1973 * testsuite/ld-elf/pr19617c.d: Likewise.
1974
bf89386a
L
19752016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1976
1977 PR ld/19617
1978 * testsuite/ld-elf/pr19617.s: New file.
1979 * testsuite/ld-elf/pr19617a.d: Likewise.
1980 * testsuite/ld-elf/pr19617b.d: Likewise.
1981 * testsuite/ld-elf/pr19617c.d: Likewise.
1982
06ea285d
NC
19832016-02-18 Nick Clifton <nickc@redhat.com>
1984
1985 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1986 in-tree xg++ executable after checking for the presence of an
1987 in-tree g++ executable.
1988 * Makefile.in: Regenerate.
1989
b27ab9ad
L
19902016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1993 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1994 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1995
8f79b794
L
19962016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1999 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2000 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2001 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2002 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2003 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2004 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2005 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2006 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2007 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2008 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2009 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2010 * testsuite/ld-x86-64/load1c.d: Likewise.
2011 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2012 * testsuite/ld-x86-64/load1d.d: Likewise.
2013 * testsuite/ld-x86-64/pr14207.d: Likewise.
2014 * testsuite/ld-x86-64/pr19162.d: Likewise.
2015 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2016 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2017 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2018 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2019 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2020 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2021
b3e3e0b7
NC
20222016-02-17 Nick Clifton <nickc@redhat.com>
2023
2024 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2025
9fb71ee4
NC
20262016-02-15 Nick Clifton <nickc@redhat.com>
2027
2028 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2029 description of the flags produced by readelf.
2030 * testsuite/ld-i386/pr12921.d: Likewise.
2031 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2032 * testsuite/ld-i386/tlsbin.rd: Likewise.
2033 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2034 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2035 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2036 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2037 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2038 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2039 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2040 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2041 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2042 * testsuite/ld-i386/tlspic.rd: Likewise.
2043 * testsuite/ld-s390/tlsbin.rd: Likewise.
2044 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2045 * testsuite/ld-s390/tlspic.rd: Likewise.
2046 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2047 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2048 * testsuite/ld-sh/tlspic-2.d: Likewise.
2049 * testsuite/ld-tic6x/common.d: Likewise.
2050 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2051 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2052 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2053 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2054 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2055 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2056 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2057 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2058 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2059 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2060 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2061 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2062 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2063 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2064 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2065 * testsuite/ld-x86-64/pr12718.d: Likewise.
2066 * testsuite/ld-x86-64/pr12921.d: Likewise.
2067 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2068 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2069 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2070 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2071 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2072 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2073 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2074 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2075 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2076 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2077 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2078 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2079 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2080 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2081
21a90cf1
L
20822016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 PR ld/19615
2085 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2086 PIE.
2087 * lexsup.c (parse_args): Enable -Bsymbolic and
2088 -Bsymbolic-functions for PIE.
ee5db48b 2089 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
2090 * testsuite/ld-i386/pr19615.d: New file.
2091 * testsuite/ld-i386/pr19615.s: Likewise.
2092 * testsuite/ld-x86-64/pr19615.d: Likewise.
2093 * testsuite/ld-x86-64/pr19615.s: Likewise.
2094
027e9c75
NC
20952016-02-09 Nick Clifton <nickc@redhat.com>
2096
2097 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2098 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2099 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2100 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2101
39306124
NC
21022016-02-04 Nick Clifton <nickc@redhat.com>
2103
2104 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2105 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2106 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2107 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2108 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2109 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2110 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2111 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2112 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2113
0cb4071e
L
21142016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 PR gas/19520
2117 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2118 * testsuite/ld-i386/call1.d: Likewise.
2119 * testsuite/ld-i386/call2.d: Likewise.
2120 * testsuite/ld-i386/call3a.d: Likewise.
2121 * testsuite/ld-i386/call3b.d: Likewise.
2122 * testsuite/ld-i386/call3c.d: Likewise.
2123 * testsuite/ld-i386/call3d.d: Likewise.
2124 * testsuite/ld-i386/call3e.d: Likewise.
2125 * testsuite/ld-i386/call3f.d: Likewise.
2126 * testsuite/ld-i386/call3g.d: Likewise.
2127 * testsuite/ld-i386/call3h.d: Likewise.
2128 * testsuite/ld-i386/jmp1.d: Likewise.
2129 * testsuite/ld-i386/jmp2.d: Likewise.
2130 * testsuite/ld-i386/lea1c.d: Likewise.
2131 * testsuite/ld-i386/load1.d: Likewise.
2132 * testsuite/ld-i386/load2.d: Likewise.
2133 * testsuite/ld-i386/load3.d: Likewise.
2134 * testsuite/ld-i386/load4a.d: Likewise.
2135 * testsuite/ld-i386/load5a.d: Likewise.
2136 * testsuite/ld-i386/mov2b.d: Likewise.
2137 * testsuite/ld-i386/mov3.d: Likewise.
2138 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2139 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2140 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2141 * testsuite/ld-x86-64/call1a.d: Likewise.
2142 * testsuite/ld-x86-64/call1b.d: Likewise.
2143 * testsuite/ld-x86-64/call1c.d: Likewise.
2144 * testsuite/ld-x86-64/call1d.d: Likewise.
2145 * testsuite/ld-x86-64/call1e.d: Likewise.
2146 * testsuite/ld-x86-64/call1f.d: Likewise.
2147 * testsuite/ld-x86-64/call1h.d: Likewise.
2148 * testsuite/ld-x86-64/call1i.d: Likewise.
2149 * testsuite/ld-x86-64/load1a.d: Likewise.
2150 * testsuite/ld-x86-64/load1b.d: Likewise.
2151 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2152 * testsuite/ld-i386/got1.dd: Updated.
2153 * testsuite/ld-i386/got1d.S (1): Removed.
2154 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2155 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2156
6ba2af25
L
21572016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 PR ld/18591
2160 * testsuite/ld-x86-64/pr18591.d: New file.
2161 * testsuite/ld-x86-64/pr18591.s: Likewise.
2162 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2163
aef28989
L
21642016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 PR ld/19553
2167 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2168 * testsuite/ld-elf/pr19553.map: New file.
2169 * testsuite/ld-elf/pr19553.map: Likewise.
2170 * testsuite/ld-elf/pr19553a.c: Likewise.
2171 * testsuite/ld-elf/pr19553b.c: Likewise.
2172 * testsuite/ld-elf/pr19553b.out: Likewise.
2173 * testsuite/ld-elf/pr19553c.c: Likewise.
2174 * testsuite/ld-elf/pr19553c.out: Likewise.
2175 * testsuite/ld-elf/pr19553d.c: Likewise.
2176 * testsuite/ld-elf/pr19553d.out: Likewise.
2177
d9e3b590
L
21782016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2179
2180 PR ld/19539
2181 * testsuite/ld-elf/pr19539.d: New file.
2182 * testsuite/ld-elf/pr19539.s: Likewise.
2183 * testsuite/ld-elf/pr19539.t: Likewise.
2184
621ff761
L
21852016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 PR ld/19533
2188 * configure.ac (compressed_debug_sections): Replace == with =.
2189 * configure: Regenerated.
2190
7585b2b8
DC
21912016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2192
2193 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2194 * scripttempl/avrtiny.sc (.noinit): Likewise.
2195
aebf9be7
NC
21962016-01-21 Nick Clifton <nickc@redhat.com>
2197
dfc43940
NC
2198 PR ld/19453
2199 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2200 the arm-netbsdelf target.
2201
aebf9be7
NC
2202 PR ld/19455
2203 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2204 disassmebler output.
2205 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2206 * testsuite/ld-arm/vxworks1.dd: Likewise.
2207 * testsuite/ld-arm/vxworks1.rd: Likewise.
2208 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2209
2f340668
JW
22102016-01-20 Jiong Wang <jiong.wang@arm.com>
2211
2212 * testsuite/ld-aarch64/farcall-section.d: Delete.
2213 * testsuite/ld-aarch64/farcall-section.s: Delete.
2214 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2215 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2216 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2217 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2218 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2219
fdbd3e95
NC
22202016-01-20 Nick Clifton <nickc@redhat.com>
2221
2222 PR 19457
2223 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2224 early for PE based targets.
2225 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2226 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2227
91f68a68
MG
22282016-01-20 Mickael Guene <mickael.guene@st.com>
2229
2230 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2231 Add 'y' attribute usage.
2232 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2233 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2234 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2235
a4af960a
NC
22362016-01-19 Nick Clifton <nickc@redhat.com>
2237
2238 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2239 foo@FOO and bar@@FOO.
2240
3d961d0d
AM
22412016-01-18 Alan Modra <amodra@gmail.com>
2242
2243 * configure: Regenerate.
2244
760f6ee8
NC
22452016-01-18 Nick Clifton <nickc@redhat.com>
2246
2247 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2248 is not configured to support plugins.
2249
24f03d4e
NC
2250 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2251 but with 16 byte section alignment.
2252 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2253 test for MIPS targets.
2254
5c14705f
AM
22552016-01-17 Alan Modra <amodra@gmail.com>
2256
2257 * configure: Regenerate.
2258
b3066ae8
AM
22592016-01-17 Alan Modra <amodra@gmail.com>
2260
2261 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2262 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2263 * testsuite/ld-elf/pr14156a.d: Likewise.
2264 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2265 * testsuite/ld-elf/sec64k.exp: Likewise.
2266
4c4ac964
TP
22672016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2268
2269 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2270 Set address of .foo section when linking.
2271 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2272 in .foo section.
2273 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2274 output to the above changes.
2275
1bce3adf
NC
22762016-01-13 Nick Clifton <nickc@redhat.com>
2277
84054199
NC
2278 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2279 for MIPS targets.
2280
13ce3603
NC
2281 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2282 fail for MIPS targets.
2283
1bce3adf
NC
2284 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2285 MIPS targets.
2286
ac06903d
YU
22872016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2288
2289 * testsuite/ld-arm/arm-elf.exp: New test.
2290 * testsuite/ld-arm/unwind-mix.d: New file.
2291 * testsuite/ld-arm/unwind-mix1.s: New file.
2292 * testsuite/ld-arm/unwind-mix2.s: New file.
2293
109575d7
JW
22942016-01-08 Jiong Wang <jiong.wang@arm.com>
2295
2296 PR ld/19368
2297 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2298 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2299 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2300 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2301 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2302 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2303
296ebfbb
NC
23042016-01-05 Nick Clifton <nickc@redhat.com>
2305
2306 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2307 MSP430 hardware multiply address range.
2308 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2309 (__romdatacopysize): Define.
2310 * scripttempl/elf32msp430_3.sc: Likewise.
2311
2f2da8fd
MR
23122016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2313
2314 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2315 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2316
d537eeb5
MR
23172016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2318
2319 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2320 messages expected according to MIPS BFD private data merge
2321 changes.
2322 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2323 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2324 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2325 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2326 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2327 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2328 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2329 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2330 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2331 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2332 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2333 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2334 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2335
6f2750fe
AM
23362016-01-01 Alan Modra <amodra@gmail.com>
2337
2338 Update year range in copyright notice of all files.
2339
3499769a
AM
2340For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2341\f
2342Copyright (C) 2016 Free Software Foundation, Inc.
2343
2344Copying and distribution of this file, with or without modification,
2345are permitted in any medium without royalty provided the copyright
2346notice and this notice are preserved.
2347
2348Local Variables:
2349mode: change-log
2350left-margin: 8
2351fill-column: 74
2352version-control: never
2353End:
This page took 0.143197 seconds and 4 git commands to generate.