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