aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Edwards <pme@sourceware.cygnus.com>2000-05-22 21:50:47 +0000
committerPhil Edwards <pme@gcc.gnu.org>2000-05-22 21:50:47 +0000
commit276c771bdf6b625d2cf1747deb04d85a5a41bee7 (patch)
tree2451f79b84821e3fb2d81f8ebe56fc63a4536fa2
parent70919dee3618d4ed492147872d3b0bae2f63bebf (diff)
downloadgcc-276c771bdf6b625d2cf1747deb04d85a5a41bee7.zip
gcc-276c771bdf6b625d2cf1747deb04d85a5a41bee7.tar.gz
gcc-276c771bdf6b625d2cf1747deb04d85a5a41bee7.tar.bz2
mkcheck.in: Tweak for Solaris 8.
2000-05-22 Phil Edwards <pme@sourceware.cygnus.com> * mkcheck.in: Tweak for Solaris 8. Additional minor output comment. From-SVN: r34091
-rw-r--r--libstdc++-v3/ChangeLog4
-rwxr-xr-xlibstdc++-v3/mkcheck.in11
2 files changed, 15 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bf0ef0f..969e54f8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
+ * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
+
+2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
+
* acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
* aclocal.m4: Regenerate.
diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in
index 856b6d8..310e627 100755
--- a/libstdc++-v3/mkcheck.in
+++ b/libstdc++-v3/mkcheck.in
@@ -149,6 +149,7 @@ echo "etime == time for executable to run" >> $RESULTS_FILE
echo "text == size of the executable text section" >> $RESULTS_FILE
echo "data == size of the executable data section" >> $RESULTS_FILE
echo "total == size of the executable" >> $RESULTS_FILE
+echo "(First static, then shared.)" >> $RESULTS_FILE
echo "" >> $RESULTS_FILE
echo "p" | awk '{printf("%s ", $1)}' >> $RESULTS_FILE
@@ -190,6 +191,16 @@ test_file()
if [ -f $EXENAME ]; then
case @host_os@ in
+ *solaris2.8*)
+ # These numbers seem to match up to text/data/total,
+ # although their meanings seem to be different. Very
+ # important to not compare these numbers across platforms.
+ ## Get rid of the banner information. I don't recall this
+ ## happening under previous Solarises. Maybe it's an 8 thing.
+ TEXT="$(size $EXENAME | grep $EXENAME | awk '{print $1}')"
+ DATA="$(size $EXENAME | grep $EXENAME | awk '{print $3}')"
+ SIZE="$(size $EXENAME | grep $EXENAME | awk '{print $7}')"
+ ;;
*solaris*)
# These numbers seem to match up to text/data/total,
# although their meanings seem to be different. Very