[SPARC]: Fix dot-symbol exporting for good.

From: Al Viro <viro@ZenIV.linux.org.uk>

Instead of playing all of these hand-coded assembler aliasing games,
just translate symbol names in the name space ".sym" to "_Sym" at
module load time.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro
2005-09-11 20:14:07 -07:00
committed by David S. Miller
parent 357d596bd5
commit 7caaeabb17
9 changed files with 36 additions and 22 deletions

View File

@@ -43,7 +43,9 @@
.globl .rem
.globl _Rem
.rem:
_Rem: /* needed for export */
! compute sign of result; if neither is negative, no problem
orcc %o1, %o0, %g0 ! either negative?
bge 2f ! no, go do the divide