diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2007-07-18 03:08:36 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2007-07-18 03:08:36 +0000 |
commit | 265498cfd78939a7d6169e4ea7893ad67e13db96 (patch) | |
tree | 97bbbaae2ab47d58f59b5e7bbea8aeb03085c5b4 | |
parent | a903e9ba4607ceb4304948deedefe3058049498a (diff) |
Apply patch as submitted by Blue Smurfy Swirly <blauwirbel@gmail.com> for Sparc32.
-rw-r--r-- | ldso/ldso/sparc/dl-sysdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ldso/ldso/sparc/dl-sysdep.h b/ldso/ldso/sparc/dl-sysdep.h index 12973e1be..4ec2c37d9 100644 --- a/ldso/ldso/sparc/dl-sysdep.h +++ b/ldso/ldso/sparc/dl-sysdep.h @@ -83,10 +83,16 @@ sparc_mod(unsigned long m, unsigned long p) #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. |