Android O MR1 IOT Release Smart Display r39 (OIMJ.201212.001)
Align __CTOR_LIST__ to 4 bytes for windows x86
Bug: http://b/117439724
Without specifying alignment, if __CTOR_LIST__ is not aligned to 4
bytes, we end up with garbage after the -1. This causes access
violations in __do_global_ctors.
The 64-bit version aligns it to 8 bytes (ld/scrpittempl/pep.sc).
Test: With this fix, AOSP Windows tools built with Clang + MinGW +
libc++ no longer crash.
Change-Id: I76be11a265cdcf272d740fa8715024f1f6df3e1b
1 file changed