aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/symdwarf.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-11 04:33:54 +0000
committerrsc <devnull@localhost>2004-06-11 04:33:54 +0000
commit9b24f92c5611353cdafb6756ae21b405ebc695dd (patch)
tree6a81ee9775a14a09f60c2c244ada1cd805806297 /src/libmach/symdwarf.c
parentfa009f9d7217bd577248e53ff5aba2e8b1e0c4b2 (diff)
downloadplan9port-9b24f92c5611353cdafb6756ae21b405ebc695dd.tar.gz
plan9port-9b24f92c5611353cdafb6756ae21b405ebc695dd.tar.bz2
plan9port-9b24f92c5611353cdafb6756ae21b405ebc695dd.zip
maybe 64-bit better
Diffstat (limited to 'src/libmach/symdwarf.c')
-rw-r--r--src/libmach/symdwarf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmach/symdwarf.c b/src/libmach/symdwarf.c
index eeafa8dc..c29f287f 100644
--- a/src/libmach/symdwarf.c
+++ b/src/libmach/symdwarf.c
@@ -323,11 +323,11 @@ dwarftosym(Fhdr *fp, Dwarf *d, DwarfSym *ds, Symbol *s, int infn)
}
static int
-dwarfeval(Dwarf *d, Map *map, Regs *regs, ulong cfa, int rno, DwarfExpr e, ulong *u)
+dwarfeval(Dwarf *d, Map *map, Regs *regs, ulong cfa, int rno, DwarfExpr e, uvlong *u)
{
int i;
u32int u4;
- ulong uu;
+ uvlong uu;
switch(e.type){
case RuleUndef:
@@ -400,7 +400,7 @@ _dwarfunwind(Fhdr *fhdr, Map *map, Regs *regs, ulong *next)
{
char *name;
int i, j;
- ulong cfa, pc, u;
+ uvlong cfa, pc, u;
Dwarf *d;
DwarfExpr *e, epc, ecfa;