aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-29 19:01:25 +0000
committerrsc <devnull@localhost>2005-11-29 19:01:25 +0000
commit72dd4491a89b97cff9941f692b81c682b3f2a506 (patch)
treeb17b141bcf28daba698e170a214431298181d6a8 /include
parent89de6358be8bc9aaaedf1a1a63a8be3fe56ff34a (diff)
downloadplan9port-72dd4491a89b97cff9941f692b81c682b3f2a506.tar.gz
plan9port-72dd4491a89b97cff9941f692b81c682b3f2a506.tar.bz2
plan9port-72dd4491a89b97cff9941f692b81c682b3f2a506.zip
c++ changes
Diffstat (limited to 'include')
-rw-r--r--include/mach.h6
1 files changed, 5 insertions, 1 deletions
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 */