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