From 1cf463cd4e499488cbea70c50939d22b6ffc045f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 11 May 2012 11:50:11 -0700 Subject: Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes --- sysdeps/x86_64/dl-trampoline.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps') 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 #include +#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 -- cgit 1.4.1