summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/lib/bzero.S
diff options
context:
space:
mode:
authorDavid S. Miller2006-03-05 08:23:56 +0100
committerDavid S. Miller2006-03-05 08:23:56 +0100
commit4d000d5b9689734006d89fe9b7597c758b74a9fb (patch)
tree1336c7805645b29eec0617b4554e5e0b37222123 /arch/sparc64/lib/bzero.S
parentMerge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
downloadkernel-qcow2-linux-4d000d5b9689734006d89fe9b7597c758b74a9fb.tar.gz
kernel-qcow2-linux-4d000d5b9689734006d89fe9b7597c758b74a9fb.tar.xz
kernel-qcow2-linux-4d000d5b9689734006d89fe9b7597c758b74a9fb.zip
[SPARC64]: Mark __ex_table section correctly.
We must use the "a" (allocate) attribute every time we emit an entry into the __ex_table section. For consistency, use "a" instead of #alloc which is some Solaris compat cruft GNU as provides on Sparc. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/lib/bzero.S')
-rw-r--r--arch/sparc64/lib/bzero.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/lib/bzero.S b/arch/sparc64/lib/bzero.S
index 21a933ffb7c2..1d2abcfa4e52 100644
--- a/arch/sparc64/lib/bzero.S
+++ b/arch/sparc64/lib/bzero.S
@@ -92,7 +92,7 @@ __bzero_done:
.align 4; \
99: retl; \
mov %o1, %o0; \
- .section __ex_table; \
+ .section __ex_table,"a";\
.align 4; \
.word 98b, 99b; \
.text; \