diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-06-27 14:42:20 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-06-27 14:42:20 +0000 |
commit | ef3eb066a9b91c9b9bfac6834b3ace799c7e9ec8 (patch) | |
tree | 90d9412a4583b8e048ba5ae09d1c56ca3dca8883 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp | |
parent | 1e058160dd4e2d4dc17b02b79e8e30daad581b78 (diff) | |
download | bcm5719-llvm-ef3eb066a9b91c9b9bfac6834b3ace799c7e9ec8.tar.gz bcm5719-llvm-ef3eb066a9b91c9b9bfac6834b3ace799c7e9ec8.zip |
[ARM] Fix Thumb text sections' flags under COFF/Windows
The main issue here is that the "thumb" flag wasn't set for some of these
sections, making MSVC's link.exe fails to correctly relocate code
against the symbols inside these sections. link.exe could fail for
instance with the "fixup is not aligned for target 'XX'" error. If
linking doesn't fail, the relocation process goes wrong in the end and
invalid code is generated by the linker.
This patch adds Thumb/ARM information so that the right flags are set
on COFF/Windows.
Patch by Adrien Guinet.
llvm-svn: 273880
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions