* 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.
This commit is contained in:
parent
5cf354ef0e
commit
7d8752123a
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
10
bfd/hosts/rs6000lynx.h
Normal file
10
bfd/hosts/rs6000lynx.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue