]> err.no Git - linux-2.6/commit
[SPARC]: Fix weak aliases
authorAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Fri, 19 Aug 2005 22:56:37 +0000 (15:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2005 22:56:37 +0000 (15:56 -0700)
commit83c4e43722a2c8a8438b8d165047720fd36aaea4
treec00a39d711f43853ac42ff5e93fe0826fa5388e5
parenta3f9985843b674cbcb58f39fab8416675e7ab842
[SPARC]: Fix weak aliases

sparc_ksyms.c used to declare weak alias to several gcc intrinsics.  It
doesn't work with gcc4 anymore - it wants a declaration for the thing
we are aliasing to and that's not going to happen for something like
.mul, etc.  Replaced with direct injection of weak alias on the assembler
level - .weak <alias> followed by <alias> = <aliased>; that works on all
gcc versions.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/sparc_ksyms.c