Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
grub2
grub2-ppc64-build-ppc64-32bit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub2-ppc64-build-ppc64-32bit.patch of Package grub2
Index: grub-2.02~beta2/util/mkimage.c =================================================================== --- grub-2.02~beta2.orig/util/mkimage.c +++ grub-2.02~beta2/util/mkimage.c @@ -354,13 +354,10 @@ static const struct grub_install_image_t { .dirname = "powerpc-ieee1275", .names = { "powerpc-ieee1275", NULL }, - -#ifdef __powerpc64__ +#ifdef __powerpc64le__ .voidp_sizeof = 8, - .elf_target = EM_PPC64, #else .voidp_sizeof = 4, - .elf_target = EM_PPC, #endif #ifdef __powerpc64le__ @@ -368,7 +365,6 @@ static const struct grub_install_image_t #else .bigendian = 1, #endif - .id = IMAGE_PPC, .flags = PLATFORM_FLAGS_NONE, .total_module_size = TARGET_NO_FIELD, @@ -378,6 +374,11 @@ static const struct grub_install_image_t .section_align = 1, .vaddr_offset = 0, .link_addr = GRUB_KERNEL_POWERPC_IEEE1275_LINK_ADDR, +#ifdef __powerpc64le__ + .elf_target = EM_PPC64, +#else + .elf_target = EM_PPC, +#endif .mod_gap = GRUB_KERNEL_POWERPC_IEEE1275_MOD_GAP, .mod_align = GRUB_KERNEL_POWERPC_IEEE1275_MOD_ALIGN, .link_align = 4
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