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)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:42:03 +0000 (11:42 -0700)
BugLink: http://bugs.launchpad.net/bugs/769042

[ 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>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

arch/sparc/kernel/una_asm_64.S

index be183fe..1c8d332 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