Commit a20717ac authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Josh Poimboeuf

objtool: Optimize layout of struct special_alt

Reduce the size of struct special_alt from 72 to 64 bytes.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20221216-objtool-memory-v2-7-17968f85a464@weissschuh.netSigned-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
parent 21a899f9
......@@ -19,6 +19,7 @@ struct special_alt {
bool skip_orig;
bool skip_alt;
bool jump_or_nop;
u8 key_addend;
struct section *orig_sec;
unsigned long orig_off;
......@@ -27,7 +28,6 @@ struct special_alt {
unsigned long new_off;
unsigned int orig_len, new_len; /* group only */
u8 key_addend;
};
int special_get_alts(struct elf *elf, struct list_head *alts);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment