From 6cd49df637d2f477e7937e610d893c1acc0e5413 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Fri, 22 Jan 2021 16:11:43 -0600 Subject: [PATCH] system/efi: ensure we include all rela and rel sections Change-Id: I44d8ee7a4c0a6b0cd5ed0fbc2201a1d63fd8dde6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3662 Reviewed-by: Fredrik Holmqvist Reviewed-by: Alex von Gluck IV --- src/system/boot/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/boot/Jamfile b/src/system/boot/Jamfile index f1d3e8d582..47826a0f39 100644 --- a/src/system/boot/Jamfile +++ b/src/system/boot/Jamfile @@ -128,12 +128,12 @@ actions BuildEFILoader if [ "$(OUTPUT_TARGET)" = "binary" ]; then # no bfd support, fake efi Pe header $(TARGET_OBJCOPY_$(TARGET_PACKAGING_ARCH)) -j .text -j .sdata -j .data \ - -j .dynamic -j .dynsym -j .rel -j .rela -j .reloc -j .dynstr \ + -j .dynamic -j .dynsym -j .rel* -j .rela* -j .reloc -j .dynstr \ --output-target=$(OUTPUT_TARGET) $(2) $(1) else # bfd supports pe + efi for arch $(TARGET_OBJCOPY_$(TARGET_PACKAGING_ARCH)) -j .text -j .sdata -j .data \ - -j .dynamic -j .dynsym -j .rel -j .rela -j .reloc -j .dynstr \ + -j .dynamic -j .dynsym -j .rel* -j .rela* -j .reloc -j .dynstr \ --output-target=$(OUTPUT_TARGET) \ --subsystem=efi-app $(2) $(1) fi