[all-commits] [llvm/llvm-project] 4070df: [llvm-objcopy] Add --gap-fill and --pad-to options...
quic-akaryaki via All-commits
all-commits at lists.llvm.org
Thu Dec 14 14:28:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4070dffd34e99915b005c655086d92e42c004d25
https://github.com/llvm/llvm-project/commit/4070dffd34e99915b005c655086d92e42c004d25
Author: quic-akaryaki <123192073+quic-akaryaki at users.noreply.github.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
A llvm/test/tools/llvm-objcopy/ELF/gap-fill.test
A llvm/test/tools/llvm-objcopy/ELF/pad-to.test
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
M llvm/tools/llvm-objcopy/ObjcopyOpts.td
Log Message:
-----------
[llvm-objcopy] Add --gap-fill and --pad-to options (#65815)
`--gap-fill <value>` fills the gaps between sections with a specified
8-bit value, instead of zero.
`--pad-to <address>` pads the output binary up to the specified load
address, using the 8-bit value from `--gap-fill` or zero.
These options are only supported for ELF input and binary output.
More information about the All-commits
mailing list