tc++ changes - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 72dd4491a89b97cff9941f692b81c682b3f2a506
DIR parent 89de6358be8bc9aaaedf1a1a63a8be3fe56ff34a
HTML Author: rsc <devnull@localhost>
Date: Tue, 29 Nov 2005 19:01:25 +0000
c++ changes
Diffstat:
M include/mach.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
DIR diff --git a/include/mach.h b/include/mach.h
t@@ -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) */
t@@ -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 */
t@@ -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 */