commit | bf86a304d1fee6d332c479bdb98cec1e44001f62 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Aug 29 17:24:10 2018 +0000 |
committer | Martin Storsjo <martin@martin.st> | Wed Aug 29 17:24:10 2018 +0000 |
tree | 406851928853b73cc6dcdac5b0162eade1235a74 | |
parent | 68cffd1fd7c6a7992f88496844793bae8ce5f370 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@340940 91177308-0d34-0410-b5e6-96231b3b80d8
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.