summaryrefslogtreecommitdiff
path: root/arch/sparc64/lib/strncpy_from_user.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-04 23:23:56 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-04 23:23:56 -0800
commit4d000d5b9689734006d89fe9b7597c758b74a9fb (patch)
tree1336c7805645b29eec0617b4554e5e0b37222123 /arch/sparc64/lib/strncpy_from_user.S
parent501f74f29498543c27f4f9697f5c1e980dd2de0d (diff)
[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/strncpy_from_user.S')
-rw-r--r--arch/sparc64/lib/strncpy_from_user.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/lib/strncpy_from_user.S b/arch/sparc64/lib/strncpy_from_user.S
index e1264650ca7a..b2f499f79427 100644
--- a/arch/sparc64/lib/strncpy_from_user.S
+++ b/arch/sparc64/lib/strncpy_from_user.S
@@ -125,7 +125,7 @@ __strncpy_from_user:
add %o2, %o3, %o0
.size __strncpy_from_user, .-__strncpy_from_user
- .section __ex_table,#alloc
+ .section __ex_table,"a"
.align 4
.word 60b, __retl_efault
.word 61b, __retl_efault