diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-07-05 04:55:38 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-07-05 04:55:38 +0000 |
commit | 62f3de630a4aa61ef0972e3a07d07a9c6738bbe0 (patch) | |
tree | caad2027d0ba42175dbc04f8317724f527adb3cb /lib/libc/arch | |
parent | 77d23c6270b091dbfc1394a6564a72b97a39378c (diff) |
Change some of the local symbols into "temporary", removed symbols.
makes it easier to debug code to see the function entry not the local
branch targets.
Diffstat (limited to 'lib/libc/arch')
-rw-r--r-- | lib/libc/arch/powerpc/sys/brk.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/arch/powerpc/sys/brk.S b/lib/libc/arch/powerpc/sys/brk.S index faa44c45e54..4cf2fc548b8 100644 --- a/lib/libc/arch/powerpc/sys/brk.S +++ b/lib/libc/arch/powerpc/sys/brk.S @@ -1,20 +1,18 @@ #include "SYS.h" - .data .extern curbrk .extern _end - .text PSEUDO_PREFIX(brk,break) /* check >= _end, if not make the call for _end */ addis 5,0,_end@h ori 5,5,_end@l /* # 5 = &_end */ cmpw 3,5 - bge+ brk_call + bge+ .L_brk_call mr 3, 5 -brk_call: +.L_brk_call: mr 7, 3 /* call break(size) */ addis 6, 0, curbrk@H @@ -24,11 +22,11 @@ brk_call: /* check for error */ cmpwi 0, 0 - beq+ brk_ok /* OK so this is stupid but I haven't read b */ + beq+ .L_brk_ok /* OK so this is stupid but I haven't read b */ b cerror /* update, curbrk and return */ -brk_ok: +.L_brk_ok: stw 7, 0(6) /* # remember, 6=&curbrk, 3= new value */ mr 3, 0 /* # return 0 */ blr |