aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-02-05 19:53:06 -0800
committerFangrui Song <i@maskray.me>2021-02-05 19:53:06 -0800
commit853a2649160c1c80b9bbd38a20b53ca8fab704e8 (patch)
tree9f96830aa954be63b21479c2cb4d6ead668b7f18 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent801d9cc7b94947836ed59a506188fe9659e133dc (diff)
downloadllvm-853a2649160c1c80b9bbd38a20b53ca8fab704e8.zip
llvm-853a2649160c1c80b9bbd38a20b53ca8fab704e8.tar.gz
llvm-853a2649160c1c80b9bbd38a20b53ca8fab704e8.tar.bz2
[AsmPrinter] __patchable_function_entries: Set SHF_LINK_ORDER for binutils 2.36 and above
This matches GCC behavior when the configure-time binutils is new. GNU ld<2.36 did not support mixed SHF_LINK_ORDER and non-SHF_LINK_ORDER sections in an output section, so we conservatively disable SHF_LINK_ORDER for <2.36.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions