LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/2] objtool: altinstructions fix and cleanup
@ 2021-08-20 19:44 Joe Lawrence
  2021-08-20 19:44 ` [PATCH v2 1/2] objtool: make .altinstructions section entry size consistent Joe Lawrence
  2021-08-20 19:44 ` [PATCH v2 2/2] objtool: remove redundant len value from struct section Joe Lawrence
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Lawrence @ 2021-08-20 19:44 UTC (permalink / raw)
  To: x86, Josh Poimboeuf, Peter Zijlstra; +Cc: linux-kernel, Miroslav Benes

Hi Josh,

Here's an updated patchset with suggestions from the initial post.

For the second patch, I assumed that the two values were intended to be
synonymous, so it was effectively a big s/sec->len/sec->sh_size.

v2:
- drop the sec->len update from the first patch [josh]
- rip out sec->len as suggested [josh]

Joe Lawrence (2):
  objtool: make .altinstructions section entry size consistent
  objtool: remove redundant len value from struct section

 tools/objtool/arch/x86/decode.c      |  4 ++--
 tools/objtool/check.c                | 19 ++++++++++---------
 tools/objtool/elf.c                  | 15 +++++++--------
 tools/objtool/include/objtool/arch.h |  2 +-
 tools/objtool/include/objtool/elf.h  |  1 -
 tools/objtool/orc_gen.c              |  2 +-
 tools/objtool/special.c              |  4 ++--
 7 files changed, 23 insertions(+), 24 deletions(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-22  1:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 19:44 [PATCH v2 0/2] objtool: altinstructions fix and cleanup Joe Lawrence
2021-08-20 19:44 ` [PATCH v2 1/2] objtool: make .altinstructions section entry size consistent Joe Lawrence
2021-08-20 19:44 ` [PATCH v2 2/2] objtool: remove redundant len value from struct section Joe Lawrence
2021-08-22  1:17   ` Joe Lawrence

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).