summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-05 06:27:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-05 06:27:35 +0100
commit739d2e9fe2929ab0ee83404f03f45702ab0f517a (patch)
treead6d23c3ae4a081ecb074114675c8f30aaa5426a /ldso
parentf81442f06289f183e3891bf6d48ad138faf66c96 (diff)
ld.so: fix mips{32,64}r6 support
Signed-off-by: Matthew Fortune <Matthew.Fortune@imgtec.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/mips/dl-startup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/mips/dl-startup.h b/ldso/ldso/mips/dl-startup.h
index 0cab7be32..8026f1702 100644
--- a/ldso/ldso/mips/dl-startup.h
+++ b/ldso/ldso/mips/dl-startup.h
@@ -37,12 +37,12 @@ __asm__(""
#if _MIPS_SIM == _MIPS_SIM_ABI32
" subu $29, 16\n"
#endif
-# if !defined __mips_isa_rev || __mips_isa_rev < 6
#if _MIPS_SIM == _MIPS_SIM_ABI64
" dla $8, .coff\n"
#else /* O32 || N32 */
" la $8, .coff\n"
#endif /* O32 || N32 */
+# if !defined __mips_isa_rev || __mips_isa_rev < 6
" bltzal $8, .coff\n"
".coff:\n"
# else