about summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/multiarch/memset.S
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2012-09-06 10:28:52 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2012-09-06 10:28:52 +0200
commit14c996c83b265c31aae5f64480d393fa5d3364f3 (patch)
tree8f136c470516786769a298c72faf2fd44c483a0a /sysdeps/s390/s390-32/multiarch/memset.S
parent1415687eacbfff02e8bba2c93b5acce41609e93b (diff)
downloadglibc-14c996c83b265c31aae5f64480d393fa5d3364f3.tar.gz
glibc-14c996c83b265c31aae5f64480d393fa5d3364f3.tar.xz
glibc-14c996c83b265c31aae5f64480d393fa5d3364f3.zip
S/390: Fix optimized mem* running on 31 bit kernels.
Diffstat (limited to 'sysdeps/s390/s390-32/multiarch/memset.S')
-rw-r--r--sysdeps/s390/s390-32/multiarch/memset.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/multiarch/memset.S b/sysdeps/s390/s390-32/multiarch/memset.S
index 5ce7b4de83..ba43d671c2 100644
--- a/sysdeps/s390/s390-32/multiarch/memset.S
+++ b/sysdeps/s390/s390-32/multiarch/memset.S
@@ -31,6 +31,7 @@
 
 ENTRY(memset_z196)
 	.machine "z196"
+	.machinemode "zarch_nohighgprs"
         llgfr   %r4,%r4
         ltgr    %r4,%r4
         je      .L_Z196_4
@@ -62,6 +63,7 @@ END(memset_z196)
 
 ENTRY(memset_z10)
 	.machine "z10"
+	.machinemode "zarch_nohighgprs"
         llgfr   %r4,%r4
         cgije   %r4,0,.L_Z10_4
         stc     %r3,0(%r2)