diff options
-rw-r--r-- | bfd/hosts/rs6000.h | 5 | ||||
-rw-r--r-- | bfd/hosts/rs6000lynx.h | 10 |
2 files changed, 15 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 diff --git a/bfd/hosts/rs6000lynx.h b/bfd/hosts/rs6000lynx.h new file mode 100644 index 0000000..16d5a5a --- /dev/null +++ b/bfd/hosts/rs6000lynx.h @@ -0,0 +1,10 @@ +/* RS6000 running LynxOS */ + +#ifndef hosts_rs6000lynx_h +#define hosts_rs6000lynx_h + +#include "hosts/lynx.h" + +#define HOST_MACHINE_ARCH bfd_arch_rs6000 + +#endif /* hosts_rs6000lynx_h */ |