diff options
author | Tobias Anderberg <tobias.anderberg@axis.com> | 2002-09-16 08:12:33 +0000 |
---|---|---|
committer | Tobias Anderberg <tobias.anderberg@axis.com> | 2002-09-16 08:12:33 +0000 |
commit | 37184f99f86fbe96f2bddbb4f773e70a4fcc8fea (patch) | |
tree | ed6aca72f4817d74274c24fd99fda0e9b64530f5 /ldso/ldso/ldso.c | |
parent | 27ef34961183c110abc8c5fee05f1c5016c8042a (diff) |
Updated for the CRIS port.
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r-- | ldso/ldso/ldso.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index cec71ca56..ff13675aa 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -310,6 +310,8 @@ LD_BOOT(unsigned long args) " .balign 4" "1: .long _GLOBAL_OFFSET_TABLE_" "2:" : "=r" (got) : : "r0"); +#elif defined(__cris__) + __asm__("\tmove.d $pc,%0\n\tsub.d .:GOTOFF,%0\n\t":"=r"(got)); #else /* Do things the slow way in C */ { |