mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
* 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.
This commit is contained in:
parent
12e7087f53
commit
e557edcf98
@ -169,7 +169,8 @@ struct nlist {
|
||||
#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
|
||||
@ -205,6 +206,12 @@ struct 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
|
||||
|
||||
/* This structure describes a single relocation to be performed.
|
||||
The text-relocation section of the file is a vector of these structures,
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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?)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user