summaryrefslogtreecommitdiff
path: root/sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2021-04-18 12:31:26 +0000
committerbouyer <bouyer@pkgsrc.org>2021-04-18 12:31:26 +0000
commit69f6f8d05c422fbef8b6f1a658a58c03430dafa4 (patch)
tree1520cfc0aa31bb4f664b0159f691f28df73fbb70 /sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk
parentb45c59764336af679377ade400f015a07d857e25 (diff)
downloadpkgsrc-69f6f8d05c422fbef8b6f1a658a58c03430dafa4.tar.gz
Add xenkernel415 and xentools415 version 4.15.0
Xen is a hypervisor which supports running multiple guest operating systems on a single machine. Guest OSes (also called "domains") can be either paravirtualised (i.e. make hypercalls in order to access hardware), run in HVM (Hardware Virtualisation Mode) where they will be presented with virtual devices, or a combination where they use hypercalls to access hardware but manage memory themselves. At boot, the xen kernel is loaded along with the guest kernel for the first domain (called domain0). domain0 has privileges to access the physical hardware (PCI and ISA devices), administrate other domains and provide virtual devices (disks and network) to other domains.
Diffstat (limited to 'sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk')
-rw-r--r--sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk b/sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk
new file mode 100644
index 00000000000..87d46eb5bc3
--- /dev/null
+++ b/sysutils/xenkernel415/patches/patch-xen_arch_x86_boot_build32.mk
@@ -0,0 +1,15 @@
+$NetBSD: patch-xen_arch_x86_boot_build32.mk,v 1.1 2021/04/18 12:31:26 bouyer Exp $
+linux's toolchain doesn't generate a .eh_frame section but NetBSD does.
+remove it.
+
+--- xen/arch/x86/boot/build32.mk.orig 2018-04-17 19:21:31.000000000 +0200
++++ xen/arch/x86/boot/build32.mk 2018-04-23 13:29:47.000000000 +0200
+@@ -25,7 +25,7 @@
+ exit $$(expr $$idx + 1);; \
+ esac; \
+ done
+- $(OBJCOPY) -O binary -R .got.plt $< $@
++ $(OBJCOPY) -O binary -R .got.plt -R .eh_frame $< $@
+
+ %.lnk: %.o
+ $(LD) $(LDFLAGS_DIRECT) -N -T build32.lds -o $@ $<