mirror of
				https://git.proxmox.com/git/grub2
				synced 2025-10-31 10:26:53 +00:00 
			
		
		
		
	|  80948f532d This fixes cross-compiling to x86 (e.g., the Hurd) from x86-linux of
    grub-core/lib/i386/relocator64.S
This file has six sections that only build with a 64-bit assembler,
yet only the first two sections had support for a 32-bit assembler.
This patch completes this for the remaining sections.
To reproduce, update the GRUB source description in your local Guix
archive and run
   ./pre-inst-env guix build --system=i686-linux --target=i586-pc-gnu grub
or install an x86 cross-build environment on x86-linux (32-bit!) and
configure to cross build and make, e.g., do something like
    ./configure \
       CC_FOR_BUILD=gcc \
       --build=i686-unknown-linux-gnu \
       --host=i586-pc-gnu
    make
Additionally, remove a line with redundant spaces.
Signed-off-by: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> | ||
|---|---|---|
| .. | ||
| pc | ||
| xen | ||
| backtrace.c | ||
| halt.c | ||
| random.c | ||
| reboot_trampoline.S | ||
| reboot.c | ||
| relocator16.S | ||
| relocator32.S | ||
| relocator64.S | ||
| relocator_asm.S | ||
| relocator_common_c.c | ||
| relocator_common.S | ||
| relocator.c | ||
| setjmp.S | ||