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:
parent
d0111cc847
commit
f79137a3f1
|
@ -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 $*
|
||||||
|
|
Loading…
Reference in New Issue