diff options
author | Martin Storsjo <martin@martin.st> | 2018-08-29 17:24:10 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-08-29 17:24:10 +0000 |
commit | cfbbb707f539feed15bc35ecd44a095688d5b27a (patch) | |
tree | 258c1b1f76d9e432f52872e66618dbeafeba3539 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | 2bcb1eeee15f867439d937d7c68a297544765cd4 (diff) | |
download | bcm5719-llvm-cfbbb707f539feed15bc35ecd44a095688d5b27a.tar.gz bcm5719-llvm-cfbbb707f539feed15bc35ecd44a095688d5b27a.zip |
[COFF] Merge the .ctors, .dtors and .CRT sections into .rdata for MinGW
There's no point in keeping them as separate sections.
This differs from GNU ld, which places .ctors and .dtors content in
.text (implemented by a built-in linker script). But since the content
only is pointers, there's no need to have it executable.
GNU ld also leaves .CRT separate as its own standalone section.
MSVC merges .CRT into .rdata similarly, with a directive embedded in
an object file in msvcrt.lib or libcmt.lib.
Differential Revision: https://reviews.llvm.org/D51414
llvm-svn: 340940
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions