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