Browse Source

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.
Waldemar Brodkorb 8 years ago
parent
commit
3b49fd31dc
1 changed files with 0 additions and 5 deletions
  1. 0 5
      ldso/ldso/mips/dl-sysdep.h

+ 0 - 5
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) 					\