From: Sam Ravnborg Date: Fri, 1 Feb 2008 00:48:49 +0000 (-0800) Subject: [SPARC64]: Fix inconsistent .section usage in lib/ X-Git-Tag: v2.6.25-rc1~1088^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4787083fcce866e275bedeb87cd6dfba34c84253;p=linux-2.6-omap-h63xx.git [SPARC64]: Fix inconsistent .section usage in lib/ A few places missed the "a" specifier for the __ex_table section. Add these so we avoid generation an additional section at link time. Latest modpost would otherwise complain like this: WARNING: vmlinux.o (__ex_table.2): section name inconsistency. (.[number]+) following section name. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. WARNING: vmlinux.o (__ex_table.4): section name inconsistency. (.[number]+) following section name. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/lib/GENbzero.S b/arch/sparc64/lib/GENbzero.S index f9c71d64eba..6a4f956a2f7 100644 --- a/arch/sparc64/lib/GENbzero.S +++ b/arch/sparc64/lib/GENbzero.S @@ -10,7 +10,7 @@ .align 4; \ 99: retl; \ mov %o1, %o0; \ - .section __ex_table; \ + .section __ex_table,"a";\ .align 4; \ .word 98b, 99b; \ .text; \ diff --git a/arch/sparc64/lib/NGbzero.S b/arch/sparc64/lib/NGbzero.S index f10e4529ee3..814d5f7a45e 100644 --- a/arch/sparc64/lib/NGbzero.S +++ b/arch/sparc64/lib/NGbzero.S @@ -10,7 +10,7 @@ .align 4; \ 99: retl; \ mov %o1, %o0; \ - .section __ex_table; \ + .section __ex_table,"a";\ .align 4; \ .word 98b, 99b; \ .text; \