From 3b49fd31dc219d537de2b99f9a0382061165be95 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 21 Feb 2016 11:32:01 +0100 Subject: mips64: with n64 ABI mapping failed Booting on Lemote Yeelong with a page size != 4kb ld.so is crashing and failed to load libc.so. Do not hardcode the offset for n64 ABI. --- ldso/ldso/mips/dl-sysdep.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ldso') diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h index b2caa7fa0..0122199e4 100644 --- a/ldso/ldso/mips/dl-sysdep.h +++ b/ldso/ldso/mips/dl-sysdep.h @@ -164,11 +164,6 @@ unsigned long __dl_runtime_pltresolve(struct elf_resolve *tpnt, void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt, int lazy); -/* 4096 bytes alignment */ -#if _MIPS_SIM == _MIPS_SIM_ABI64 -#define OFFS_ALIGN (0x10000000000UL-0x1000) -#endif /* O32 || N32 */ - #if defined USE_TLS # if _MIPS_SIM == _MIPS_SIM_ABI64 # define elf_machine_type_class(type) \ -- cgit v1.2.3