| Submitter | Ben Hutchings |
|---|---|
| Date | March 9, 2011, 12:31 a.m. |
| Message ID | <1299630719.4146.24.camel@localhost> |
| Download | mbox | patch |
| Permalink | /patch/86045/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
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
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
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(-)