it looks that gas configured for little endian output runs as

big endian assembler, sometimes.  explicitly have -little to specify
little endian output.
This commit is contained in:
itojun 2001-01-17 06:03:54 +00:00
parent d0111cc847
commit f79137a3f1
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export MACHINE MACHINE_ARCH CFLAGS
TARGET=/usr/pkg/cross/bin/shel-netbsdcoff TARGET=/usr/pkg/cross/bin/shel-netbsdcoff
CPP=`$TARGET-gcc -print-prog-name=cpp` CPP=`$TARGET-gcc -print-prog-name=cpp`
make AR=$TARGET-ar AS=$TARGET-as CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \ make AR=$TARGET-ar AS="$TARGET-as -little" CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \
RANLIB=$TARGET-ranlib SIZE=$TARGET-size \ RANLIB=$TARGET-ranlib SIZE=$TARGET-size \
STRIP=$TARGET-strip OBJCOPY=$TARGET-objcopy \ STRIP=$TARGET-strip OBJCOPY=$TARGET-objcopy \
CXX=$TARGET-c++ CPP=$CPP $* CXX=$TARGET-c++ CPP=$CPP $*