diff options
Diffstat (limited to 'ldso/ldso/frv/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/frv/dl-sysdep.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ldso/ldso/frv/dl-sysdep.h b/ldso/ldso/frv/dl-sysdep.h index e0faf89ed..46f8461f7 100644 --- a/ldso/ldso/frv/dl-sysdep.h +++ b/ldso/ldso/frv/dl-sysdep.h @@ -29,6 +29,8 @@ USA. */ */ #undef ELF_USES_RELOCA +#define DL_NO_COPY_RELOCS + /* * Initialization sequence for a GOT. Copy the resolver function * descriptor and the pointer to the elf_resolve/link_map data @@ -62,10 +64,11 @@ extern int _dl_linux_resolve(void) __attribute__((__visibility__("hidden"))); #define do_rem(result, n, base) result = (n % base) -/* 4096 bytes alignment */ -#define PAGE_ALIGN 0xfffff000 -#define ADDR_ALIGN 0xfff -#define OFFS_ALIGN 0x7ffff000 +/* 16KiB page alignment. Should perhaps be made dynamic using + getpagesize(), based on AT_PAGESZ from auxvt? */ +#define PAGE_ALIGN 0xffffc000 +#define ADDR_ALIGN 0x3fff +#define OFFS_ALIGN 0x7fffc000 struct funcdesc_ht; |