about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-11-21 15:22:37 -0800
committerH.J. Lu <hjl.tools@gmail.com>2011-11-23 09:19:28 -0800
commita7d5aee7e30d3e887719197c828c19f740284a22 (patch)
treeb6cae8274ca776cfacae411e2a915ee0626d7673
parent23a127519a4f5a7453682412393b09655ae5a4df (diff)
downloadglibc-a7d5aee7e30d3e887719197c828c19f740284a22.tar.gz
glibc-a7d5aee7e30d3e887719197c828c19f740284a22.tar.xz
glibc-a7d5aee7e30d3e887719197c828c19f740284a22.zip
Check if RTLD_SAVESPACE_SSE is 32byte aligned.
-rw-r--r--ChangeLog.x325
-rw-r--r--sysdeps/x86_64/dl-trampoline.S4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.x32 b/ChangeLog.x32
index e76f2c6ef8..5d0916cc86 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,5 +1,10 @@
 2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
+	is 32byte aligned.
+
+2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
 	<bits/wordsize.h>.
 	(__signbitf): Check __x86_64__ instead of __WORDSIZE.
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 5564a11af2..774ebacfb2 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -21,6 +21,10 @@
 #include <sysdep.h>
 #include <link-defines.h>
 
+#if (RTLD_SAVESPACE_SSE % 32) != 0
+# error "RTLD_SAVESPACE_SSE must be 32byte aligned"
+#endif
+
 	.text
 	.globl _dl_runtime_resolve
 	.type _dl_runtime_resolve, @function