This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Fix pch/14940 on hppa-unknown-linux-gnu


> 2004-11-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
> 
> 	PR pch/14940
> 	* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__.

This scheme doesn't work on hppa-linux.  The issue is not finding empty space.
The problem is the kernel doesn't always return the same mmap address for
the pch file given the same start and length.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2004-11-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR pch/14940
	* config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.

Index: config/host-linux.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/host-linux.c,v
retrieving revision 1.5
diff -u -3 -p -r1.5 host-linux.c
--- config/host-linux.c	23 Nov 2004 02:29:38 -0000	1.5
+++ config/host-linux.c	27 Nov 2004 16:51:09 -0000
@@ -77,8 +77,6 @@
 # define TRY_EMPTY_VM_SPACE	0x8000000000
 #elif defined(__s390__)
 # define TRY_EMPTY_VM_SPACE	0x60000000
-#elif defined(__hppa__)
-# define TRY_EMPTY_VM_SPACE	0xa0000000
 #elif defined(__sparc__) && defined(__LP64__)
 # define TRY_EMPTY_VM_SPACE	0x8000000000
 #elif defined(__sparc__)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]