From 72dd4491a89b97cff9941f692b81c682b3f2a506 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 29 Nov 2005 19:01:25 +0000 Subject: c++ changes --- include/mach.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mach.h b/include/mach.h index bba8b012..e664fe74 100644 --- a/include/mach.h +++ b/include/mach.h @@ -270,9 +270,9 @@ struct Fhdr /* private */ Symbol *sym; /* cached list of symbols */ Symbol **byname; + Symbol **byxname; uint nsym; Symbol *esym; /* elf symbols */ - Symbol **ebyname; uint nesym; ulong base; /* base address for relocatables */ Fhdr *next; /* link to next fhdr (internal) */ @@ -462,6 +462,8 @@ enum struct Symbol { char *name; /* name of symbol */ + char *xname; /* demangled name */ + /* Symtype *typedesc; /* type info, if any */ Loc loc; /* location of symbol */ Loc hiloc; /* location of end of symbol */ @@ -485,6 +487,8 @@ struct Symbol uint framesize; } stabs; } u; + + void *aux; /* for use by client */ }; /* look through all currently cracked Fhdrs calling their fns */ -- cgit v1.2.3