Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2010 05:36:36 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209521 - head/lib/libc/mips/sys
Message-ID:  <201006250536.o5P5aagT013178@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jchandra
Date: Fri Jun 25 05:36:36 2010
New Revision: 209521
URL: http://svn.freebsd.org/changeset/base/209521

Log:
  use PTR_WORD for __curbrk and minbrk instead of .word, the new version
  wil support all ABIs.
  
  Approved by:	rrs (mentor)

Modified:
  head/lib/libc/mips/sys/brk.S
  head/lib/libc/mips/sys/sbrk.S

Modified: head/lib/libc/mips/sys/brk.S
==============================================================================
--- head/lib/libc/mips/sys/brk.S	Fri Jun 25 05:07:42 2010	(r209520)
+++ head/lib/libc/mips/sys/brk.S	Fri Jun 25 05:36:36 2010	(r209521)
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
 
 	.data
 _C_LABEL(minbrk):
-	.word	_C_LABEL(_end)
+	PTR_WORD	_C_LABEL(_end)
 
 	.text
 LEAF(__sys_brk)

Modified: head/lib/libc/mips/sys/sbrk.S
==============================================================================
--- head/lib/libc/mips/sys/sbrk.S	Fri Jun 25 05:07:42 2010	(r209520)
+++ head/lib/libc/mips/sys/sbrk.S	Fri Jun 25 05:36:36 2010	(r209521)
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
 
 	.data
 _C_LABEL(__curbrk):
-	.word	_C_LABEL(_end)
+	PTR_WORD	_C_LABEL(_end)
 	.text
 
 LEAF(__sys_sbrk)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006250536.o5P5aagT013178>