c++ changes

This commit is contained in:
rsc 2005-11-29 19:01:25 +00:00
parent 89de6358be
commit 72dd4491a8

View file

@ -270,9 +270,9 @@ struct Fhdr
/* private */ /* private */
Symbol *sym; /* cached list of symbols */ Symbol *sym; /* cached list of symbols */
Symbol **byname; Symbol **byname;
Symbol **byxname;
uint nsym; uint nsym;
Symbol *esym; /* elf symbols */ Symbol *esym; /* elf symbols */
Symbol **ebyname;
uint nesym; uint nesym;
ulong base; /* base address for relocatables */ ulong base; /* base address for relocatables */
Fhdr *next; /* link to next fhdr (internal) */ Fhdr *next; /* link to next fhdr (internal) */
@ -462,6 +462,8 @@ enum
struct Symbol struct Symbol
{ {
char *name; /* name of symbol */ char *name; /* name of symbol */
char *xname; /* demangled name */
/* Symtype *typedesc; /* type info, if any */ /* Symtype *typedesc; /* type info, if any */
Loc loc; /* location of symbol */ Loc loc; /* location of symbol */
Loc hiloc; /* location of end of symbol */ Loc hiloc; /* location of end of symbol */
@ -485,6 +487,8 @@ struct Symbol
uint framesize; uint framesize;
} stabs; } stabs;
} u; } u;
void *aux; /* for use by client */
}; };
/* look through all currently cracked Fhdrs calling their fns */ /* look through all currently cracked Fhdrs calling their fns */