OSDN Git Service

ld/testsuite/
[pf3gnuchains/pf3gnuchains3x.git] / ld / testsuite / ChangeLog
1 2009-09-20  Richard Sandiford  <rdsandiford@googlemail.com>
2
3         * ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs.
4         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
5
6 2009-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
7
8         * ld-mips-elf/eh-frame5.s, ld-mips-elf/eh-frame5.ld,
9         ld-mips-elf/eh-frame5.d: New test.
10         * ld-mips-elf/mips-elf.exp: Run it.
11
12 2009-09-18  Alan Modra  <amodra@bigpond.net.au>
13
14         * ld-powerpc/tlsso.d: Update.
15         * ld-powerpc/tlsso.r: Update.
16         * ld-powerpc/tlstocso.d: Update.
17         * ld-powerpc/tlstocso.r: Update.
18
19 2009-09-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20
21         * ld-elfcomm/elfcomm.exp: Add appropriate emulation option
22         for sh64*-*-*.
23         * ld-gc/gc.exp (test_gc): Likewise.
24
25 2009-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26
27         * ld-undefined/entry-7.d: New.
28
29 2009-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
30
31         * ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame"
32         to "the \.eh_frame section".
33         * ld-mips-elf/eh-frame1-n64.d: Likewise.
34         * ld-mips-elf/eh-frame2-n32.d: Likewise.
35         * ld-mips-elf/eh-frame2-n64.d: Likewise.
36         * ld-mips-elf/eh-frame3.d: Likewise.
37         * ld-mips-elf/eh-frame4.d: Likewise.
38         * ld-mips-elf/elf-rel-got-n32.d: Expect bals.
39         * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
40         * ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1.
41
42 2009-09-11  Jie Zhang  <jie.zhang@analog.com>
43
44         * ld-elf/warn2.d: `Foo' appears in section 3 when target
45         is bfin-*-linux-uclibc.
46
47 2009-09-09  Daniel Jacobowitz  <dan@codesourcery.com>
48
49         * ld-arm/farcall-mixed-lib.d: Update.
50
51 2009-09-09  Alan Modra  <amodra@bigpond.net.au>
52
53         * ld-elf/sec64k.exp: For frv-linux use "aw" sections.
54         * ld-elf/seg.d: Cater for GNU_STACK segment.
55         * ld-elf/symbol1ref.s: Use data section.
56         * ld-elf/symbol2ref.s: Likewise.
57         * ld-scripts/empty-address-1.d: Don't run on frv-linux.
58         * ld-scripts/empty-address-2a.d: Likewise.
59         * ld-scripts/empty-address-2b.d: Likewise.
60         * ld-scripts/empty-aligned.d: Likewise.
61         * ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms.
62         * ld-scripts/sort_b_a-1.d: Likewise.
63         * ld-scripts/sort_b_a.d: Likewise.
64         * ld-scripts/sort_b_a_a-1.d: Likewise.
65         * ld-scripts/sort_b_a_a-2.d: Likewise.
66         * ld-scripts/sort_b_a_a-3.d: Likewise.
67         * ld-scripts/sort_b_a_n-1.d: Likewise.
68         * ld-scripts/sort_b_a_n-2.d: Likewise.
69         * ld-scripts/sort_b_a_n-3.d: Likewise.
70         * ld-scripts/sort_b_n-1.d: Likewise.
71         * ld-scripts/sort_b_n.d: Likewise.
72         * ld-scripts/sort_b_n_a-1.d: Likewise.
73         * ld-scripts/sort_b_n_a-2.d: Likewise.
74         * ld-scripts/sort_b_n_a-3.d: Likewise.
75         * ld-scripts/sort_b_n_n-1.d: Likewise.
76         * ld-scripts/sort_b_n_n-2.d: Likewise.
77         * ld-scripts/sort_b_n_n-3.d: Likewise.
78         * ld-scripts/sort_no-1.d: Likewise.
79         * ld-scripts/sort_no-2.d: Likewise.
80
81 2009-09-08  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
82
83         * ld-elf/merge.d: xfail cr16-*-*.
84
85 2009-09-08  Alan Modra  <amodra@bigpond.net.au>
86
87         * ld-elf/eh5.d: Don't run on hppa64.  Allow non-pcrel encoding.
88         Skip extra CIEs emitted on embedded targets and adjust FDE
89         matches to suit.
90
91 2009-09-05  Jie Zhang  <jie.zhang@analog.com>
92
93         * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.
94
95 2009-09-03  Dave Korn  <dave.korn.cygwin@gmail.com>
96
97         * ld-pe/longsecn.d: Adjusted to match new .text section merging
98         in default PE linker scripts.
99         * ld-pe/longsecn-1.d: Likewise.
100         * ld-pe/longsecn-2.d: Likewise.
101
102 2009-08-31  Jie Zhang  <jie.zhang@analog.com>
103
104         * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.
105
106 2009-08-31  Alan Modra  <amodra@bigpond.net.au>
107
108         * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.
109
110 2009-08-30  H.J. Lu  <hongjiu.lu@intel.com>
111
112         PR ld/10569
113         * ld-elf/commonpage2.d: New.
114         * ld-elf/maxpage4.d: Likewise.
115         * ld-elf/maxpage4.t: Likewise.
116
117 2009-08-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
118
119         * ld-m68k/tls-def-1.s: New file.
120         * ld-m68k/tls-def-1.d: New file.
121         * ld-m68k/tls-gd-1.d2: New file.
122         * ld-m68k/tls-gd-1.d3: New file.
123         * ld-m68k/tls-main-1.s: New file.
124         * ld-m68k/tls-main-1.d: New file.
125         * ld-m68k/m68k.exp: Run new TLS tests.
126
127 2009-08-23  Andreas Schwab  <schwab@linux-m68k.org>
128
129         * ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
130         tests from ppc64elftest to ppcelftest and pass -a32 to assembler.
131
132         * ld-powerpc/relax.d: Fix whitespace.
133         * ld-powerpc/relaxr.d: Likewise.
134
135 2009-08-21  Daniel Gutson  <dgutson@codesourcery.com>
136
137         * ld-arm/callweak.d: Opcodes updated.
138         * ld-arm/callweak.s: Architecture specified.
139         * ld-arm/callweak-2.d: New test case.
140         * ld-arm/callweak-2.s: New file.
141
142 2009-08-17  Nick Clifton  <nickc@redhat.com>
143
144         * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an
145         unused reloc.
146         * ld-elf/linkonce2.d: Likewise.
147
148 2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
149
150         Test go32 stub preservation by objcopy.
151         * ld-i386/i386.exp (go32 stub, go32 stub patch the source)
152         (go32 stub objcopy, go32 stub comparison after objcopy): New.
153
154 2009-08-10  Nathan Sidwell  <nathan@codesourcery.com>
155
156         * ld-powerpc/relax.s: New.
157         * ld-powerpc/relax.d: New.
158         * ld-powerpc/relaxr.d: New.
159         * ld-powerpc/powerpc.exp: Add new tests.
160
161 2009-08-06  Nathan Sidwell  <nathan@codesourcery.com>
162
163         * ld-arm/arm-elf.exp: Add new test.
164         * ld-arm/cortex-a8-fix-hdr.d: New.
165         * ld-arm/cortex-a8-fix-hdr.s: New.
166         * ld-arm/cortex-a8-fix-hdr.t: New.
167
168 2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
169
170         * ld-spu/fixup.d: New.
171         * ld-spu/fixup.s: New.
172
173 2009-08-05  Nathan Sidwell  <nathan@codesourcery.com>
174
175         * ld-arm/cortex-a8-far-1.s: New.
176         * ld-arm/cortex-a8-far-2.s: New.
177         * ld-arm/cortex-a8-far.d: New.
178         * ld-arm/arm-elf.exp: Add new test.
179
180 2009-08-02  H.J. Lu  <hongjiu.lu@intel.com>
181
182         PR ld/6443
183         * ld-i386/i386.exp: Run tlspie1.
184         * ld-x86-64/x86-64.exp: tlspie1.
185
186         * ld-i386/tlspie1.d: New.
187         * ld-i386/tlspie1.s: Likewise.
188         * ld-x86-64/tlspie1.d: Likewise.
189         * ld-x86-64/tlspie1.s: Likewise.
190
191 2009-07-31  Hans-Peter Nilsson  <hp@bitrange.com>
192
193         * ld-mmix/x.s, ld-mmix/y.s, ld-mmix/zeroeh.ld,
194         ld-mmix/zeroehelf.d, ld-mmix/zeroehmmo.d: Use .gcc_except_table,
195         not .eh_frame.
196
197 2009-07-30  H.J. Lu  <hongjiu.lu@intel.com>
198
199         * ld-elf/shared.exp: Comment out dl3b.
200
201 2009-07-30  Hans-Peter Nilsson  <hp@bitrange.com>
202
203         * ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d:
204         Skip for mmix-knuth-mmixware.
205
206 2009-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
207
208         * ld-scripts/default-script.s (text): Globalize.
209         * ld-scripts/default-script1.d, ld-scripts/default-script2.d,
210         ld-scripts/default-script3.d, ld-scripts/default-script4.d: Adjust
211         accordingly.
212
213 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
214
215         * ld-x86-64/abs-l1om.d: New.
216         * ld-x86-64/protected2-l1om.d: Likewise.
217         * ld-x86-64/protected3-l1om.d: Likewise.
218
219         * ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and
220         protected3-l1om.
221
222 2009-07-24  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
223             Alan Modra  <amodra@bigpond.net.au>
224
225         * ld-spu/pic.d: New.
226         * ld-spu/pic.s: New.
227         * ld-spu/picdef.s: New.
228
229 2009-07-23  H.J. Lu  <hongjiu.lu@intel.com>
230
231         PR ld/10434
232         * ld-x86-64/tlsle1.d: New.
233         * ld-x86-64/tlsle1.s: Likewise.
234
235         * ld-x86-64/x86-64.exp: Run tlsle1.
236
237 2009-07-21  H.J. Lu  <hongjiu.lu@intel.com>
238
239         PR ld/10426
240         * ld-ifunc/ifunc.exp: Check test-1 and libtest-2.so.  Updated.
241
242         * ld-ifunc/test-1.c: New.
243         * ld-ifunc/test-2.c: Likewise.
244
245 2009-07-17  Chao-ying Fu  <fu@mips.com>
246
247         * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT
248         entries.
249         * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise.
250         * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
251         * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
252         * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
253
254 2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>
255
256         * ld-ifunc/ifunc-5r-local-i386.d: New.
257         * ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
258
259 2009-07-16  Nathan Sidwell  <nathan@codesourcery.com>
260
261         * ld-arm/arm-target2.s: Add addend cases.
262         * ld-arm/arm-target2-rel.d: Adjust.
263         * ld-arm/arm-target2-abs.d: Adjust.
264         * ld-arm/arm-target2-got-rel.d: Adjust.
265
266 2009-07-13  H.J. Lu  <hongjiu.lu@intel.com>
267
268         * ld-ifunc/ifunc.exp: Don't use -shared/-static to build object
269         files.  Use ld_simple_link to build static non-ifunc-using
270         executable.  Re-enable static non-ifunc-using executable check.
271
272 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
273
274         * ld-ifunc/ifunc.exp: Don't check static non-ifunc-using
275         executable.
276
277 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
278
279         * ld-ifunc/ifunc-1-local-x86.d: Updated.
280         * ld-ifunc/ifunc-1-x86.d: Likewise.
281         * ld-ifunc/ifunc-3a-x86.d: Likewise.
282
283 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * ld-ifunc/ifunc-1-local-x86.d: Updated.
286         * ld-ifunc/ifunc-1-x86.d: Likewise.
287         * ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
288         * ld-ifunc/ifunc-2-x86-64.d: Likewise.
289         * ld-ifunc/ifunc-3a-x86.d: Likewise.
290
291 2009-07-10  Alan Modra  <amodra@bigpond.net.au>
292
293         * ld-ifunc/ifunc.exp: Run for powerpc.  Really generate static
294         executables, renaming the existing dynamic but local tests.
295
296 2009-07-08  Alan Modra  <amodra@bigpond.net.au>
297
298         * ld-selective/selective.exp: Remove check that $CC contains the
299         string "gcc".  Do -dumpversion for $CXX.
300
301 2009-06-30  Nick Clifton  <nickc@redhat.com>
302
303         PR 10288
304         * ld-arm/arm-app.d: Update expcted disassembly.
305         * ld-arm/arm-be8.d: Likewise.
306         * ld-arm/arm-call.d: Likewise.
307         * ld-arm/arm-lib-plt32.d: Likewise.
308         * ld-arm/arm-lib.d: Likewise.
309         * ld-arm/arm-movwt.d: Likewise.
310         * ld-arm/arm-pic-veneer.d: Likewise.
311         * ld-arm/armthumb-lib.d: Likewise.
312         * ld-arm/armv4-bx.d: Likewise.
313         * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
314         * ld-arm/farcall-mixed-app-v5.d: Likewise.
315         * ld-arm/farcall-mixed-app.d: Likewise.
316         * ld-arm/farcall-mixed-lib.d: Likewise.
317         * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
318         * ld-arm/farcall-thumb-arm-short.d: Likewise.
319         * ld-arm/farcall-thumb-arm.d: Likewise.
320         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
321         * ld-arm/farcall-thumb-thumb-m.d: Likewise.
322         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
323         * ld-arm/farcall-thumb-thumb.d: Likewise.
324         * ld-arm/group-relocs.d: Likewise.
325         * ld-arm/mixed-app-v5.d: Likewise.
326         * ld-arm/mixed-app.d: Likewise.
327         * ld-arm/mixed-lib.d: Likewise.
328         * ld-arm/movw-merge.d: Likewise.
329         * ld-arm/thumb2-b-interwork.d: Likewise.
330         * ld-arm/tls-app.d: Likewise.
331         * ld-arm/tls-lib.d: Likewise.
332
333 2009-06-29  Nick Clifton  <nickc@redhat.com>
334
335         PR 10288
336         * ld-arm/arm-app-abs32.d: Update expected disassembly.
337         * ld-arm/arm-app.d: Likewise.
338         * ld-arm/arm-lib-plt32.d: Likewise.
339         * ld-arm/arm-lib.d: Likewise.
340         * ld-arm/arm-pic-veneer.d: Likewise.
341         * ld-arm/armthumb-lib.d: Likewise.
342         * ld-arm/farcall-mixed-app-v5.d: Likewise.
343         * ld-arm/farcall-mixed-app.d: Likewise.
344         * ld-arm/farcall-mixed-lib.d: Likewise.
345         * ld-arm/group-relocs.d: Likewise.
346         * ld-arm/mixed-app-v5.d: Likewise.
347         * ld-arm/mixed-app.d: Likewise.
348         * ld-arm/mixed-lib.d: Likewise.
349         * ld-arm/thumb2-bl-undefweak.d: Likewise.
350
351 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
352
353         PR ld/10337
354         * ld-ifunc/binutils.exp: New.
355
356 2009-06-25  Kai Tietz  <kai.tietz@onevision.com>
357
358         * ld-pe/aligncomm-1.c (size_t): Add typedef.
359         (main): Use it for casting pointer to scalar.
360         * ld-pe/aligncomm-2.c: Likewise.
361         * ld-pe/aligncomm-3.c: Likewise.
362         * ld-pe/aligncomm-4.c: Likewise.
363         * ld-scripts/empty-address.exp: Make sure that for x86_64-*-mingw*
364         target imagebase is set to zero.
365         * ld-scripts/weak.exp: Don't fail for x86_64-*-mingw* target.
366
367 2009-06-22  Christophe Lyon  <christophe.lyon@st.com>
368
369         ld/testsuite:
370         * ld-arm/farcall-mixed-app.s: Add new references to check more
371         modes switching.
372         * ld-arm/farcall-mixed-lib1.s: Likewise.
373         * ld-arm/farcall-mixed-app-v5.d: Update expected result.
374         * farcall-mixed-app.d: Likewise.
375         * ld-arm/farcall-mixed-lib.d: Likewise.
376
377 2009-06-22  Dave Korn  <dave.korn.cygwin@gmail.com>
378
379         * ld-pe/pe-run.exp (proc test_direct_link_dll):  Fix incorrect
380         line-wrapping.
381
382 2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>
383
384         * ld-i386/i386.exp: Run tlsgd2.
385
386         * ld-i386/tlsgd2.d: New.
387         * ld-i386/tlsgd2.s: Likewise.
388
389         * ld-x86-64/tlsgd3.d: Updated.
390
391 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
392
393         * ld-pe/pe-run.exp (proc test_direct_link_dll):  Always pass
394         --enable-auto-import to the linker.
395         * ld-pe/vers-script-1.d:  Replace '\$' by '_' in all symbol names.
396         * ld-pe/vers-script-3.d:  Likewise.
397         * ld-pe/vers-script-4.d:  Likewise.
398         * ld-pe/vers-script-dll.c:  Likewise.
399         * lib/ld-lib.exp (proc is_pecoff_format):  Also return true for
400         "*-*-cegcc*" targets.
401
402 2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
403
404         * ld-ifunc/ifunc-9-x86.d: Fix a typo.
405
406 2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
407
408         PR ld/10270
409         * ld-ifunc/ifunc-9-x86.d: New.
410         * ld-ifunc/ifunc-9-x86.s: Likewise.
411
412 2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
413
414         PR ld/10269
415         * ld-ifunc/ifunc-1-local-x86.d: New.
416         * ld-ifunc/ifunc-1-local-x86.s: Likewise.
417         * ld-ifunc/ifunc-2-local-i386.d: Likewise.
418         * ld-ifunc/ifunc-2-local-i386.s: Likewise.
419         * ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
420         * ld-ifunc/ifunc-2-local-x86-64.s: Likewise.
421         * ld-ifunc/ifunc-4-local-x86.d: Likewise.
422         * ld-ifunc/ifunc-4-local-x86.s: Likewise.
423         * ld-ifunc/ifunc-5-local-i386.s: Likewise.
424         * ld-ifunc/ifunc-5-local-x86-64.s: Likewise.
425         * ld-ifunc/ifunc-5a-local-i386.d: Likewise.
426         * ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
427         * ld-ifunc/ifunc-5b-local-i386.d: Likewise.
428         * ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
429
430 2009-06-03  H.J. Lu  <hongjiu.lu@intel.com>
431
432         * ld-ifunc/ifunc-2-x86-64.d: Pass --64 to as and -melf_x86_64 to
433         ld.
434         * ld-ifunc/ifunc-5a-x86-64.d: Likewise.
435         * ld-ifunc/ifunc-5b-x86-64.d: Likewise.
436         * ld-ifunc/ifunc-6a-x86-64.d: Likewise.
437         * ld-ifunc/ifunc-6b-x86-64.d: Likewise.
438         * ld-ifunc/ifunc-7a-x86-64.d: Likewise.
439         * ld-ifunc/ifunc-7b-x86-64.d: Likewise.
440
441         * ld-ifunc/ifunc-8a-i386.s: New.
442         * ld-ifunc/ifunc-8a-x86-64.s: Likewise.
443         * ld-ifunc/ifunc-8b-i386.s: Likewise.
444         * ld-ifunc/ifunc-8b-x86-64.s: Likewise.
445         * ld-ifunc/ifunc-8-i386.d: Likewise.
446         * ld-ifunc/ifunc-8-x86-64.d: Likewise.
447
448 2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>
449
450         * ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s,
451         ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd,
452         ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests.
453         * ld-powerpc/aix52.exp: Run them.  Move the lineno tests to maintain
454         alphabetical order.
455
456 2009-06-02  H.J. Lu  <hongjiu.lu@intel.com>
457
458         * ld-ifunc/ifunc-5-i386.d: Renamed to ...
459         * ld-ifunc/ifunc-5a-i386.d: This.
460
461         * ld-ifunc/ifunc-5-x86-64.d: Renamed to ...
462         * ld-ifunc/ifunc-5a-x86-64.d: This.
463
464         * ld-ifunc/ifunc-5b-i386.d: New.
465         * ld-ifunc/ifunc-5b-x86-64.d: Likewise.
466         * ld-ifunc/ifunc-6a-i386.d: Likewise.
467         * ld-ifunc/ifunc-6a-x86-64.d: Likewise.
468         * ld-ifunc/ifunc-6b-i386.d: Likewise.
469         * ld-ifunc/ifunc-6b-x86-64.d: Likewise.
470         * ld-ifunc/ifunc-6-i386.s: Likewise.
471         * ld-ifunc/ifunc-6-x86-64.s: Likewise.
472         * ld-ifunc/ifunc-7a-i386.d: Likewise.
473         * ld-ifunc/ifunc-7a-x86-64.d: Likewise.
474         * ld-ifunc/ifunc-7b-i386.d: Likewise.
475         * ld-ifunc/ifunc-7b-x86-64.d: Likewise.
476         * ld-ifunc/ifunc-7-i386.s: Likewise.
477         * ld-ifunc/ifunc-7-x86-64.s: Likewise.
478
479 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
480
481         PR ld/10205
482         * ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
483         Use it on executable and shared library.
484         Run *.d.
485
486         * ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
487         library_func2.
488         (library_func): New.
489
490         * ld-ifunc/ifunc-1-x86.d: New.
491         * ld-ifunc/ifunc-1-x86.s: Likewise.
492         * ld-ifunc/ifunc-2-i386.d: Likewise.
493         * ld-ifunc/ifunc-2-i386.s: Likewise.
494         * ld-ifunc/ifunc-2-x86-64.d: Likewise.
495         * ld-ifunc/ifunc-2-x86-64.s: Likewise.
496         * ld-ifunc/ifunc-3a-x86.d: Likewise.
497         * ld-ifunc/ifunc-3b-x86.d: Likewise.
498         * ld-ifunc/ifunc-3-x86.s: Likewise.
499         * ld-ifunc/ifunc-4-x86.d: Likewise.
500         * ld-ifunc/ifunc-4-x86.s: Likewise.
501         * ld-ifunc/ifunc-5-i386.d: Likewise.
502         * ld-ifunc/ifunc-5-i386.s: Likewise.
503         * ld-ifunc/ifunc-5-x86-64.d: Likewise.
504         * ld-ifunc/ifunc-5-x86-64.s: Likewise.
505
506 2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
507
508         * ld-pe/non-c-lang-syms.c:  New dump test source file.
509         * ld-pe/non-c-lang-syms.d:  New dump test pattern file.
510         * ld-pe/pe.exp:  Run new "foreign symbol" test.
511
512 2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
513
514         * ld-powerpc/vxworks-relax-2.s: New.
515         * ld-powerpc/vxworks-relax-2.rd: New.
516         * ld-powerpc/powerpc.exp: Add it.
517
518 2009-05-22  Hans-Peter Nilsson  <hp@axis.com>
519
520         * ld-scripts/rgn-over7.d: Adjust expected message for recent change.
521
522 2009-05-22  Julian Brown  <julian@codesourcery.com>
523
524         * ld-arm/cortex-a8-arm-target.s: New.
525         * ld-arm/cortex-a8-thumb-target.s: New.
526         * ld-arm/cortex-a8-fix-b-rel.s: New.
527         * ld-arm/cortex-a8-fix-b-rel-arm.d: New.
528         * ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
529         * ld-arm/cortex-a8-fix-b.s: New.
530         * ld-arm/cortex-a8-fix-b.d: New.
531         * ld-arm/cortex-a8-fix-bl-rel.s: New.
532         * ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
533         * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
534         * ld-arm/cortex-a8-fix-bl.s: New.
535         * ld-arm/cortex-a8-fix-bl.d: New.
536         * ld-arm/cortex-a8-fix-bcc-rel.s: New.
537         * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
538         * ld-arm/cortex-a8-fix-bcc.s: New.
539         * ld-arm/cortex-a8-fix-bcc.d: New.
540         * ld-arm/cortex-a8-fix-blx-rel.s: New.
541         * ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
542         * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
543         * ld-arm/cortex-a8-fix-blx.s: New.
544         * ld-arm/cortex-a8-fix-blx.d: New.
545         * ld-arm/arm-elf.exp: Add new tests.
546
547 2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
548
549         * ld-scripts/rgn-at4.t: New.
550         * ld-scripts/rgn-at4.d: New.
551
552 2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>
553
554         * ld-pe/aligncomm-1.c (_alloca):  Add dummy definition to
555         satisfy final link on Windows targets when using gcc-3.
556         * ld-pe/aligncomm-2.c (_alloca):  Likewise.
557         * ld-pe/aligncomm-3.c (_alloca):  Likewise.
558         * ld-pe/aligncomm-4.c (_alloca):  Likewise.
559
560 2009-05-20  Dave Korn  <dave.korn.cygwin@gmail.com>
561
562         * lib/ld-lib.exp (run_ld_link_tests):  Filter test names against
563         runtests list.
564
565 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
566
567         * ld-pe/aligncomm-1.c:  New test source file.
568         * ld-pe/aligncomm-2.c:  Likewise.
569         * ld-pe/aligncomm-3.c:  Likewise.
570         * ld-pe/aligncomm-4.c:  Likewise.
571         * ld-pe/aligncomm.d:  New test pattern file.
572
573         * ld-pe/direct.exp:  Deleted, and content moved into ...
574         * ld-pe/pe-run.exp:  ... New common file for all PE run tests.
575
576         * ld-pe/vers-script.exp:  Deleted, and content merged into ...
577         * ld-pe/pe-compile.exp:  ... New common file for PE tests needing
578         a compiler, adding aligned common tests.
579
580         * ld-pe/pe.exp:  Update header comment.
581
582 2009-05-17  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
583
584         * ld-pe/exports.d: New file.
585         * ld-pe/exports.s: New file.
586         * ld-pe/pe.exp: New test for empty export table.
587
588 2009-05-16  Alan Modra  <amodra@bigpond.net.au>
589
590         * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
591         * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
592         * ld-elf/orphan3f.s: Increase section size to 16.
593         * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
594         * ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.
595
596 2009-05-15  Alan Modra  <amodra@bigpond.net.au>
597
598         * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
599         * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
600         * ld-elf/orphan3f.s: New test.
601         * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
602         * ld-pe/orphand.s, * ld-pe/orphane.s: New test.
603         * ld-pe/direct.exp: Use is_pecoff_format.
604         * ld-pe/longsecn.exp: Delete.
605         * ld-pe/pe.exp: Run new test and longsecn tests.
606
607 2009-05-15  Andrew Stubbs  <ams@codesourcery.com>
608         Paul Brook  <paul@codesourcery.com>
609
610         * ld-arm/arm-elf.exp: Add unwind-5.
611         * ld-arm/discard-unwind.ld: New file.
612         * ld-arm/unwind-5.d: New test.
613         * ld-arm/unwind-5.s: New test.
614
615 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
616
617         * ld-spu/icache1.d: Update for compact stubs.
618
619 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
620
621         * ld-spu/icache1.d: Update all addresses to accomodate icache
622         buffer shifted down 0x800 bytes.
623
624 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
625
626         * ld-spu/icache.d: Update file offsets.
627         * ld-spu/ovl.d: Likewise.
628         * ld-spu/ovl1.d: Likewise.
629
630 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
631
632         * ld-spu/icache1.d: Update for changed overlay manager placement.
633         * ld-spu/ovl.d: Likewise.
634         * ld-spu/ovl2.d: Likewise.
635
636 2009-05-05  Paul Brook  <paul@codesourcery.com>
637
638         * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab.
639         * ld-arm/arm-elf.exp: Add unwind-[1-4].
640         * ld-arm/unwind-1.d: New test.
641         * ld-arm/unwind-1.s: New test.
642         * ld-arm/unwind-2.d: New test.
643         * ld-arm/unwind-2.s: New test.
644         * ld-arm/unwind-3.d: New test.
645         * ld-arm/unwind-3.s: New test.
646         * ld-arm/unwind-4.d: New test.
647         * ld-arm/unwind-4.s: New test.
648
649 2009-05-01  Julian Brown  <julian@codesourcery.com>
650
651         * ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test.
652         * ld-arm/thumb2-bl-blx-interwork.s: New.
653         * ld-arm/thumb2-bl-blx-interwork.d: New.  
654
655 2009-04-30  Nick Clifton  <nickc@redhat.com>
656
657         * ld-ifunc: New directory.
658         * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
659         * ld-ifunc/prog.c: New file.
660         * ld-ifunc/lib.c: New file.
661
662 2009-04-30  Joseph Myers  <joseph@codesourcery.com>
663
664         * ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
665         ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
666         ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
667         ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
668         * ld-arm/arm-elf.exp: Run these new tests.
669
670 2009-04-29  Chris Demetriou  <cgd@google.com>
671
672         * ld-elfvers/vers.exp (vers4b): New test to verify that
673         --no-export-dynamic undoes --export-dynamic.
674
675 2009-04-28  Nathan Sidwell  <nathan@codesourcery.com>
676
677         * ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
678         * ld-i386/vxworks1.dd: Adjust expected disassembly.
679         * ld-i386/vxworks1-lib.rd: Sections are swapped.
680
681 2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
682
683         PR9743
684         * ld-arm/arm-call.d: Update expected result.
685         * ld-arm/arm-pic-veneer.d: Likewise.
686         * ld-arm/thumb2-b-interwork.d: Likewise.
687
688 2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
689
690         * ld-scripts/rgn-at1.d: Cope with larger padding on sections.
691         * ld-scripts/rgn-at2.d: Likewise.
692         * ld-scripts/rgn-at3.d: Likewise.
693
694 2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
695
696         * ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
697         ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
698         ld-arm/farcall-mixed-lib.d: Update for linker changes.
699
700 2009-04-17  Christophe Lyon  <christophe.lyon@st.com>
701
702         * ld-arm/arm-elf.exp: Add new test farcall-mixed-lib.
703         * ld-arm/farcall-mixed-lib.d: Update expected output.
704         * ld-arm/farcall-mixed-lib1.s: New file.
705         * ld-arm/farcall-mixed-lib2.s: New file.
706
707 2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
708
709         * ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test.
710         * ld-powerpc/aix52.exp: Run it.
711
712 2009-04-16  Alan Modra  <amodra@bigpond.net.au>
713
714         * ld-libs/lib-1.s: Use "==" instead of ".set".
715         * ld-libs/lib-2.s: Likewise.
716         * ld-scripts/defined.s: Likewise.
717
718 2009-04-15  Christophe Lyon  <christophe.lyon@st.com>
719
720         * ld-arm/arm-elf.exp: Add 1 more test to check undef weak
721         reference with PLT in ARM mode.
722         * ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
723         New files.
724
725 2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
726
727         * ld-i386/abs.d: Add  --32 for assembler and -melf_i386 for
728         linker.
729
730 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
731
732         * ld-scripts/rgn-at.s: Use explicit .section pseudos.
733
734 2009-04-03  Dave Korn  <dave.korn.cygwin@gmail.com>
735
736         * ld-pe/image_size.d (#target):  Also run test on Cygwin and x86_64
737         MinGW targets.
738
739 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
740
741         * ld-scripts/rgn-at.exp: New.
742         * ld-scripts/rgn-at.s: New.
743         * ld-scripts/rgn-at1.d: New.
744         * ld-scripts/rgn-at1.t: New.
745         * ld-scripts/rgn-at2.d: New.
746         * ld-scripts/rgn-at2.t: New.
747         * ld-scripts/rgn-at3.d: New.
748         * ld-scripts/rgn-at3.t: New.
749
750 2009-04-03  Dave Korn  <dave.korn.cygwin@gmail.com>
751
752         * ld-pe/export_dynamic_warning.s:  Make dummy code portable.
753
754 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
755
756         * ld-pe/export_dynamic_warning.d (#warning):  Fix regex pattern.
757
758 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
759
760         PR ld/6744
761         * ld-pe/export_dynamic_warning.d:  New test control file.
762         * ld-pe/export_dynamic_warning.s:  New test source file.
763         * ld-pe/pe.exp:  Also run export_dynamic_warning dump test.
764
765 2009-04-02  Christophe Lyon  <christophe.lyon@st.com>
766
767         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
768         results.
769         * ld-arm/farcall-thumb-thumb.d: Likewise.
770
771 2009-04-02  Nick Clifton  <nickc@redhat.com>
772
773         PR 9987
774         * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
775         collection tests for cygwin targets.
776
777 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
778
779         * ld-powerpc/aix-gc-1.nd: New test.
780         * ld-powerpc/aix52.exp: Run it.
781
782 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
783
784         * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
785         * ld-powerpc/aix52.exp: Run it.
786
787 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
788
789         * ld-cygwin/exe-export.exp:  Add "-lkernel32" when linking test exe.
790         * ld-cygwin/testexe.c (testexe_main):  Indicate whether global_a
791         was set to correct final value using error return status.
792         (testexe_dummy):  Dummy function calls an import from kernel32.dll
793         to ensure it is mapped into the process space at runtime.
794
795 2009-04-01  Christophe Lyon  <christophe.lyon@st.com>
796
797         * ld-arm/arm-elf.exp: BE8 tests expect the same output as the
798         default ones.
799         * ld-arm/arm-be8.d: Print opcodes in little endian.
800         * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
801         * ld-arm/farcall-arm-arm-be8.d: Likewise.
802
803 2009-03-25  Hans-Peter Nilsson  <hp@axis.com>
804
805         * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,
806         ld-cris/tls-e-tpoffcomm1.s: New tests.
807
808 2009-03-24  Hans-Peter Nilsson  <hp@axis.com>
809
810         * ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d,
811         ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s,
812         ld-cris/tls-e-dtpoffd1.d: New tests.
813
814         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
815         ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
816         ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
817         ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
818         ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
819         ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
820         change in link-time known GOT contents for GD relocations.
821
822 2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
823
824         PR ld/9970
825         * ld-pie/pie.exp: Use -fpie to compile.  Run *.d tests.
826
827         * ld-pie/start.d: New.
828         * ld-pie/start.s: Likewise.
829
830 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
831
832         PR ld/6766
833         * ld-undefined/dummy.s: New.
834         * ld-undefined/entry-1.d: Likewise.
835         * ld-undefined/entry-2.d: Likewise.
836         * ld-undefined/entry-3.d: Likewise.
837         * ld-undefined/entry-4.d: Likewise.
838         * ld-undefined/entry-5.d: Likewise.
839         * ld-undefined/entry-6.d: Likewise.
840         * ld-undefined/entry.exp: Likewise.
841         * ld-undefined/entry.s: Likewise.
842
843 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
844
845         * ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
846         reduced data.
847
848 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
849
850         * config/default.exp (get_link_files): Replace double dollars with
851         single dollars.
852
853 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
854
855         * ld-bootstrap/bootstrap.exp: Use DO_COMPARE.  Remove unnecessary
856         cleanup and log output.
857
858 2009-03-16  Dave Korn  <dave.korn.cygwin@gmail.com>
859
860         * ld-bootstrap/bootstrap.exp:  Also pass '-liconv' to linker when
861         linking statically on Cygwin, necessitated by '-lintl'.
862
863 2009-03-15  Dave Korn  <dave.korn.cygwin@gmail.com>
864
865         * ld-auto-import/auto-import.exp:  Add missing dll entrypoint.
866
867 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
868
869         * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
870         ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
871         * ld-powerpc/aix52.exp: Run them.
872
873 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
874
875         * ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
876         ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
877         ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
878         ld-powerpc/aix-weak-1-gcdso.nd: New tests.
879         * ld-powerpc/aix52.exp: Run them.
880
881 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
882
883         * ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
884         ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
885         ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
886         ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
887         ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
888         ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
889         ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
890         ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
891         ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
892         ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
893         ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
894         ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
895         ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
896         ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
897         ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
898         ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
899         ld-powerpc/aix-weak-3-64.dd: New tests.
900         * ld-powerpc/aix52.exp: Run them.  Replace tmp/aix-* with
901         tmp/aix64-* in 64-bit ld options.
902
903 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
904
905         * ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
906         ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
907         ld-powerpc/aix-no-dup-syms-1-dso.dnd,
908         ld-powerpc/aix-no-dup-syms-1-dso.drd,
909         ld-powerpc/aix-no-dup-syms-1-dso.nd,
910         ld-powerpc/aix-no-dup-syms-1-dso.rd,
911         ld-powerpc/aix-no-dup-syms-1-rel.nd,
912         ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
913         * ld-powerpc/aix52.exp: Run them.
914
915 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
916
917         * ld-powerpc/aix-abs-branch-1.nd,
918         ld-powerpc/aix-abs-reloc-1.nd: New tests.
919         * ld-powerpc/aix52.exp: Run them.
920
921 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
922
923         * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
924         ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
925         ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
926         * ld-powerpc/aix52.exp: Run them.  Copy aix-lineno-1.txt to tmpdir.
927
928 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
929
930         * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
931         ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
932         ld-powerpc/aix-toc-1-64.dd: New tests.
933         * ld-powerpc/aix52.exp: Run them.
934
935 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
936
937         * ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
938         ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
939         ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
940         * ld-powerpc/aix52.exp: Run them.
941
942 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
943
944         * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
945         ld-powerpc/aix-abs-branch-1.s,
946         ld-powerpc/aix-abs-branch-1.dd: New test.
947         * ld-powerpc/aix52.exp: Run it.
948
949 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
950
951         * ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
952         ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
953         * ld-powerpc/aix52.exp: Run it.
954
955 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
956
957         * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
958         ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
959         ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
960         ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
961         ld-powerpc/aix-core-sec-3.hd: New tests.
962         * ld-powerpc/aix52.exp: New harness.
963
964 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
965
966         * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
967         (run_ld_link_tests): Treat the second list element as "ar" options
968         when creating an archive.  Don't run the linker in this case.
969         (run_cc_link_tests): Likewise.
970
971 2009-03-13  Nick Clifton  <nickc@redhat.com>
972
973         * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
974         Replace call to verbose_eval with a test of verbose level.  If
975         greater than 2 always dump the contents of the dumpfile.  If equal
976         to 2 only dump the contents if the regexp diff failed.
977         (proc verbose_eval): Delete.
978
979 2009-03-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
980
981         * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
982         * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
983
984 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
985
986         * ld-arm/arm-elf.exp: Add new farcall-group-limit test.
987         * ld-arm/farcall-group-limit.d: New file.
988         * ld-arm/farcall-group3.s: New file.
989         * ld-arm/farcall-group4.s: New file.
990
991 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
992
993         * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
994         in PLT context.
995         * ld-arm/farcall-mixed-app-v5.d: New file.
996         * ld-arm/farcall-mixed-app.d: Likewise.
997         * ld-arm/farcall-mixed-app.r: Likewise.
998         * ld-arm/farcall-mixed-app.s: Likewise.
999         * ld-arm/farcall-mixed-app.sym: Likewise.
1000         * ld-arm/farcall-mixed-lib.d: Likewise.
1001         * ld-arm/farcall-mixed-lib.r: Likewise.
1002
1003 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
1004
1005         * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
1006         * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
1007         * ld-powerpc/powerpc.exp: Run them.
1008
1009 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1010
1011         * ld-scripts/regions-alias-1.t: New file.
1012         * ld-scripts/regions-alias-2.t: New file.
1013         * ld-scripts/regions-alias-3.t: New file.
1014         * ld-scripts/regions-alias-4.t: New file.
1015         * ld-scripts/script.exp: Run region alias tests.
1016
1017 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
1018
1019         * ld-pe/pe.exp:  Disable auto-import when linking on Cygwin.
1020
1021 2009-02-26  Christophe Lyon  <christophe.lyon@st.com>
1022
1023         * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
1024         * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
1025         test is now expected to pass.
1026         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
1027         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
1028
1029 2009-02-25  Christophe Lyon  <christophe.lyon@st.com>
1030
1031         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
1032         as stubs are now generated and the end of the .text section.
1033         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
1034
1035 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
1036
1037         * ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
1038         ld-arm/farcall-arm-thumb-pic-veneer.d,
1039         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
1040         Thumb PIC stub.
1041
1042 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
1043
1044         * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
1045         Use normal output files for big-endian.
1046         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
1047         * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
1048         ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
1049         ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
1050         ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
1051         ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
1052         ld-arm/farcall-thumb-arm-be8.d,
1053         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
1054         ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
1055         ld-arm/farcall-thumb-arm.d,
1056         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
1057         ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
1058         ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
1059         ld-arm/thumb2-bl-bad.d: Update for moved stubs.
1060
1061 2009-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
1062
1063         * ld-arm/arm-elf.exp (armeabitests): Run new tests.  Correct BE8 output
1064         filename.
1065         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
1066
1067 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
1068
1069         * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
1070         * ld-arm/farcall-thumb-arm-be8.d: New expected result.
1071         * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
1072
1073 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
1074
1075         * ld-arm/arm-elf.exp: Rewrite non-EABI variants of
1076         thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
1077         pass. farcall-thumb-thumb now passes in EABI mode.
1078         * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
1079         and ld flags to match intended test.
1080         * ld-arm/farcall-thumb-arm.d: New expected result.
1081         * ld-arm/farcall-thumb-thumb-m.d: Likewise.
1082         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
1083         flags.
1084         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
1085         * ld-arm/farcall-thumb-thumb.d: New expected result, this test is
1086         now expected to pass.
1087         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
1088         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
1089         * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
1090         new use.
1091         * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
1092
1093 2009-18-02  Dave Korn  <dave.korn.cygwin@gmail.com>
1094
1095         * ld-pe/longsecn-1.d:  New test file.
1096         * ld-pe/longsecn-2.d:  Likewise.
1097         * ld-pe/longsecn-3.d:  Likewise.
1098         * ld-pe/longsecn-4.d:  Likewise.
1099         * ld-pe/longsecn-5.d:  Likewise.
1100         * ld-pe/longsecn.d:  Likewise.
1101         * ld-pe/longsecn.exp:  New test control script.
1102         * ld-pe/longsecn.s:  New test source file.
1103
1104 2009-02-18  Christophe Lyon  <christophe.lyon@st.com>
1105
1106         * ld-arm/farcall-arm-arm-pic-veneer.d,
1107         ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
1108         ld-arm/farcall-arm-thumb-pic-veneer.d,
1109         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
1110         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
1111         target.
1112
1113 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
1114
1115         * lib/ld-lib.exp (check_gc_sections_available): Return 0 for
1116         *-*-mingw*.
1117
1118 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
1119
1120         * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
1121
1122 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
1123
1124         * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
1125         * ld-m68k/got-multigot-14-ok.d: Update.
1126         * ld-m68k/m68k-got.exp: Update.
1127         * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
1128         * ld-m68k/got-negative-14-ok.d: Update.
1129         * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
1130         * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
1131         * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
1132         * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
1133         New test sources.
1134         * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
1135         New test sources.
1136         * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
1137         * ld-m68k/m68k.exp: Run new tests.
1138         (merge isa-a isa-a:nodiv): Fix.
1139
1140 2009-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1141
1142         * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
1143         * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
1144
1145 2009-01-29  Nick Clifton  <nickc@redhat.com>
1146
1147         * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
1148         targets which do not support garbage collection.
1149         * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
1150         * ld-elf/group8a.d: Likewise.
1151         * ld-elf/group8b.d: Likewise.
1152         * ld-elf/group9a.d: Likewise.
1153         * ld-elf/group9b.d: Likewise.
1154
1155 2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
1156
1157         * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
1158
1159         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
1160         ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
1161         ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
1162         change in relocation values.
1163
1164         * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
1165
1166 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
1167
1168         * ld-powerpc/powerpc.exp: Add vxworks relax testcase.
1169         * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
1170         * ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
1171         * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
1172
1173 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
1174
1175         * ld-arm/attr-merge-3.attr: Update following gas change.
1176         * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
1177         Tag_THUMB_ISA_use following gas changes.
1178         * ld-arm/attr-merge-4.attr: Likewise.
1179         * ld-arm/attr-merge-5.attr: Likewise.
1180         * ld-arm/attr-merge-arch-1.attr: Likewise.
1181         * ld-arm/attr-merge-arch-2.attr: Likewise.
1182         * ld-arm/attr-merge-unknown-2.d: Likewise.
1183         * ld-arm/attr-merge-unknown-2r.d: Likewise.
1184         * ld-arm/attr-merge-unknown-3.d: Likewise.
1185         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
1186         * ld-arm/attr-merge-wchar-00.d: Likewise.
1187         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
1188         * ld-arm/attr-merge-wchar-02.d: Likewise.
1189         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
1190         * ld-arm/attr-merge-wchar-04.d: Likewise.
1191         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
1192         * ld-arm/attr-merge-wchar-20.d: Likewise.
1193         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
1194         * ld-arm/attr-merge-wchar-22.d: Likewise.
1195         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
1196         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
1197         * ld-arm/attr-merge-wchar-40.d: Likewise.
1198         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
1199         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
1200         * ld-arm/attr-merge-wchar-44.d: Likewise.
1201         * ld-arm/attr-merge.attr: Likewise.
1202
1203 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
1204
1205         * ld-spu/icache1.d: Add --non-ia-text to ld options.
1206
1207 2009-01-19  Hans-Peter Nilsson  <hp@axis.com>
1208
1209         * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
1210         ld-cris/weakref4.d: New tests.
1211         * ld-cris/libdso-15b.d: Adjust for recent weakref fix.
1212
1213 2009-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1214
1215         * ld-elf/group9.s: Replace .byte with .long.
1216
1217 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
1218
1219         * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
1220         EABI attribute merging 4, and EABI attribute merging 5,
1221         EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
1222         EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
1223         Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
1224         and attr-merge-unknown-3 dump tests.
1225         * ld-arm/arch-v6.s: New file.
1226         * ld-arm/arch-v6k.s: New file.
1227         * ld-arm/arch-v6t2.s: New file.
1228         * ld-arm/attr-merge-3.attr: New file.
1229         * ld-arm/attr-merge-3a.s: New file.
1230         * ld-arm/attr-merge-3b.s: New file.
1231         * ld-arm/attr-merge-4.attr: New file.
1232         * ld-arm/attr-merge-4a.s: New file.
1233         * ld-arm/attr-merge-4b.s: New file.
1234         * ld-arm/attr-merge-5.attr: New file.
1235         * ld-arm/attr-merge-5.s: New file.
1236         * ld-arm/attr-merge-arch-1.attr: New file.
1237         * ld-arm/attr-merge-arch-2.attr: New file.
1238         * ld-arm/attr-merge-unknown-1.d: New file.
1239         * ld-arm/attr-merge-unknown-1.s: New file.
1240         * ld-arm/attr-merge-unknown-2.d: New file.
1241         * ld-arm/attr-merge-unknown-2.s: New file.
1242         * ld-arm/attr-merge-unknown-2r.d: New file.
1243         * ld-arm/attr-merge-unknown-3.d: New file.
1244         * ld-arm/blank.s: New file.
1245
1246 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1247
1248         * ld-elf/textaddr1.d: New.
1249         * ld-elf/textaddr2.d: Likewise.
1250
1251 2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1252
1253         PR ld/9727
1254         * ld-elf/group8.s: New.
1255         * ld-elf/group8a.d: Likewise.
1256         * ld-elf/group8b.d: Likewise.
1257         * ld-elf/group9.s: Likewise.
1258         * ld-elf/group9a.d: Likewise.
1259         * ld-elf/group9b.d: Likewise.
1260
1261 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1262
1263         * ld-spu/icache1.s: New file.
1264         * ld-spu/icache1.d: New file.
1265
1266 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1267
1268         * ld-elf/elf.exp: Save and restore LDFLAGS.
1269         * ld-scripts/default-script.exp: Likewise.
1270         * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
1271         than replacing.
1272         * ld-scripts/include.exp: Set --local-store for SPU.
1273
1274 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
1275
1276         * ld-spu/ovl.d: Allow for absolute branches in stubs.
1277         * ld-spu/ovl2.d: Likewise.
1278
1279 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1280
1281         * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
1282         ld-elf/linkoncerdiff2.s: New.
1283
1284 2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
1285
1286         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
1287         ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
1288         ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
1289         ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
1290         ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
1291         ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
1292         ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
1293         ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
1294         ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
1295         ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
1296         relocation value now offset by negative program TLS block size.
1297         * ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
1298         Adjust accordingly.
1299         * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
1300         always-negative relocation.
1301         * ld-cris/tls-tprelm.s: Move filler data to after symbol for
1302         tested relocation.
1303         * ld-cris/tls-ok-36.d: Adjust accordingly.
1304
1305 2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
1306
1307         * ld-cris/tls-js1.d: New test.
1308
1309 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1310
1311         PR ld/9679
1312         * ld-elf/pr9679-1.c: New.
1313         * ld-elf/pr9679-2.c: Likewise.
1314         * ld-elf/pr9679.rd: Likewise.
1315
1316         * ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
1317
1318 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1319
1320         PR ld/9676
1321         * ld-elf/pr9676-1.c: New.
1322         * ld-elf/pr9676-2.c: Likewiswe.
1323         * ld-elf/pr9676-3.c: Likewiswe.
1324         * ld-elf/pr9676-4.c: Likewiswe.
1325         * ld-elf/pr9676.rd: Likewiswe.
1326
1327         * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
1328         libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
1329         libpr9676-4a.so.
1330
1331         * lib/ld-lib.exp (ar_simple_create): New.
1332         (run_ld_link_tests): Support archive.
1333         (run_cc_link_tests): Likewiswe.
1334
1335 For older changes see ChangeLog-2008
1336 \f
1337 Local Variables:
1338 mode: change-log
1339 left-margin: 8
1340 fill-column: 74
1341 version-control: never
1342 End: