[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:
@ -16,7 +16,9 @@
|
||||
*/
|
||||
|
||||
.globl .mul
|
||||
.globl _Mul
|
||||
.mul:
|
||||
_Mul: /* needed for export */
|
||||
mov %o0, %y ! multiplier -> Y
|
||||
andncc %o0, 0xfff, %g0 ! test bits 12..31
|
||||
be Lmul_shortway ! if zero, can do it the short way
|
||||
|
Reference in New Issue
Block a user