svn commit: branches/uClibc_0_9_29/ldso/ldso/sparc
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 17:28:41 UTC 2008
Author: vapier
Date: 2008-01-05 09:28:41 -0800 (Sat, 05 Jan 2008)
New Revision: 20752
Log:
Merge r19151 by sjhill from trunk:
Apply patch as submitted by Blue Smurfy Swirly <blauwirbel at gmail.com> for Sparc32.
Modified:
branches/uClibc_0_9_29/ldso/ldso/sparc/dl-sysdep.h
Changeset:
Modified: branches/uClibc_0_9_29/ldso/ldso/sparc/dl-sysdep.h
===================================================================
--- branches/uClibc_0_9_29/ldso/ldso/sparc/dl-sysdep.h 2008-01-05 17:28:24 UTC (rev 20751)
+++ branches/uClibc_0_9_29/ldso/ldso/sparc/dl-sysdep.h 2008-01-05 17:28:41 UTC (rev 20752)
@@ -83,10 +83,16 @@
#endif
/* 4096 bytes alignment */
+#if defined(__sparc_v9__)
/* ...but 8192 is required for mmap() on sparc64 kernel */
#define PAGE_ALIGN 0xffffe000
#define ADDR_ALIGN 0x1fff
#define OFFS_ALIGN 0x7fffe000
+#elif defined(__sparc_v8__)
+#define PAGE_ALIGN 0xfffff000
+#define ADDR_ALIGN 0xfff
+#define OFFS_ALIGN 0x7ffff000
+#endif
/* ELF_RTYPE_CLASS_PLT iff TYPE describes relocation of a PLT entry, so
PLT entries should not be allowed to define the value.
More information about the uClibc-cvs
mailing list