summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-01-16 12:00:24 -0800
committerFangrui Song <maskray@google.com>2020-01-16 13:25:51 -0800
commitfac11406197ed993f1965ed1edc0369a12a2f8e2 (patch)
tree9f5b0d2d0924979e838682ac0329d83bc675e50d /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
parentac446302ca4145cdc89f377c0c364c29ee303be5 (diff)
downloadbcm5719-llvm-fac11406197ed993f1965ed1edc0369a12a2f8e2.tar.gz
bcm5719-llvm-fac11406197ed993f1965ed1edc0369a12a2f8e2.zip
[ELF] -r: don't create .interp
`{clang,gcc} -nostdlib -r a.c` passes --dynamic-linker to the linker, and the expected behavior is to ignore it. If .interp is kept in the relocatable object file, a final link will get PT_INTERP even if --dynamic-linker is not specified. glibc ld.so expects to see PT_DYNAMIC and the executable will likely fail to run. Ignore --dynamic-linker in -r mode as well as -shared. (cherry picked from commit 2d7a8cf90478cd845ffb39763b0e95b7715322d2)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud