From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libmach/machpower.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/libmach/machpower.c') 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; } -- cgit v1.2.3