OBS User unknown 2008-11-06 21:14:38 +00:00 committed by Git OBS Bridge
parent 973e01c990
commit 7b646ac344
3 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 6 14:59:22 CET 2008 - olh@suse.de
- fix libhugetlbfs 32bit test case xB.linkhuge failure (bnc#442209 - LTC49702)
-------------------------------------------------------------------
Tue Oct 21 14:24:22 CEST 2008 - olh@suse.de

View File

@ -0,0 +1,17 @@
---
elflink.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/elflink.c
+++ b/elflink.c
@@ -622,6 +622,10 @@ static int verify_segment_layout(struct
unsigned long prev_end = segs[i - 1].end;
unsigned long start = segs[i].start;
+ /* Don't worry about consecutive normal page segments */
+ if (!segs[i - 1].huge && !segs[i].huge)
+ continue;
+
/* Make sure alignment hasn't caused segments to overlap */
if (prev_end > start) {
WARNING("Layout problem with segments %i and %i:\n\t"

View File

@ -24,7 +24,7 @@ License: LGPL v2.1 or later
Group: Development/Libraries/Other
Summary: hugetlbfs helper library
Version: 2.0
Release: 7
Release: 8
Url: http://libhugetlbfs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define my_make_flags V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" BUILDTYPE=NATIVEONLY PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
@ -34,6 +34,7 @@ Patch1: libhugetlbfs.ia64-libdir.patch
Patch2: libhugetlbfs.s390.patch
Patch3: libhugetlbfs.tests-malloc.patch
Patch4: libhugetlbfs.linkerscript.patch
Patch5: libhugetlbfs.small_bss.patch
%description
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
@ -53,6 +54,7 @@ Authors:
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
make %{my_make_flags} libs $tests
@ -79,6 +81,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*
%changelog
* Thu Nov 06 2008 olh@suse.de
- fix libhugetlbfs 32bit test case xB.linkhuge failure (bnc#442209 - LTC49702)
* Tue Oct 21 2008 olh@suse.de
- handle older binutils versions in elf32ppclinux.xBDT (bnc#436451 - LTC49076)
* Wed Aug 27 2008 olh@suse.de