DescriptionExpose LLC's -force-align-stack flag to pnacl-translate
x86-32 glibc's ld.so is built to maintain 4-byte stack alignment,
instead of 16 bytes that we use everywhere else. This means the IRT
must be built to tolerate 4-byte alignment when it is called. To build
the IRT with pnacl-clang, we can use LLC's -force-align-stack flag which
causes the stack to be realigned on function entry (it has always
maintained 16 byte stack alignment calling out, but has assumed
that the stack was aligned on entry).
R=mseaborn@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3910
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13672
Patch Set 1 #Patch Set 2 : add test #
Total comments: 25
Patch Set 3 : review #
Messages
Total messages: 9 (0 generated)
|