svn commit: trunk/uClibc/ldso/ldso/sparc

sjhill at uclibc.org sjhill at uclibc.org
Wed Jul 18 03:08:37 UTC 2007


Author: sjhill
Date: 2007-07-17 20:08:36 -0700 (Tue, 17 Jul 2007)
New Revision: 19151

Log:
Apply patch as submitted by Blue Smurfy Swirly <blauwirbel at gmail.com> for Sparc32.


Modified:
   trunk/uClibc/ldso/ldso/sparc/dl-sysdep.h


Changeset:
Modified: trunk/uClibc/ldso/ldso/sparc/dl-sysdep.h
===================================================================
--- trunk/uClibc/ldso/ldso/sparc/dl-sysdep.h	2007-07-17 23:22:49 UTC (rev 19150)
+++ trunk/uClibc/ldso/ldso/sparc/dl-sysdep.h	2007-07-18 03:08:36 UTC (rev 19151)
@@ -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