about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-11 11:50:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-11 11:50:11 -0700
commit1cf463cd4e499488cbea70c50939d22b6ffc045f (patch)
tree5709cad586973049d85a3393387df05889e32978 /sysdeps/x86_64
parenteae2d36a96a266fa49459fdb8f98489afba9f0bb (diff)
downloadglibc-1cf463cd4e499488cbea70c50939d22b6ffc045f.tar.gz
glibc-1cf463cd4e499488cbea70c50939d22b6ffc045f.tar.xz
glibc-1cf463cd4e499488cbea70c50939d22b6ffc045f.zip
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/dl-trampoline.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 7691662867..6185ba4876 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -20,6 +20,10 @@
 #include <sysdep.h>
 #include <link-defines.h>
 
+#if (RTLD_SAVESPACE_SSE % 32) != 0
+# error RTLD_SAVESPACE_SSE must be aligned to 32 bytes
+#endif
+
 	.text
 	.globl _dl_runtime_resolve
 	.type _dl_runtime_resolve, @function