diff mbox

[3/5] sparc: Fix .size directive for do_int_load

Message ID 1299630719.4146.24.camel@localhost
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Ben Hutchings March 9, 2011, 12:31 a.m. UTC
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>
---
 arch/sparc/kernel/una_asm_64.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

David Miller March 9, 2011, 8:54 p.m. UTC | #1
From: Ben Hutchings <ben@decadent.org.uk>
Date: Wed, 09 Mar 2011 00:31:59 +0000

> 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>

Applied, thanks Ben.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/kernel/una_asm_64.S b/arch/sparc/kernel/una_asm_64.S
index be183fe..1c8d332 100644
--- a/arch/sparc/kernel/una_asm_64.S
+++ b/arch/sparc/kernel/una_asm_64.S
@@ -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