summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2010-06-25 05:36:36 +0000
committerjchandra <jchandra@FreeBSD.org>2010-06-25 05:36:36 +0000
commit28ebaa4671467899a9acbfb54616c310a135af30 (patch)
tree2fd7ceb0f6785d107e8832ca519aee19cce85f25
parenta9f14069470b6dcee89e77f3062ec368426f771d (diff)
downloadFreeBSD-src-28ebaa4671467899a9acbfb54616c310a135af30.zip
FreeBSD-src-28ebaa4671467899a9acbfb54616c310a135af30.tar.gz
use PTR_WORD for __curbrk and minbrk instead of .word, the new version
wil support all ABIs. Approved by: rrs (mentor)
-rw-r--r--lib/libc/mips/sys/brk.S2
-rw-r--r--lib/libc/mips/sys/sbrk.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/mips/sys/brk.S b/lib/libc/mips/sys/brk.S
index ceb29b9..68f0bd4 100644
--- a/lib/libc/mips/sys/brk.S
+++ b/lib/libc/mips/sys/brk.S
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
.data
_C_LABEL(minbrk):
- .word _C_LABEL(_end)
+ PTR_WORD _C_LABEL(_end)
.text
LEAF(__sys_brk)
diff --git a/lib/libc/mips/sys/sbrk.S b/lib/libc/mips/sys/sbrk.S
index 8ab981d..0989493 100644
--- a/lib/libc/mips/sys/sbrk.S
+++ b/lib/libc/mips/sys/sbrk.S
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
.data
_C_LABEL(__curbrk):
- .word _C_LABEL(_end)
+ PTR_WORD _C_LABEL(_end)
.text
LEAF(__sys_sbrk)
OpenPOWER on IntegriCloud