Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: elf/dl-runtime.c

Issue 7828050: Fix alignment for SSE register saving (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: elf/dl-runtime.c
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index 53bc72daab013f72c16a290136be29579c2e36c2..52db8399a8e3d92cd0bf291c7bdf1a6caeb184fe 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -103,7 +103,7 @@ _dl_fixup (
they are also used for passing floating-point arguments, so
the need to survive past the PLT fixup work. */
typedef float La_x86_64_xmm __attribute__ ((__vector_size__ (16)));
- La_x86_64_xmm save_xmm[8];
+ La_x86_64_xmm save_xmm[8] __attribute__ ((__aligned__ (16)));
# define SAVE_XMM(n) \
asm volatile ("movdqa %%xmm" #n ", %0" : "=m" (save_xmm[n]))
# define RESTORE_XMM(n) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698