diff options
author | K. Richard Pixley <rich@cygnus> | 1992-12-08 04:44:16 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-12-08 04:44:16 +0000 |
commit | 181ba9ee43a139cd35cd6d6936cf3b780d911a9f (patch) | |
tree | 0c87c2d9e2f775f382888519daa021a38ef5bead /include/a.out.sun4.h | |
parent | 7b21432fde421b756b8cd4a38d145108abe7e49c (diff) | |
download | gdb-181ba9ee43a139cd35cd6d6936cf3b780d911a9f.zip gdb-181ba9ee43a139cd35cd6d6936cf3b780d911a9f.tar.gz gdb-181ba9ee43a139cd35cd6d6936cf3b780d911a9f.tar.bz2 |
recording file death
Diffstat (limited to 'include/a.out.sun4.h')
-rwxr-xr-x | include/a.out.sun4.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/a.out.sun4.h b/include/a.out.sun4.h deleted file mode 100755 index 5ad4845..0000000 --- a/include/a.out.sun4.h +++ /dev/null @@ -1,30 +0,0 @@ -/* SPARC-specific values for a.out files */ - -#define PAGE_SIZE 0x2000 /* 8K. aka NBPG in <sys/param.h> */ -/* Note that some SPARCs have 4K pages, some 8K, some others. */ - -#define SEG_SIZE_SPARC PAGE_SIZE -#define SEG_SIZE_SUN3 0x20000 /* Resolution of r/w protection hw */ - -#define TEXT_START_ADDR PAGE_SIZE /* Location 0 is not accessible */ -#define N_HEADER_IN_TEXT(x) 1 - -/* Non-default definitions of the accessor macros... */ - -/* Segment size varies on Sun-3 versus Sun-4. */ - -#define N_SEGSIZE(x) (N_MACHTYPE(x) == M_SPARC? SEG_SIZE_SPARC: \ - N_MACHTYPE(x) == M_68020? SEG_SIZE_SUN3: \ - /* Guess? */ PAGE_SIZE) - -/* Virtual Address of text segment from the a.out file. For OMAGIC, - (almost always "unlinked .o's" these days), should be zero. - Sun added a kludge so that shared libraries linked ZMAGIC get - an address of zero if a_entry (!!!) is lower than the otherwise - expected text address. These kludges have gotta go! - For linked files, should reflect reality if we know it. */ - -#define N_TXTADDR(x) \ - (N_MAGIC(x)==OMAGIC? 0 \ - : (N_MAGIC(x) == ZMAGIC && (x).a_entry < TEXT_START_ADDR)? 0 \ - : TEXT_START_ADDR+EXEC_BYTES_SIZE) |