diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-06-08 03:57:49 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-06-08 03:57:49 +0000 |
commit | 70a0206e4b1a5210c8391ef171a42caaeee3fd47 (patch) | |
tree | f822795be23efa8f7a98e85cc007ca7a3d7be549 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 491c33e9557a0957749f89c2bd6f4c8215cfeec8 (diff) | |
download | llvm-70a0206e4b1a5210c8391ef171a42caaeee3fd47.zip llvm-70a0206e4b1a5210c8391ef171a42caaeee3fd47.tar.gz llvm-70a0206e4b1a5210c8391ef171a42caaeee3fd47.tar.bz2 |
MC: fix text section characteristics for WoA
link.exe requires that the text section has the IMAGE_SCN_MEM_16BIT flag set.
Otherwise, it will treat the function as ARM. If this occurs, then jumps to the
function will fail, switching from thumb to ARM mode execution.
With this change, it is possible to link using the MSVC linker as well.
llvm-svn: 210415
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions