From 60ddfa28377de3bc0be9ed0638b0f818eb79eafd Mon Sep 17 00:00:00 2001 From: "Jayachandran C." Date: Fri, 25 Jun 2010 05:36:36 +0000 Subject: [PATCH] use PTR_WORD for __curbrk and minbrk instead of .word, the new version wil support all ABIs. Approved by: rrs (mentor) --- lib/libc/mips/sys/brk.S | 2 +- lib/libc/mips/sys/sbrk.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/mips/sys/brk.S b/lib/libc/mips/sys/brk.S index ceb29b9d587c..68f0bd45b32a 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 8ab981d740c8..0989493a6172 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)