aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-09-15 17:16:28 +0000
committerIngo Molnar <[email protected]>2023-09-17 19:48:42 +0200
commitaeb92067f6ae994b541d7f9752fe54ed3d108bcc (patch)
tree9686e3eb1e5406df36e43aa5b6b5776978681976 /net/switchdev/switchdev.c
parent093ab258e3fb1d1d3afdfd4a69403d44ce90e360 (diff)
x86/boot: Derive file size from _edata symbol
Tweak the linker script so that the value of _edata represents the decompressor binary's file size rounded up to the appropriate alignment. This removes the need to calculate it in the build tool, and will make it easier to refer to the file size from the header directly in subsequent changes to the PE header layout. While adding _edata to the sed regex that parses the compressed vmlinux's symbol list, tweak the regex a bit for conciseness. This change has no impact on the resulting bzImage binary when configured with CONFIG_EFI_STUB=y. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions