#define N_TEXT 4
#define N_DATA 6
#define N_BSS 8
-#define N_FN 0x1e
+#define N_FN 0xe
+#define N_COMM 0x12 /* common (visible in shared lib commons) */
#define N_EXT 1
#define N_TYPE 036
/* 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
\f
/* This structure describes a single relocation to be performed.
The text-relocation section of the file is a vector of these structures,
+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.
#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
/* 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
| 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. |
+-----------------------------------------------+
* 50 EHDECL is also MOD2.
* 48 BSLINE is also BROWS.
- * 0A INDR is also COMM (supposedly only used internally to unix ld?)
*/