version 1.48, 1999/01/08 16:58:30
|
version 1.49, 1999/02/02 22:02:54
|
Line 204 case "$host_cpu" in
|
Line 204 case "$host_cpu" in
|
mips*) |
mips*) |
machine=mips |
machine=mips |
#link text and data segment into the same 256M region! |
#link text and data segment into the same 256M region! |
|
AC_MSG_CHECKING([whether the linker accepts -T]) |
|
OLDLDFLAGS=$LDFLAGS |
|
LDFLAGS="$LDFLAGS -Xlinker -T -Xlinker 10000000" |
|
AC_TRY_LINK(,,ac_link_mips_t=yes,ac_link_mips_t=no) |
|
test $ac_link_mips_t = yes||LDFLAGS=$OLDLDFLAGS |
|
AC_MSG_RESULT($ac_link_mips_t) |
|
test $ac_link_mips_t = yes||(echo cannot link text and data into same 256M region, using indirect threading; AC_DEFINE(INDIRECT_THREADED)) |
AC_MSG_CHECKING([whether the linker accepts -D]) |
AC_MSG_CHECKING([whether the linker accepts -D]) |
OLDLDFLAGS=$LDFLAGS |
OLDLDFLAGS=$LDFLAGS |
LDFLAGS="$LDFLAGS -Xlinker -T -Xlinker 10000000 -Xlinker -D -Xlinker 10400000" |
LDFLAGS="$LDFLAGS -Xlinker -D -Xlinker 10400000" |
AC_TRY_LINK(,,ac_link_mips_d=yes,ac_link_mips_d=no) |
AC_TRY_LINK(,,ac_link_mips_d=yes,ac_link_mips_d=no) |
test $ac_link_mips_d = yes||LDFLAGS="$OLDLDFLAGS -Xlinker -T -Xlinker 10000000" |
test $ac_link_mips_d = yes||LDFLAGS=$OLDLDFLAGS |
AC_MSG_RESULT($ac_link_mips_d) |
AC_MSG_RESULT($ac_link_mips_d) |
;; |
;; |
alpha*) |
alpha*) |