Skip to content

Commit

Permalink
[SPARC64]: Fix inconsistent .section usage in lib/
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Feb 1, 2008
1 parent c6d64c1 commit 4787083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/sparc64/lib/GENbzero.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.align 4; \
99: retl; \
mov %o1, %o0; \
.section __ex_table; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.text; \
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc64/lib/NGbzero.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.align 4; \
99: retl; \
mov %o1, %o0; \
.section __ex_table; \
.section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.text; \
Expand Down

0 comments on commit 4787083

Please sign in to comment.