diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2014-12-10 05:38:46 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2014-12-10 05:38:46 +0000 |
commit | 04da06ccee2b15b131efd26d69401112d21e5d48 (patch) | |
tree | 367a87ea5e9026c55684b44e2012ac746fbc3a42 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f3079d276268af8319e2a43b2d59af3763058584 (diff) | |
download | llvm-04da06ccee2b15b131efd26d69401112d21e5d48.zip llvm-04da06ccee2b15b131efd26d69401112d21e5d48.tar.gz llvm-04da06ccee2b15b131efd26d69401112d21e5d48.tar.bz2 |
[ELF] Make -init/-fini options compatible with the gnu linker
The LLD linker searches initializer and finalizer function names
and emits DT_INIT/DT_FINI dynamic table tags to point to these symbols.
The -init/-fini command line options override initializer ("_init") and
finalizer ("_fini") function names used by default.
Now the -init/-fini options do not affect .init_array/.fini_array
sections. The corresponding code has been removed.
Differential Revision: http://reviews.llvm.org/D6578
llvm-svn: 223917
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions