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