Android NDK r19b (build 5304403)
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
tree: e9e5e445d2e08c1c1881792da08581b41e3c285f
  1. binutils-2.27/
  2. build.py
  3. OWNERS
  4. pylintrc