Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
2
3 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
4 * config/default.exp: Set ar and strip.
5
6 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
7
8 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
9 prune_system_crud.
10 * ld-cdtest/cdtest.exp: Ditto.
11 * ld-scripts/crossref.exp: Ditto.
12 * ld-sh/sh.exp: Ditto.
13 * ld-shared/shared.exp: Ditto.
14 * ld-srec/srec.exp: Ditto.
15 * lib/ld.exp: Ditto.
16
17 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
18
19 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
20 * ld-scripts/script.exp: Ditto.
21 * ld-sh/sh.exp: Ditto.
22 * ld-undefined/undefined.exp: Ditto.
23 * ld-versados/versados.exp: Ditto.
24 * lib/ld.exp: Ditto.
25
26 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
27
28 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
29
30 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
31
32 * lib/ld.exp (default_ld_version): Fix for current version
33 printing.
34
35 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
36
37 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
38
39 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
40
41 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
42
43 * lib/ld.exp: Use verbose -log instead of calling both verbose and
44 send_log.
45
46 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
47
48 * ld-scripts/phdrs.exp: New test.
49 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
50
51 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
52
53 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
54 V_SPILL and V_FILL.
55
56 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
57
58 * ld-scripts/crossref.exp: New test.
59 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
60 * ld-scripts/{cross1.t, cross2.t}: New files.
61
62 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
63
64 * ld-sh/sh.exp: Fix debugging messages.
65 * ld-sh/sh1.s: Use .align 4.
66
67 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
68
69 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
70
71 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
72
73 * ld-shared/shared.exp: Run the shared library tests on
74 Linux/m68k.
75
76 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
77
78 * ld-shared/shared.exp: Run the shared library tests on Linux.
79
80 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
81
82 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
83
84 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
85
86 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
87 * ld-undefined/undefined.exp: Likewise.
88
89 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
90
91 * ld-undefined/undefined.exp: ELF targets should now pass the
92 undefined line test.
93
94 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
95
96 * ld-empic/empic.exp: Update for change to MIPS disassembler.
97
98 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
99
100 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
101 when doing the --static test.
102 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
103
104 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
105
106 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
107 when creating ld-partial.o.
108
109 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
110
111 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
112 __eabi.
113
114 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
115
116 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
117
118 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
119
120 * ld-srec/srec.exp: On a29k targets, use --defsym to define
121 V_SPILL and V_FILL.
122 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
123 * ld-srec/sr3.cc: Likewise.
124
125 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
126
127 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
128
129 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
130
131 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
132
133 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
134
135 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
136
137 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
138
139 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
140
141 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
142
143 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
144 * ld-srec/sr3.cc: Likewise.
145
146 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
147
148 * ld-empic/empic.exp: Update for changes in objdump output.
149
150 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
151
152 * ld-srec/srec.exp: New tests.
153 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
154 * lib/ld.exp (ld_simple_link): Discard warnings about not being
155 able to find the entry symbol.
156
157 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
158
159 * ld-sh/sh2.c (__main): Define.
160
161 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
162
163 * ld-empic/empic.exp: Accept a . in the address symbol.
164
165 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
166 powerpc*-*-aix*. Add code to create appropriate exports files,
167 and pass appropriate compilation flags, and test against
168 appropriate expected output.
169 * ld-shared/xcoff.dat: New file.
170 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
171 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
172 function pointer, rather than shlib_mainvar.
173 * ld-shared/sh1.c: Likewise.
174 * ld-shared/shared.dat: Update for change from using shlib_mainvar
175 to using shlib_shlibvar1.
176 * ld-shared/sun4.dat: Likewise.
177
178 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
179
180 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
181 convenience when testing XCOFF.
182
183 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
184
185 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
186 along with --static.
187
188 * ld-scripts/script.s: Make symbols global.
189
190 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
191
192 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
193
194 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
195
196 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
197 prevent the SunOS linker from trying to create a shared library.
198
199 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
200
201 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
202 appropriate modifications and setup_xfails.
203 * ld-shared/sun4.dat: New file.
204
205 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
206
207 * lib/ld.exp (default_ld_version): Call prune_system_crud.
208 (default_ld_relocate, default_ld_link): Likewise.
209 (default_ld_simple_link, default_ld_compile): Likewise.
210 (default_ld_assemble, default_ld_nm): Likewise.
211
212 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
213
214 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
215 tests as untested rather than unresolved.
216
217 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
218
219 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
220
221 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
222
223 * ld-scripts/script.exp: Split script verification into a proc.
224 Add simple test of MRI script.
225 * ld-scripts/scriptm.t: New file.
226
227 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
228
229 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
230 appropriate.
231
232 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
233
234 * config/default.exp: Define objcopy if it is not defined.
235 * ld-sh/*: New tests for SH relaxing.
236
237 * ld-empic/empic.exp: If $CC does not exist, call untested rather
238 than unresolved.
239
240 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
241
242 * ld-undefined/undefined.exp: If $CC does not exist, mark the
243 tests as untested rather than unresolved. Clear ELF xfails for
244 mips*, not just mips.
245
246 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
247
248 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
249 undefined line test.
250
251 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
252
253 * ld-undefined/undefined.exp: New test, to check reporting of
254 undefined symbols.
255 * ld-undefined/undefined.c: New file.
256
257 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
258
259 * ld-versados/versados.exp: If a test fails, report it correctly:
260 don't try to run the next test, and don't report a pass as well as
261 a fail.
262
263 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
264
265 * ld/testsuite/versados/(t1,t2).ld: End in newlines.
266
267 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
268
269 * lib/ld.exp (default_ld_compile): If cc argument is multiple
270 words, use only the first when trying to verify the availability
271 of the compiler.
272
273 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
274
275 * ld-scripts/defined.t: Mention .data and .bss explicitly.
276
277 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
278
279 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
280 call untested for each test, rather than ignoring it. If one test
281 fails, go on to the next one instead of returning.
282 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
283 unresolved.
284 * ld-empic/empic.exp: Likewise. Also, always pass the same test
285 name to pass or fail.
286 * ld-shared/shared.exp: Likewise. Also, always run all tests.
287 * ld-scripts/defined.exp: If as or nm fail, mark test as
288 unresolved. Always pass the same test name to pass or fail.
289 * ld-scripts/script.exp: Likewise.
290 * ld-scripts/sizeof.exp: Likewise.
291
292 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
293
294 * ld-scripts/sizeof.exp: New test, based on bug report from
295 anders.blomdell@control.lth.se.
296 * ld-scripts/sizeof.s: New file.
297 * ld-scripts/sizeof.t: New file.
298
299 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
300
301 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
302 if the linker exists.
303
304 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
305
306 * lib/ld.exp (prune_system_crud): Define if not already defined,
307 in case the user isn't using the newest DejaGnu version that we
308 haven't released to the net yet.
309
310 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
311
312 * config/default.exp: Define objdump if it is not defined.
313 * ld-empic/*: New tests to test -membedded-pic code.
314
315 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
316
317 * ld-bootstrap/bootstrap.exp: Pass cmp output through
318 prune_system_crud.
319 * ld-cdtest/cdtest.exp: Pass diff output through
320 prune_system_crud.
321 * ld-shared/shared.exp: Likewise.
322
323 * config/default.exp: Remove unused and useless proc ld_load.
324
325 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
326
327 * lib/ld.exp (default_ld_compile): Remove the output file before
328 compiling.
329
330 * ld-shared/shared.exp: Move common test code into a procedure.
331 Add tests for compiling the non shared code PIC.
332 * ld-shared/main.c (main): Call main_called, and print the result.
333 * ld-shared/shared.dat: Adjust accordingly.
334
335 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
336
337 * ld-shared: New directory, with new files to test generating ELF
338 shared libraries.
339
340 * lib/ld.exp (default_ld_compile): If the compilation worked, but
341 no object file was created, check to see if the compiler foolishly
342 ignored the -o switch when compiling, and move the resulting
343 object if it did.
344
345 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
346
347 * VMS does not permits `.' in directory names. Renamed
348 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
349 ld.scripts to ld-scripts.
350
351 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
352
353 * config/default.exp: Set variables as and nm. Create tmpdir if
354 it does not already exist.
355 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
356 * ld.cdtest/cdtest.exp: Likewise.
357 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
358 here. Change perror for no variables found to fail.
359 * ld.scripts/script.exp: New test.
360 * ld.scripts/script.t, ld.scripts/script.s: New files.
361
362 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
363
364 * ld.scripts: New directory.
365 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
366 * ld.scripts/defined.t: New file.
367 * lib/ld.exp (default_ld_simple_link): New function.
368 (default_ld_assemble, default_ld_nm): New functions.
369 * config/default.exp: Rename from unix-ld.exp.
370 (ld_simple_link, ld_assemble, ld_nm): New functions.
371
372 * config/unix-ld.exp: Set ld using findfile.
373 * lib/ld.exp (default_ld_relocate): Return a value. Change format
374 of log messages.
375 (default_ld_compile): Likewise.
376 (default_ld_link): Likewise. Also, don't include $BFDLIB and
377 $LIBIBERTY in link.
378 * ld.bootstrap/bootstrap.exp: Rewrite.
379 * ld.cdtest/cdtest.exp: Rewrite.
380 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
381 * ld.cdtest/cdtest-foo.h: Likewise.
382 * ld.cdtest/cdtest-main.cc: Likewise.
383
384 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
385
386 * ld.cdtest/cdtest.exp: Don't look for $result before it's
387 defined.
388
389 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
390
391 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
392 calls with perror calls.
393
394 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
395
396 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
397 * ld.cdtest/cdtest.exp: Adjusted.
398
399 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
400
401 * lib/ld.exp (simple_diff): Indicate failure if files have
402 different numbers of lines. Don't muck with $differences to avoid
403 indicating a pass, just return.
404
405 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
406 Fix test case to be valid ANSI C++. Don't require use of header
407 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
408 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
409 commentary on things that are still broken with this test case.
410
411 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
412
413 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
414
415 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
416
417 * testsuite/lib/ld.exp: add compiler and linker support
418 * testsuite/config/unix-ld.exp: add compiler and linker support
419 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
420 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
421
422 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
423
424 * testsuite/lib/ld.exp: new file
425 * testsuite/config/unix-ld.exp: new file
426 * testsuite/ld.bootstrap/bootstrap.exp: new file