objtool: Constify most of the instruction decoding loop
Status from this message: The following commit has been merged into the objtool/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | objtool: Constify 'struct elf *' parameterstools/ tools/ | +15 | 0 replies | |
| 2/3 | objtool: Rename elf_read() to elf_open_read()tools/ tools/ tools/ | +3 | 4 replies | |
| 3/3 | objtool: Constify arch_decode_instruction()tools/ tools/ | +4 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josh Poimboeuf |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] objtool: Constify most of the instruction decoding loop
Constify some of the decoding primitives, to ascertain and enforce that arch_decode_instructions() is a read-only consumer of the various ELF data structures. (Which it is.)
This is in preparation to parallelize the most expensive parts of objtool, but makes sense independently as well.
These bits can also be found at:
git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/objtool
(Subject to rebasing.)
Thanks,
Ingo
====
Ingo Molnar (3):
objtool: Constify 'struct elf *' parameters
objtool: Rename elf_read() to elf_open_read()
objtool: Constify arch_decode_instruction()
tools/objtool/arch.h | 2 +- tools/objtool/arch/x86/decode.c | 6 +++--- tools/objtool/check.c | 2 +- tools/objtool/elf.c | 12 ++++++------ tools/objtool/elf.h | 22 +++++++++++----------- 5 files changed, 22 insertions(+), 22 deletions(-)
Signature · 1 line
2.20.1