[memtest86+] - Reduce max-page-size on x86_64 to fit into loader limits (#620846)

Jaroslav Škarvada jskarvad at fedoraproject.org
Tue Jan 11 15:53:30 UTC 2011


commit e07dfbb87b60778badd94d23a70beb6f781db403
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Tue Jan 11 16:53:18 2011 +0100

    - Reduce max-page-size on x86_64 to fit into loader limits (#620846)

 memtest86+.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/memtest86+.spec b/memtest86+.spec
index 565b147..91e650f 100644
--- a/memtest86+.spec
+++ b/memtest86+.spec
@@ -7,7 +7,7 @@
 
 Name:     memtest86+
 Version:  4.10
-Release:  2%{?dist}
+Release:  3%{?dist}
 License:  GPLv2
 Summary:  Stand-alone memory tester for x86 and x86-64 computers
 Group:    System Environment/Base
@@ -40,6 +40,9 @@ to add the %{name} entry to your GRUB boot menu.
 %prep
 %setup -q 
 sed -i -e's,0x5000,0x100000,' memtest.lds
+%ifarch x86_64
+sed -i -e's,$(LD) -s -T memtest.lds,$(LD) -s -T memtest.lds -z max-page-size=0x1000,' Makefile
+%endif
 %patch0 -p1 -b .fix_asciimap
 
 %build
@@ -85,6 +88,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jan 11 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 4.10-3
+- Reduce max-page-size on x86_64 to fit into loader limits (#620846)
+
 * Tue May 25 2010 Anton Arapov <anton at redhat.com> - 4.10-2
 - Fix memory region to load. (#578966)
 


More information about the scm-commits mailing list