Skip to content

Commit

Permalink
sparc: Fix .size directive for do_int_load
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Mar 17, 2011
1 parent c6fee08 commit 35043c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/una_asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35043c4

Please sign in to comment.