forked from pool/elfutils
Accepting request 143660 from Base:System
- add elfutils-aarch64.patch to support aarch64 - update to 0.155 libelf: elf*_xlatetomd now works for cross-endian ELF note data. elf_getshdr now works consistently on non-mmaped ELF files after calling elf_cntl(ELF_C_FDREAD). Implement support for ar archives with 64-bit symbol table. [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET. libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc). Any existing sources using the old name will have to be updated. Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF and DW_OP_GNU_parameter_ref to dwarf.h. Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. Disabled by default. Use configure --enable-dwz to test it. dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form. Fix bug using dwarf_next_unit to iterate over .debug_types. elflint: Now accepts gold linker produced executables. readelf: Add .debug_macro parsing support. Add .gdb_index version 7 parsing support. Recognize DW_OP_GNU_parameter_ref. backends: Add support for Tilera TILE-Gx processor. translations: Updated Ukrainian translation. The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone programs. There is now also a formal CONTRIBUTING document describing how to OBS-URL: https://build.opensuse.org/request/show/143660 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=35
This commit is contained in:
commit
fe723cb85b
@ -14,9 +14,11 @@ semantic error: libdw failure (dwarf_getsrcfiles): invalid DWARF
|
|||||||
libdw/dwarf_getsrclines.c | 2 ++
|
libdw/dwarf_getsrclines.c | 2 ++
|
||||||
1 file changed, 2 insertions(+)
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
--- a/libdw/dwarf_getsrclines.c
|
Index: elfutils-0.155/libdw/dwarf_getsrclines.c
|
||||||
+++ b/libdw/dwarf_getsrclines.c
|
===================================================================
|
||||||
@@ -337,8 +337,10 @@
|
--- elfutils-0.155.orig/libdw/dwarf_getsrclines.c
|
||||||
|
+++ elfutils-0.155/libdw/dwarf_getsrclines.c
|
||||||
|
@@ -296,8 +296,10 @@ dwarf_getsrclines (Dwarf_Die *cudie, Dwa
|
||||||
/* Consistency check. */
|
/* Consistency check. */
|
||||||
if (unlikely (linep != header_start + header_length))
|
if (unlikely (linep != header_start + header_length))
|
||||||
{
|
{
|
||||||
|
@ -2,11 +2,11 @@ From: Stephan Kulow <coolo@novell.com>
|
|||||||
|
|
||||||
Avoid crash if the header is 0
|
Avoid crash if the header is 0
|
||||||
|
|
||||||
Index: elfutils-0.148/libdw/dwarf_getcfi_elf.c
|
Index: elfutils-0.155/libdw/dwarf_getcfi_elf.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- elfutils-0.148.orig/libdw/dwarf_getcfi_elf.c 2010-01-12 17:57:54.000000000 +0100
|
--- elfutils-0.155.orig/libdw/dwarf_getcfi_elf.c
|
||||||
+++ elfutils-0.148/libdw/dwarf_getcfi_elf.c 2010-09-13 12:51:04.299807382 +0200
|
+++ elfutils-0.155/libdw/dwarf_getcfi_elf.c
|
||||||
@@ -97,7 +97,7 @@ parse_eh_frame_hdr (const uint8_t *hdr,
|
@@ -76,7 +76,7 @@ parse_eh_frame_hdr (const uint8_t *hdr,
|
||||||
{
|
{
|
||||||
const uint8_t *h = hdr;
|
const uint8_t *h = hdr;
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b6cd7d1fe81d5f874061b7d753f5b5a0546ccc5fd83af843201330479332bef0
|
|
||||||
size 2179242
|
|
3
elfutils-0.155.tar.bz2
Normal file
3
elfutils-0.155.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8
|
||||||
|
size 2477883
|
203
elfutils-aarch64.patch
Normal file
203
elfutils-aarch64.patch
Normal file
@ -0,0 +1,203 @@
|
|||||||
|
Index: elfutils-0.155/config/config.guess
|
||||||
|
===================================================================
|
||||||
|
--- elfutils-0.155.orig/config/config.guess
|
||||||
|
+++ elfutils-0.155/config/config.guess
|
||||||
|
@@ -17,9 +17,7 @@ timestamp='2012-01-01'
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
-# along with this program; if not, write to the Free Software
|
||||||
|
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
||||||
|
-# 02110-1301, USA.
|
||||||
|
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
@@ -202,6 +200,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
|
echo "${machine}-${os}${release}"
|
||||||
|
exit ;;
|
||||||
|
+ *:Bitrig:*:*)
|
||||||
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
||||||
|
+ exit ;;
|
||||||
|
*:OpenBSD:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
@@ -279,7 +281,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
||||||
|
# of the specific Alpha model?
|
||||||
|
echo alpha-pc-interix
|
||||||
|
- exit ;;
|
||||||
|
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
||||||
|
+ exitcode=$?
|
||||||
|
+ trap '' 0
|
||||||
|
+ exit $exitcode ;;
|
||||||
|
21064:Windows_NT:50:3)
|
||||||
|
echo alpha-dec-winnt3.5
|
||||||
|
exit ;;
|
||||||
|
@@ -863,6 +868,13 @@ EOF
|
||||||
|
i*86:Minix:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
|
exit ;;
|
||||||
|
+ aarch64:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ exit ;;
|
||||||
|
+ aarch64_be:Linux:*:*)
|
||||||
|
+ UNAME_MACHINE=aarch64_be
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ exit ;;
|
||||||
|
alpha:Linux:*:*)
|
||||||
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
|
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||||
|
@@ -1196,6 +1208,9 @@ EOF
|
||||||
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:Haiku:*:*)
|
||||||
|
+ echo x86_64-unknown-haiku
|
||||||
|
+ exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
@@ -1251,7 +1266,10 @@ EOF
|
||||||
|
NEO-?:NONSTOP_KERNEL:*:*)
|
||||||
|
echo neo-tandem-nsk${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- NSE-?:NONSTOP_KERNEL:*:*)
|
||||||
|
+ NEO-?:NONSTOP_KERNEL:*:*)
|
||||||
|
+ echo neo-tandem-nsk${UNAME_RELEASE}
|
||||||
|
+ exit ;;
|
||||||
|
+ NSE-*:NONSTOP_KERNEL:*:*)
|
||||||
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
NSR-?:NONSTOP_KERNEL:*:*)
|
||||||
|
@@ -1320,11 +1338,11 @@ EOF
|
||||||
|
i*86:AROS:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-aros
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:VMkernel:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-esx
|
||||||
|
+ exit ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
-
|
||||||
|
eval $set_cc_for_build
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#ifdef _SEQUENT_
|
||||||
|
Index: elfutils-0.155/config/config.sub
|
||||||
|
===================================================================
|
||||||
|
--- elfutils-0.155.orig/config/config.sub
|
||||||
|
+++ elfutils-0.155/config/config.sub
|
||||||
|
@@ -21,9 +21,7 @@ timestamp='2012-01-01'
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
-# along with this program; if not, write to the Free Software
|
||||||
|
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
||||||
|
-# 02110-1301, USA.
|
||||||
|
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
@@ -223,6 +221,12 @@ case $os in
|
||||||
|
-isc*)
|
||||||
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
;;
|
||||||
|
+ -lynx*178)
|
||||||
|
+ os=-lynxos178
|
||||||
|
+ ;;
|
||||||
|
+ -lynx*5)
|
||||||
|
+ os=-lynxos5
|
||||||
|
+ ;;
|
||||||
|
-lynx*)
|
||||||
|
os=-lynxos
|
||||||
|
;;
|
||||||
|
@@ -341,6 +345,21 @@ case $basic_machine in
|
||||||
|
basic_machine=armel-unknown
|
||||||
|
;;
|
||||||
|
|
||||||
|
+ strongarm | thumb | xscale)
|
||||||
|
+ basic_machine=arm-unknown
|
||||||
|
+ ;;
|
||||||
|
+ xgate)
|
||||||
|
+ basic_machine=$basic_machine-unknown
|
||||||
|
+ os=-none
|
||||||
|
+ ;;
|
||||||
|
+ xscaleeb)
|
||||||
|
+ basic_machine=armeb-unknown
|
||||||
|
+ ;;
|
||||||
|
+
|
||||||
|
+ xscaleel)
|
||||||
|
+ basic_machine=armel-unknown
|
||||||
|
+ ;;
|
||||||
|
+
|
||||||
|
# We use `pc' rather than `unknown'
|
||||||
|
# because (1) that's what they normally are, and
|
||||||
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
|
@@ -818,6 +837,10 @@ case $basic_machine in
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-msys
|
||||||
|
;;
|
||||||
|
+ msys)
|
||||||
|
+ basic_machine=i386-pc
|
||||||
|
+ os=-msys
|
||||||
|
+ ;;
|
||||||
|
mvs)
|
||||||
|
basic_machine=i370-ibm
|
||||||
|
os=-mvs
|
||||||
|
@@ -826,6 +849,10 @@ case $basic_machine in
|
||||||
|
basic_machine=le32-unknown
|
||||||
|
os=-nacl
|
||||||
|
;;
|
||||||
|
+ nacl)
|
||||||
|
+ basic_machine=le32-unknown
|
||||||
|
+ os=-nacl
|
||||||
|
+ ;;
|
||||||
|
ncr3000)
|
||||||
|
basic_machine=i486-ncr
|
||||||
|
os=-sysv4
|
||||||
|
@@ -896,6 +923,12 @@ case $basic_machine in
|
||||||
|
nse-tandem)
|
||||||
|
basic_machine=nse-tandem
|
||||||
|
;;
|
||||||
|
+ neo-tandem)
|
||||||
|
+ basic_machine=neo-tandem
|
||||||
|
+ ;;
|
||||||
|
+ nse-tandem)
|
||||||
|
+ basic_machine=nse-tandem
|
||||||
|
+ ;;
|
||||||
|
nsr-tandem)
|
||||||
|
basic_machine=nsr-tandem
|
||||||
|
;;
|
||||||
|
@@ -1078,6 +1111,9 @@ case $basic_machine in
|
||||||
|
strongarm-* | thumb-*)
|
||||||
|
basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
+ strongarm-* | thumb-*)
|
||||||
|
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
+ ;;
|
||||||
|
sun2)
|
||||||
|
basic_machine=m68000-sun
|
||||||
|
;;
|
||||||
|
@@ -1208,6 +1244,9 @@ case $basic_machine in
|
||||||
|
xscale-* | xscalee[bl]-*)
|
||||||
|
basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
||||||
|
;;
|
||||||
|
+ xscale-* | xscalee[bl]-*)
|
||||||
|
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
||||||
|
+ ;;
|
||||||
|
ymp)
|
||||||
|
basic_machine=ymp-cray
|
||||||
|
os=-unicos
|
||||||
|
@@ -1490,6 +1529,8 @@ case $os in
|
||||||
|
;;
|
||||||
|
-nacl*)
|
||||||
|
;;
|
||||||
|
+ -nacl*)
|
||||||
|
+ ;;
|
||||||
|
-none)
|
||||||
|
;;
|
||||||
|
*)
|
@ -2,25 +2,29 @@ From: unknown
|
|||||||
Upstream: no
|
Upstream: no
|
||||||
Subject: do not build po and tests components
|
Subject: do not build po and tests components
|
||||||
|
|
||||||
--- elfutils/Makefile.am-dist 2007-07-04 12:05:20.000000000 +0200
|
Index: elfutils-0.155/Makefile.am
|
||||||
+++ elfutils/Makefile.am 2007-07-04 12:05:25.000000000 +0200
|
===================================================================
|
||||||
@@ -29,7 +29,7 @@
|
--- elfutils-0.155.orig/Makefile.am
|
||||||
|
+++ elfutils-0.155/Makefile.am
|
||||||
|
@@ -24,7 +24,7 @@ pkginclude_HEADERS = version.h
|
||||||
|
|
||||||
# Add doc back when we have some real content.
|
# Add doc back when we have some real content.
|
||||||
SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
|
SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
|
||||||
- src po tests
|
- src po tests
|
||||||
+ src
|
+ src
|
||||||
|
|
||||||
EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION
|
EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
|
||||||
|
COPYING COPYING-GPLV2 COPYING-LGPLV3
|
||||||
--- elfutils-0.153/Makefile.in.orig 2012-02-23 12:41:51.000000000 +0100
|
Index: elfutils-0.155/Makefile.in
|
||||||
+++ elfutils-0.153/Makefile.in 2012-05-30 19:36:05.792498281 +0200
|
===================================================================
|
||||||
@@ -247,7 +247,7 @@ pkginclude_HEADERS = version.h
|
--- elfutils-0.155.orig/Makefile.in
|
||||||
|
+++ elfutils-0.155/Makefile.in
|
||||||
|
@@ -259,7 +259,7 @@ pkginclude_HEADERS = version.h
|
||||||
|
|
||||||
# Add doc back when we have some real content.
|
# Add doc back when we have some real content.
|
||||||
SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
|
SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
|
||||||
- src po tests
|
- src po tests
|
||||||
+ src
|
+ src
|
||||||
|
|
||||||
EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION
|
EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
|
||||||
|
COPYING COPYING-GPLV2 COPYING-LGPLV3
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,21 @@
|
|||||||
--- elfutils/src/addr2line.c
|
Index: elfutils-0.155/tests/line2addr.c
|
||||||
+++ elfutils/src/addr2line.c
|
===================================================================
|
||||||
@@ -455,10 +455,10 @@ handle_address (const char *string, Dwfl
|
--- elfutils-0.155.orig/tests/line2addr.c
|
||||||
|
+++ elfutils-0.155/tests/line2addr.c
|
||||||
|
@@ -124,7 +124,7 @@ main (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
struct args a = { .arg = argv[cnt] };
|
||||||
|
|
||||||
|
- switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
|
||||||
|
+ switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
case 0:
|
||||||
|
Index: elfutils-0.155/src/addr2line.c
|
||||||
|
===================================================================
|
||||||
|
--- elfutils-0.155.orig/src/addr2line.c
|
||||||
|
+++ elfutils-0.155/src/addr2line.c
|
||||||
|
@@ -447,10 +447,10 @@ handle_address (const char *string, Dwfl
|
||||||
bool parsed = false;
|
bool parsed = false;
|
||||||
int i, j;
|
int i, j;
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
@ -13,14 +28,4 @@
|
|||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
--- elfutils/tests/line2addr.c
|
|
||||||
+++ elfutils/tests/line2addr.c
|
|
||||||
@@ -132,7 +132,7 @@ main (int argc, char *argv[])
|
|
||||||
{
|
|
||||||
struct args a = { .arg = argv[cnt] };
|
|
||||||
|
|
||||||
- switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
|
|
||||||
+ switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
|
|
||||||
{
|
|
||||||
default:
|
|
||||||
case 0:
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,8 @@
|
|||||||
--- ./libdwfl/linux-kernel-modules.c.orig 2010-02-10 12:12:03.000000000 +0100
|
Index: elfutils-0.155/libdwfl/linux-kernel-modules.c
|
||||||
+++ ./libdwfl/linux-kernel-modules.c 2010-02-10 12:14:58.000000000 +0100
|
===================================================================
|
||||||
@@ -577,8 +577,8 @@
|
--- elfutils-0.155.orig/libdwfl/linux-kernel-modules.c
|
||||||
|
+++ elfutils-0.155/libdwfl/linux-kernel-modules.c
|
||||||
|
@@ -601,8 +601,8 @@ check_module_notes (Dwfl_Module *mod)
|
||||||
int
|
int
|
||||||
dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
|
dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 28 09:37:52 UTC 2012 - adrian@suse.de
|
||||||
|
|
||||||
|
- add elfutils-aarch64.patch to support aarch64
|
||||||
|
- update to 0.155
|
||||||
|
|
||||||
|
libelf: elf*_xlatetomd now works for cross-endian ELF note data.
|
||||||
|
elf_getshdr now works consistently on non-mmaped ELF files after
|
||||||
|
calling elf_cntl(ELF_C_FDREAD).
|
||||||
|
Implement support for ar archives with 64-bit symbol table.
|
||||||
|
[g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
|
||||||
|
|
||||||
|
libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
|
||||||
|
Any existing sources using the old name will have to be updated.
|
||||||
|
Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
|
||||||
|
and DW_OP_GNU_parameter_ref to dwarf.h.
|
||||||
|
Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
|
||||||
|
and DW_FORM_GNU_strp_alt. Disabled by default. Use configure
|
||||||
|
--enable-dwz to test it.
|
||||||
|
dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
|
||||||
|
Fix bug using dwarf_next_unit to iterate over .debug_types.
|
||||||
|
|
||||||
|
elflint: Now accepts gold linker produced executables.
|
||||||
|
|
||||||
|
readelf: Add .debug_macro parsing support.
|
||||||
|
Add .gdb_index version 7 parsing support.
|
||||||
|
Recognize DW_OP_GNU_parameter_ref.
|
||||||
|
|
||||||
|
backends: Add support for Tilera TILE-Gx processor.
|
||||||
|
|
||||||
|
translations: Updated Ukrainian translation.
|
||||||
|
|
||||||
|
The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
|
||||||
|
programs. There is now also a formal CONTRIBUTING document describing how to
|
||||||
|
submit patches.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 8 09:48:59 UTC 2012 - schwab@linux-m68k.org
|
Mon Oct 8 09:48:59 UTC 2012 - schwab@linux-m68k.org
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: elfutils
|
Name: elfutils
|
||||||
Version: 0.153
|
Version: 0.155
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Higher-level library to access ELF
|
Summary: Higher-level library to access ELF
|
||||||
License: SUSE-GPL-2.0-with-OSI-exception
|
License: SUSE-GPL-2.0-with-OSI-exception
|
||||||
@ -34,6 +34,7 @@ Patch5: elfutils-uninitialized.diff
|
|||||||
Patch6: elfutils-0.137-dwarf-header-check-fix.diff
|
Patch6: elfutils-0.137-dwarf-header-check-fix.diff
|
||||||
Patch7: elfutils-0.148-dont-crash.diff
|
Patch7: elfutils-0.148-dont-crash.diff
|
||||||
Patch8: elfutils-revert-portability-scanf.patch
|
Patch8: elfutils-revert-portability-scanf.patch
|
||||||
|
Patch9: elfutils-aarch64.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -144,6 +145,7 @@ to develop applications that require these.
|
|||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1 -R
|
%patch8 -p1 -R
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||||
@ -175,7 +177,7 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING EXCEPTION NEWS NOTES README THANKS TODO
|
%doc AUTHORS ChangeLog COPYING NEWS NOTES README THANKS TODO
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%files -n libasm1
|
%files -n libasm1
|
||||||
|
@ -4,9 +4,11 @@ References: none
|
|||||||
|
|
||||||
Update from K&R to ANSI prototype. This fix should go upstream.
|
Update from K&R to ANSI prototype. This fix should go upstream.
|
||||||
|
|
||||||
--- elfutils/libebl/eblopenbackend.c-dist 2008-01-28 14:21:23.000000000 +0100
|
Index: elfutils-0.155/libebl/eblopenbackend.c
|
||||||
+++ elfutils/libebl/eblopenbackend.c 2008-01-28 14:21:39.000000000 +0100
|
===================================================================
|
||||||
@@ -253,10 +253,7 @@ fill_defaults (Ebl *result)
|
--- elfutils-0.155.orig/libebl/eblopenbackend.c
|
||||||
|
+++ elfutils-0.155/libebl/eblopenbackend.c
|
||||||
|
@@ -249,10 +249,7 @@ fill_defaults (Ebl *result)
|
||||||
|
|
||||||
/* Find an appropriate backend for the file associated with ELF. */
|
/* Find an appropriate backend for the file associated with ELF. */
|
||||||
static Ebl *
|
static Ebl *
|
||||||
@ -18,9 +20,11 @@ Update from K&R to ANSI prototype. This fix should go upstream.
|
|||||||
{
|
{
|
||||||
Ebl *result;
|
Ebl *result;
|
||||||
size_t cnt;
|
size_t cnt;
|
||||||
--- elfutils/lib/dynamicsizehash.c-dist 2008-01-28 14:25:32.000000000 +0100
|
Index: elfutils-0.155/lib/dynamicsizehash.c
|
||||||
+++ elfutils/lib/dynamicsizehash.c 2008-01-28 14:25:52.000000000 +0100
|
===================================================================
|
||||||
@@ -65,10 +65,7 @@
|
--- elfutils-0.155.orig/lib/dynamicsizehash.c
|
||||||
|
+++ elfutils-0.155/lib/dynamicsizehash.c
|
||||||
|
@@ -44,10 +44,7 @@
|
||||||
|
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
|
Loading…
Reference in New Issue
Block a user