فهرست منبع

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 10 سال پیش
والد
کامیت
3b49fd31dc
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  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);
 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 defined USE_TLS
 # if _MIPS_SIM == _MIPS_SIM_ABI64
 # if _MIPS_SIM == _MIPS_SIM_ABI64
 # define elf_machine_type_class(type) 					\
 # define elf_machine_type_class(type) 					\