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