From 9efd18d33815d59900becfac7820902e15b6126e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Jul 2004 20:06:01 +0000 Subject: 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 --- libc/sysdeps/linux/alpha/brk.S | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libc/sysdeps/linux/alpha') 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 -- cgit v1.2.3