[all-commits] [llvm/llvm-project] 5d972c: [ELF] Add -z nosectionheader
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jul 31 12:57:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d972c582a076768885e6d33df8f5d3860594e43
https://github.com/llvm/llvm-project/commit/5d972c582a076768885e6d33df8f5d3860594e43
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Writer.cpp
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/CMakeLists.txt
A lld/test/ELF/zsectionheader.s
Log Message:
-----------
[ELF] Add -z nosectionheader
GNU ld since 2.41 supports this option, which is mildly useful. It omits
the section header table and non-ALLOC sections (including
.symtab/.strtab (--strip-all)).
This option is simple to implement and might be used by LLDB to test
program headers parsing without the section header table (#100900).
-z sectionheader, which is the default, is also added.
Pull Request: https://github.com/llvm/llvm-project/pull/101286
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list