diff options
| author | Fangrui Song <i@maskray.me> | 2020-12-20 18:37:14 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2020-12-20 18:37:14 -0800 |
| commit | 72e75ca343c6ff927a2242efee3f4640943eedd6 (patch) | |
| tree | 227a0c62a19162149a86062d91de7311bdd19c27 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9e4b682baf2c1eab8f47b8eaa8ffea2d846a68b2 (diff) | |
[MC][ELF] Allow STT_SECTION referencing SHF_MERGE on REL targets
This relands D64327 with a more specific workaround for R_386_GOTOFF
(gold<2.34 bug https://sourceware.org/bugzilla/show_bug.cgi?id=16794)
.debug_info has quite a few .debug_str relocations (R_386_32/R_ARM_ABS32).
The original workaround was too general and introduced too many .L symbols
used just as relocation targets.
From the original review:
... it reduced the size of a big ARM-32 debug image by 33%. It contained ~68M
of relocations symbols out of total ~71M symbols (96% of symbols table was
generated for relocations with symbol).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
