diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-07-30 20:06:01 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-07-30 20:06:01 +0000 |
commit | 9efd18d33815d59900becfac7820902e15b6126e (patch) | |
tree | e4fd0e33c81e1eee08ab42a9b452e7a328923ab4 /libc/sysdeps/linux/alpha/brk.S | |
parent | 8ed0fdbe78c0c828efbc183ea8290081fd7b5d03 (diff) |
s/___brk_addr/__curbrk/g
Some utilities, such as valgrind, have a legitimate reason to know the address
of the current brk. Since we know such utils will peek under our skirt, we
might as well give them what they expect and not use a gratuitously different
symbol name.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/alpha/brk.S')
-rw-r--r-- | libc/sysdeps/linux/alpha/brk.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/alpha/brk.S b/libc/sysdeps/linux/alpha/brk.S index 19bd835f4..8c70a0ce5 100644 --- a/libc/sysdeps/linux/alpha/brk.S +++ b/libc/sysdeps/linux/alpha/brk.S @@ -29,12 +29,12 @@ #ifdef __PIC__ .section .bss .align 3 - .globl ___brk_addr -___brk_addr: .skip 8 - .type ___brk_addr,@object - .size ___brk_addr,8 + .globl __curbrk +__curbrk: .skip 8 + .type __curbrk,@object + .size __curbrk,8 #else -.comm ___brk_addr, 8 +.comm __curbrk, 8 #endif .text @@ -71,9 +71,9 @@ __brk: xor $16, $0, $1 bne $1, $err0 - /* Update ___brk_addr and return cleanly. */ + /* Update __curbrk and return cleanly. */ mov $31, $0 -$ok: stq $16, ___brk_addr +$ok: stq $16, __curbrk addq $30, 8, $30 ret |