diff options
-rwxr-xr-x | gas/a.out.gnu.h | 2 | ||||
-rwxr-xr-x | include/stab.def | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gas/a.out.gnu.h b/gas/a.out.gnu.h index 21cd754..42941e6 100755 --- a/gas/a.out.gnu.h +++ b/gas/a.out.gnu.h @@ -163,7 +163,7 @@ struct nlist { #define N_TEXT 4 #define N_DATA 6 #define N_BSS 8 -#define N_FN 15 +#define N_FN 0x1e #define N_EXT 1 #define N_TYPE 036 diff --git a/include/stab.def b/include/stab.def index 77e48c9..44f55a1 100755 --- a/include/stab.def +++ b/include/stab.def @@ -166,10 +166,13 @@ __define_stab (N_NBLCS, 0xF8, "NBLCS") STAB MATRIX _________________________________________________ | 00 - 1F are not dbx stab symbols | - | Entries with bits 01 set are external symbols | - | N_UNDEF | N_ABS | N_TEXT | N_DATA | - | N_BSS | N_COMM | | N_FN | + | Entries with bit 01 set are external symbols. | + | 00 UNDEF | 02 ABS | 04 TEXT | 06 DATA | + | 08 BSS | 0A INDR* | 0C | 0E | + | 10 | 12 | 14 SETA | 16 SETT | + | 18 SETD | 1A SETB | 1C SETV | 1E FN | |_______________________________________________| + | Debug entries with bit 01 set are unused. | | 20 GSYM | 22 FNAME | 24 FUN | 26 STSYM | | 28 LCSYM | 2A MAIN | 2C | 2E | | 30 PC | 32 NSYMS | 34 NOMAP | 36 | @@ -200,5 +203,5 @@ __define_stab (N_NBLCS, 0xF8, "NBLCS") | F8 | FA | FC | FE LENG | +-----------------------------------------------+ * 50 EHDECL is also MOD2. - + * 0A INDR is also COMM (supposedly only used internally to unix ld?) */ |