This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [boehm-gc] Define HBLKSIZE to 4096 for MIPS
- From: David Daney <ddaney at avtrex dot com>
- To: rsandifo at nildram dot co dot uk
- Cc: gcc-patches at gcc dot gnu dot org, hboehm at gcc dot gnu dot org
- Date: Fri, 25 Jan 2008 14:36:51 -0800
- Subject: Re: [boehm-gc] Define HBLKSIZE to 4096 for MIPS
- References: <87sl1dyi8i.fsf@firetop.home>
Richard Sandiford wrote:
> 4096 is the default (and smallest) page size for both 32-bit and 64-bit
> MIPS Linux, so I'd like to use it as the default HBLKSIZE for both.
> The definition in patch below overrides the target-independent LP64
> default of 8k and copies similar definitions for other 64-bit Linux
> targets.
>
> Tested on mips64-linux-gnu, where it fixes all remaining n64 libjava
> failures on QEMU. (The o32 and n32 results are clean before and after
> the patch.) OK to install?
>
> Richard
>
>
> boehm-gc/
> * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
>
Richard,
This was approved here:
http://gcc.gnu.org/ml/java-patches/2008-q1/msg00013.html
> Index: boehm-gc/include/private/gcconfig.h
> ===================================================================
> --- boehm-gc/include/private/gcconfig.h 2007-12-31 15:25:41.000000000 +0000
> +++ boehm-gc/include/private/gcconfig.h 2007-12-31 15:25:50.000000000 +0000
> @@ -1375,6 +1375,9 @@
> # else
> # define ALIGNMENT 4
> # endif
> +# ifndef HBLKSIZE
> +# define HBLKSIZE 4096
> +# endif
> # define USE_GENERIC_PUSH_REGS
> # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
> # define LINUX_STACKBOTTOM
>