summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-21 11:32:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-21 11:32:01 +0100
commit3b49fd31dc219d537de2b99f9a0382061165be95 (patch)
treebc211583b53e4cfc5a1db1f28123f1ee210e227c /ldso
parentab8299587e359b2dc6ea766ab04357a0368952f6 (diff)
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.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/mips/dl-sysdep.h5
1 files changed, 0 insertions, 5 deletions
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) \