From: John Gilmore Date: Wed, 16 Oct 1991 20:35:06 +0000 (+0000) Subject: * aout64.h: Remove PAGE_SIZE defines; they are target-dependent. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c0678213ea45644644175b0ac0dcc93582d9cc3;p=binutils-gdb.git * 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. --- diff --git a/include/aout64.h b/include/aout64.h index d700c04f1f4..97866e4a2c4 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 005dd75bdcd..4b7da153ef9 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 |