]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SPARC64]: Fix inconsistent .section usage in lib/
authorSam Ravnborg <sam@ravnborg.org>
Fri, 1 Feb 2008 00:48:49 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:32:44 +0000 (19:32 -0800)
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 <linux/init.h> 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 <linux/init.h> contains
section definitions for use in .S files.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/lib/GENbzero.S
arch/sparc64/lib/NGbzero.S

index f9c71d64eba1c2c42dbcefac3e7762d0ba471d2f..6a4f956a2f7a4a99d7388d0dafed55e65b506c30 100644 (file)
@@ -10,7 +10,7 @@
        .align 4;               \
 99:    retl;                   \
         mov    %o1, %o0;       \
-       .section __ex_table;    \
+       .section __ex_table,"a";\
        .align 4;               \
        .word 98b, 99b;         \
        .text;                  \
index f10e4529ee3743b770730de61d03c02ad08aa961..814d5f7a45e1c3e9fe132f094d48a5ce7f050e08 100644 (file)
@@ -10,7 +10,7 @@
        .align 4;               \
 99:    retl;                   \
         mov    %o1, %o0;       \
-       .section __ex_table;    \
+       .section __ex_table,"a";\
        .align 4;               \
        .word 98b, 99b;         \
        .text;                  \