summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/rem.S
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2005-09-12 05:14:07 +0200
committerDavid S. Miller <davem@davemloft.net>2005-09-12 05:14:07 +0200
commit7caaeabb17758295edff9703c18a840073c5b8f4 (patch)
treea33a4bcc77be6077fd8b787380bf13a38828d211 /arch/sparc/lib/rem.S
parentMerge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/li... (diff)
downloadlinux-7caaeabb17758295edff9703c18a840073c5b8f4.tar.xz
linux-7caaeabb17758295edff9703c18a840073c5b8f4.zip
[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>
Diffstat (limited to 'arch/sparc/lib/rem.S')
-rw-r--r--arch/sparc/lib/rem.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/lib/rem.S b/arch/sparc/lib/rem.S
index 44508148d055..bf015a90d07e 100644
--- a/arch/sparc/lib/rem.S
+++ b/arch/sparc/lib/rem.S
@@ -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