OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Mar 2011 01:19:15 +0000 (18:19 -0700)
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>
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