diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/libmach/machpower.c | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
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; } |