aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/rs6000.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-02-15 01:30:25 +0000
committerStu Grossman <grossman@cygnus>1994-02-15 01:30:25 +0000
commit7d8752123ac42b79c316497ef3cf1becdbed8039 (patch)
treedccb7d2246bd70b981d2283a6e8a7af1894ce160 /bfd/hosts/rs6000.h
parent5cf354ef0e7978a91331e2287afbb79c8549e264 (diff)
downloadgdb-7d8752123ac42b79c316497ef3cf1becdbed8039.zip
gdb-7d8752123ac42b79c316497ef3cf1becdbed8039.tar.gz
gdb-7d8752123ac42b79c316497ef3cf1becdbed8039.tar.bz2
* coff-rs6000.c: Add Lynx core file support, use HOST_AIX, where
appropriate. * rs6000-core.c: Use HOST_AIX instead of COREFILES_PLEASE. * config/rs6000.mh: Remove defs of ARCHIVES_PLEASE and COREFILES_PLEASE. * config/rs6000lynx.mh: Turn on Lynx core file support. * hosts/rs6000.h: #define HOST_AIX. * hosts/rs6000lynx.h: Create this to enable Lynx host support.
Diffstat (limited to 'bfd/hosts/rs6000.h')
-rw-r--r--bfd/hosts/rs6000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h
index 60f4f07..3a38968 100644
--- a/bfd/hosts/rs6000.h
+++ b/bfd/hosts/rs6000.h
@@ -1,3 +1,5 @@
+/* This file is *really* for an RS6000 running AIX... */
+
#include <stddef.h>
#include <fcntl.h>
#include <errno.h>
@@ -9,6 +11,9 @@
#include <sys/file.h>
#include <stdlib.h> /* for malloc() */
+/* Defining this variable turns on AIX core file and archive support. */
+#define HOST_AIX
+
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif