Advertisement
Guest User

xen-4.6-efi-gentoo.patch

a guest
Aug 16th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.63 KB | None | 0 0
  1. diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
  2. index d502bdf..a2121b0 100644
  3. --- a/xen/arch/x86/Makefile
  4. +++ b/xen/arch/x86/Makefile
  5. @@ -112,7 +112,7 @@ $(TARGET)-syms: prelink.o xen.lds $(BASEDIR)/common/symbols-dummy.o
  6.             $(@D)/.$(@F).1.o -o $@
  7.         rm -f $(@D)/.$(@F).[0-9]*
  8.  
  9. -EFI_LDFLAGS = $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10
  10. +EFI_LDFLAGS = -mi386pep $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10
  11.  EFI_LDFLAGS += --image-base=$(1) --stack=0,0 --heap=0,0 --strip-debug
  12.  EFI_LDFLAGS += --section-alignment=0x200000 --file-alignment=0x20
  13.  EFI_LDFLAGS += --major-image-version=$(XEN_VERSION)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement