mkcheck.in: On a platform where we don't know how to extract section sizes...
2000-11-14 Phil Edwards <pme@sources.redhat.com> * mkcheck.in: On a platform where we don't know how to extract section sizes, just set them to zero. Use old method of reading file contents. From-SVN: r37454
This commit is contained in:
parent
daa54c4b74
commit
acfb0fc56d
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-11-14 Phil Edwards <pme@sources.redhat.com>
|
||||
|
||||
* mkcheck.in: On a platform where we don't know how to extract
|
||||
section sizes, just set them to zero. Use old method of reading
|
||||
file contents.
|
||||
|
||||
2000-11-13 Loren J. Rittle <ljrittle@acm.org>
|
||||
* config/c_io_stdio.h: Don't define __c_wfile_type
|
||||
when _GLIBCPP_USE_WCHAR_T is not defined.
|
||||
|
|
|
@ -284,14 +284,13 @@ setup_size_command()
|
|||
}
|
||||
;;
|
||||
*)
|
||||
echo ' * Warning! Guessing how to extract section sizes!' 1>&2
|
||||
echo ' * Warning! Skipping section sizes!' 1>&2
|
||||
function size_command()
|
||||
{
|
||||
# These are GNU size's settings... hey, it's worth a shot. Maybe.
|
||||
case $1 in
|
||||
TEXT) TEXT=$(size -A $EXENAME | grep ^.text | awk '{print $2}') ;;
|
||||
DATA) DATA=$(size -A $EXENAME | grep -w ^.data | awk '{print $2}') ;;
|
||||
SIZE) SIZE=$(size -A $EXENAME | grep otal | awk '{print $2}') ;;
|
||||
TEXT) TEXT=0 ;;
|
||||
DATA) DATA=0 ;;
|
||||
SIZE) SIZE=0 ;;
|
||||
esac
|
||||
}
|
||||
;;
|
||||
|
@ -439,7 +438,7 @@ printf "static\tshared\ttest\n"
|
|||
echo "------------------------------------------------------------------------"
|
||||
|
||||
TEST_TIME_START=$($TEST_DIR/printnow)
|
||||
for NAME in $(<$TESTS_FILE)
|
||||
for NAME in `cat $TESTS_FILE`
|
||||
do
|
||||
PRE_NAME="$TEST_DIR/`basename $NAME`"
|
||||
ST_NAME="`echo $PRE_NAME | sed 's/cc$/st-exe/'`"
|
||||
|
|
Loading…
Add table
Reference in a new issue