diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-06-10 14:19:04 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-06-10 14:19:04 +0000 |
commit | d78c3e0c4b3482bcc998de4d120c74e31c5728c5 (patch) | |
tree | 754f54a7fa91cec3cf438faf03da90ac55300610 /sys/arch/pmax/include/ecoff_machdep.h | |
parent | c1f2151f781958b5795a8828cd42b912f0e0f197 (diff) |
update the pmax specific stuff to NetBSD-current as of about 970608 - some
cosmetic things will follow together with an update to an exact NETBSD_CU-
RRENT_xxxxxx level
Diffstat (limited to 'sys/arch/pmax/include/ecoff_machdep.h')
-rw-r--r-- | sys/arch/pmax/include/ecoff_machdep.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/arch/pmax/include/ecoff_machdep.h b/sys/arch/pmax/include/ecoff_machdep.h index 72dba194502..e5c88a636f4 100644 --- a/sys/arch/pmax/include/ecoff_machdep.h +++ b/sys/arch/pmax/include/ecoff_machdep.h @@ -44,3 +44,52 @@ #define ECOFF_BADMAG(ep) ((ep)->f.f_magic != ECOFF_MAGIC_MIPSEL) #define ECOFF_SEGMENT_ALIGNMENT(ep) ((ep)->a.vstamp < 23 ? 8 : 16) + +/* TTTTT - stuff from NetBSD mips dir */ + +extern void cpu_exec_ecoff_setregs __P(( + struct proc *, struct exec_package *, u_long, register_t *)); + + +/* + * ECOFF symbol definitions for 32-bit mips. + * XXX 64-bit (mips3?) may be different. + */ +struct ecoff_symhdr { + int16_t magic; + int16_t vstamp; + int32_t lineMax; + int32_t densenumMax; + int32_t procMax; + int32_t lsymMax; + int32_t optsymMax; + int32_t auxsymMax; + int32_t lstrMax; + int32_t estrMax; + int32_t fdMax; + int32_t rfdMax; + int32_t esymMax; + long linesize; + long cbLineOffset; + long cbDnOffset; + long cbPdOffset; + long cbSymOffset; + long cbOptOffset; + long cbAuxOffset; + long cbSsOffset; + long cbSsExtOffset; + long cbFdOffset; + long cbRfdOffset; + long cbExtOffset; +}; + +struct ecoff_extsym { + int32_t es_strindex; + int32_t es_value; + unsigned es_type:6; + unsigned es_class:5; + unsigned :1; + unsigned es_symauxindex:20; +}; + +/* TTTTT - end of stuff from NetBSD mips dir */ |