diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-09 13:05:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-09 13:05:29 +0000 |
commit | 8329f998f899f5b0a80cbdf3d0682bdb1e7f8d4c (patch) | |
tree | 303618c8b9b278fb4bb0a632391d122252a4f54b /ldso/ldso/sparc/dl-sysdep.h | |
parent | bea67a752df6f8e1dfce75592fb7c371e5c8a212 (diff) |
Link ldso vs libgcc.a and eliminate baggage caused by
not previously linking vs libgcc
-Erik
Diffstat (limited to 'ldso/ldso/sparc/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/sparc/dl-sysdep.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ldso/ldso/sparc/dl-sysdep.h b/ldso/ldso/sparc/dl-sysdep.h index 98660e03b..a5773111b 100644 --- a/ldso/ldso/sparc/dl-sysdep.h +++ b/ldso/ldso/sparc/dl-sysdep.h @@ -97,25 +97,8 @@ extern unsigned int _dl_linux_resolver(unsigned int reloc_entry, */ #define SOLARIS_COMPATIBLE -/* - * Define this because we do not want to call .udiv in the library. - * Change on the plans -miguel: - * We just statically link against .udiv. This is required - * if we want to be able to run on Sun4c machines. - */ +#define do_rem(result, n, base) result = (n % base) -/* We now link .urem against this one */ -#ifdef USE_V8 -#define do_rem(result,n,base) ({ \ -volatile int __res; \ -__asm__("mov %%g0,%%Y\n\t" \ - "sdiv %2,%3,%%l6\n\t" \ - "smul %%l6,%3,%%l6\n\t" \ - "sub %2,%%l6,%0\n\t" \ - :"=r" (result),"=r" (__res):"r" (n),"r"(base) : "l6" ); __res; }) -#else -#define do_rem(a,b,c) a = _dl_urem (b,c); -#endif /* * dbx wants the binder to have a specific name. Mustn't disappoint it. */ |