forked from pool/elfutils
Accepting request 17725 from Base:System
Copy from Base:System/elfutils based on submit request 17725 from user tiwai OBS-URL: https://build.opensuse.org/request/show/17725 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=9
This commit is contained in:
parent
b85ebf22b8
commit
feee6d55fe
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6af65695ba0aa7e78a0ffa4ccd65b5c9149c7b5f2688a3623e33afce04fa44fd
|
||||
size 1485275
|
3
elfutils-0.142-no-osl.tar.bz2
Normal file
3
elfutils-0.142-no-osl.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:114accfbfb80a136b076554c586d75a153e54e187f81715740b0d8570b0fb74d
|
||||
size 1512351
|
@ -1,6 +1,53 @@
|
||||
--- elfutils/backends/ChangeLog
|
||||
+++ elfutils/backends/ChangeLog
|
||||
@@ -33,6 +33,10 @@
|
||||
---
|
||||
ChangeLog | 17 +++++++++++++++++
|
||||
Makefile.in | 2 ++
|
||||
backends/ChangeLog | 12 ++++++++++++
|
||||
backends/Makefile.am | 6 ++++--
|
||||
backends/Makefile.in | 8 +++++---
|
||||
config.h.in | 6 ++++++
|
||||
config/Makefile.in | 2 ++
|
||||
configure.ac | 38 +++++++++++++++++++++++++++++++++++++-
|
||||
lib/ChangeLog | 8 ++++++++
|
||||
lib/Makefile.am | 3 ++-
|
||||
lib/Makefile.in | 6 ++++--
|
||||
lib/eu-config.h | 11 +++++++++++
|
||||
libasm/ChangeLog | 5 +++++
|
||||
libasm/Makefile.am | 3 ++-
|
||||
libasm/Makefile.in | 6 ++++--
|
||||
libcpu/ChangeLog | 8 ++++++++
|
||||
libcpu/Makefile.am | 3 ++-
|
||||
libcpu/Makefile.in | 11 +++++++----
|
||||
libcpu/i386_disasm.c | 1 +
|
||||
libdw/ChangeLog | 5 +++++
|
||||
libdw/Makefile.am | 3 ++-
|
||||
libdw/Makefile.in | 7 +++++--
|
||||
libdwfl/ChangeLog | 5 +++++
|
||||
libdwfl/Makefile.am | 3 ++-
|
||||
libdwfl/Makefile.in | 6 ++++--
|
||||
libebl/ChangeLog | 5 +++++
|
||||
libebl/Makefile.am | 3 ++-
|
||||
libebl/Makefile.in | 6 ++++--
|
||||
libelf/ChangeLog | 5 +++++
|
||||
libelf/Makefile.am | 3 ++-
|
||||
libelf/Makefile.in | 6 ++++--
|
||||
libelf/common.h | 4 ++--
|
||||
m4/Makefile.in | 2 ++
|
||||
src/ChangeLog | 20 ++++++++++++++++++++
|
||||
src/Makefile.am | 6 +++++-
|
||||
src/Makefile.in | 9 +++++++--
|
||||
src/findtextrel.c | 6 +++++-
|
||||
src/readelf.c | 2 +-
|
||||
src/strings.c | 9 +++++++++
|
||||
src/strip.c | 20 ++++++++++++++++++--
|
||||
tests/ChangeLog | 7 +++++++
|
||||
tests/Makefile.am | 5 +++--
|
||||
tests/Makefile.in | 6 ++++--
|
||||
tests/line2addr.c | 2 +-
|
||||
44 files changed, 268 insertions(+), 43 deletions(-)
|
||||
|
||||
--- a/backends/ChangeLog
|
||||
+++ b/backends/ChangeLog
|
||||
@@ -48,6 +48,10 @@
|
||||
* ppc_attrs.c (ppc_check_object_attribute): Handle tag
|
||||
GNU_Power_ABI_Struct_Return.
|
||||
|
||||
@ -11,7 +58,7 @@
|
||||
2008-10-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
|
||||
@@ -360,6 +364,11 @@
|
||||
@@ -375,6 +379,11 @@
|
||||
* sparc_init.c: Likewise.
|
||||
* x86_64_init.c: Likewise.
|
||||
|
||||
@ -23,7 +70,7 @@
|
||||
2005-11-19 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* ppc64_reloc.def: REL30 -> ADDR30.
|
||||
@@ -382,6 +391,9 @@
|
||||
@@ -397,6 +406,9 @@
|
||||
* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
|
||||
(CLEANFILES): Add libebl_$(m).so.
|
||||
|
||||
@ -33,8 +80,8 @@
|
||||
* ppc_reloc.def: Update bits per Alan Modra <amodra@bigpond.net.au>.
|
||||
* ppc64_reloc.def: Likewise.
|
||||
|
||||
--- elfutils/backends/Makefile.am
|
||||
+++ elfutils/backends/Makefile.am
|
||||
--- a/backends/Makefile.am
|
||||
+++ b/backends/Makefile.am
|
||||
@@ -25,12 +25,14 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -51,15 +98,7 @@
|
||||
-std=gnu99
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
|
||||
-I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
|
||||
@@ -59,7 +61,6 @@ endif
|
||||
|
||||
textrel_check = if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
|
||||
|
||||
-
|
||||
i386_SRCS = i386_init.c i386_symbol.c i386_corenote.c \
|
||||
i386_retval.c i386_regs.c i386_auxv.c i386_syscall.c
|
||||
cpu_i386 = ../libcpu/libcpu_i386.a
|
||||
@@ -115,7 +116,7 @@ libebl_%.so: libebl_%_pic.a libebl_%.map
|
||||
@@ -115,7 +117,7 @@
|
||||
$(LINK) -shared -o $@ -Wl,--whole-archive,$<\
|
||||
$(cpu_$(@:libebl_%.so=%)) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(word 2,$^) \
|
||||
@ -68,8 +107,47 @@
|
||||
$(textrel_check)
|
||||
|
||||
# XXX Should not be needed...
|
||||
--- elfutils/ChangeLog
|
||||
+++ elfutils/ChangeLog
|
||||
--- a/backends/Makefile.in
|
||||
+++ b/backends/Makefile.in
|
||||
@@ -159,6 +159,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -188,6 +189,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -245,9 +247,9 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
|
||||
-@MUDFLAP_FALSE@ -Wextra -Wformat=2 -std=gnu99
|
||||
+@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2 -std=gnu99
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
|
||||
-@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99
|
||||
+@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
|
||||
-I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
|
||||
-I$(top_srcdir)/lib -I..
|
||||
@@ -652,7 +654,7 @@
|
||||
$(LINK) -shared -o $@ -Wl,--whole-archive,$<\
|
||||
$(cpu_$(@:libebl_%.so=%)) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(word 2,$^) \
|
||||
- -Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw) $(libmudflap)
|
||||
+ -Wl,-z,defs $(LD_AS_NEEDED) $(libelf) $(libdw) $(libmudflap)
|
||||
$(textrel_check)
|
||||
|
||||
# XXX Should not be needed...
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||
@ -108,8 +186,26 @@
|
||||
2005-05-19 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
|
||||
--- elfutils/config.h.in
|
||||
+++ elfutils/config.h.in
|
||||
--- a/config/Makefile.in
|
||||
+++ b/config/Makefile.in
|
||||
@@ -73,6 +73,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -102,6 +103,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
--- a/config.h.in
|
||||
+++ b/config.h.in
|
||||
@@ -1,5 +1,8 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
@ -127,9 +223,9 @@
|
||||
+#undef __thread
|
||||
+
|
||||
#include <eu-config.h>
|
||||
--- elfutils/configure.ac
|
||||
+++ elfutils/configure.ac
|
||||
@@ -74,6 +74,39 @@ CFLAGS="$old_CFLAGS"])
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -74,6 +74,39 @@
|
||||
AS_IF([test "x$ac_cv_c99" != xyes],
|
||||
AC_MSG_ERROR([gcc with C99 support required]))
|
||||
|
||||
@ -169,7 +265,7 @@
|
||||
AC_CACHE_CHECK([for __thread support], ac_cv_tls, [dnl
|
||||
# Use the same flags that we use for our DSOs, so the test is representative.
|
||||
# Some old compiler/linker/libc combinations fail some ways and not others.
|
||||
@@ -89,7 +122,10 @@ static __thread int a; int foo (int b) {
|
||||
@@ -89,7 +122,10 @@
|
||||
CFLAGS="$save_CFLAGS"
|
||||
LDFLAGS="$save_LDFLAGS"])
|
||||
AS_IF([test "x$ac_cv_tls" != xyes],
|
||||
@ -181,8 +277,8 @@
|
||||
|
||||
LOCALEDIR=$datadir
|
||||
AC_SUBST(LOCALEDIR)
|
||||
--- elfutils/lib/ChangeLog
|
||||
+++ elfutils/lib/ChangeLog
|
||||
--- a/lib/ChangeLog
|
||||
+++ b/lib/ChangeLog
|
||||
@@ -1,5 +1,8 @@
|
||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -204,9 +300,9 @@
|
||||
2005-04-30 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* Makefile.am: Use -ffunction-sections for xmalloc.c.
|
||||
--- elfutils/lib/eu-config.h
|
||||
+++ elfutils/lib/eu-config.h
|
||||
@@ -182,5 +182,16 @@ asm (".section predict_data, \"aw\"; .pr
|
||||
--- a/lib/eu-config.h
|
||||
+++ b/lib/eu-config.h
|
||||
@@ -182,5 +182,16 @@
|
||||
/* This macro is used by the tests conditionalize for standalone building. */
|
||||
#define ELFUTILS_HEADER(name) <lib##name.h>
|
||||
|
||||
@ -223,8 +319,8 @@
|
||||
+
|
||||
|
||||
#endif /* eu-config.h */
|
||||
--- elfutils/lib/Makefile.am
|
||||
+++ elfutils/lib/Makefile.am
|
||||
--- a/lib/Makefile.am
|
||||
+++ b/lib/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -240,8 +336,38 @@
|
||||
INCLUDES = -I$(srcdir)/../libelf -I..
|
||||
|
||||
noinst_LIBRARIES = libeu.a
|
||||
--- elfutils/libasm/ChangeLog
|
||||
+++ elfutils/libasm/ChangeLog
|
||||
--- a/lib/Makefile.in
|
||||
+++ b/lib/Makefile.in
|
||||
@@ -94,6 +94,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -123,6 +124,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -180,9 +182,9 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
|
||||
-@MUDFLAP_FALSE@ -Wextra $($(*F)_CFLAGS)
|
||||
+@MUDFLAP_FALSE@ $(WEXTRA) $($(*F)_CFLAGS)
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
|
||||
-@MUDFLAP_TRUE@ -Wunused -Wextra $($(*F)_CFLAGS)
|
||||
+@MUDFLAP_TRUE@ -Wunused $(WEXTRA) $($(*F)_CFLAGS)
|
||||
INCLUDES = -I$(srcdir)/../libelf -I..
|
||||
noinst_LIBRARIES = libeu.a
|
||||
libeu_a_SOURCES = xstrndup.c xmalloc.c next_prime.c \
|
||||
--- a/libasm/ChangeLog
|
||||
+++ b/libasm/ChangeLog
|
||||
@@ -63,6 +63,11 @@
|
||||
* asm_error.c: Add new error ASM_E_IOERROR.
|
||||
* libasmP.h: Add ASM_E_IOERROR definition.
|
||||
@ -254,8 +380,8 @@
|
||||
2005-02-15 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* Makefile.am (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
|
||||
--- elfutils/libasm/Makefile.am
|
||||
+++ elfutils/libasm/Makefile.am
|
||||
--- a/libasm/Makefile.am
|
||||
+++ b/libasm/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -271,8 +397,38 @@
|
||||
INCLUDES = -I. -I$(srcdir) -I.. \
|
||||
-I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
|
||||
-I$(top_srcdir)/lib
|
||||
--- elfutils/libcpu/ChangeLog
|
||||
+++ elfutils/libcpu/ChangeLog
|
||||
--- a/libasm/Makefile.in
|
||||
+++ b/libasm/Makefile.in
|
||||
@@ -128,6 +128,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -157,6 +158,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -214,9 +216,9 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Werror -Wunused \
|
||||
-@MUDFLAP_FALSE@ -Wextra -Wformat=2
|
||||
+@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -std=gnu99 -Wall -Wshadow -Werror \
|
||||
-@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2
|
||||
+@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2
|
||||
INCLUDES = -I. -I$(srcdir) -I.. \
|
||||
-I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
|
||||
-I$(top_srcdir)/lib
|
||||
--- a/libcpu/ChangeLog
|
||||
+++ b/libcpu/ChangeLog
|
||||
@@ -5,6 +5,9 @@
|
||||
|
||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||
@ -295,9 +451,9 @@
|
||||
2005-02-15 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
|
||||
--- elfutils/libcpu/i386_disasm.c
|
||||
+++ elfutils/libcpu/i386_disasm.c
|
||||
@@ -791,6 +791,7 @@ i386_disasm (const uint8_t **startp, con
|
||||
--- a/libcpu/i386_disasm.c
|
||||
+++ b/libcpu/i386_disasm.c
|
||||
@@ -791,6 +791,7 @@
|
||||
|
||||
default:
|
||||
assert (! "INVALID not handled");
|
||||
@ -305,9 +461,9 @@
|
||||
}
|
||||
}
|
||||
else
|
||||
--- elfutils/libcpu/Makefile.am
|
||||
+++ elfutils/libcpu/Makefile.am
|
||||
@@ -30,7 +30,8 @@ AM_CFLAGS = -fmudflap
|
||||
--- a/libcpu/Makefile.am
|
||||
+++ b/libcpu/Makefile.am
|
||||
@@ -30,7 +30,8 @@
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
@ -317,9 +473,43 @@
|
||||
-fdollars-in-identifiers \
|
||||
$($(*F)_CFLAGS) \
|
||||
$(if $($(*F)_no_Werror),,-Werror)
|
||||
--- elfutils/libdw/ChangeLog
|
||||
+++ elfutils/libdw/ChangeLog
|
||||
@@ -571,6 +571,11 @@
|
||||
--- a/libcpu/Makefile.in
|
||||
+++ b/libcpu/Makefile.in
|
||||
@@ -110,6 +110,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = lex.$(<F:lex.l=)
|
||||
@@ -139,6 +140,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -195,10 +197,11 @@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
-@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 \
|
||||
-@MUDFLAP_FALSE@ -fpic -fdollars-in-identifiers $($(*F)_CFLAGS) \
|
||||
-@MUDFLAP_FALSE@ $(if $($(*F)_no_Werror),,-Werror)
|
||||
-@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused -Wextra \
|
||||
+@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused $(WEXTRA) \
|
||||
+@MUDFLAP_FALSE@ -std=gnu99 -fpic -fdollars-in-identifiers \
|
||||
+@MUDFLAP_FALSE@ $($(*F)_CFLAGS) $(if \
|
||||
+@MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror)
|
||||
+@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused $(WEXTRA) \
|
||||
@MUDFLAP_TRUE@ -std=gnu99 -fpic -fdollars-in-identifiers \
|
||||
@MUDFLAP_TRUE@ $($(*F)_CFLAGS) $(if \
|
||||
@MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror)
|
||||
--- a/libdw/ChangeLog
|
||||
+++ b/libdw/ChangeLog
|
||||
@@ -738,6 +738,11 @@
|
||||
|
||||
2005-05-31 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -331,8 +521,8 @@
|
||||
* dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
|
||||
formref offset.
|
||||
|
||||
--- elfutils/libdw/Makefile.am
|
||||
+++ elfutils/libdw/Makefile.am
|
||||
--- a/libdw/Makefile.am
|
||||
+++ b/libdw/Makefile.am
|
||||
@@ -25,6 +25,7 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -341,7 +531,7 @@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ endif
|
||||
@@ -33,7 +34,7 @@
|
||||
if BUILD_STATIC
|
||||
AM_CFLAGS += -fpic
|
||||
endif
|
||||
@ -350,9 +540,40 @@
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
|
||||
VERSION = 1
|
||||
|
||||
--- elfutils/libdwfl/ChangeLog
|
||||
+++ elfutils/libdwfl/ChangeLog
|
||||
@@ -1076,6 +1076,11 @@
|
||||
--- a/libdw/Makefile.in
|
||||
+++ b/libdw/Makefile.in
|
||||
@@ -170,6 +170,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -199,6 +200,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -256,9 +258,10 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Werror -Wshadow \
|
||||
-@MUDFLAP_FALSE@ -Wunused -Wformat=2 -Wextra -std=gnu99
|
||||
+@MUDFLAP_FALSE@ -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Werror \
|
||||
-@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
|
||||
+@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 $(WEXTRA) \
|
||||
+@MUDFLAP_TRUE@ -std=gnu99
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
|
||||
COMPILE.os = $(filter-out -fprofile-arcs, $(filter-out -ftest-coverage, \
|
||||
$(COMPILE)))
|
||||
--- a/libdwfl/ChangeLog
|
||||
+++ b/libdwfl/ChangeLog
|
||||
@@ -1098,6 +1098,11 @@
|
||||
|
||||
2005-07-21 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -364,8 +585,8 @@
|
||||
* Makefile.am (noinst_HEADERS): Add loc2c.c.
|
||||
|
||||
* test2.c (main): Check sscanf result to quiet warning.
|
||||
--- elfutils/libdwfl/Makefile.am
|
||||
+++ elfutils/libdwfl/Makefile.am
|
||||
--- a/libdwfl/Makefile.am
|
||||
+++ b/libdwfl/Makefile.am
|
||||
@@ -27,12 +27,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -381,9 +602,39 @@
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
|
||||
-I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
|
||||
VERSION = 1
|
||||
--- elfutils/libebl/ChangeLog
|
||||
+++ elfutils/libebl/ChangeLog
|
||||
@@ -569,6 +569,11 @@
|
||||
--- a/libdwfl/Makefile.in
|
||||
+++ b/libdwfl/Makefile.in
|
||||
@@ -158,6 +158,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -187,6 +188,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -244,9 +246,9 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wshadow -Wunused -Wformat=2 \
|
||||
-@MUDFLAP_FALSE@ -Wextra -std=gnu99
|
||||
+@MUDFLAP_FALSE@ $(WEXTRA) -std=gnu99
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Werror -Wshadow -Wunused \
|
||||
-@MUDFLAP_TRUE@ -Wformat=2 -Wextra -std=gnu99
|
||||
+@MUDFLAP_TRUE@ -Wformat=2 $(WEXTRA) -std=gnu99
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
|
||||
-I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
|
||||
|
||||
--- a/libebl/ChangeLog
|
||||
+++ b/libebl/ChangeLog
|
||||
@@ -593,6 +593,11 @@
|
||||
* Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
|
||||
tracking works right.
|
||||
|
||||
@ -395,8 +646,8 @@
|
||||
2005-05-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* libebl_x86_64.map: Add x86_64_core_note.
|
||||
--- elfutils/libebl/Makefile.am
|
||||
+++ elfutils/libebl/Makefile.am
|
||||
--- a/libebl/Makefile.am
|
||||
+++ b/libebl/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -412,9 +663,39 @@
|
||||
-std=gnu99
|
||||
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
|
||||
--- elfutils/libelf/ChangeLog
|
||||
+++ elfutils/libelf/ChangeLog
|
||||
@@ -537,6 +537,11 @@
|
||||
--- a/libebl/Makefile.in
|
||||
+++ b/libebl/Makefile.in
|
||||
@@ -124,6 +124,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -153,6 +154,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -210,9 +212,9 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
|
||||
-@MUDFLAP_FALSE@ -Wextra -Wformat=2 -std=gnu99
|
||||
+@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2 -std=gnu99
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
|
||||
-@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99
|
||||
+@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
|
||||
-I$(top_srcdir)/lib -I.. -I$(srcdir)/../libasm
|
||||
|
||||
--- a/libelf/ChangeLog
|
||||
+++ b/libelf/ChangeLog
|
||||
@@ -576,6 +576,11 @@
|
||||
|
||||
* elf.h: Update from glibc.
|
||||
|
||||
@ -426,9 +707,9 @@
|
||||
2005-05-08 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
|
||||
--- elfutils/libelf/common.h
|
||||
+++ elfutils/libelf/common.h
|
||||
@@ -160,7 +160,7 @@ libelf_release_all (Elf *elf)
|
||||
--- a/libelf/common.h
|
||||
+++ b/libelf/common.h
|
||||
@@ -160,7 +160,7 @@
|
||||
(Var) = (sizeof (Var) == 1 \
|
||||
? (unsigned char) (Var) \
|
||||
: (sizeof (Var) == 2 \
|
||||
@ -437,7 +718,7 @@
|
||||
: (sizeof (Var) == 4 \
|
||||
? bswap_32 (Var) \
|
||||
: bswap_64 (Var))))
|
||||
@@ -169,7 +169,7 @@ libelf_release_all (Elf *elf)
|
||||
@@ -169,7 +169,7 @@
|
||||
(Dst) = (sizeof (Var) == 1 \
|
||||
? (unsigned char) (Var) \
|
||||
: (sizeof (Var) == 2 \
|
||||
@ -446,8 +727,8 @@
|
||||
: (sizeof (Var) == 4 \
|
||||
? bswap_32 (Var) \
|
||||
: bswap_64 (Var))))
|
||||
--- elfutils/libelf/Makefile.am
|
||||
+++ elfutils/libelf/Makefile.am
|
||||
--- a/libelf/Makefile.am
|
||||
+++ b/libelf/Makefile.am
|
||||
@@ -25,6 +25,7 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -456,7 +737,7 @@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ endif
|
||||
@@ -33,7 +34,7 @@
|
||||
if BUILD_STATIC
|
||||
AM_CFLAGS += -fpic
|
||||
endif
|
||||
@ -465,18 +746,76 @@
|
||||
$($(*F)_CFLAGS)
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
|
||||
GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
|
||||
--- elfutils/src/ChangeLog
|
||||
+++ elfutils/src/ChangeLog
|
||||
@@ -91,6 +91,8 @@
|
||||
* readelf.c (print_debug_frame_section): Use t instead of j formats
|
||||
for ptrdiff_t OFFSET.
|
||||
|
||||
+ * addr2line.c (handle_address): Use %a instead of %m for compatibility.
|
||||
+
|
||||
2009-01-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
|
||||
@@ -274,6 +276,11 @@
|
||||
--- a/libelf/Makefile.in
|
||||
+++ b/libelf/Makefile.in
|
||||
@@ -172,6 +172,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -201,6 +202,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -258,10 +260,10 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Wshadow -Werror \
|
||||
-@MUDFLAP_FALSE@ -Wunused -Wextra -Wformat=2 -std=gnu99 \
|
||||
+@MUDFLAP_FALSE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
|
||||
@MUDFLAP_FALSE@ $($(*F)_CFLAGS)
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Wshadow \
|
||||
-@MUDFLAP_TRUE@ -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
|
||||
+@MUDFLAP_TRUE@ -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
|
||||
@MUDFLAP_TRUE@ $($(*F)_CFLAGS)
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
|
||||
GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
|
||||
--- a/m4/Makefile.in
|
||||
+++ b/m4/Makefile.in
|
||||
@@ -72,6 +72,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -101,6 +102,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -110,6 +110,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -139,6 +140,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
--- a/src/ChangeLog
|
||||
+++ b/src/ChangeLog
|
||||
@@ -338,6 +338,11 @@
|
||||
that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
|
||||
is valid in RELRO.
|
||||
|
||||
@ -488,7 +827,7 @@
|
||||
2008-02-29 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (print_attributes): Add a cast.
|
||||
@@ -525,6 +532,8 @@
|
||||
@@ -589,6 +594,8 @@
|
||||
|
||||
* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
|
||||
|
||||
@ -497,7 +836,7 @@
|
||||
2007-10-15 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* make-debug-archive.in: New file.
|
||||
@@ -964,6 +973,10 @@
|
||||
@@ -1028,6 +1035,10 @@
|
||||
* elflint.c (valid_e_machine): Add EM_ALPHA.
|
||||
Reported by Christian Aichinger <Greek0@gmx.net>.
|
||||
|
||||
@ -508,7 +847,7 @@
|
||||
2006-08-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
|
||||
@@ -1040,6 +1053,10 @@
|
||||
@@ -1104,6 +1115,10 @@
|
||||
* Makefile.am: Add hacks to create dependency files for non-generic
|
||||
linker.
|
||||
|
||||
@ -519,7 +858,7 @@
|
||||
2006-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
|
||||
@@ -1388,6 +1405,11 @@
|
||||
@@ -1452,6 +1467,11 @@
|
||||
* readelf.c (print_debug_loc_section): Fix indentation for larger
|
||||
address size.
|
||||
|
||||
@ -531,9 +870,9 @@
|
||||
2005-05-30 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (print_debug_line_section): Print section offset of each
|
||||
--- elfutils/src/findtextrel.c
|
||||
+++ elfutils/src/findtextrel.c
|
||||
@@ -490,7 +490,11 @@ ptrcompare (const void *p1, const void *
|
||||
--- a/src/findtextrel.c
|
||||
+++ b/src/findtextrel.c
|
||||
@@ -490,7 +490,11 @@
|
||||
|
||||
|
||||
static void
|
||||
@ -546,8 +885,8 @@
|
||||
GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
|
||||
const char *fname, bool more_than_one, void **knownsrcs)
|
||||
{
|
||||
--- elfutils/src/Makefile.am
|
||||
+++ elfutils/src/Makefile.am
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -26,6 +26,7 @@
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) -DDEBUGPRED=@DEBUGPRED@ \
|
||||
@ -556,7 +895,7 @@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ AM_CFLAGS =
|
||||
@@ -33,7 +34,7 @@
|
||||
endif
|
||||
AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
|
||||
$(if $($(*F)_no_Werror),,-Werror) \
|
||||
@ -565,7 +904,7 @@
|
||||
$(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $(CFLAGS_$(*F))
|
||||
|
||||
INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
|
||||
@@ -112,6 +113,9 @@ addr2line_no_Wformat = yes
|
||||
@@ -112,6 +113,9 @@
|
||||
# XXX While the file is not finished, don't warn about this
|
||||
ldgeneric_no_Wunused = yes
|
||||
|
||||
@ -575,9 +914,53 @@
|
||||
readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
|
||||
nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
|
||||
size_LDADD = $(libelf) $(libeu) $(libmudflap)
|
||||
--- elfutils/src/readelf.c
|
||||
+++ elfutils/src/readelf.c
|
||||
@@ -7443,7 +7443,7 @@ dump_archive_index (Elf *elf, const char
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -202,6 +202,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -231,6 +232,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@ -d
|
||||
@@ -290,13 +292,13 @@
|
||||
@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -std=gnu99 \
|
||||
@MUDFLAP_FALSE@ $(native_ld_cflags) $(if \
|
||||
@MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror) $(if \
|
||||
-@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
@MUDFLAP_FALSE@ $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \
|
||||
@MUDFLAP_FALSE@ $(CFLAGS_$(*F))
|
||||
@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -std=gnu99 \
|
||||
@MUDFLAP_TRUE@ $(native_ld_cflags) $(if \
|
||||
@MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror) $(if \
|
||||
-@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
@MUDFLAP_TRUE@ $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \
|
||||
@MUDFLAP_TRUE@ $(CFLAGS_$(*F))
|
||||
INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
|
||||
@@ -342,6 +344,9 @@
|
||||
addr2line_no_Wformat = yes
|
||||
# XXX While the file is not finished, don't warn about this
|
||||
ldgeneric_no_Wunused = yes
|
||||
+
|
||||
+# Buggy old compilers.
|
||||
+readelf_no_Werror = yes
|
||||
readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
|
||||
nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
|
||||
size_LDADD = $(libelf) $(libeu) $(libmudflap)
|
||||
--- a/src/readelf.c
|
||||
+++ b/src/readelf.c
|
||||
@@ -7591,7 +7591,7 @@
|
||||
if (unlikely (elf_rand (elf, as_off) == 0)
|
||||
|| unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
|
||||
== NULL))
|
||||
@ -586,8 +969,8 @@
|
||||
while (1)
|
||||
#endif
|
||||
error (EXIT_FAILURE, 0,
|
||||
--- elfutils/src/strings.c
|
||||
+++ elfutils/src/strings.c
|
||||
--- a/src/strings.c
|
||||
+++ b/src/strings.c
|
||||
@@ -51,6 +51,10 @@
|
||||
|
||||
#include <system.h>
|
||||
@ -599,7 +982,7 @@
|
||||
|
||||
/* Prototypes of local functions. */
|
||||
static int read_fd (int fd, const char *fname, off64_t fdlen);
|
||||
@@ -491,8 +495,13 @@ map_file (int fd, off64_t start_off, off
|
||||
@@ -491,8 +495,13 @@
|
||||
fd, start_off);
|
||||
if (mem != MAP_FAILED)
|
||||
{
|
||||
@ -613,8 +996,8 @@
|
||||
break;
|
||||
}
|
||||
if (errno != EINVAL && errno != ENOMEM)
|
||||
--- elfutils/src/strip.c
|
||||
+++ elfutils/src/strip.c
|
||||
--- a/src/strip.c
|
||||
+++ b/src/strip.c
|
||||
@@ -52,6 +52,12 @@
|
||||
#include <libebl.h>
|
||||
#include <system.h>
|
||||
@ -628,7 +1011,7 @@
|
||||
|
||||
/* Name and version of program. */
|
||||
static void print_version (FILE *stream, struct argp_state *state);
|
||||
@@ -300,8 +306,18 @@ process_file (const char *fname)
|
||||
@@ -300,8 +306,18 @@
|
||||
|
||||
/* If we have to preserve the timestamp, we need it in the
|
||||
format utimes() understands. */
|
||||
@ -647,7 +1030,7 @@
|
||||
}
|
||||
|
||||
/* Open the file. */
|
||||
@@ -1746,7 +1762,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1746,7 +1762,7 @@
|
||||
/* If requested, preserve the timestamp. */
|
||||
if (tvp != NULL)
|
||||
{
|
||||
@ -656,7 +1039,7 @@
|
||||
{
|
||||
error (0, errno, gettext ("\
|
||||
cannot set access and modification date of '%s'"),
|
||||
@@ -1803,7 +1819,7 @@ handle_ar (int fd, Elf *elf, const char
|
||||
@@ -1803,7 +1819,7 @@
|
||||
|
||||
if (tvp != NULL)
|
||||
{
|
||||
@ -665,9 +1048,9 @@
|
||||
{
|
||||
error (0, errno, gettext ("\
|
||||
cannot set access and modification date of '%s'"), fname);
|
||||
--- elfutils/tests/ChangeLog
|
||||
+++ elfutils/tests/ChangeLog
|
||||
@@ -106,6 +106,8 @@
|
||||
--- a/tests/ChangeLog
|
||||
+++ b/tests/ChangeLog
|
||||
@@ -124,6 +124,8 @@
|
||||
|
||||
2008-01-21 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -676,7 +1059,7 @@
|
||||
* testfile45.S.bz2: Add tests for cltq, cqto.
|
||||
* testfile45.expect.bz2: Adjust.
|
||||
|
||||
@@ -814,6 +816,11 @@
|
||||
@@ -832,6 +834,11 @@
|
||||
* Makefile.am (TESTS): Add run-elflint-test.sh.
|
||||
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
|
||||
|
||||
@ -688,9 +1071,9 @@
|
||||
2005-05-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* get-files.c (main): Use correct format specifier.
|
||||
--- elfutils/tests/line2addr.c
|
||||
+++ elfutils/tests/line2addr.c
|
||||
@@ -132,7 +132,7 @@ main (int argc, char *argv[])
|
||||
--- a/tests/line2addr.c
|
||||
+++ b/tests/line2addr.c
|
||||
@@ -132,7 +132,7 @@
|
||||
{
|
||||
struct args a = { .arg = argv[cnt] };
|
||||
|
||||
@ -699,8 +1082,8 @@
|
||||
{
|
||||
default:
|
||||
case 0:
|
||||
--- elfutils/tests/Makefile.am
|
||||
+++ elfutils/tests/Makefile.am
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
@ -717,3 +1100,34 @@
|
||||
$(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
|
||||
BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
|
||||
endif
|
||||
--- a/tests/Makefile.in
|
||||
+++ b/tests/Makefile.in
|
||||
@@ -353,6 +353,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -382,6 +383,7 @@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
+WEXTRA = @WEXTRA@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -438,10 +440,10 @@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
zip_LIBS = @zip_LIBS@
|
||||
-@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
|
||||
+@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
|
||||
@MUDFLAP_FALSE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
|
||||
|
||||
-@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
|
||||
+@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
|
||||
@MUDFLAP_TRUE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
|
||||
|
||||
@MUDFLAP_TRUE@BUILD_RPATH = \$$ORIGIN/../backends
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 16:11:47 CEST 2009 - tiwai@suse.de
|
||||
|
||||
- updated to 0.142:
|
||||
- Fix handling filling caps between sections in libelf
|
||||
- Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx
|
||||
alias for elf_getshstrndx and deprecate original names.
|
||||
- Add support for STB_GNU_UNIQUE
|
||||
- Add -N option to readelf, speeds up DWARF printing without
|
||||
address->name lookups
|
||||
- Add support for decoding DWARF CFI into location description
|
||||
form to libdw.
|
||||
Some new DWARF 3 expression operations.
|
||||
Basic handling of some new encodings slated for DWARF 4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 17:49:28 CEST 2009 - tiwai@suse.de
|
||||
|
||||
|
107
elfutils.spec
107
elfutils.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package elfutils (Version 0.141)
|
||||
# spec file for package elfutils (Version 0.142)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
Name: elfutils
|
||||
License: GPL v2 or later
|
||||
Version: 0.141
|
||||
Version: 0.142
|
||||
Release: 1
|
||||
Summary: Higher-level library to access ELF
|
||||
Group: System/Libraries
|
||||
@ -52,7 +52,7 @@ Authors:
|
||||
%package -n libasm1
|
||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||
Group: Development/Tools/Other
|
||||
License: GPL v2 only; GPL v2 or later; LGPL v2.1 or later
|
||||
License: GPL v2 only ; GPL v2 or later ; LGPL v2.1 or later
|
||||
|
||||
%description -n libasm1
|
||||
Elfutils is a collection of utilities, including ld (a linker), nm (for
|
||||
@ -294,104 +294,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/elfutils/libdwfl.h
|
||||
|
||||
%changelog
|
||||
* Wed Apr 29 2009 tiwai@suse.de
|
||||
- updated to 0.141:
|
||||
- libebl: sparc backend fixes
|
||||
some more arm backend support
|
||||
- libdwfl: fix dwfl_module_build_id for prelinked DSO case
|
||||
fixes in core file support dwfl_module_getsym interface
|
||||
improved for non-address symbols
|
||||
- eu-strip: fix infinite loop on strange inputs with -f
|
||||
- eu-addr2line: take -j/--section=NAME option for binutils
|
||||
compatibility (same effect as '(NAME)0x123' syntax already
|
||||
supported)
|
||||
* Thu Feb 19 2009 tiwai@suse.de
|
||||
- Update to 0.139
|
||||
- libcpu: Add Intel SSE4 disassembler support
|
||||
- readelf: Implement call frame information and exception
|
||||
handling dumping.
|
||||
Add -e option. Enable it implicitly for -a.
|
||||
- elflint: Check PT_GNU_EH_FRAME program header entry.
|
||||
- libdwfl: Support automatic gzip/bzip2 decompression of ELF
|
||||
files.
|
||||
- updated to 0.140:
|
||||
- libelf: Fix regression in creation of section header.
|
||||
- Misc bug fixes
|
||||
* Tue Jan 27 2009 tiwai@suse.de
|
||||
- revert the ET_DYN address fix patch; causing a regression
|
||||
(bnc#468814)
|
||||
* Wed Jan 07 2009 tiwai@suse.de
|
||||
- Fix the header size check in dwarf_getsrclines() (bnc#455992)
|
||||
- Backport the fix for ET_DYN addresses
|
||||
* Tue Dec 16 2008 tiwai@suse.de
|
||||
- Fix dwfl_getmodules(), assert in systemtap (bnc#448331)
|
||||
- Fix libebl1 dependency
|
||||
- Fix crashes of elfutils binaries, backports from upstream
|
||||
* Tue Nov 25 2008 tiwai@suse.de
|
||||
- fix libdwfl regression with realloc DWFL->lookup_module in
|
||||
the fix patch (bnc#448331, likely bnc#445783)
|
||||
* Tue Oct 28 2008 tiwai@suse.de
|
||||
- added baselibs.conf for 32bit libs (bnc#439582)
|
||||
* Tue Oct 07 2008 tiwai@suse.de
|
||||
- renamed to libebl1
|
||||
- provides libasm1 package
|
||||
- fix provides and obsolets of libebl1
|
||||
- updated to version 0.137:
|
||||
* libdwfl: bug fixes
|
||||
* Tue Aug 26 2008 tiwai@suse.de
|
||||
- updated to version 0.135:
|
||||
* libdwfl: bug fixes
|
||||
- updated to version 0.134:
|
||||
* libdwfl, libelf: bug fixes
|
||||
- updated to version 0.133:
|
||||
* readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling
|
||||
(readelf -A)
|
||||
* libdwfl: bug fixes and optimization in relocation handling
|
||||
- updated to version 0.132:
|
||||
* libcpu: Implement x86 and x86-64 disassembler.
|
||||
* libasm: Add interface for disassembler.
|
||||
- fixed post scripts
|
||||
* Fri Feb 29 2008 dmueller@suse.de
|
||||
- fix build for older distributions
|
||||
* Mon Jan 28 2008 tiwai@suse.de
|
||||
- fix compile errors regarding missing prototypes.
|
||||
* Tue Nov 20 2007 tiwai@suse.de
|
||||
- fix off64_t in libelf.h again...
|
||||
* Tue Nov 20 2007 tiwai@suse.de
|
||||
- updated to version 0.131
|
||||
* libdw: DW_FORM_ref_addr support
|
||||
dwarf_formref entry point now deprecated
|
||||
bug fixes for oddly-formatted DWARF
|
||||
* libdwfl: bug fixes in offline archive support
|
||||
apply partial relocations for dwfl_module_address_section
|
||||
on ET_REL
|
||||
* libebl: powerpc backend support for Altivec registers
|
||||
* Mon Oct 22 2007 tiwai@suse.de
|
||||
- fix comiple errors regarding missing off64_t definitions
|
||||
in libelf.h
|
||||
* Mon Oct 22 2007 tiwai@suse.de
|
||||
- updated to version 0.129:
|
||||
readelf: new options --hex-dump (or -x), --strings (or -p)
|
||||
- updated to version 0.130
|
||||
* readelf: -p option can take an argument like -x for one
|
||||
section
|
||||
* libelf: new function elf_getdata_rawchunk, replaces
|
||||
gelf_rawchunk;
|
||||
new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
|
||||
* libdwfl: new functions dwfl_build_id_find_elf,
|
||||
dwfl_build_id_find_debuginfo, dwfl_module_build_id,
|
||||
dwfl_module_report_build_id;
|
||||
support dynamic symbol tables found via phdrs;
|
||||
dwfl_standard_find_debuginfo now uses build IDs when available
|
||||
* libebl: backend improvements for sparc, alpha, powerpc
|
||||
* Thu Oct 04 2007 rguenther@suse.de
|
||||
- fix build with gcc-4.3, same patch as for the copy in rpm
|
||||
* Wed Jul 04 2007 tiwai@suse.de
|
||||
- updated to version 0.128
|
||||
* auto-tool fixes
|
||||
* Mon Jun 11 2007 ro@suse.de
|
||||
- use __attribute__ ((gnu_inline)) to fix build with gcc-4.2
|
||||
* Mon May 21 2007 tiwai@suse.de
|
||||
- initial packages, built from elfutils-0.127.
|
||||
A problematic file regarding the license is removed from the
|
||||
tarball.
|
||||
|
Loading…
Reference in New Issue
Block a user