summaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2019-03-04 10:48:42 +0100
committerStefan Liebler <stli@linux.ibm.com>2019-03-04 10:48:42 +0100
commitce6ddae03639529d5ca3a9eebb2d8b02bfd2ea97 (patch)
tree1156d2ee2f826215fe059ba1eb9ac007dba73459 /sysdeps/s390
parent31effacee2fc1b327bedc9a5fcb4b83f227c6539 (diff)
downloadglibc-ce6ddae03639529d5ca3a9eebb2d8b02bfd2ea97.tar.gz
S390: Increase function alignment to 16 bytes.
Set the default function alignment to 16 bytes in order to get rid of some unwanted performance effects. Please see also GCC commit "S/390: Set default function alignment to 16." (Subversion revision 262817) ChangeLog: * sysdeps/s390/s390-64/sysdep.h(ENTRY): Use alignment of 16byte. * sysdeps/s390/s390-32/sysdep.h: Likewise.
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/s390-32/sysdep.h2
-rw-r--r--sysdeps/s390/s390-64/sysdep.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/s390/s390-32/sysdep.h b/sysdeps/s390/s390-32/sysdep.h
index 6605dde237..4a441e1204 100644
--- a/sysdeps/s390/s390-32/sysdep.h
+++ b/sysdeps/s390/s390-32/sysdep.h
@@ -32,7 +32,7 @@
#define ENTRY(name) \
.globl C_SYMBOL_NAME(name); \
.type C_SYMBOL_NAME(name),@function; \
- .align ALIGNARG(2); \
+ .align ALIGNARG(4); \
C_LABEL(name) \
cfi_startproc; \
CALL_MCOUNT
diff --git a/sysdeps/s390/s390-64/sysdep.h b/sysdeps/s390/s390-64/sysdep.h
index 99dbf3f444..0531fa5823 100644
--- a/sysdeps/s390/s390-64/sysdep.h
+++ b/sysdeps/s390/s390-64/sysdep.h
@@ -32,7 +32,7 @@
#define ENTRY(name) \
.globl C_SYMBOL_NAME(name); \
.type C_SYMBOL_NAME(name),@function; \
- .align ALIGNARG(2); \
+ .align ALIGNARG(4); \
C_LABEL(name) \
cfi_startproc; \
CALL_MCOUNT