Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
grub2.16002
0007-grub-module-verifier-add-arch-ppc64le.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-grub-module-verifier-add-arch-ppc64le.patch of Package grub2.16002
Index: grub-2.02~beta2/util/grub-module-verifier.c =================================================================== --- grub-2.02~beta2.orig/util/grub-module-verifier.c +++ grub-2.02~beta2/util/grub-module-verifier.c @@ -22,6 +22,19 @@ struct grub_module_verifier_arch archs[] -1 } }, +#ifdef __powerpc64le__ + { "powerpc", 8, 0, EM_PPC64, GRUB_MODULE_VERIFY_SUPPORTS_RELA, (int[]){ + GRUB_ELF_R_PPC_REL24, /* It has limited range but GRUB adds trampolines when necessarry. */ + GRUB_ELF_R_PPC64_ADDR64, + GRUB_ELF_R_PPC64_TOC, + GRUB_ELF_R_PPC64_TOC16_HA, + GRUB_ELF_R_PPC64_TOC16_LO, + GRUB_ELF_R_PPC64_TOC16_LO_DS, + GRUB_ELF_R_PPC64_REL16_HA, + GRUB_ELF_R_PPC64_REL16_LO, + -1 + } }, +#else { "powerpc", 4, 1, EM_PPC, GRUB_MODULE_VERIFY_SUPPORTS_RELA, (int[]){ GRUB_ELF_R_PPC_ADDR16_LO, GRUB_ELF_R_PPC_REL24, /* It has limited range but GRUB adds trampolines when necessarry. */ @@ -30,6 +43,7 @@ struct grub_module_verifier_arch archs[] GRUB_ELF_R_PPC_REL32, -1 } }, +#endif { "sparc64", 8, 1, EM_SPARCV9, GRUB_MODULE_VERIFY_SUPPORTS_RELA, (int[]){ R_SPARC_WDISP30, /* It has limited range but GRUB adds trampolines when necessarry. */ R_SPARC_HH22,
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