* lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2
3 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
4 if the linker exists.
5
6 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
7
8 * lib/ld.exp (prune_system_crud): Define if not already defined,
9 in case the user isn't using the newest DejaGnu version that we
10 haven't released to the net yet.
11
12 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13
14 * config/default.exp: Define objdump if it is not defined.
15 * ld-empic/*: New tests to test -membedded-pic code.
16
17 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
18
19 * ld-bootstrap/bootstrap.exp: Pass cmp output through
20 prune_system_crud.
21 * ld-cdtest/cdtest.exp: Pass diff output through
22 prune_system_crud.
23 * ld-shared/shared.exp: Likewise.
24
25 * config/default.exp: Remove unused and useless proc ld_load.
26
27 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
28
29 * lib/ld.exp (default_ld_compile): Remove the output file before
30 compiling.
31
32 * ld-shared/shared.exp: Move common test code into a procedure.
33 Add tests for compiling the non shared code PIC.
34 * ld-shared/main.c (main): Call main_called, and print the result.
35 * ld-shared/shared.dat: Adjust accordingly.
36
37 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
38
39 * ld-shared: New directory, with new files to test generating ELF
40 shared libraries.
41
42 * lib/ld.exp (default_ld_compile): If the compilation worked, but
43 no object file was created, check to see if the compiler foolishly
44 ignored the -o switch when compiling, and move the resulting
45 object if it did.
46
47 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
48
49 * VMS does not permits `.' in directory names. Renamed
50 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
51 ld.scripts to ld-scripts.
52
53 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
54
55 * config/default.exp: Set variables as and nm. Create tmpdir if
56 it does not already exist.
57 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
58 * ld.cdtest/cdtest.exp: Likewise.
59 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
60 here. Change perror for no variables found to fail.
61 * ld.scripts/script.exp: New test.
62 * ld.scripts/script.t, ld.scripts/script.s: New files.
63
64 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
65
66 * ld.scripts: New directory.
67 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
68 * ld.scripts/defined.t: New file.
69 * lib/ld.exp (default_ld_simple_link): New function.
70 (default_ld_assemble, default_ld_nm): New functions.
71 * config/default.exp: Rename from unix-ld.exp.
72 (ld_simple_link, ld_assemble, ld_nm): New functions.
73
74 * config/unix-ld.exp: Set ld using findfile.
75 * lib/ld.exp (default_ld_relocate): Return a value. Change format
76 of log messages.
77 (default_ld_compile): Likewise.
78 (default_ld_link): Likewise. Also, don't include $BFDLIB and
79 $LIBIBERTY in link.
80 * ld.bootstrap/bootstrap.exp: Rewrite.
81 * ld.cdtest/cdtest.exp: Rewrite.
82 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
83 * ld.cdtest/cdtest-foo.h: Likewise.
84 * ld.cdtest/cdtest-main.cc: Likewise.
85
86 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
87
88 * ld.cdtest/cdtest.exp: Don't look for $result before it's
89 defined.
90
91 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
92
93 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
94 calls with perror calls.
95
96 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
97
98 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
99 * ld.cdtest/cdtest.exp: Adjusted.
100
101 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
102
103 * lib/ld.exp (simple_diff): Indicate failure if files have
104 different numbers of lines. Don't muck with $differences to avoid
105 indicating a pass, just return.
106
107 * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
108 Fix test case to be valid ANSI C++. Don't require use of header
109 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
110 * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
111 commentary on things that are still broken with this test case.
112
113 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
114
115 * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
116
117 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
118
119 * testsuite/lib/ld.exp: add compiler and linker support
120 * testsuite/config/unix-ld.exp: add compiler and linker support
121 * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links
122 * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase
123
124 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
125
126 * testsuite/lib/ld.exp: new file
127 * testsuite/config/unix-ld.exp: new file
128 * testsuite/ld.bootstrap/bootstrap.exp: new file