diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-04-30 03:45:54 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-04-30 03:45:54 +0000 |
commit | eabb24d041c01f5f927363aa924ca90a0bdf3522 (patch) | |
tree | 01cda0f5c9ce6fbfe4d6f12ac1b57a24ddde264f /src/unexelf.c | |
parent | 5e1298a9afb67217551d83807db187ba8f0d0968 (diff) | |
download | emacs-eabb24d041c01f5f927363aa924ca90a0bdf3522.tar.gz |
[defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__)]:
Include definition of HDRR structure that used to be in sym.h,
instead of sym.h.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r-- | src/unexelf.c | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c index 341147a576d..75961656073 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -430,7 +430,38 @@ Filesz Memsz Flags Align #endif /* __sony_news && _SYSTYPE_SYSV */ #if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) -#include <sym.h> /* get COFF debugging symbol table declaration */ +/* Declare COFF debugging symbol table. This used to be in + /usr/include/sym.h, but this file is no longer included in Red Hat + 5.0 and presumably in any other glibc 2.x based distribution. */ +typedef struct { + short magic; + short vstamp; + int ilineMax; + int idnMax; + int ipdMax; + int isymMax; + int ioptMax; + int iauxMax; + int issMax; + int issExtMax; + int ifdMax; + int crfd; + int iextMax; + long cbLine; + long cbLineOffset; + long cbDnOffset; + long cbPdOffset; + long cbSymOffset; + long cbOptOffset; + long cbAuxOffset; + long cbSsOffset; + long cbSsExtOffset; + long cbFdOffset; + long cbRfdOffset; + long cbExtOffset; +} HDRR, *pHDRR; +#define cbHDRR sizeof(HDRR) +#define hdrNil ((pHDRR)0) #endif #ifdef __NetBSD__ |