maybe 64-bit better

This commit is contained in:
rsc 2004-06-11 04:33:54 +00:00
parent fa009f9d72
commit 9b24f92c56
7 changed files with 48 additions and 43 deletions

View file

@ -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;