summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/process/main.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-07-15 11:31:11 -0700
committerFangrui Song <i@maskray.me>2021-07-15 11:31:11 -0700
commitf8cb78e99aae9aa3f89f7bfe667db2c5b767f21f (patch)
tree1aaa7f073cffe7fdebdfc9b0d7ad18ebf66760b4 /lldb/test/API/python_api/process/main.cpp
parent80f9fd4ce32b59d055543aef75d651f9ffcda182 (diff)
[ELF] Don't define __rela_iplt_start for -pie/-shared
`clang -fuse-ld=lld -static-pie -fpie` produced executable currently crashes and this patch makes it work. See https://sourceware.org/bugzilla/show_bug.cgi?id=27164 and https://sourceware.org/pipermail/libc-alpha/2021-July/128810.html While it seems unreasonable to keep csu/libc-start.c ARCH_APPLY_IREL unclear in static-pie mode and have an unneeded diff -u =(ld.bfd --verbose) =(ld.bfd -pie --verbose) difference, glibc folks don't want to fix their code. I feel sad about that but this patch can remove an iffy condition for lld/ELF as well: `needsInterpSection()`.
Diffstat (limited to 'lldb/test/API/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions