Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation
[deliverable/binutils-gdb.git] / ld / testsuite / ChangeLog
1 2012-06-11 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/14215
4 * ld-i386/i386.exp: Run pr14215.
5 * ld-x86-64/x86-64.exp: Likewise.
6
7 * ld-i386/pr14215.d: New file.
8 * ld-i386/pr14215.s: Likewise.
9 * ld-x86-64/pr14215.d: Likewise.
10 * ld-x86-64/pr14215.s: Likewise.
11
12 2012-06-06 Alan Modra <amodra@gmail.com>
13
14 * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd, * ld-alpha/tlspic.rd,
15 * ld-arm/script-type.sym, * ld-cris/hiddef1.d, * ld-cris/tls-e-20a.d,
16 * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-76.d,
17 * ld-cris/tls-local-64.d, * ld-i386/pr12718.d, * ld-i386/pr12921.d,
18 * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd, * ld-i386/tlsdesc.rd,
19 * ld-i386/tlsnopic.rd, * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd,
20 * ld-ia64/tlspic.rd, * ld-mips-elf/reloc-merge-lo16.d,
21 * ld-mmix/bpo-1.d, * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d,
22 * ld-mmix/bpo-14.d, * ld-mmix/bpo-16.d, * ld-mmix/bpo-17.d,
23 * ld-mmix/bpo-18.d, * ld-mmix/bpo-2.d, * ld-mmix/bpo-22.d,
24 * ld-mmix/bpo-3.d, * ld-mmix/bpo-4.d, * ld-mmix/bpo-5.d,
25 * ld-mmix/bpo-9.d, * ld-mmix/greg-1.d, * ld-mmix/greg-19.d,
26 * ld-mmix/greg-2.d, * ld-mmix/greg-3.d, * ld-mmix/greg-4.d,
27 * ld-mmix/greg-5.d, * ld-mmix/greg-5s.d, * ld-mmix/greg-6.d,
28 * ld-mmix/greg-7.d, * ld-mmix/loc4.d, * ld-mmix/local1.d,
29 * ld-mmix/local3.d, * ld-mmix/local5.d, * ld-mmix/local7.d,
30 * ld-mmix/loct-1.d, * ld-mn10300/i135409-1.d, * ld-powerpc/tlsexe.r,
31 * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.r,
32 * ld-powerpc/tlsso.r, * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r,
33 * ld-powerpc/vxworks-relax-2.rd, * ld-s390/tlsbin.rd,
34 * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd, * ld-sh/sub2l-1.d,
35 * ld-sh/weak1.d, * ld-sh/sh64/abi32.xd, * ld-sh/sh64/abi64.xd,
36 * ld-sh/sh64/cmpct1.xd, * ld-sh/sh64/crange1.rd,
37 * ld-sh/sh64/crange2.rd, * ld-sh/sh64/crange3-cmpct.rd,
38 * ld-sh/sh64/crange3-media.rd, * ld-sh/sh64/crange3.rd,
39 * ld-sh/sh64/crangerel1.rd, * ld-sh/sh64/crangerel2.rd,
40 * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd, * ld-sh/sh64/shdl32.xd,
41 * ld-sh/sh64/shdl64.xd, * ld-sparc/gotop32.rd,
42 * ld-sparc/gotop64.rd, * ld-sparc/tlssunbin32.rd,
43 * ld-sparc/tlssunbin64.rd, * ld-sparc/tlssunnopic32.rd,
44 * ld-sparc/tlssunnopic64.rd, * ld-sparc/tlssunpic32.rd,
45 * ld-sparc/tlssunpic64.rd, * ld-tic6x/shlib-1.rd,
46 * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd, * ld-tic6x/shlib-1rb.rd,
47 * ld-tic6x/shlib-app-1.rd, * ld-tic6x/shlib-app-1b.rd,
48 * ld-tic6x/shlib-app-1r.rd, * ld-tic6x/shlib-app-1rb.rd,
49 * ld-tic6x/shlib-noindex.rd, * ld-tic6x/static-app-1.rd,
50 * ld-tic6x/static-app-1b.rd, * ld-tic6x/static-app-1r.rd,
51 * ld-tic6x/static-app-1rb.rd, * ld-x86-64/ilp32-4-nacl.d,
52 * ld-x86-64/ilp32-4.d, * ld-x86-64/pr12718.d, * ld-x86-64/pr12921.d,
53 * ld-x86-64/split-by-file-nacl.rd, * ld-x86-64/split-by-file.rd,
54 * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd,
55 * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlspic.rd: Update to suit
56 added STT_FILE symbols.
57
58 2012-06-06 Alan Modra <amodra@gmail.com>
59
60 * ld-mmix/bpo-9.d: Update.
61 * ld-mmix/bpo-10.d: Update.
62 * ld-mmix/bpo-11.d: Update.
63 * ld-mmix/sec-7m.d: Update.
64
65 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
66
67 * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global".
68 * ld-ifunc/ifunc-15-x86-64.s: Likewise.
69
70 2012-05-30 Nick Clifton <nickc@redhat.com>
71
72 * ld-tic6x/shlib-1b.rd: Revert previous delta.
73 * ld-tic6x/shlib-1rb.rd: Likewise.
74 * ld-tic6x/shlib-1.rd: Likewise.
75 * ld-tic6x/shlib-1r.rd: Likewise.
76 * ld-tic6x/shlib-app-1b.rd: Likewise.
77 * ld-tic6x/shlib-app-1rb.rd: Likewise.
78 * ld-tic6x/shlib-app-1.rd: Likewise.
79 * ld-tic6x/shlib-app-1r.rd: Likewise.
80 * ld-tic6x/shlib-noindex.rd: Likewise.
81 * ld-tic6x/static-app-1b.rd: Likewise.
82 * ld-tic6x/static-app-1rb.rd: Likewise.
83 * ld-tic6x/static-app-1.rd: Likewise.
84 * ld-tic6x/static-app-1r.rd: Likewise.
85
86 2012-05-29 Nick Clifton <nickc@redhat.com>
87
88 * ld-tic6x/shlib-1b.rd: Update expected readelf output.
89 * ld-tic6x/shlib-1rb.rd: Likewise.
90 * ld-tic6x/shlib-1.rd: Likewise.
91 * ld-tic6x/shlib-1r.rd: Likewise.
92 * ld-tic6x/shlib-app-1b.rd: Likewise.
93 * ld-tic6x/shlib-app-1rb.rd: Likewise.
94 * ld-tic6x/shlib-app-1.rd: Likewise.
95 * ld-tic6x/shlib-app-1r.rd: Likewise.
96 * ld-tic6x/shlib-noindex.rd: Likewise.
97 * ld-tic6x/static-app-1b.rd: Likewise.
98 * ld-tic6x/static-app-1rb.rd: Likewise.
99 * ld-tic6x/static-app-1.rd: Likewise.
100 * ld-tic6x/static-app-1r.rd: Likewise.
101
102 2012-05-28 Nick Clifton <nickc@redhat.com>
103
104 * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive.
105 * ld-ifunc/ifunc-15a-i385.s: Likewise.
106
107 2012-05-28 Alan Modra <amodra@gmail.com>
108
109 PR ld/14170
110 * ld-elf/pr14170a.s: Put foo, bar address in .data.
111 * ld-elf/elf.exp: Don't run pr14170 test on hppa64-hpux. Ignore
112 tic6x warnings.
113
114 2012-05-27 H.J. Lu <hongjiu.lu@intel.com>
115
116 PR ld/14170
117 * ld-elf/elf.exp: Add a test for PR ld/14170.
118
119 * ld-elf/pr14170a.s: New file.
120 * ld-elf/pr14170b.s: Likewise.
121 * ld-elf/pr14170c.s: Likewise.
122
123 2012-05-26 Alan Modra <amodra@gmail.com>
124
125 * ld-srec/srec.exp: Remove powerpc64 flag setting.
126
127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
128
129 * ld-elf/eh1.d: Don't skip x86_64-*-linux-gnux32.
130 * ld-elf/eh2.d: Likewise.
131 * ld-elf/eh3.d: Likewise.
132 * ld-elf/eh4.d: Likewise.
133
134 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
135
136 * ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
137 (func): Make it global and hidden.
138 * ld-x86-64/ilp32-11.d: Updated.
139
140 2012-05-22 Roland McGrath <mcgrathr@google.com>
141
142 * ld-elf/eh4.d: Revert last change.
143 Loosen CFI-matching regexps so they match x86_64-*-nacl* variant too.
144
145 * ld-x86-64/pr12570a.d (name): Distinguish it from pr12570b.d case.
146 Loosen CFI-matching regexp so it matches x86_64-*-nacl* variant too.
147 * ld-x86-64/pr12570b.d: Likewise.
148 * ld-x86-64/x86-64.exp: Revert last change.
149
150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
151
152 * ld-elf/eh4.d: Skip x86_64-*-nacl*.
153
154 * ld-x86-64/x86-64.exp: Xfail pr12570a for x86_64-*-nacl*.
155
156 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
157
158 PR ld/13909
159 * ld-i386/i386.exp: Revert the last change.
160 * ld-x86-64/x86-64.exp: Likewise.
161
162 * ld-i386/dummy.s: Removed.
163 * ld-i386/pr13909.d: Likewise.
164 * ld-x86-64/pr13909.d: Likewise.
165
166 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
167
168 PR ld/13909
169 * ld-i386/i386.exp: Run pr13909.
170 * ld-x86-64/x86-64.exp: Likewise.
171
172 * ld-i386/dummy.s: New file.
173 * ld-i386/pr13909.d: Likewise.
174 * ld-x86-64/pr13909.d: Likewise.
175
176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/14105
179 * ld-elf/eh4.d: Add PLT eh_frame.
180
181 * ld-i386/i386.exp: Run pr12570a and pr12570b.
182 * ld-x86-64/x86-64.exp: Likewise.
183
184 * ld-i386/pr12570a.d: New file.
185 * ld-i386/pr12570a.s: Likewise.
186 * ld-i386/pr12570b.s: Likewise.
187 * ld-i386/pr12570b.s: Likewise.
188 * ld-x86-64/pr12570a.d: Likewise.
189 * ld-x86-64/pr12570a.s: Likewise.
190 * ld-x86-64/pr12570b.d: Likewise.
191 * ld-x86-64/pr12570b.s: Likewise.
192
193 2012-05-19 Alan Modra <amodra@gmail.com>
194
195 * ld-elf/elf.exp (note-3.so): xfail tic6x due to non-pic warnings.
196
197 2012-05-19 Alan Modra <amodra@gmail.com>
198
199 * ld-powerpc/vle.ld: New.
200 * ld-powerpc/powerpc.exp (vle reloc tests): Link using vle.ld.
201
202 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
203
204 * ld-i386/tlsdesc-nacl.rd: Update for dynamic sym changes.
205 * ld-i386/tlsdesc.rd: Likewise.
206 * ld-i386/tlsgdesc-nacl.rd: Likewise.
207 * ld-i386/tlsgdesc.rd: Likewise.
208 * ld-i386/tlsnopic-nacl.rd: Likewise.
209 * ld-i386/tlsnopic.rd: Likewise.
210 * ld-i386/tlspic-nacl.rd: Likewise.
211 * ld-i386/tlspic.rd: Likewise.
212 * ld-x86-64/tlsdesc-nacl.rd: Likewise.
213 * ld-x86-64/tlsdesc.rd: Likewise.
214 * ld-x86-64/tlsgdesc-nacl.rd: Likewise.
215 * ld-x86-64/tlsgdesc.rd: Likewise.
216 * ld-x86-64/tlspic-nacl.rd: Likewise.
217 * ld-x86-64/tlspic.rd: Likewise.
218
219 2012-05-18 Alan Modra <amodra@gmail.com>
220
221 * ld-tic6x/mvk-reloc-local-r.d: Adjust for signed addend.
222 * ld-tic6x/unwind-6.d: Typo fix.
223
224 2012-05-18 Alan Modra <amodra@gmail.com>
225
226 * ld-elf/init-mixed.c: Include config.h first.
227
228 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
229
230 * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
231 * ld-spu/pic.d: Likewise.
232
233 2012-05-17 Hans-Peter Nilsson <hp@axis.com>
234
235 * lib/ld-lib.exp (run_dump_test): For options "warning" and
236 "error", append to earlier option values without adding a space.
237
238 2012-05-17 Alan Modra <amodra@gmail.com>
239
240 * ld-m68k/tls-ld-1.d: Update.
241
242 2012-05-17 Alan Modra <amodra@gmail.com>
243
244 * ld-powerpc/tlsso.r: Update for dynamic sym changes.
245 * ld-powerpc/tlsso32.d: Likewise.
246 * ld-powerpc/tlsso32.r: Likewise.
247 * ld-powerpc/tlstocso.r: Likewise.
248
249 2012-05-16 Meador Inge <meadori@codesourcery.com>
250
251 * ld-arm/gc-hidden-1.d: Fix disassembly pattern.
252
253 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
254
255 * ld-m68hc11/xgate-link.s: New.
256 * ld-m68hc11/xgate-link.d: New.
257 * ld-m68hc11/xgate-offset.s: New.
258 * ld-m68hc11/xgate-offset.d: New.
259 * ld-m68hc11/xgate1.s: New.
260 * ld-m68hc11/xgate1.d: New.
261 * ld-m68hc11/xgate2.s: New.
262 * ld-m68hc11/m68hc11.exp: Updated.
263 * ld-m68hc11/*.d: Brought in line with changed objdump output.
264 * ld-gc/gc.exp: Update CFLAGS for m68hc11.
265 * ld-plugin/plugin.exp: Likewise.
266 * ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.
267
268 2012-05-14 David S. Miller <davem@davemloft.net>
269
270 * ld-sparc/tlssunbin32.rd: Update.
271 * ld-sparc/tlssunbin64.rd: Likewise.
272
273 2012-05-14 James Lemke <jwlemke@codesourcery.com>
274
275 * ld-powerpc/powerpc.exp: Create ppceabitests.
276 * ld-powerpc/vle-multiseg.s: New.
277 * ld-powerpc/vle-multiseg-1.d: New.
278 * ld-powerpc/vle-multiseg-1.ld: New.
279 * ld-powerpc/vle-multiseg-2.d: New.
280 * ld-powerpc/vle-multiseg-2.ld: New.
281 * ld-powerpc/vle-multiseg-3.d: New.
282 * ld-powerpc/vle-multiseg-3.ld: New.
283 * ld-powerpc/vle-multiseg-4.d: New.
284 * ld-powerpc/vle-multiseg-4.ld: New.
285 * ld-powerpc/vle-multiseg-5.d: New.
286 * ld-powerpc/vle-multiseg-5.ld: New.
287 * ld-powerpc/vle-multiseg-6.d: New.
288 * ld-powerpc/vle-multiseg-6.ld: New.
289 * ld-powerpc/vle-multiseg-6a.s: New.
290 * ld-powerpc/vle-multiseg-6b.s: New.
291 * ld-powerpc/vle-multiseg-6c.s: New.
292 * ld-powerpc/vle-multiseg-6d.s: New.
293 * ld-powerpc/powerpc.exp: Run new tests.
294
295 2012-05-14 Catherine Moore <clm@codesourcery.com>
296
297 * ld-powerpc/apuinfo.rd: Update for VLE.
298 * ld-powerpc/vle-reloc-1.d: New.
299 * ld-powerpc/vle-reloc-1.s: New.
300 * ld-powerpc/vle-reloc-2.d: New.
301 * ld-powerpc/vle-reloc-2.s: New.
302 * ld-powerpc/vle-reloc-3.d: New.
303 * ld-powerpc/vle-reloc-3.s: New.
304 * ld-powerpc/vle-reloc-def-1.s: New.
305 * ld-powerpc/vle-reloc-def-2.s: New.
306 * ld-powerpc/vle-reloc-def-3.s: New.
307
308 2012-05-13 Richard Sandiford <rdsandiford@googlemail.com>
309
310 * ld-mips-elf/mips-elf.exp (mips16_call_global_test): Use the
311 no-shared-1.ld linker script.
312 * ld-mips-elf/mips16-call-global-1.s: Add alignment directive.
313 * ld-mips-elf/mips16-call-global-2.s: Likewise.
314 * ld-mips-elf/mips16-call-global-3.s: Likewise.
315 * ld-mips-elf/mips16-call-global.d: Use 50000 as the base address.
316
317 2012-05-13 Richard Sandiford <rdsandiford@googlemail.com>
318
319 * ld-mips-elf/attr-gnu-4-00.d: Remove assembler options and emulator
320 linker option.
321 * ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
322 ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-04.d,
323 ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-10.d,
324 ld-mips-elf/attr-gnu-4-11.d, ld-mips-elf/attr-gnu-4-12.d,
325 ld-mips-elf/attr-gnu-4-13.d, ld-mips-elf/attr-gnu-4-14.d,
326 ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-20.d,
327 ld-mips-elf/attr-gnu-4-21.d, ld-mips-elf/attr-gnu-4-22.d,
328 ld-mips-elf/attr-gnu-4-23.d, ld-mips-elf/attr-gnu-4-24.d,
329 ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-30.d,
330 ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
331 ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-34.d,
332 ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-40.d,
333 ld-mips-elf/attr-gnu-4-41.d, ld-mips-elf/attr-gnu-4-42.d,
334 ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
335 ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-51.d: Likewise.
336
337 2012-05-13 Richard Sandiford <rdsandiford@googlemail.com>
338
339 * ld-mips-elf/eh-frame1.ld (.gcc_compiled_long32): Add KEEP.
340 * ld-mips-elf/eh-frame3.d: Move definition of foo to the link line
341 and change to a 32-bit value. Expect CIEs to be marged.
342 * ld-mips-elf/eh-frame4.d: Move definition of foo to the link line.
343
344 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
345
346 * ld-alpha/tlspic.rd: Updated.
347 * ld-powerpc/tlsso.r: Likewise.
348 * ld-powerpc/tlsso32.r: Likewise.
349 * ld-powerpc/vxworks1-lib.rd: Likewise.
350 * ld-s390/tlspic.rd: Likewise.
351 * ld-s390/tlspic_64.rd: Likewise.
352 * ld-sh/shared-1.d: Likewise.
353 * ld-sh/tlspic-2.d: Likewise.
354 * ld-sparc/tlssunnopic32.rd: Likewise.
355 * ld-sparc/tlssunnopic64.rd: Likewise.
356 * ld-sparc/tlssunpic32.rd: Likewise.
357 * ld-sparc/tlssunpic64.rd: Likewise.
358
359 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
360
361 * ld-cris/hiddef1.d: Updated.
362 * ld-cris/libdso-2.d: Likewise.
363 * ld-cris/tls-js1.d: Likewise.
364 * ld-cris/tls-local-63.d: Likewise.
365 * ld-cris/tls-local-64.d: Likewise.
366
367 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
368
369 PR binutils/14088
370 * ld-ia64/tlspic.rd: Updated.
371 * ld-x86-64/tlsdesc-nacl.rd: Likewise.
372 * ld-x86-64/tlsdesc.rd: Likewise.
373 * ld-x86-64/tlspic-nacl.rd: Likewise.
374 * ld-x86-64/tlspic.rd: Likewise.
375
376 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
377
378 * ld-x86-64/ilp32-11.d: Updated.
379
380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
381
382 * ld-x86-64/pr13082-1a.d: Check RELACOUNT.
383 * ld-x86-64/pr13082-1b.d: Likewise.
384
385 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
386
387 * ld-x86-64/ilp32-11.d: New file.
388 * ld-x86-64/ilp32-11.s: Likewise.
389
390 * ld-x86-64/x86-64.exp: Run ilp32-11.
391
392 2012-05-05 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR ld/14052
395 * ld-elf/pr14052.d: New file.
396 * ld-elf/pr14052.t: Likewise.
397
398 2012-05-05 Alan Modra <amodra@gmail.com>
399
400 PR ld/14052
401 PR ld/13621
402 * ld-elf/warn2.d: Revert 2012-02-13 change.
403 * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
404
405 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
406
407 * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
408 * ld-elf/eh2.d: Likewise.
409 * ld-elf/eh3.d: Likewise.
410 * ld-elf/eh4.d: Likewise.
411
412 * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32.
413 * ld-shared/shared.exp: Likewise.
414
415 * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
416
417 2012-04-24 Roland McGrath <mcgrathr@google.com>
418
419 * ld-x86-64/plt-nacl.pd: Fix expected nop padding.
420 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
421
422 2012-04-24 Hans-Peter Nilsson <hp@axis.com>
423
424 PR ld/13990
425 * ld-arm/arm-elf.exp: Run gc-hidden-1.
426 * ld-arm/gc-hidden-1.d: New test-file.
427 * ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
428 ld-arm/main.s: New files.
429
430 2012-04-23 Andreas Schwab <schwab@linux-m68k.org>
431
432 * ld-pie/pie.exp: Remove extra braces.
433
434 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
435
436 PR ld/13947
437 * ld-x86-64/x86-64.exp: Run pr13947.
438 * ld-x86-64/pr13947.d: New file.
439 * ld-x86-64/pr13947.s: Likewise.
440
441 2012-04-13 Roland McGrath <mcgrathr@google.com>
442
443 * ld-arm/arm-elf.exp (armelftests_common): Move cases using
444 mixed-lib.so to ...
445 (armelftests_nonacl): ... here.
446
447 2012-04-12 Roland McGrath <mcgrathr@google.com>
448
449 * ld-arm/arm-elf.exp (armelftests): Split out into ...
450 (armelftests_common, armelftests_nonacl): ... these two.
451 (armeabitests): Split out into ...
452 (armeabitests_common, armeabitests_nonacl): ... these two.
453 Omit _nonacl sets for arm*-*-nacl* targets.
454
455 * ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
456 * ld-arm/farcall-mix2.d: Likewise.
457 * ld-arm/farcall-group.d: Likewise.
458
459 * ld-arm/tls-gdesc-got.d: Match variant file formats too.
460 Accept some variation in exact addresses.
461
462 * ld-arm/thumb2-b-interwork.d: Match variant file formats too.
463 Fix regexps not to care about exact addresses where not relevant.
464
465 * ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
466 strings of particular exact lengths.
467 * ld-arm/thumb2-bl-undefweak1.d: Likewise.
468
469 * ld-arm/arm-app.r: Match variant file formats too.
470 * ld-arm/arm-app-abs32.r: Likewise.
471 * ld-arm/arm-lib.d: Likewise.
472 * ld-arm/arm-lib.r: Likewise.
473 * ld-arm/arm-static-app.r: Likewise.
474 * ld-arm/armv4-bx.d: Likewise.
475 * ld-arm/data-only-map.d: Likewise.
476 * ld-arm/group-relocs.d: Likewise.
477 * ld-arm/jump19.d: Likewise.
478 * ld-arm/reloc-boundaries.d: Likewise.
479 * ld-arm/thumb1-bl.d: Likewise.
480 * ld-arm/thumb2-bl.d: Likewise.
481 * ld-arm/tls-app.d: Likewise.
482 * ld-arm/tls-app.r: Likewise.
483 * ld-arm/tls-gdierelax.d: Likewise.
484 * ld-arm/tls-gdierelax2.d: Likewise.
485 * ld-arm/tls-gdlerelax.d: Likewise.
486 * ld-arm/tls-lib.d: Likewise.
487 * ld-arm/tls-lib.r: Likewise.
488 * ld-arm/tls-mixed.r: Likewise.
489 * ld-arm/vfp11-fix-none.d: Likewise.
490 * ld-arm/vfp11-fix-scalar.d: Likewise.
491 * ld-arm/vfp11-fix-vector.d: Likewise.
492 * ld-arm/arm-static-app.d: Likewise.
493 Fix regexps not to care about exact number of leading spaces.
494 * ld-arm/arm-app-abs32.d: Likewise.
495 * ld-arm/fix-arm1176-off.d: Likewise.
496 * ld-arm/fix-arm1176-on.d: Likewise.
497
498 * ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.
499
500 2012-04-09 Roland McGrath <mcgrathr@google.com>
501
502 * ld-elf/eh1.d: Add explicit --64 to as options, and explicit
503 -melf_x86_64 and -Ttext to ld options, so we don't assume every
504 x86_64-*-* target uses --64 (vs --x32) by default or has the
505 same address space layout.
506 * ld-elf/eh2.d: Likewise.
507 * ld-elf/eh3.d: Likewise.
508 * ld-elf/eh4.d: Likewise.
509 * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
510 map -melf_x86_64 to -melf_x86_64_nacl.
511
512 2012-04-07 David S. Miller <davem@davemloft.net>
513
514 * ld-sparc/tlssunbin32.rd: Fix regexp.
515 * ld-sparc/tlssunbin64.rd: Likewise.
516
517 2012-04-03 Roland McGrath <mcgrathr@google.com>
518
519 * ld-x86-64/ilp32-4-nacl.d: New file.
520 * ld-x86-64/x86-64.exp: Run it.
521
522 * ld-discard/discard.exp: Accept nacl targets too.
523 * ld-elf/binutils.exp: Likewise.
524 * ld-elf/comm-data.exp: Likewise.
525 * ld-elf/elf.exp: Likewise.
526 * ld-elf/tls_common.exp: Likewise.
527 * ld-elfvers/vers.exp: Likewise.
528 * ld-elfvsb/elfvsb.exp: Likewise.
529 * ld-elfweak/elfweak.exp: Likewise.
530 * ld-gc/gc.exp: Likewise.
531 * ld-ifunc/binutils.exp: Likewise.
532 * ld-ifunc/ifunc.exp: Likewise.
533 * ld-linkonce/linkonce.exp:Likewise.
534 * ld-pie/pie.exp: Likewise.
535 * ld-shared/shared.exp: Likewise.
536 * ld-undefined/weak-undef.exp: Likewise.
537 * ld-unique/unique.exp: Likewise.
538 * ld-x86-64/dwarfreloc.exp: Likewise.
539 * ld-x86-64/line.exp: Likewise.
540
541 * lib/ld-lib.exp (slurp_options): Support global array
542 options_regsub to apply substitutions to the contents
543 of options lines read from the file.
544 * ld-i386/emit-relocs.d: Renamed to ...
545 * ld-i386/emit-relocs.rd: ... this.
546 * ld-i386/i386.exp: Accept nacl targets too.
547 For them, use options_regsub to replace elf_i386 with
548 elf_i386_nacl in run_dump_test cases; apply the same
549 substitution in $i386tests; replace foo.rd expectations
550 files with foo-nacl.rd in $i386tests.
551 (i386tests): Change emit-relocs.d to emit-relocs.rd here.
552 * ld-i386/emit-relocs-nacl.rd: New file.
553 * ld-i386/plt-nacl.pd: New file.
554 * ld-i386/plt-pic-nacl.pd: New file.
555 * ld-i386/tlsbin-nacl.rd: New file.
556 * ld-i386/tlsbindesc-nacl.rd: New file.
557 * ld-i386/tlsdesc-nacl.rd: New file.
558 * ld-i386/tlsgdesc-nacl.rd: New file.
559 * ld-i386/tlsnopic-nacl.rd: New file.
560 * ld-i386/tlspic-nacl.rd: New file.
561 * ld-x86-64/x86-64.exp: Accept nacl targets too.
562 For them, use options_regsub to replace elf_x86_64 with
563 elf_x86_64_nacl in run_dump_test cases; apply the same
564 substitution in $x86_64tests; replace foo.rd expectations
565 files with foo-nacl.rd in $x86_64tests.
566 Add explicit -melf_x86_64 to ld options in tests that need it,
567 in case the default emulation is x32 (as it is for x86_64-nacl).
568 * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
569 * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
570 * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
571 * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
572 * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
573 * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
574 * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
575 * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
576
577 * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
578 and not to depend on exact addresses, displacements, etc. where
579 they are irrelevant.
580 * ld-i386/pcrel16.d: Likewise.
581 * ld-i386/pcrel16abs.d: Likewise.
582 * ld-i386/pr12718.d: Likewise.
583 * ld-i386/pr12921.d: Likewise.
584 * ld-i386/reloc.d: Likewise.
585 * ld-i386/tlsbin.dd: Likewise.
586 * ld-i386/tlsbin.sd: Likewise.
587 * ld-i386/tlsbin.td: Likewise.
588 * ld-i386/tlsbindesc.dd: Likewise.
589 * ld-i386/tlsbindesc.sd: Likewise.
590 * ld-i386/tlsbindesc.td: Likewise.
591 * ld-i386/tlsdesc.dd: Likewise.
592 * ld-i386/tlsdesc.sd: Likewise.
593 * ld-i386/tlsdesc.td: Likewise.
594 * ld-i386/tlsg.sd: Likewise.
595 * ld-i386/tlsgdesc.dd: Likewise.
596 * ld-i386/tlsindntpoff.dd: Likewise.
597 * ld-i386/tlsnopic.dd: Likewise.
598 * ld-i386/tlsnopic.sd: Likewise.
599 * ld-i386/tlspic.dd: Likewise.
600 * ld-i386/tlspic.sd: Likewise.
601 * ld-i386/tlspic.td: Likewise.
602 * ld-i386/tlspie2.d: Likewise.
603 * ld-x86-64/hidden2.d: Likewise.
604 * ld-x86-64/pcrel16.d: Likewise.
605 * ld-x86-64/pr12718.d: Likewise.
606 * ld-x86-64/pr12921.d: Likewise.
607 * ld-x86-64/protected3.d: Likewise.
608 * ld-x86-64/tlsbin.dd: Likewise.
609 * ld-x86-64/tlsbin.sd: Likewise.
610 * ld-x86-64/tlsbin.td: Likewise.
611 * ld-x86-64/tlsbindesc.dd: Likewise.
612 * ld-x86-64/tlsbindesc.sd: Likewise.
613 * ld-x86-64/tlsbindesc.td: Likewise.
614 * ld-x86-64/tlsdesc.dd: Likewise.
615 * ld-x86-64/tlsdesc.sd: Likewise.
616 * ld-x86-64/tlsdesc.td: Likewise.
617 * ld-x86-64/tlsg.sd: Likewise.
618 * ld-x86-64/tlsgd5.dd: Likewise.
619 * ld-x86-64/tlsgd6.dd: Likewise.
620 * ld-x86-64/tlsgdesc.dd: Likewise.
621 * ld-x86-64/tlspic.dd: Likewise.
622 * ld-x86-64/tlspic.sd: Likewise.
623 * ld-x86-64/tlspic.td: Likewise.
624
625 * ld-x86-64/ilp32-8.d: Match any file format variant.
626 Use a -Ttext and adjust expected results, to handle variant layouts.
627 * ld-x86-64/ilp32-9.d: Likewise.
628
629 * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
630 * ld-i386/pr12627.t: Likewise.
631
632 * ld-x86-64/abs-l1om.d: Add target: constraint.
633 * ld-x86-64/protected2-l1om.d: Likewise.
634 * ld-x86-64/protected3-l1om.d: Likewise.
635 * ld-x86-64/ilp32-4.d: Likewise.
636
637 * ld-x86-64/plt.s: New file.
638 * ld-x86-64/pltlib.s: New file.
639 * ld-x86-64/plt.pd: New file.
640 * ld-x86-64/x86-64.exp (x86_64tests): Add them.
641
642 * ld-i386/plt.s: New file.
643 * ld-i386/pltlib.s: New file.
644 * ld-i386/plt.pd: New file.
645 * ld-i386/plt-pic.s: New file.
646 * ld-i386/plt-pic.pd: New file.
647 * ld-i386/i386.exp (i386tests): Add them.
648
649 2012-03-25 Alan Modra <amodra@gmail.com>
650
651 * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
652 file offset and reloc symbol indices.
653
654 2012-03-21 Hans-Peter Nilsson <hp@axis.com>
655
656 PR ld/13813
657 * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
658 tests, also specify assembler option -march=mips3.
659
660 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
661
662 PR ld/13880
663 * ld-i386/i386.exp: Run protected4 and protected5.
664 * ld-x86-64/x86-64.exp: Likewise.
665
666 * ld-i386/protected4.d: New.
667 * ld-i386/protected4.s: Likewise.
668 * ld-i386/protected5.d: Likewise.
669 * ld-i386/protected5.s: Likewise.
670 * ld-x86-64/protected4.d: Likewise.
671 * ld-x86-64/protected4.s: Likewise.
672 * ld-x86-64/protected5.d: Likewise.
673 * ld-x86-64/protected5.s: Likewise.
674
675 2012-03-19 Andreas Schwab <schwab@linux-m68k.org>
676
677 * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
678 --copy-dt-needed-entries.
679
680 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
681
682 * ld-arm/arm-elf.exp: Add new testcases.
683 * ld-arm/attr-merge-2.attr: Update ouput.
684 * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
685 * ld-arm/attr-merge-2b.s: Likewise.
686 * ld-arm/attr-merge-3.attr: Updated expected output.
687 * ld-arm/attr-merge-4.attr: Likewise.
688 * ld-arm/attr-merge-5.attr: Likewise.
689 * ld-arm/attr-merge-6.attr: Likewise.
690 * ld-arm/attr-merge-7.attr: Likewise.
691 * ld-arm/attr-merge-arch-1.attr: Likewise.
692 * ld-arm/attr-merge-arch-2.attr: Likewise.
693 * ld-arm/attr-merge-unknown-2.d: Likewise.
694 * ld-arm/attr-merge-unknown-2r.d: Likewise.
695 * ld-arm/attr-merge-unknown-3.d: Likewise.
696 * ld-arm/attr-merge-vfp-1.d: Likewise.
697 * ld-arm/attr-merge-vfp-1r.d: Likewise.
698 * ld-arm/attr-merge-vfp-2.d: Likewise.
699 * ld-arm/attr-merge-vfp-2r.d: Likewise.
700 * ld-arm/attr-merge-vfp-3.d: Likewise.
701 * ld-arm/attr-merge-vfp-3r.d: Likewise.
702 * ld-arm/attr-merge-vfp-4.d: Likewise.
703 * ld-arm/attr-merge-vfp-4r.d: Likewise.
704 * ld-arm/attr-merge-vfp-5.d: Likewise.
705 * ld-arm/attr-merge-vfp-5r.d: Likewise.
706 * ld-arm/attr-merge-vfp-6.d: Likewise.
707 * ld-arm/attr-merge-vfp-6r.d: Likewise.
708 * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
709 * ld-arm/attr-merge-wchar-00.d: Likewise.
710 * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
711 * ld-arm/attr-merge-wchar-02.d: Likewise.
712 * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
713 * ld-arm/attr-merge-wchar-04.d: Likewise.
714 * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
715 * ld-arm/attr-merge-wchar-20.d: Likewise.
716 * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
717 * ld-arm/attr-merge-wchar-22.d: Likewise.
718 * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
719 * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
720 * ld-arm/attr-merge-wchar-40.d: Likewise.
721 * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
722 * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
723 * ld-arm/attr-merge-wchar-44.d: Likewise.
724 * ld-arm/attr-merge.attr: Likewise.
725 * ld-arm/attr-merge-div-0.s: New testcase.
726 * ld-arm/attr-merge-div-00.d: Likewise.
727 * ld-arm/attr-merge-div-01-m3.d: Likewise.
728 * ld-arm/attr-merge-div-01.d: Likewise.
729 * ld-arm/attr-merge-div-02.d: Likewise.
730 * ld-arm/attr-merge-div-1.s: Likewise.
731 * ld-arm/attr-merge-div-10-m3.d: Likewise.
732 * ld-arm/attr-merge-div-10.d: Likewise.
733 * ld-arm/attr-merge-div-11.d: Likewise.
734 * ld-arm/attr-merge-div-12.d: Likewise.
735 * ld-arm/attr-merge-div-120.d: Likewise.
736 * ld-arm/attr-merge-div-2.s: Likewise.
737 * ld-arm/attr-merge-div-20.d: Likewise.
738 * ld-arm/attr-merge-div-21.d: Likewise.
739 * ld-arm/attr-merge-div-22.d: Likewise.
740
741 2012-03-16 Alan Modra <amodra@gmail.com>
742
743 * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
744
745 2012-03-15 Alan Modra <amodra@gmail.com>
746
747 * config/default.exp: Update copyright date.
748 * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
749 shared libs.
750 * ld-elfvers/vers.exp: Likewise.
751
752 2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
753
754 PR ld/13839
755 * ld-elf/pr13839.d: New.
756 * ld-elf/pr13839.s: Likewise.
757 * ld-elf/pr13839.t: Likewise.
758
759 2012-03-09 H.J. Lu <hongjiu.lu@intel.com>
760
761 PR ld/13817
762 * ld-i386/pr13302.d: Updated.
763 * ld-x86-64/pr13082-5b.d: Likewise.
764 * ld-x86-64/pr13082-6a.d: Likewise.
765 * ld-x86-64/pr13082-6b.d: Likewise.
766
767 2012-03-06 Alan Modra <amodra@gmail.com>
768
769 PR ld/13683
770 * ld-gc/pr13683.d: Allow non-zero top address digit.
771
772 2012-03-05 Hans-Peter Nilsson <hp@axis.com>
773
774 PR ld/13803
775 * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
776 address of func_to_branch_to.
777
778 2012-03-01 Hans-Peter Nilsson <hp@axis.com>
779
780 PR ld/13789
781 * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
782
783 2012-02-25 Walter Lee <walt@tilera.com>
784
785 * ld-tilegx/reloc-be.d: New.
786 * ld-tilegx/reloc-le.d: New.
787 * ld-tilegx/reloc.d: Delete.
788 * ld-tilegx/tilegx.exp: Test big and little endian.
789
790 2012-02-22 Nick Clifton <nickc@redhat.com>
791
792 PR ld/13683
793 * ld-gc/pr13683.c: New test source file.
794 * ld-gc/pr13683.d: New test control and output file.
795 * ld-gc/gc.exp: Run the pr13683 test.
796
797 * ld-cris/tls-gc-68: Update expected symbol table dump.
798 * ld-cris/tls-gc-69: Likewise.
799 * ld-cris/tls-gc-70: Likewise.
800 * ld-cris/tls-gc-71: Likewise.
801 * ld-cris/tls-gc-75: Likewise.
802 * ld-cris/tls-gc-76.d: Likewise.
803 * ld-cris/tls-gc-79.d: Likewise.
804
805 2012-02-20 Thomas Schwinge <thomas@schwinge.name>
806
807 * ld-elf/comm-data.exp: Run for *-*-gnu*.
808
809 2012-02-14 Alan Modra <amodra@gmail.com>
810
811 * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
812 * ld-elf/pr11304a.s: Always have whitespace before directives.
813 * ld-elf/pr11304b.s: Likewise.
814 * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
815 * lib/ld-lib.exp: Likewise, and vice versa.
816
817 2012-02-13 Richard Henderson <rth@redhat.com>
818
819 PR ld/13621
820 * ld-elf/warn2.d: Expect ABS section for Foo.
821 * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
822
823 2012-02-13 Alan Modra <amodra@gmail.com>
824
825 * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
826 * ld-m68hc11/adj-brset.d: Remove redundant #target line. Add
827 -m m68hc11elf to ld invocation.
828 * ld-m68hc11/adj-jump.d: Likewise.
829 * ld-m68hc11/bug-1403.d: Likewise.
830 * ld-m68hc11/bug-1417.d: Likewise.
831 * ld-m68hc11/bug-3331.d: Likewise.
832 * ld-m68hc11/relax-direct.d: Likewise.
833 * ld-m68hc11/relax-group.d: Likewise.
834 * ld-m68hc11/far-hc11.d: Remove redundant #target line. Adjust for
835 changed addresses.
836 * ld-m68hc11/far-hc12.d: Remove redundant #target line.
837 * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
838
839 2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
840
841 PR ld/13675
842 * ld-i386/tlsnopic.dd: Update no-op padding.
843 * ld-i386/tlspic.dd: Likewise.
844
845 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
846
847 PR ld/13616
848 * ld-i386/tlsbindesc.dd: Update no-op padding.
849 * ld-i386/tlsnopic.dd: Likewise.
850 * ld-i386/tlspic.dd: Likewise.
851 * ld-x86-64/tlsbin.dd: Likewise.
852 * ld-x86-64/tlsbindesc.dd: Likewise.
853 * ld-x86-64/tlspic.dd: Likewise.
854
855 2012-01-17 Alan Modra <amodra@gmail.com>
856
857 * config/default.exp: Provide tmpdir/ld/collect-ld.
858
859 2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
860
861 PR ld/13581
862 * ld-x86-64/ilp32-4.s: New.
863 * ld-x86-64/ilp32-10.d: Likewise.
864 * ld-x86-64/ilp32-10.s: Likewise.
865
866 * ld-x86-64/ilp32-4.d: Adjusted.
867 * ld-x86-64/ilp32-5.d: Likewise.
868 * ld-x86-64/ilp32-5.s: Likewise.
869
870 * ld-x86-64/x86-64.exp: Run ilp32-10.
871
872 2012-01-05 Nick Clifton <nickc@redhat.com>
873
874 * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
875 64-bit objects when the 32-bit object (loaded first) contains 32+
876 local symbols, all referenced by relocs and the 64-bit object
877 contains a reloc that uses a symbol in the 32-bit object.
878 * 32bit.s: New source file.
879 * 64bit.s: New source file.
880 * incompatible.l: New expected linker output file.
881
882 For older changes see ChangeLog-2011
883 \f
884 Local Variables:
885 mode: change-log
886 left-margin: 8
887 fill-column: 74
888 version-control: never
889 End:
This page took 0.048586 seconds and 5 git commands to generate.