- Reduce max-page-size on x86_64 to fit into loader limits (#620846)
This commit is contained in:
parent
929a2d83bc
commit
e07dfbb87b
@ -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@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@redhat.com> - 4.10-2
|
||||
- Fix memory region to load. (#578966)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user