aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-31 20:32:53 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-31 20:32:53 +0000
commit999cc186c55b712b7d547d002fce021a93ebcb16 (patch)
tree33c5f63b937f40c0073fe49ef4c74543a961a1d1 /bfd/configure
parentd29120d2ffef214b264a55833a6c92a608c024af (diff)
downloadgdb-999cc186c55b712b7d547d002fce021a93ebcb16.zip
gdb-999cc186c55b712b7d547d002fce021a93ebcb16.tar.gz
gdb-999cc186c55b712b7d547d002fce021a93ebcb16.tar.bz2
Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com>
* configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and define TRAD_HEADER as hosts/alphalinux.h. * configure: Rebuild. * hosts/alphalinux.h: New file. * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, not int.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/bfd/configure b/bfd/configure
index 401236e..98454e5 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -980,7 +980,14 @@ COREFILE=
COREFLAG=
if test "${target}" = "${host}"; then
case "${host}" in
- alpha-*-*) COREFILE=osf-core.o ;;
+ alpha*-*-linux*)
+ COREFILE=trad-core.o
+ cat >> confdefs.h <<\EOF
+#define TRAD_HEADER "hosts/alphalinux.h"
+EOF
+
+ ;;
+ alpha*-*-*) COREFILE=osf-core.o ;;
arm-*-riscix) COREFILE=trad-core.o ;;
hppa*-*-hpux*) COREFILE=hpux-core.o ;;
hppa*-*-hiux*) COREFILE=hpux-core.o ;;
@@ -1212,7 +1219,7 @@ EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1216 "configure"
+#line 1223 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main() { return 0; }