diff options
Diffstat (limited to 'src/libmach/machpower.c')
-rw-r--r-- | src/libmach/machpower.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libmach/machpower.c b/src/libmach/machpower.c index 141645a6..d33651c0 100644 --- a/src/libmach/machpower.c +++ b/src/libmach/machpower.c @@ -78,7 +78,7 @@ powerexcep(Map *map, Regs *regs) #define REGSP 1 /* should come from q.out.h, but there's a clash */ #define REGSB 2 -//static char FRAMENAME[] = ".frame"; +/*static char FRAMENAME[] = ".frame"; */ static Map *mymap; @@ -1348,12 +1348,12 @@ powerunwind(Map *map, Regs *regs, ulong *next, Symbol *sym) * to disassemble the function prologues in order to figure * this out. */ - // evaluate lr - // if in this function, no good - go to saved one. - // set next[sp] to *cur[sp] - // set next[pc] to lr - // set next[lr] to lr - // + /* evaluate lr */ + /* if in this function, no good - go to saved one. */ + /* set next[sp] to *cur[sp] */ + /* set next[pc] to lr */ + /* set next[lr] to lr */ + /* */ werrstr("powerunwind not implemented"); return -1; } |