aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2015-07-03 11:25:37 +0000
committerSimon Atanasyan <simon@atanasyan.com>2015-07-03 11:25:37 +0000
commita87c17a2019986614fea015288f4cea4b7b173aa (patch)
treef4122facaffec7681d988f7d74988c40b3cd6040 /llvm/lib/Object/MachOObjectFile.cpp
parentcec93c355a7b2f1a6be436f233b043bd2632d4bd (diff)
downloadllvm-a87c17a2019986614fea015288f4cea4b7b173aa.zip
llvm-a87c17a2019986614fea015288f4cea4b7b173aa.tar.gz
llvm-a87c17a2019986614fea015288f4cea4b7b173aa.tar.bz2
[ELF] Define __start_XXX/__stop_XXX symbols where XXX is a section name
This is GNU ELF linker extension used particularly by LibC code. If input object files contain section named XXX, and the XXX is a valid C identifier, and there are undefined or weak symbols __start_XXX/__stop_XXX, linker should define __start_XXX/__stop_XXX symbols point to the begin/end of the XXX section correspondingly. For example, without support of this extension statically linked executables for X86_64 and Mips (maybe other) targets do not flush IO buffers at the end of executing. llvm-svn: 241341
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions