diff options
| author | Fangrui Song <maskray@google.com> | 2020-02-25 18:00:13 -0800 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2020-03-23 10:30:06 -0700 |
| commit | 9e33c096476ab5e02ab1c8442cc3cb4e32e29f17 (patch) | |
| tree | 3b255aafb41e24e1b82d0197ef2597bdd5790757 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 9607a119bd5e01ccbbe45c2a5ae6bfbdd219e6c5 (diff) | |
| download | llvm-9e33c096476ab5e02ab1c8442cc3cb4e32e29f17.zip llvm-9e33c096476ab5e02ab1c8442cc3cb4e32e29f17.tar.gz llvm-9e33c096476ab5e02ab1c8442cc3cb4e32e29f17.tar.bz2 | |
[ELF] Keep orphan section names (.rodata.foo .text.foo) unchanged if !hasSectionsCommand
This behavior matches GNU ld and seems reasonable.
```
// If a SECTIONS command is not specified
.text.* -> .text
.rodata.* -> .rodata
.init_array.* -> .init_array
```
A proposed Linux feature CONFIG_FG_KASLR may depend on the GNU ld behavior.
Reword a comment about -z keep-text-section-prefix and a comment about
CommonSection (deleted by rL286234).
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D75225
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
