diff options
| author | KaiWeng <kaiweng@andestech.com> | 2024-08-23 21:06:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 14:06:12 +0100 |
| commit | 4d348f72d3ac4289821f944a99cdb4b6af21aa7b (patch) | |
| tree | 8646feb2c6c33eefa97bc6ba3c91bfbe3d5c4ce4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 5def27c72c1f3e5be6770218fa45a615c411d5b1 (diff) | |
[RISCV] Let -data-sections also work on sbss/sdata sections (#87040)
Add an unique suffix to .sbss/.sdata if -fdata-sections.
Without assigning an unique .sbss/.sdata section to each symbols, a
linker may not be able to remove unused part when gc-section since all
used and unused symbols are all mixed in the same .sbss/.sdata section.
I believe this also matches the behavior of gcc.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
