Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring1
gnu-efi
gnu-efi-bsc1182057-support-sbat-section.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnu-efi-bsc1182057-support-sbat-section.patch of Package gnu-efi
From fb52c3207282f1b8b5ca2f445210bbd00ac8f42a Mon Sep 17 00:00:00 2001 From: Gary Lin <glin@suse.com> Date: Fri, 12 Mar 2021 15:35:08 +0800 Subject: [PATCH 1/2] Update linker scripts to add .sbat section Signed-off-by: Gary Lin <glin@suse.com> --- gnuefi/elf_aarch64_efi.lds | 9 +++++++++ gnuefi/elf_arm_efi.lds | 9 +++++++++ gnuefi/elf_x86_64_efi.lds | 10 ++++++++++ 3 files changed, 28 insertions(+) diff --git a/gnuefi/elf_aarch64_efi.lds b/gnuefi/elf_aarch64_efi.lds index 836d982..1ddec27 100644 --- a/gnuefi/elf_aarch64_efi.lds +++ b/gnuefi/elf_aarch64_efi.lds @@ -46,6 +46,15 @@ SECTIONS . = ALIGN(512); _edata = .; _data_size = . - _data; + . = ALIGN(4096); + .sbat : + { + _sbat = .; + *(.sbat) + *(.sbat.*) + } + _esbat = .; + _sbat_size = . - _sbat; . = ALIGN(4096); .dynsym : { *(.dynsym) } diff --git a/gnuefi/elf_arm_efi.lds b/gnuefi/elf_arm_efi.lds index 665bbdb..d47a750 100644 --- a/gnuefi/elf_arm_efi.lds +++ b/gnuefi/elf_arm_efi.lds @@ -46,6 +46,15 @@ SECTIONS .rel.data : { *(.rel.data) *(.rel.data*) } _edata = .; _data_size = . - _etext; + . = ALIGN(4096); + .sbat : + { + _sbat = .; + *(.sbat) + *(.sbat.*) + } + _esbat = .; + _sbat_size = . - _sbat; . = ALIGN(4096); .dynsym : { *(.dynsym) } diff --git a/gnuefi/elf_x86_64_efi.lds b/gnuefi/elf_x86_64_efi.lds index 7be5902..fad1939 100644 --- a/gnuefi/elf_x86_64_efi.lds +++ b/gnuefi/elf_x86_64_efi.lds @@ -61,6 +61,16 @@ SECTIONS *(.rela.got) *(.rela.stab) } + . = ALIGN(4096); + .sbat : + { + _sbat = .; + *(.sbat) + *(.sbat.*) + } + _esbat = .; + _sbat_size = . - _sbat; + . = ALIGN(4096); .dynsym : { *(.dynsym) } . = ALIGN(4096); --- a/gnuefi/elf_ia32_efi.lds +++ b/gnuefi/elf_ia32_efi.lds @@ -72,6 +72,16 @@ SECTIONS *(.reloc) } . = ALIGN(4096); + .sbat : + { + _sbat = .; + *(.sbat) + *(.sbat.*) + } + _esbat = .; + _sbat_size = . - _sbat; + + . = ALIGN(4096); .dynsym : { *(.dynsym) } . = ALIGN(4096); .dynstr : { *(.dynstr) } -- 2.29.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor