From: H.J. Lu Date: Fri, 11 May 2012 18:50:11 +0000 (-0700) Subject: Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes X-Git-Tag: upstream/2.20~4012 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cf463cd4e499488cbea70c50939d22b6ffc045f;p=platform%2Fupstream%2Flinaro-glibc.git Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes --- diff --git a/ChangeLog b/ChangeLog index 8c88f81..dcc28d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-10 H.J. Lu + + * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE + is 32-byte aligned. + 2012-05-11 Andreas Schwab [BZ #11837] diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S index 7691662..6185ba4 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