From a46c34c4ec04aa052116f787040180d12b74793b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 28 May 2002 21:33:41 +0000 Subject: Patch from Tobias Anderberg to abstract out page alignment issues. As we we were assuming 4k pages, which need not be the case... --- ldso/ldso/mips/dl-sysdep.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ldso/ldso/mips/dl-sysdep.h') diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h index a669bba67..6b87e6578 100644 --- a/ldso/ldso/mips/dl-sysdep.h +++ b/ldso/ldso/mips/dl-sysdep.h @@ -129,3 +129,8 @@ unsigned long _dl_linux_resolver(unsigned long sym_index, #define do_rem(result, n, base) result = (n % base) + +/* 4096 bytes alignment */ +#define PAGE_ALIGN 0xfffff000 +#define ADDR_ALIGN 0xfff +#define OFFS_ALIGN 0x7ffff000 -- cgit v1.2.3