]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc: Fix .size directive for do_int_load
authorBen Hutchings <ben@decadent.org.uk>
Wed, 9 Mar 2011 20:54:27 +0000 (12:54 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 21:32:38 +0000 (14:32 -0700)
[ Upstream commit 35043c428f1fcb92feb5792f5878a8852ee00771 ]

gas used to accept (and ignore?) .size directives which referred to
undefined symbols, as this does.  In binutils 2.21 these are treated
as errors.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/kernel/una_asm_64.S

index be183fe41443f3a54594502e9b7c46b2172212cf..1c8d33228b2a633630b2b7e1c602962712dbe083 100644 (file)
@@ -127,7 +127,7 @@ do_int_load:
        wr      %o5, 0x0, %asi
        retl
         mov    0, %o0
-       .size   __do_int_load, .-__do_int_load
+       .size   do_int_load, .-do_int_load
 
        .section        __ex_table,"a"
        .word           4b, __retl_efault