summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-07-28 07:18:23 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-07-28 07:18:23 +0000
commit03fc010e10a0882468150f729881728700e0407e (patch)
tree6cd9fd0dd4bc8fa05c82026accd10cbd47032fad /llvm/unittests
parent8af38ecaa30371aa7fa049955f8fa57e55a7edac (diff)
downloadbcm5719-llvm-03fc010e10a0882468150f729881728700e0407e.tar.gz
bcm5719-llvm-03fc010e10a0882468150f729881728700e0407e.zip
[ELF] - Linkerscript: ignore SORT(CONSTRUCTORS)
Some scripts can contain SORT(CONSTRUCTORS) expression: https://svnweb.freebsd.org/base/head/sys/conf/ldscript.amd64?revision=284870&view=markup#l152 for ELF it just a nop: "When linking object file formats which do not support arbitrary sections, such as ECOFF and XCOFF, the linker will automatically recognize C++ global constructors and destructors by name. For these object file formats, the CONSTRUCTORS command tells the linker to place constructor information in the output section where the CONSTRUCTORS command appears. The CONSTRUCTORS command is ignored for other object file formats." (http://www.sourceware.org/binutils/docs-2.10/ld_3.html) So patch implements ignoring. Differential revision: https://reviews.llvm.org/D22848 llvm-svn: 276965
Diffstat (limited to 'llvm/unittests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud