aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-01 20:17:23 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-01 20:17:23 +0000
commitfed13a5ec989793b89f69cc293853af23ee10883 (patch)
tree16500ed1cac5ddf7c61a68d8b21e87bb19d29c3d /gas/configure.in
parent161ac690ee5bdd48c440d7602110b48603976154 (diff)
downloadgdb-fed13a5ec989793b89f69cc293853af23ee10883.zip
gdb-fed13a5ec989793b89f69cc293853af23ee10883.tar.gz
gdb-fed13a5ec989793b89f69cc293853af23ee10883.tar.bz2
Tue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
* configure.in (mips-*-rtems*): New target, like mips-*-elf*. * configure: Rebuild.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/gas/configure.in b/gas/configure.in
index bd19f25..fc198ad 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -223,7 +223,8 @@ changequote([,])dnl
mips-*-irix*) fmt=ecoff targ=mips-big ;;
mips-*-riscos*) fmt=ecoff targ=mips-big ;;
mips-*-sysv*) fmt=ecoff targ=mips-big ;;
- mips-*-elf*) fmt=elf
+ mips-*-elf* | mips-*-rtems*)
+ fmt=elf
case "$endian" in
big) targ=mips-big ;;
*) targ=mips-lit ;;
@@ -267,7 +268,8 @@ changequote([,])dnl
fmt=coff em=macos ;;
ppc-*-netware*) fmt=elf em=ppcnw ;;
- sh-*-coff) fmt=coff ;;
+ sh-*-elf*) fmt=elf ;;
+ sh-*-coff*) fmt=coff ;;
ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;;
ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;;
@@ -275,7 +277,7 @@ changequote([,])dnl
sparc-*-rtems*) fmt=aout ;;
sparc-*-sunos4*) fmt=aout em=sun3 ;;
sparc-*-aout | sparc*-*-vxworks*)
- fmt=aout ;;
+ fmt=aout em=sparcaout ;;
sparc-*-coff) fmt=coff ;;
sparc-*-lynxos*) fmt=coff em=lynx ;;
sparc-fujitsu-none) fmt=aout ;;
@@ -685,6 +687,7 @@ GAS_CHECK_DECL_NEEDED(errno, f, int f, [
])
HLDFLAGS=
+HLDENV=
RPATH_ENVVAR=LD_LIBRARY_PATH
# If we have shared libraries, try to set rpath reasonably.
if test "${shared}" = "true"; then
@@ -701,9 +704,12 @@ if test "${shared}" = "true"; then
*-*-linux*)
HLDFLAGS='-Wl,-rpath,$(libdir)'
;;
- *-*-sysv4* | *-*-solaris*)
+ *-*-solaris*)
HLDFLAGS='-R $(libdir)'
;;
+ *-*-sysv4*)
+ HLDENV='if test -z "$${LD_RUN_PATH}"; then LD_RUN_PATH=$(libdir); else LD_RUN_PATH=$${LD_RUN_PATH}:$(libdir); fi; export LD_RUN_PATH;'
+ ;;
esac
fi
@@ -729,6 +735,7 @@ case "${host}" in
;;
esac
AC_SUBST(HLDFLAGS)
+AC_SUBST(HLDENV)
AC_SUBST(RPATH_ENVVAR)
dnl This must come last.