This commit is contained in:
parent
7b646ac344
commit
416a87094e
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 15:11:22 CET 2009 - olh@suse.de
|
||||
|
||||
- Update SECTIONS from linker scripts for binutils 2.19 compatibility
|
||||
(bnc#445372 - LTC50129)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 14:59:22 CET 2008 - olh@suse.de
|
||||
|
||||
|
102
libhugetlbfs.linker-sections.patch
Normal file
102
libhugetlbfs.linker-sections.patch
Normal file
@ -0,0 +1,102 @@
|
||||
Subject: [PATCH V2] Update SECTIONS from linker scripts for binutils 2.19 compatibility
|
||||
|
||||
When building the linker script tests on SLES 11, the resulting executable
|
||||
had an invalid size for the interp section. This is dues to a new section
|
||||
that was not present in the old script. This patch adds this section to
|
||||
all of the linker scripts.
|
||||
|
||||
Credit goes to Alan Modra for identifying what change needed to be made
|
||||
|
||||
Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
|
||||
|
||||
---
|
||||
ldscripts/elf32ppclinux.xB | 1 +
|
||||
ldscripts/elf32ppclinux.xBDT | 1 +
|
||||
ldscripts/elf64ppc.xB | 1 +
|
||||
ldscripts/elf64ppc.xBDT | 1 +
|
||||
ldscripts/elf_i386.xB | 1 +
|
||||
ldscripts/elf_i386.xBDT | 1 +
|
||||
ldscripts/elf_x86_64.xB | 1 +
|
||||
ldscripts/elf_x86_64.xBDT | 1 +
|
||||
8 files changed, 8 insertions(+)
|
||||
|
||||
--- a/ldscripts/elf32ppclinux.xB
|
||||
+++ b/ldscripts/elf32ppclinux.xB
|
||||
@@ -27,6 +27,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :text :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :text :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
|
||||
.hash : { *(.hash) } :text
|
||||
.dynsym : { *(.dynsym) } :text
|
||||
.dynstr : { *(.dynstr) } :text
|
||||
--- a/ldscripts/elf32ppclinux.xBDT
|
||||
+++ b/ldscripts/elf32ppclinux.xBDT
|
||||
@@ -26,6 +26,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :htext :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :htext :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
|
||||
.hash : { *(.hash) } :htext
|
||||
.dynsym : { *(.dynsym) } :htext
|
||||
.dynstr : { *(.dynstr) } :htext
|
||||
--- a/ldscripts/elf64ppc.xB
|
||||
+++ b/ldscripts/elf64ppc.xB
|
||||
@@ -26,6 +26,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :text :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :text :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
|
||||
.hash : { *(.hash) } :text
|
||||
.dynsym : { *(.dynsym) }
|
||||
.dynstr : { *(.dynstr) }
|
||||
--- a/ldscripts/elf64ppc.xBDT
|
||||
+++ b/ldscripts/elf64ppc.xBDT
|
||||
@@ -25,6 +25,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :interp :htext
|
||||
.note.SuSE : { *(.note.SuSE) } :htext :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
|
||||
.hash : { *(.hash) } :htext
|
||||
.dynsym : { *(.dynsym) } :htext
|
||||
.dynstr : { *(.dynstr) } :htext
|
||||
--- a/ldscripts/elf_i386.xB
|
||||
+++ b/ldscripts/elf_i386.xB
|
||||
@@ -29,6 +29,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :text :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :text :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
|
||||
.hash : { *(.hash) } :text
|
||||
.dynsym : { *(.dynsym) }
|
||||
.dynstr : { *(.dynstr) }
|
||||
--- a/ldscripts/elf_i386.xBDT
|
||||
+++ b/ldscripts/elf_i386.xBDT
|
||||
@@ -30,6 +30,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :htext :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :htext :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
|
||||
.hash : { *(.hash) } :htext
|
||||
.dynsym : { *(.dynsym) } :htext
|
||||
.dynstr : { *(.dynstr) } :htext
|
||||
--- a/ldscripts/elf_x86_64.xB
|
||||
+++ b/ldscripts/elf_x86_64.xB
|
||||
@@ -29,6 +29,7 @@ SECTIONS
|
||||
.interp : { *(.interp) } :text :interp
|
||||
.note.SuSE : { *(.note.SuSE) } :text :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
|
||||
.hash : { *(.hash) } :text
|
||||
.dynsym : { *(.dynsym) } :text
|
||||
.dynstr : { *(.dynstr) } :text
|
||||
--- a/ldscripts/elf_x86_64.xBDT
|
||||
+++ b/ldscripts/elf_x86_64.xBDT
|
||||
@@ -31,6 +31,7 @@ SECTIONS
|
||||
.hash : { *(.hash) } :htext
|
||||
.note.SuSE : { *(.note.SuSE) } :htext :note
|
||||
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
|
||||
.dynsym : { *(.dynsym) } :htext
|
||||
.dynstr : { *(.dynstr) } :htext
|
||||
.gnu.version : { *(.gnu.version) } :htext
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libhugetlbfs (Version 2.0)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,8 +23,13 @@ BuildRequires: doxygen
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/Other
|
||||
Summary: hugetlbfs helper library
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libhugetlbfs-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 2.0
|
||||
Release: 8
|
||||
Release: 9
|
||||
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
|
||||
@ -35,6 +40,7 @@ Patch2: libhugetlbfs.s390.patch
|
||||
Patch3: libhugetlbfs.tests-malloc.patch
|
||||
Patch4: libhugetlbfs.linkerscript.patch
|
||||
Patch5: libhugetlbfs.small_bss.patch
|
||||
Patch6: libhugetlbfs.linker-sections.patch
|
||||
|
||||
%description
|
||||
libhugetlbfs interacts with the Linux hugetlbfs to make large pages
|
||||
@ -55,6 +61,7 @@ Authors:
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
||||
%build
|
||||
make %{my_make_flags} libs $tests
|
||||
@ -81,6 +88,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/lib*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 07 2009 olh@suse.de
|
||||
- Update SECTIONS from linker scripts for binutils 2.19 compatibility
|
||||
(bnc#445372 - LTC50129)
|
||||
* Wed Jan 07 2009 olh@suse.de
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user