diff options
author | Rui Ueyama <ruiu@google.com> | 2016-08-22 04:55:20 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-08-22 04:55:20 +0000 |
commit | 464daadc3de8be1801e3aace6366c7255f08e531 (patch) | |
tree | 95036b4cba9df10ccb76eb3da8c8b16a16a8a88b /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 0672a27bb5d30f7349cd6370baac91c47e0a045f (diff) | |
download | llvm-464daadc3de8be1801e3aace6366c7255f08e531.zip llvm-464daadc3de8be1801e3aace6366c7255f08e531.tar.gz llvm-464daadc3de8be1801e3aace6366c7255f08e531.tar.bz2 |
Do not add .interp, .dynamic nor .eh_frame_hdr to segments just by type.
Summary:
We previously added these output sections to segments just by type.
Therefore, if there's a PHDRS command like this
PHDRS {
headers PT_PHDR PHDRS;
interp PT_INTERP;
}
SECTIONS {
. = SIZEOF_HEADERS;
.interp : { *(.interp) } :text
}
then .interp was added to "interp" segment even though the linker
is not instructed to do so by SECTIONS command. This patch removes
the default behavior to simplify.
Differential Revision: https://reviews.llvm.org/D23702
llvm-svn: 279414
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions