aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-16 20:35:06 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-16 20:35:06 +0000
commit1c0678213ea45644644175b0ac0dcc93582d9cc3 (patch)
tree0afc8b8a89d47ae470edad9f8525508d345a1859 /include
parente0dacfd17aad3e1e6bf4b958468fcc7466ad2f72 (diff)
downloadfsf-binutils-gdb-1c0678213ea45644644175b0ac0dcc93582d9cc3.zip
fsf-binutils-gdb-1c0678213ea45644644175b0ac0dcc93582d9cc3.tar.gz
fsf-binutils-gdb-1c0678213ea45644644175b0ac0dcc93582d9cc3.tar.bz2
* aout64.h: Remove PAGE_SIZE defines; they are target-dependent.
Add N_FN_SEQ for N_FN symbol type used on Sequent machines. * stab.def: Include N_FN_SEQ in table. * bout.h: External formats of structures use unsigned chars.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/aout64.h5
-rwxr-xr-xinclude/stab.def2
2 files changed, 2 insertions, 5 deletions
diff --git a/include/aout64.h b/include/aout64.h
index d700c04..97866e4 100755
--- a/include/aout64.h
+++ b/include/aout64.h
@@ -43,14 +43,10 @@ struct external_exec
#define N_TXTOFF(x) ( (N_MAGIC((x)) == ZMAGIC) ? 0 : EXEC_BYTES_SIZE)
#if ARCH_SIZE==64
-#define PAGE_SIZE 0x2000
#define OMAGIC 0x1001 /* Code indicating object file */
#define ZMAGIC 0x1002 /* Code indicating demand-paged executable. */
#define NMAGIC 0x1003 /* Code indicating pure executable. */
#else
-#ifndef PAGE_SIZE
-#define PAGE_SIZE 0x2000
-#endif
#define OMAGIC 0407 /* Code indicating object file or impure executable. */
#define NMAGIC 0410 /* Code indicating pure executable. */
#define ZMAGIC 0413 /* Code indicating demand-paged executable. */
@@ -104,6 +100,7 @@ struct internal_nlist {
#define N_BSS 8 /* BSS sym -- defined at offset in zero'd seg */
#define N_COMM 0x12 /* Common symbol (visible after shared lib dynlink) */
#define N_FN 0x1f /* File name of .o file */
+#define N_FN_SEQ 0x0C /* N_FN from Sequent compilers (sigh) */
/* Note: N_EXT can only be usefully OR-ed with N_UNDF, N_ABS, N_TEXT,
N_DATA, or N_BSS. When the low-order bit of other types is set,
(e.g. N_WARNING versus N_FN), they are two different types. */
diff --git a/include/stab.def b/include/stab.def
index 005dd75..4b7da15 100755
--- a/include/stab.def
+++ b/include/stab.def
@@ -176,7 +176,7 @@ __define_stab (N_LENG, 0xfe, "LENG")
| 00 UNDEF | 02 ABS | 04 TEXT | 06 DATA |
| 01 |EXT | 03 |EXT | 05 |EXT | 07 |EXT |
- | 08 BSS | 0A INDR | 0C | 0E |
+ | 08 BSS | 0A INDR | 0C FN_SEQ | 0E |
| 09 |EXT | 0B | 0D | 0F |
| 10 | 12 COMM | 14 SETA | 16 SETT |