aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-04 16:03:52 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-04 16:03:52 +0000
commite557edcf98c55007753b5ff7b4003fdcc099bcb7 (patch)
tree08711a980a25c40dbc40715325a46ffa43b8ff32 /include
parent12e7087f536972db65252d9db6c04cf8441724ff (diff)
downloadgdb-e557edcf98c55007753b5ff7b4003fdcc099bcb7.zip
gdb-e557edcf98c55007753b5ff7b4003fdcc099bcb7.tar.gz
gdb-e557edcf98c55007753b5ff7b4003fdcc099bcb7.tar.bz2
* a.out.gnu.h, aout64.h: Add N_WARNING. Change N_FN to 0x0E,
to match SunOS and BSD. Add N_COMM as 0x12 for SunOS shared lib support. * stab.def: Add N_COMM to table, fix overlap comment.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog7
-rwxr-xr-xinclude/aout64.h8
-rwxr-xr-xinclude/stab.def5
3 files changed, 16 insertions, 4 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index afd52d1..9bed3fe 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+Wed Sep 4 08:58:37 1991 John Gilmore (gnu at cygint.cygnus.com)
+
+ * a.out.gnu.h, aout64.h: Add N_WARNING. Change N_FN to 0x0E,
+ to match SunOS and BSD. Add N_COMM as 0x12 for SunOS shared lib
+ support.
+ * stab.def: Add N_COMM to table, fix overlap comment.
+
Tue Sep 3 06:29:20 1991 John Gilmore (gnu at cygint.cygnus.com)
Merge with latest FSF versions of these files.
diff --git a/include/aout64.h b/include/aout64.h
index 88df303..9edb7d3 100755
--- a/include/aout64.h
+++ b/include/aout64.h
@@ -175,7 +175,8 @@ struct internal_nlist {
#define N_TEXT 4
#define N_DATA 6
#define N_BSS 8
-#define N_FN 15
+#define N_FN 0x0e
+#define N_COMM 0x12 /* Common symbol (visible after shared lib dynlink) */
#define N_EXT 1
#define N_TYPE 0x1e
#define N_STAB 0xe0
@@ -202,6 +203,11 @@ struct internal_nlist {
/* This is output from LD. */
#define N_SETV 0x1C /* Pointer to set vector in data area. */
+/* Warning symbol. The text gives a warning message, the next symbol
+ in the table will be undefined. When the symbol is referenced, the
+ message is printed. */
+
+#define N_WARNING 0x1e
/* Relocations
diff --git a/include/stab.def b/include/stab.def
index 4bd4c88..fa11517 100755
--- a/include/stab.def
+++ b/include/stab.def
@@ -167,8 +167,8 @@ __define_stab (N_LENG, 0xfe, "LENG")
| 00 - 1F are not dbx stab symbols |
| Entries with bit 01 set are external symbols. |
| 00 UNDEF | 02 ABS | 04 TEXT | 06 DATA |
- | 08 BSS | 0A INDR* | 0C | 0E FN |
- | 10 | 12 | 14 SETA | 16 SETT |
+ | 08 BSS | 0A INDR | 0C | 0E FN |
+ | 10 | 12 COMM | 14 SETA | 16 SETT |
| 18 SETD | 1A SETB | 1C SETV | 1E WARNING|
|_______________________________________________|
| Debug entries with bit 01 set are unused. |
@@ -203,5 +203,4 @@ __define_stab (N_LENG, 0xfe, "LENG")
+-----------------------------------------------+
* 50 EHDECL is also MOD2.
* 48 BSLINE is also BROWS.
- * 0A INDR is also COMM (supposedly only used internally to unix ld?)
*/