svn commit: r197800 - in projects/mips/lib/libc/mips: . sys
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue Oct 6 06:35:52 UTC 2009
Author: gonzo
Date: Tue Oct 6 06:35:52 2009
New Revision: 197800
URL: http://svn.freebsd.org/changeset/base/197800
Log:
- curbrk variable for sbrk and brk should be the same
- Add correct variable names to Symbol.map
Modified:
projects/mips/lib/libc/mips/Symbol.map
projects/mips/lib/libc/mips/sys/brk.S
Modified: projects/mips/lib/libc/mips/Symbol.map
==============================================================================
--- projects/mips/lib/libc/mips/Symbol.map Tue Oct 6 04:57:18 2009 (r197799)
+++ projects/mips/lib/libc/mips/Symbol.map Tue Oct 6 06:35:52 2009 (r197800)
@@ -56,8 +56,8 @@ FBSDprivate_1.0 {
__siglongjmp;
__sys_vfork;
_vfork;
- end; /* XXX - Should this be _end (see sys/brk.S)? */
- curbrk;
+ _end;
+ __curbrk;
minbrk;
_brk;
_sbrk;
Modified: projects/mips/lib/libc/mips/sys/brk.S
==============================================================================
--- projects/mips/lib/libc/mips/sys/brk.S Tue Oct 6 04:57:18 2009 (r197799)
+++ projects/mips/lib/libc/mips/sys/brk.S Tue Oct 6 06:35:52 2009 (r197800)
@@ -42,15 +42,12 @@ __FBSDID("$FreeBSD$");
#endif /* LIBC_SCCS and not lint */
.globl _C_LABEL(minbrk)
- .globl _C_LABEL(curbrk)
+ .globl _C_LABEL(__curbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(minbrk):
.word _C_LABEL(_end)
-_C_LABEL(curbrk):
- .word _C_LABEL(_end)
- .text
LEAF(__sys_brk)
WEAK_ALIAS(brk, __sys_brk)
@@ -67,7 +64,7 @@ LEAF(__sys_brk)
li v0, SYS_break
syscall
bne a3, zero, 2f
- sw a0, _C_LABEL(curbrk)
+ sw a0, _C_LABEL(__curbrk)
move v0, zero
j ra
2:
More information about the svn-src-projects
mailing list