summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/zboot.lds
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2022-10-31 09:37:21 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-10-31 09:37:21 +0300
commitf98b4d13717a58b15c00880d2ccd24972316b430 (patch)
treec3b50090ee3ef4b15b7874ae237d76710108674c /drivers/firmware/efi/libstub/zboot.lds
parent65722736c3baf29e02e964a09e85c9ef71c48e8d (diff)
parent247f34f7b80357943234f93f247a1ae6b6c3a740 (diff)
downloadlinux-f98b4d13717a58b15c00880d2ccd24972316b430.tar.xz
Merge tag 'v6.1-rc2' into fixes
Merge rc2 into our fixes branch, which was based on rc1 but wasn't merged until rc3, so that for the remainder of the release our fixes branch will be based on rc2 for the purposes of resolving conflicts with other trees (if necessary).
Diffstat (limited to 'drivers/firmware/efi/libstub/zboot.lds')
-rw-r--r--drivers/firmware/efi/libstub/zboot.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/zboot.lds b/drivers/firmware/efi/libstub/zboot.lds
index 87a62765bafd..93d33f68333b 100644
--- a/drivers/firmware/efi/libstub/zboot.lds
+++ b/drivers/firmware/efi/libstub/zboot.lds
@@ -38,7 +38,8 @@ SECTIONS
}
}
-PROVIDE(__efistub__gzdata_size = ABSOLUTE(. - __efistub__gzdata_start));
+PROVIDE(__efistub__gzdata_size =
+ ABSOLUTE(__efistub__gzdata_end - __efistub__gzdata_start));
PROVIDE(__data_rawsize = ABSOLUTE(_edata - _etext));
PROVIDE(__data_size = ABSOLUTE(_end - _etext));