diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-05-28 21:33:41 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-05-28 21:33:41 +0000 |
commit | a46c34c4ec04aa052116f787040180d12b74793b (patch) | |
tree | 6a12ad7d75020df4db4f4fef3ac80173e72abac4 /ldso/ldso/i386/dl-sysdep.h | |
parent | 6a44e26b674d67ec8e326bd1f85e9cdb9fbd59c2 (diff) |
Patch from Tobias Anderberg <tobias.anderberg@axis.com> to abstract
out page alignment issues. As we we were assuming 4k pages, which
need not be the case...
Diffstat (limited to 'ldso/ldso/i386/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/i386/dl-sysdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/i386/dl-sysdep.h b/ldso/ldso/i386/dl-sysdep.h index d44b020ee..7c0f884df 100644 --- a/ldso/ldso/i386/dl-sysdep.h +++ b/ldso/ldso/i386/dl-sysdep.h @@ -74,3 +74,8 @@ struct elf_resolve; extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); #define do_rem(result, n, base) result = (n % base) + +/* 4096 bytes alignment */ +#define PAGE_ALIGN 0xfffff000 +#define ADDR_ALIGN 0xfff +#define OFFS_ALIGN 0x7ffff000 |