Update to 0.154.
This commit is contained in:
parent
05113d6751
commit
d10bca5799
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/elfutils-0.152.tar.bz2
|
/elfutils-0.152.tar.bz2
|
||||||
/elfutils-0.153.tar.bz2
|
/elfutils-0.153.tar.bz2
|
||||||
|
/elfutils-0.154.tar.bz2
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
commit 210c2f03efbbaacc51f2641baa0947d9c316de12
|
|
||||||
Author: Roland McGrath <roland@hack.frob.com>
|
|
||||||
Date: Wed Mar 28 10:22:35 2012 -0700
|
|
||||||
|
|
||||||
RHBZ#805447: Fix core file grokking for case of truncated .dynstr
|
|
||||||
|
|
||||||
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
|
|
||||||
index 87a0555..86f6fba 100644
|
|
||||||
--- a/libdwfl/ChangeLog
|
|
||||||
+++ b/libdwfl/ChangeLog
|
|
||||||
@@ -1,3 +1,10 @@
|
|
||||||
+2012-03-28 Roland McGrath <roland@hack.frob.com>
|
|
||||||
+
|
|
||||||
+ * dwfl_segment_report_module.c
|
|
||||||
+ (dwfl_segment_report_module: read_portion): Don't use existing buffer
|
|
||||||
+ when FILESZ is zero (string mode) and available portion doesn't hold
|
|
||||||
+ a terminated string.
|
|
||||||
+
|
|
||||||
2011-12-02 Roland McGrath <roland@hack.frob.com>
|
|
||||||
|
|
||||||
* elf-from-memory.c (elf_from_remote_memory): Fix ELFCLASS64 case
|
|
||||||
diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c
|
|
||||||
index 012a0fd..5534180 100644
|
|
||||||
--- a/libdwfl/dwfl_segment_report_module.c
|
|
||||||
+++ b/libdwfl/dwfl_segment_report_module.c
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* Sniff out modules from ELF headers visible in memory segments.
|
|
||||||
- Copyright (C) 2008-2010 Red Hat, Inc.
|
|
||||||
+ Copyright (C) 2008-2012 Red Hat, Inc.
|
|
||||||
This file is part of Red Hat elfutils.
|
|
||||||
|
|
||||||
Red Hat elfutils is free software; you can redistribute it and/or modify
|
|
||||||
@@ -155,7 +155,11 @@ dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name,
|
|
||||||
inline bool read_portion (void **data, size_t *data_size,
|
|
||||||
GElf_Addr vaddr, size_t filesz)
|
|
||||||
{
|
|
||||||
- if (vaddr - start + filesz > buffer_available)
|
|
||||||
+ if (vaddr - start + filesz > buffer_available
|
|
||||||
+ /* If we're in string mode, then don't consider the buffer we have
|
|
||||||
+ sufficient unless it contains the terminator of the string. */
|
|
||||||
+ || (filesz == 0 && memchr (vaddr - start + buffer, '\0',
|
|
||||||
+ buffer_available - (vaddr - start)) == NULL))
|
|
||||||
{
|
|
||||||
*data = NULL;
|
|
||||||
*data_size = filesz;
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
--- elfutils/backends/Makefile.am
|
--- elfutils/backends/Makefile.am
|
||||||
+++ elfutils/backends/Makefile.am
|
+++ elfutils/backends/Makefile.am
|
||||||
@@ -103,7 +103,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
|
@@ -105,7 +105,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
|
||||||
$(LINK) -shared -o $(@:.map=.so) \
|
$(LINK) -shared -o $(@:.map=.so) \
|
||||||
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
|
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
|
||||||
-Wl,--version-script,$(@:.so=.map) \
|
-Wl,--version-script,$(@:.so=.map) \
|
||||||
@ -96,7 +96,16 @@
|
|||||||
libebl_i386.so: $(cpu_i386)
|
libebl_i386.so: $(cpu_i386)
|
||||||
--- elfutils/ChangeLog
|
--- elfutils/ChangeLog
|
||||||
+++ elfutils/ChangeLog
|
+++ elfutils/ChangeLog
|
||||||
@@ -14,6 +14,9 @@
|
@@ -4,6 +4,8 @@
|
||||||
|
|
||||||
|
2012-01-24 Mark Wielaard <mjw@redhat.com>
|
||||||
|
|
||||||
|
+ * configure.ac: Wrap AC_COMPILE_IFELSE sources in AC_LANG_SOURCE.
|
||||||
|
+
|
||||||
|
* COPYING: Fix address. Updated version from gnulib.
|
||||||
|
|
||||||
|
2012-01-23 Mark Wielaard <mjw@redhat.com>
|
||||||
|
@@ -22,6 +24,9 @@
|
||||||
|
|
||||||
2011-10-08 Mike Frysinger <vapier@gentoo.org>
|
2011-10-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
@ -106,7 +115,7 @@
|
|||||||
* configure.ac: Fix use of AC_ARG_ENABLE to handle $enableval correctly.
|
* configure.ac: Fix use of AC_ARG_ENABLE to handle $enableval correctly.
|
||||||
|
|
||||||
2011-10-02 Ulrich Drepper <drepper@gmail.com>
|
2011-10-02 Ulrich Drepper <drepper@gmail.com>
|
||||||
@@ -35,6 +38,10 @@
|
@@ -43,6 +48,10 @@
|
||||||
|
|
||||||
* configure.ac (LOCALEDIR, DATADIRNAME): Removed.
|
* configure.ac (LOCALEDIR, DATADIRNAME): Removed.
|
||||||
|
|
||||||
@ -117,7 +126,7 @@
|
|||||||
2009-09-21 Ulrich Drepper <drepper@redhat.com>
|
2009-09-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* configure.ac: Update for more modern autoconf.
|
* configure.ac: Update for more modern autoconf.
|
||||||
@@ -43,6 +50,10 @@
|
@@ -51,6 +60,10 @@
|
||||||
|
|
||||||
* configure.ac (zip_LIBS): Check for liblzma too.
|
* configure.ac (zip_LIBS): Check for liblzma too.
|
||||||
|
|
||||||
@ -128,7 +137,7 @@
|
|||||||
2009-04-19 Roland McGrath <roland@redhat.com>
|
2009-04-19 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* configure.ac (eu_version): Round down here, not in version.h macros.
|
* configure.ac (eu_version): Round down here, not in version.h macros.
|
||||||
@@ -54,6 +65,8 @@
|
@@ -62,6 +75,8 @@
|
||||||
|
|
||||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
@ -137,7 +146,7 @@
|
|||||||
* configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
|
* configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
|
||||||
|
|
||||||
* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
|
* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
|
||||||
@@ -134,6 +147,10 @@
|
@@ -142,6 +157,10 @@
|
||||||
* configure.ac: Add dummy automake conditional to get dependencies
|
* configure.ac: Add dummy automake conditional to get dependencies
|
||||||
for non-generic linker right. See src/Makefile.am.
|
for non-generic linker right. See src/Makefile.am.
|
||||||
|
|
||||||
@ -148,7 +157,7 @@
|
|||||||
2005-11-18 Roland McGrath <roland@redhat.com>
|
2005-11-18 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
|
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
|
||||||
@@ -181,6 +198,17 @@
|
@@ -189,6 +208,17 @@
|
||||||
* Makefile.am (all_SUBDIRS): Add libdwfl.
|
* Makefile.am (all_SUBDIRS): Add libdwfl.
|
||||||
* configure.ac: Write libdwfl/Makefile.
|
* configure.ac: Write libdwfl/Makefile.
|
||||||
|
|
||||||
@ -168,7 +177,7 @@
|
|||||||
* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
|
* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
|
||||||
--- elfutils/config/ChangeLog
|
--- elfutils/config/ChangeLog
|
||||||
+++ elfutils/config/ChangeLog
|
+++ elfutils/config/ChangeLog
|
||||||
@@ -6,6 +6,10 @@
|
@@ -10,6 +10,10 @@
|
||||||
|
|
||||||
* known-dwarf.awk: Use gawk.
|
* known-dwarf.awk: Use gawk.
|
||||||
|
|
||||||
@ -186,11 +195,11 @@
|
|||||||
##
|
##
|
||||||
-## Copyright (C) 2010 Red Hat, Inc.
|
-## Copyright (C) 2010 Red Hat, Inc.
|
||||||
+## Copyright (C) 2010-2011 Red Hat, Inc.
|
+## Copyright (C) 2010-2011 Red Hat, Inc.
|
||||||
## This file is part of Red Hat elfutils.
|
|
||||||
##
|
##
|
||||||
## Red Hat elfutils is free software; you can redistribute it and/or modify
|
## This file is part of elfutils.
|
||||||
@@ -25,14 +25,20 @@
|
##
|
||||||
## <http://www.openinventionnetwork.com>.
|
@@ -29,14 +29,20 @@
|
||||||
|
## not, see <http://www.gnu.org/licenses/>.
|
||||||
##
|
##
|
||||||
|
|
||||||
+WEXTRA = @WEXTRA@
|
+WEXTRA = @WEXTRA@
|
||||||
@ -477,14 +486,14 @@
|
|||||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||||
--- elfutils/configure.ac
|
--- elfutils/configure.ac
|
||||||
+++ elfutils/configure.ac
|
+++ elfutils/configure.ac
|
||||||
@@ -81,6 +81,54 @@ CFLAGS="$old_CFLAGS"])
|
@@ -82,6 +82,54 @@ CFLAGS="$old_CFLAGS"])
|
||||||
AS_IF([test "x$ac_cv_c99" != xyes],
|
AS_IF([test "x$ac_cv_c99" != xyes],
|
||||||
AC_MSG_ERROR([gcc with C99 support required]))
|
AC_MSG_ERROR([gcc with C99 support required]))
|
||||||
|
|
||||||
+AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl
|
+AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl
|
||||||
+old_CFLAGS="$CFLAGS"
|
+old_CFLAGS="$CFLAGS"
|
||||||
+CFLAGS="$CFLAGS -Wextra"
|
+CFLAGS="$CFLAGS -Wextra"
|
||||||
+AC_COMPILE_IFELSE([void foo (void) { }],
|
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([void foo (void) { }])],
|
||||||
+ ac_cv_cc_wextra=yes, ac_cv_cc_wextra=no)
|
+ ac_cv_cc_wextra=yes, ac_cv_cc_wextra=no)
|
||||||
+CFLAGS="$old_CFLAGS"])
|
+CFLAGS="$old_CFLAGS"])
|
||||||
+AC_SUBST(WEXTRA)
|
+AC_SUBST(WEXTRA)
|
||||||
@ -493,14 +502,14 @@
|
|||||||
+AC_CACHE_CHECK([for -fgnu89-inline option to $CC], ac_cv_cc_gnu89_inline, [dnl
|
+AC_CACHE_CHECK([for -fgnu89-inline option to $CC], ac_cv_cc_gnu89_inline, [dnl
|
||||||
+old_CFLAGS="$CFLAGS"
|
+old_CFLAGS="$CFLAGS"
|
||||||
+CFLAGS="$CFLAGS -fgnu89-inline -Werror"
|
+CFLAGS="$CFLAGS -fgnu89-inline -Werror"
|
||||||
+AC_COMPILE_IFELSE([
|
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||||
+void foo (void)
|
+void foo (void)
|
||||||
+{
|
+{
|
||||||
+ inline void bar (void) {}
|
+ inline void bar (void) {}
|
||||||
+ bar ();
|
+ bar ();
|
||||||
+}
|
+}
|
||||||
+extern inline void baz (void) {}
|
+extern inline void baz (void) {}
|
||||||
+], ac_cv_cc_gnu89_inline=yes, ac_cv_cc_gnu89_inline=no)
|
+])], ac_cv_cc_gnu89_inline=yes, ac_cv_cc_gnu89_inline=no)
|
||||||
+CFLAGS="$old_CFLAGS"])
|
+CFLAGS="$old_CFLAGS"])
|
||||||
+AS_IF([test "x$ac_cv_cc_gnu89_inline" = xyes],
|
+AS_IF([test "x$ac_cv_cc_gnu89_inline" = xyes],
|
||||||
+ [WEXTRA="${WEXTRA:+$WEXTRA }-fgnu89-inline"])
|
+ [WEXTRA="${WEXTRA:+$WEXTRA }-fgnu89-inline"])
|
||||||
@ -532,7 +541,7 @@
|
|||||||
AC_CACHE_CHECK([for __thread support], ac_cv_tls, [dnl
|
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.
|
# 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.
|
# Some old compiler/linker/libc combinations fail some ways and not others.
|
||||||
@@ -96,7 +144,10 @@ static __thread int a; int foo (int b) {
|
@@ -97,7 +145,10 @@ static __thread int a; int foo (int b) {
|
||||||
CFLAGS="$save_CFLAGS"
|
CFLAGS="$save_CFLAGS"
|
||||||
LDFLAGS="$save_LDFLAGS"])
|
LDFLAGS="$save_LDFLAGS"])
|
||||||
AS_IF([test "x$ac_cv_tls" != xyes],
|
AS_IF([test "x$ac_cv_tls" != xyes],
|
||||||
@ -544,7 +553,7 @@
|
|||||||
|
|
||||||
dnl This test must come as early as possible after the compiler configuration
|
dnl This test must come as early as possible after the compiler configuration
|
||||||
dnl tests, because the choice of the file model can (in principle) affect
|
dnl tests, because the choice of the file model can (in principle) affect
|
||||||
@@ -184,6 +235,11 @@ AM_CONDITIONAL(GCOV, test "$use_gcov" =
|
@@ -185,6 +236,11 @@ AM_CONDITIONAL(GCOV, test "$use_gcov" =
|
||||||
AM_CONDITIONAL(BUILD_STATIC, [dnl
|
AM_CONDITIONAL(BUILD_STATIC, [dnl
|
||||||
test "$use_mudflap" = yes -o "$use_gprof" = yes -o "$use_gcov" = yes])
|
test "$use_mudflap" = yes -o "$use_gprof" = yes -o "$use_gcov" = yes])
|
||||||
|
|
||||||
@ -556,7 +565,7 @@
|
|||||||
AC_ARG_ENABLE([tests-rpath],
|
AC_ARG_ENABLE([tests-rpath],
|
||||||
AS_HELP_STRING([--enable-tests-rpath],[build $ORIGIN-using rpath into tests]),
|
AS_HELP_STRING([--enable-tests-rpath],[build $ORIGIN-using rpath into tests]),
|
||||||
[tests_use_rpath=$enableval], [tests_use_rpath=no])
|
[tests_use_rpath=$enableval], [tests_use_rpath=no])
|
||||||
@@ -295,6 +351,6 @@ case "$eu_version" in
|
@@ -296,6 +352,6 @@ case "$eu_version" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Round up to the next release API (x.y) version.
|
# Round up to the next release API (x.y) version.
|
||||||
@ -590,7 +599,7 @@
|
|||||||
* Makefile.am: Use -ffunction-sections for xmalloc.c.
|
* Makefile.am: Use -ffunction-sections for xmalloc.c.
|
||||||
--- elfutils/lib/eu-config.h
|
--- elfutils/lib/eu-config.h
|
||||||
+++ elfutils/lib/eu-config.h
|
+++ elfutils/lib/eu-config.h
|
||||||
@@ -182,6 +182,17 @@ asm (".section predict_data, \"aw\"; .pr
|
@@ -162,6 +162,17 @@ asm (".section predict_data, \"aw\"; .pr
|
||||||
/* This macro is used by the tests conditionalize for standalone building. */
|
/* This macro is used by the tests conditionalize for standalone building. */
|
||||||
#define ELFUTILS_HEADER(name) <lib##name.h>
|
#define ELFUTILS_HEADER(name) <lib##name.h>
|
||||||
|
|
||||||
@ -719,7 +728,7 @@
|
|||||||
EXTRA_DIST = libasm.map
|
EXTRA_DIST = libasm.map
|
||||||
--- elfutils/libcpu/ChangeLog
|
--- elfutils/libcpu/ChangeLog
|
||||||
+++ elfutils/libcpu/ChangeLog
|
+++ elfutils/libcpu/ChangeLog
|
||||||
@@ -29,6 +29,9 @@
|
@@ -34,6 +34,9 @@
|
||||||
|
|
||||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
@ -729,7 +738,7 @@
|
|||||||
* Makefile.am (i386_parse_CFLAGS): Use quotes around command
|
* Makefile.am (i386_parse_CFLAGS): Use quotes around command
|
||||||
substitution that can produce leading whitespace.
|
substitution that can produce leading whitespace.
|
||||||
|
|
||||||
@@ -358,6 +361,11 @@
|
@@ -363,6 +366,11 @@
|
||||||
* defs/i386.doc: New file.
|
* defs/i386.doc: New file.
|
||||||
* defs/x86_64: New file.
|
* defs/x86_64: New file.
|
||||||
|
|
||||||
@ -743,7 +752,7 @@
|
|||||||
* Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
|
* Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
|
||||||
--- elfutils/libcpu/i386_disasm.c
|
--- elfutils/libcpu/i386_disasm.c
|
||||||
+++ elfutils/libcpu/i386_disasm.c
|
+++ elfutils/libcpu/i386_disasm.c
|
||||||
@@ -819,6 +819,7 @@ i386_disasm (const uint8_t **startp, con
|
@@ -822,6 +822,7 @@ i386_disasm (const uint8_t **startp, con
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert (! "INVALID not handled");
|
assert (! "INVALID not handled");
|
||||||
@ -794,7 +803,7 @@
|
|||||||
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
||||||
--- elfutils/libdw/ChangeLog
|
--- elfutils/libdw/ChangeLog
|
||||||
+++ elfutils/libdw/ChangeLog
|
+++ elfutils/libdw/ChangeLog
|
||||||
@@ -6,6 +6,10 @@
|
@@ -17,6 +17,10 @@
|
||||||
|
|
||||||
* Makefile.am (known-dwarf.h): Run gawk on config/known-dwarf.awk.
|
* Makefile.am (known-dwarf.h): Run gawk on config/known-dwarf.awk.
|
||||||
|
|
||||||
@ -805,7 +814,7 @@
|
|||||||
2011-07-14 Mark Wielaard <mjw@redhat.com>
|
2011-07-14 Mark Wielaard <mjw@redhat.com>
|
||||||
|
|
||||||
* libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.
|
* libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.
|
||||||
@@ -365,6 +369,10 @@
|
@@ -376,6 +380,10 @@
|
||||||
|
|
||||||
* dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
|
* dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
|
||||||
|
|
||||||
@ -816,7 +825,7 @@
|
|||||||
2009-08-10 Roland McGrath <roland@redhat.com>
|
2009-08-10 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* dwarf_getscopevar.c: Use dwarf_diename.
|
* dwarf_getscopevar.c: Use dwarf_diename.
|
||||||
@@ -1133,6 +1141,11 @@
|
@@ -1144,6 +1152,11 @@
|
||||||
|
|
||||||
2005-05-31 Roland McGrath <roland@redhat.com>
|
2005-05-31 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
@ -830,7 +839,7 @@
|
|||||||
|
|
||||||
--- elfutils/libdw/dwarf_begin_elf.c
|
--- elfutils/libdw/dwarf_begin_elf.c
|
||||||
+++ elfutils/libdw/dwarf_begin_elf.c
|
+++ elfutils/libdw/dwarf_begin_elf.c
|
||||||
@@ -64,6 +64,14 @@
|
@@ -43,6 +43,14 @@
|
||||||
#if USE_ZLIB
|
#if USE_ZLIB
|
||||||
# include <endian.h>
|
# include <endian.h>
|
||||||
# define crc32 loser_crc32
|
# define crc32 loser_crc32
|
||||||
@ -847,7 +856,7 @@
|
|||||||
#endif
|
#endif
|
||||||
--- elfutils/libdw/libdw.h
|
--- elfutils/libdw/libdw.h
|
||||||
+++ elfutils/libdw/libdw.h
|
+++ elfutils/libdw/libdw.h
|
||||||
@@ -852,7 +852,7 @@ extern Dwarf_OOM dwarf_new_oom_handler (
|
@@ -831,7 +831,7 @@ extern Dwarf_OOM dwarf_new_oom_handler (
|
||||||
|
|
||||||
|
|
||||||
/* Inline optimizations. */
|
/* Inline optimizations. */
|
||||||
@ -901,7 +910,7 @@
|
|||||||
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
||||||
--- elfutils/libdwfl/ChangeLog
|
--- elfutils/libdwfl/ChangeLog
|
||||||
+++ elfutils/libdwfl/ChangeLog
|
+++ elfutils/libdwfl/ChangeLog
|
||||||
@@ -1409,6 +1409,11 @@
|
@@ -1416,6 +1416,11 @@
|
||||||
|
|
||||||
2005-07-21 Roland McGrath <roland@redhat.com>
|
2005-07-21 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
@ -1039,16 +1048,19 @@
|
|||||||
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
||||||
--- elfutils/libelf/ChangeLog
|
--- elfutils/libelf/ChangeLog
|
||||||
+++ elfutils/libelf/ChangeLog
|
+++ elfutils/libelf/ChangeLog
|
||||||
@@ -1,3 +1,8 @@
|
@@ -7,6 +7,11 @@
|
||||||
|
|
||||||
|
* elf-knowledge.h (SECTION_STRIP_P): Remove < SHT_NUM check.
|
||||||
|
|
||||||
+2011-03-10 Roland McGrath <roland@redhat.com>
|
+2011-03-10 Roland McGrath <roland@redhat.com>
|
||||||
+
|
+
|
||||||
+ * gnuhash_xlate.h (elf_cvt_gnuhash): Avoid post-increment in bswap_32
|
+ * gnuhash_xlate.h (elf_cvt_gnuhash): Avoid post-increment in bswap_32
|
||||||
+ argument, since some implementations are buggy macros.
|
+ argument, since some implementations are buggy macros.
|
||||||
+
|
+
|
||||||
2011-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2011-02-26 Mark Wielaard <mjw@redhat.com>
|
||||||
|
|
||||||
* elf_getdata_rawchunk.c (elf_getdata_rawchunk): Fix off64_t overflow
|
* elf_end.c (elf_end): Call rwlock_unlock before rwlock_fini.
|
||||||
@@ -671,6 +676,11 @@
|
@@ -684,6 +689,11 @@
|
||||||
|
|
||||||
* elf.h: Update from glibc.
|
* elf.h: Update from glibc.
|
||||||
|
|
||||||
@ -1062,7 +1074,7 @@
|
|||||||
* elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
|
* elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
|
||||||
--- elfutils/libelf/common.h
|
--- elfutils/libelf/common.h
|
||||||
+++ elfutils/libelf/common.h
|
+++ elfutils/libelf/common.h
|
||||||
@@ -160,7 +160,7 @@ libelf_release_all (Elf *elf)
|
@@ -139,7 +139,7 @@ libelf_release_all (Elf *elf)
|
||||||
(Var) = (sizeof (Var) == 1 \
|
(Var) = (sizeof (Var) == 1 \
|
||||||
? (unsigned char) (Var) \
|
? (unsigned char) (Var) \
|
||||||
: (sizeof (Var) == 2 \
|
: (sizeof (Var) == 2 \
|
||||||
@ -1071,7 +1083,7 @@
|
|||||||
: (sizeof (Var) == 4 \
|
: (sizeof (Var) == 4 \
|
||||||
? bswap_32 (Var) \
|
? bswap_32 (Var) \
|
||||||
: bswap_64 (Var))))
|
: bswap_64 (Var))))
|
||||||
@@ -169,7 +169,7 @@ libelf_release_all (Elf *elf)
|
@@ -148,7 +148,7 @@ libelf_release_all (Elf *elf)
|
||||||
(Dst) = (sizeof (Var) == 1 \
|
(Dst) = (sizeof (Var) == 1 \
|
||||||
? (unsigned char) (Var) \
|
? (unsigned char) (Var) \
|
||||||
: (sizeof (Var) == 2 \
|
: (sizeof (Var) == 2 \
|
||||||
@ -1086,10 +1098,10 @@
|
|||||||
/* Conversion functions for versioning information.
|
/* Conversion functions for versioning information.
|
||||||
- Copyright (C) 2006, 2007 Red Hat, Inc.
|
- Copyright (C) 2006, 2007 Red Hat, Inc.
|
||||||
+ Copyright (C) 2006-2011 Red Hat, Inc.
|
+ Copyright (C) 2006-2011 Red Hat, Inc.
|
||||||
This file is part of Red Hat elfutils.
|
This file is part of elfutils.
|
||||||
Written by Ulrich Drepper <drepper@redhat.com>, 2006.
|
Written by Ulrich Drepper <drepper@redhat.com>, 2006.
|
||||||
|
|
||||||
@@ -89,7 +89,9 @@ elf_cvt_gnuhash (void *dest, const void
|
@@ -68,7 +68,9 @@ elf_cvt_gnuhash (void *dest, const void
|
||||||
dest32 = (Elf32_Word *) &dest64[bitmask_words];
|
dest32 = (Elf32_Word *) &dest64[bitmask_words];
|
||||||
while (len >= 4)
|
while (len >= 4)
|
||||||
{
|
{
|
||||||
@ -1194,7 +1206,7 @@
|
|||||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||||
--- elfutils/src/addr2line.c
|
--- elfutils/src/addr2line.c
|
||||||
+++ elfutils/src/addr2line.c
|
+++ elfutils/src/addr2line.c
|
||||||
@@ -455,10 +455,10 @@ handle_address (const char *string, Dwfl
|
@@ -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;
|
||||||
@ -1209,7 +1221,7 @@
|
|||||||
break;
|
break;
|
||||||
--- elfutils/src/ChangeLog
|
--- elfutils/src/ChangeLog
|
||||||
+++ elfutils/src/ChangeLog
|
+++ elfutils/src/ChangeLog
|
||||||
@@ -490,8 +490,16 @@
|
@@ -519,8 +519,16 @@
|
||||||
* readelf.c (attr_callback): Use print_block only when we don't use
|
* readelf.c (attr_callback): Use print_block only when we don't use
|
||||||
print_ops.
|
print_ops.
|
||||||
|
|
||||||
@ -1226,7 +1238,7 @@
|
|||||||
* ar.c (do_oper_extract): Use pathconf instead of statfs.
|
* ar.c (do_oper_extract): Use pathconf instead of statfs.
|
||||||
|
|
||||||
2009-08-01 Ulrich Drepper <drepper@redhat.com>
|
2009-08-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
@@ -655,6 +663,8 @@
|
@@ -684,6 +692,8 @@
|
||||||
* readelf.c (print_debug_frame_section): Use t instead of j formats
|
* readelf.c (print_debug_frame_section): Use t instead of j formats
|
||||||
for ptrdiff_t OFFSET.
|
for ptrdiff_t OFFSET.
|
||||||
|
|
||||||
@ -1235,7 +1247,7 @@
|
|||||||
2009-01-21 Ulrich Drepper <drepper@redhat.com>
|
2009-01-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
|
* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
|
||||||
@@ -838,6 +848,11 @@
|
@@ -867,6 +877,11 @@
|
||||||
that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
|
that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
|
||||||
is valid in RELRO.
|
is valid in RELRO.
|
||||||
|
|
||||||
@ -1247,7 +1259,7 @@
|
|||||||
2008-02-29 Roland McGrath <roland@redhat.com>
|
2008-02-29 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* readelf.c (print_attributes): Add a cast.
|
* readelf.c (print_attributes): Add a cast.
|
||||||
@@ -1089,6 +1104,8 @@
|
@@ -1118,6 +1133,8 @@
|
||||||
|
|
||||||
* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
|
* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
|
||||||
|
|
||||||
@ -1256,7 +1268,7 @@
|
|||||||
2007-10-15 Roland McGrath <roland@redhat.com>
|
2007-10-15 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* make-debug-archive.in: New file.
|
* make-debug-archive.in: New file.
|
||||||
@@ -1528,6 +1545,10 @@
|
@@ -1557,6 +1574,10 @@
|
||||||
* elflint.c (valid_e_machine): Add EM_ALPHA.
|
* elflint.c (valid_e_machine): Add EM_ALPHA.
|
||||||
Reported by Christian Aichinger <Greek0@gmx.net>.
|
Reported by Christian Aichinger <Greek0@gmx.net>.
|
||||||
|
|
||||||
@ -1267,7 +1279,7 @@
|
|||||||
2006-08-08 Ulrich Drepper <drepper@redhat.com>
|
2006-08-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
|
* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
|
||||||
@@ -1604,6 +1625,10 @@
|
@@ -1633,6 +1654,10 @@
|
||||||
* Makefile.am: Add hacks to create dependency files for non-generic
|
* Makefile.am: Add hacks to create dependency files for non-generic
|
||||||
linker.
|
linker.
|
||||||
|
|
||||||
@ -1278,7 +1290,7 @@
|
|||||||
2006-06-12 Ulrich Drepper <drepper@redhat.com>
|
2006-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
|
* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
|
||||||
@@ -1952,6 +1977,11 @@
|
@@ -1981,6 +2006,11 @@
|
||||||
* readelf.c (print_debug_loc_section): Fix indentation for larger
|
* readelf.c (print_debug_loc_section): Fix indentation for larger
|
||||||
address size.
|
address size.
|
||||||
|
|
||||||
@ -1292,7 +1304,7 @@
|
|||||||
* readelf.c (print_debug_line_section): Print section offset of each
|
* readelf.c (print_debug_line_section): Print section offset of each
|
||||||
--- elfutils/src/findtextrel.c
|
--- elfutils/src/findtextrel.c
|
||||||
+++ elfutils/src/findtextrel.c
|
+++ elfutils/src/findtextrel.c
|
||||||
@@ -504,7 +504,11 @@ ptrcompare (const void *p1, const void *
|
@@ -496,7 +496,11 @@ ptrcompare (const void *p1, const void *
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -1307,7 +1319,7 @@
|
|||||||
{
|
{
|
||||||
--- elfutils/src/ld.h
|
--- elfutils/src/ld.h
|
||||||
+++ elfutils/src/ld.h
|
+++ elfutils/src/ld.h
|
||||||
@@ -1122,6 +1122,7 @@ extern bool dynamically_linked_p (void);
|
@@ -1114,6 +1114,7 @@ extern bool dynamically_linked_p (void);
|
||||||
|
|
||||||
/* Checked whether the symbol is undefined and referenced from a DSO. */
|
/* Checked whether the symbol is undefined and referenced from a DSO. */
|
||||||
extern bool linked_from_dso_p (struct scninfo *scninfo, size_t symidx);
|
extern bool linked_from_dso_p (struct scninfo *scninfo, size_t symidx);
|
||||||
@ -1315,7 +1327,7 @@
|
|||||||
#ifdef __GNUC_STDC_INLINE__
|
#ifdef __GNUC_STDC_INLINE__
|
||||||
__attribute__ ((__gnu_inline__))
|
__attribute__ ((__gnu_inline__))
|
||||||
#endif
|
#endif
|
||||||
@@ -1139,5 +1140,6 @@ linked_from_dso_p (struct scninfo *scnin
|
@@ -1131,5 +1132,6 @@ linked_from_dso_p (struct scninfo *scnin
|
||||||
|
|
||||||
return sym->defined && sym->in_dso;
|
return sym->defined && sym->in_dso;
|
||||||
}
|
}
|
||||||
@ -1324,7 +1336,7 @@
|
|||||||
#endif /* ld.h */
|
#endif /* ld.h */
|
||||||
--- elfutils/src/Makefile.am
|
--- elfutils/src/Makefile.am
|
||||||
+++ elfutils/src/Makefile.am
|
+++ elfutils/src/Makefile.am
|
||||||
@@ -103,6 +103,9 @@ addr2line_no_Wformat = yes
|
@@ -95,6 +95,9 @@ addr2line_no_Wformat = yes
|
||||||
# XXX While the file is not finished, don't warn about this
|
# XXX While the file is not finished, don't warn about this
|
||||||
ldgeneric_no_Wunused = yes
|
ldgeneric_no_Wunused = yes
|
||||||
|
|
||||||
@ -1339,7 +1351,7 @@
|
|||||||
@@ -40,7 +40,8 @@ host_triplet = @host@
|
@@ -40,7 +40,8 @@ host_triplet = @host@
|
||||||
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
||||||
$(srcdir)/Makefile.in $(top_srcdir)/config/eu.am ChangeLog \
|
$(srcdir)/Makefile.in $(top_srcdir)/config/eu.am ChangeLog \
|
||||||
ldlex.c ldscript.c ylwrap
|
ldlex.c ldscript.c
|
||||||
-@MUDFLAP_TRUE@am__append_1 = -fmudflap
|
-@MUDFLAP_TRUE@am__append_1 = -fmudflap
|
||||||
+@BUILD_WERROR_TRUE@am__append_1 = $(if $($(*F)_no_Werror),,-Werror)
|
+@BUILD_WERROR_TRUE@am__append_1 = $(if $($(*F)_no_Werror),,-Werror)
|
||||||
+@MUDFLAP_TRUE@am__append_2 = -fmudflap
|
+@MUDFLAP_TRUE@am__append_2 = -fmudflap
|
||||||
@ -1428,7 +1440,7 @@
|
|||||||
findtextrel_LDADD = $(libdw) $(libelf) $(libmudflap)
|
findtextrel_LDADD = $(libdw) $(libelf) $(libmudflap)
|
||||||
--- elfutils/src/readelf.c
|
--- elfutils/src/readelf.c
|
||||||
+++ elfutils/src/readelf.c
|
+++ elfutils/src/readelf.c
|
||||||
@@ -4434,10 +4434,11 @@ struct listptr
|
@@ -4429,10 +4429,11 @@ struct listptr
|
||||||
#define listptr_offset_size(p) ((p)->dwarf64 ? 8 : 4)
|
#define listptr_offset_size(p) ((p)->dwarf64 ? 8 : 4)
|
||||||
#define listptr_address_size(p) ((p)->addr64 ? 8 : 4)
|
#define listptr_address_size(p) ((p)->addr64 ? 8 : 4)
|
||||||
|
|
||||||
@ -1442,7 +1454,7 @@
|
|||||||
struct listptr *p1 = (void *) a;
|
struct listptr *p1 = (void *) a;
|
||||||
struct listptr *p2 = (void *) b;
|
struct listptr *p2 = (void *) b;
|
||||||
|
|
||||||
@@ -4518,8 +4519,11 @@ static void
|
@@ -4513,8 +4514,11 @@ static void
|
||||||
sort_listptr (struct listptr_table *table, const char *name)
|
sort_listptr (struct listptr_table *table, const char *name)
|
||||||
{
|
{
|
||||||
if (table->n > 0)
|
if (table->n > 0)
|
||||||
@ -1467,7 +1479,7 @@
|
|||||||
error (EXIT_FAILURE, 0,
|
error (EXIT_FAILURE, 0,
|
||||||
--- elfutils/src/strings.c
|
--- elfutils/src/strings.c
|
||||||
+++ elfutils/src/strings.c
|
+++ elfutils/src/strings.c
|
||||||
@@ -51,6 +51,10 @@
|
@@ -43,6 +43,10 @@
|
||||||
|
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
|
|
||||||
@ -1478,7 +1490,7 @@
|
|||||||
|
|
||||||
/* Prototypes of local functions. */
|
/* Prototypes of local functions. */
|
||||||
static int read_fd (int fd, const char *fname, off64_t fdlen);
|
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
|
@@ -483,8 +487,13 @@ map_file (int fd, off64_t start_off, off
|
||||||
fd, start_off);
|
fd, start_off);
|
||||||
if (mem != MAP_FAILED)
|
if (mem != MAP_FAILED)
|
||||||
{
|
{
|
||||||
@ -1492,7 +1504,7 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (errno != EINVAL && errno != ENOMEM)
|
if (errno != EINVAL && errno != ENOMEM)
|
||||||
@@ -584,9 +593,11 @@ read_block (int fd, const char *fname, o
|
@@ -576,9 +585,11 @@ read_block (int fd, const char *fname, o
|
||||||
elfmap_off = from & ~(ps - 1);
|
elfmap_off = from & ~(ps - 1);
|
||||||
elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size);
|
elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size);
|
||||||
|
|
||||||
@ -1506,7 +1518,7 @@
|
|||||||
if (unlikely (elfmap == MAP_FAILED))
|
if (unlikely (elfmap == MAP_FAILED))
|
||||||
--- elfutils/src/strip.c
|
--- elfutils/src/strip.c
|
||||||
+++ elfutils/src/strip.c
|
+++ elfutils/src/strip.c
|
||||||
@@ -53,6 +53,12 @@
|
@@ -45,6 +45,12 @@
|
||||||
#include <libebl.h>
|
#include <libebl.h>
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
|
|
||||||
@ -1519,7 +1531,7 @@
|
|||||||
typedef uint8_t GElf_Byte;
|
typedef uint8_t GElf_Byte;
|
||||||
|
|
||||||
/* Name and version of program. */
|
/* Name and version of program. */
|
||||||
@@ -326,8 +332,18 @@ process_file (const char *fname)
|
@@ -318,8 +324,18 @@ process_file (const char *fname)
|
||||||
|
|
||||||
/* If we have to preserve the timestamp, we need it in the
|
/* If we have to preserve the timestamp, we need it in the
|
||||||
format utimes() understands. */
|
format utimes() understands. */
|
||||||
@ -1538,7 +1550,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Open the file. */
|
/* Open the file. */
|
||||||
@@ -2063,7 +2079,7 @@ while computing checksum for debug infor
|
@@ -2055,7 +2071,7 @@ while computing checksum for debug infor
|
||||||
/* If requested, preserve the timestamp. */
|
/* If requested, preserve the timestamp. */
|
||||||
if (tvp != NULL)
|
if (tvp != NULL)
|
||||||
{
|
{
|
||||||
@ -1547,7 +1559,7 @@
|
|||||||
{
|
{
|
||||||
error (0, errno, gettext ("\
|
error (0, errno, gettext ("\
|
||||||
cannot set access and modification date of '%s'"),
|
cannot set access and modification date of '%s'"),
|
||||||
@@ -2120,7 +2136,7 @@ handle_ar (int fd, Elf *elf, const char
|
@@ -2112,7 +2128,7 @@ handle_ar (int fd, Elf *elf, const char
|
||||||
|
|
||||||
if (tvp != NULL)
|
if (tvp != NULL)
|
||||||
{
|
{
|
||||||
@ -1558,7 +1570,7 @@
|
|||||||
cannot set access and modification date of '%s'"), fname);
|
cannot set access and modification date of '%s'"), fname);
|
||||||
--- elfutils/tests/ChangeLog
|
--- elfutils/tests/ChangeLog
|
||||||
+++ elfutils/tests/ChangeLog
|
+++ elfutils/tests/ChangeLog
|
||||||
@@ -279,6 +279,8 @@
|
@@ -333,6 +333,8 @@
|
||||||
|
|
||||||
2008-01-21 Roland McGrath <roland@redhat.com>
|
2008-01-21 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
@ -1567,7 +1579,7 @@
|
|||||||
* testfile45.S.bz2: Add tests for cltq, cqto.
|
* testfile45.S.bz2: Add tests for cltq, cqto.
|
||||||
* testfile45.expect.bz2: Adjust.
|
* testfile45.expect.bz2: Adjust.
|
||||||
|
|
||||||
@@ -987,6 +989,11 @@
|
@@ -1041,6 +1043,11 @@
|
||||||
* Makefile.am (TESTS): Add run-elflint-test.sh.
|
* Makefile.am (TESTS): Add run-elflint-test.sh.
|
||||||
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
|
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
|
||||||
|
|
||||||
@ -1581,7 +1593,7 @@
|
|||||||
* get-files.c (main): Use correct format specifier.
|
* get-files.c (main): Use correct format specifier.
|
||||||
--- elfutils/tests/line2addr.c
|
--- elfutils/tests/line2addr.c
|
||||||
+++ elfutils/tests/line2addr.c
|
+++ elfutils/tests/line2addr.c
|
||||||
@@ -132,7 +132,7 @@ main (int argc, char *argv[])
|
@@ -124,7 +124,7 @@ main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
struct args a = { .arg = argv[cnt] };
|
struct args a = { .arg = argv[cnt] };
|
||||||
|
|
||||||
@ -1612,10 +1624,10 @@
|
|||||||
noinst_PROGRAMS = arextract$(EXEEXT) arsymtest$(EXEEXT) \
|
noinst_PROGRAMS = arextract$(EXEEXT) arsymtest$(EXEEXT) \
|
||||||
newfile$(EXEEXT) saridx$(EXEEXT) scnnames$(EXEEXT) \
|
newfile$(EXEEXT) saridx$(EXEEXT) scnnames$(EXEEXT) \
|
||||||
sectiondump$(EXEEXT) showptable$(EXEEXT) update1$(EXEEXT) \
|
sectiondump$(EXEEXT) showptable$(EXEEXT) update1$(EXEEXT) \
|
||||||
@@ -87,10 +88,10 @@ TESTS = run-arextract.sh run-arsymtest.s
|
@@ -89,10 +90,10 @@ TESTS = run-arextract.sh run-arsymtest.s
|
||||||
run-prelink-addr-test.sh run-dwarf-getstring.sh \
|
run-rerequest_tag.sh run-typeiter.sh run-readelf-d.sh \
|
||||||
run-rerequest_tag.sh $(am__EXEEXT_1) $(am__EXEEXT_3)
|
run-unstrip-n.sh run-low_high_pc.sh $(am__EXEEXT_1) \
|
||||||
# run-show-ciefde.sh
|
$(am__EXEEXT_3)
|
||||||
-@STANDALONE_FALSE@am__append_5 = msg_tst md5-sha1-test
|
-@STANDALONE_FALSE@am__append_5 = msg_tst md5-sha1-test
|
||||||
@STANDALONE_FALSE@am__append_6 = msg_tst md5-sha1-test
|
@STANDALONE_FALSE@am__append_6 = msg_tst md5-sha1-test
|
||||||
-@HAVE_LIBASM_TRUE@am__append_7 = $(asm_TESTS)
|
-@HAVE_LIBASM_TRUE@am__append_7 = $(asm_TESTS)
|
||||||
@ -1625,7 +1637,7 @@
|
|||||||
subdir = tests
|
subdir = tests
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
|
||||||
@@ -391,6 +392,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
@@ -403,6 +404,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
@ -1633,7 +1645,7 @@
|
|||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||||
@@ -420,6 +422,7 @@ SHELL = @SHELL@
|
@@ -432,6 +434,7 @@ SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
@ -1641,7 +1653,7 @@
|
|||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
XGETTEXT_015 = @XGETTEXT_015@
|
XGETTEXT_015 = @XGETTEXT_015@
|
||||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||||
@@ -478,12 +481,11 @@ top_build_prefix = @top_build_prefix@
|
@@ -490,12 +493,11 @@ top_build_prefix = @top_build_prefix@
|
||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
zip_LIBS = @zip_LIBS@
|
zip_LIBS = @zip_LIBS@
|
||||||
@ -1657,7 +1669,7 @@
|
|||||||
@MUDFLAP_FALSE@libmudflap =
|
@MUDFLAP_FALSE@libmudflap =
|
||||||
@MUDFLAP_TRUE@libmudflap = -lmudflap
|
@MUDFLAP_TRUE@libmudflap = -lmudflap
|
||||||
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage $(no_mudflap.os),\
|
||||||
@@ -493,7 +495,7 @@ CLEANFILES = *.gcno *.gcda
|
@@ -505,7 +507,7 @@ CLEANFILES = *.gcno *.gcda
|
||||||
textrel_check = if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
|
textrel_check = if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
|
||||||
@MUDFLAP_FALSE@BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
|
@MUDFLAP_FALSE@BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
|
||||||
@MUDFLAP_TRUE@BUILD_RPATH = \$$ORIGIN/../backends
|
@MUDFLAP_TRUE@BUILD_RPATH = \$$ORIGIN/../backends
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
|||||||
Name: elfutils
|
Name: elfutils
|
||||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||||
Version: 0.153
|
Version: 0.154
|
||||||
%global baserelease 2
|
%global baserelease 1
|
||||||
URL: https://fedorahosted.org/elfutils/
|
URL: https://fedorahosted.org/elfutils/
|
||||||
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
|
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
|
||||||
License: GPLv2 with exceptions
|
License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
|
||||||
%if %{?_with_compat:1}%{!?_with_compat:0}
|
%if %{?_with_compat:1}%{!?_with_compat:0}
|
||||||
@ -46,8 +46,6 @@ Source: %{?source_url}%{name}-%{version}.tar.bz2
|
|||||||
Patch1: %{?source_url}elfutils-robustify.patch
|
Patch1: %{?source_url}elfutils-robustify.patch
|
||||||
Patch2: %{?source_url}elfutils-portability.patch
|
Patch2: %{?source_url}elfutils-portability.patch
|
||||||
|
|
||||||
Patch3: elfutils-0.153-dwfl_segment_report_module.patch
|
|
||||||
|
|
||||||
%if !%{compat}
|
%if !%{compat}
|
||||||
Release: %{baserelease}%{?dist}
|
Release: %{baserelease}%{?dist}
|
||||||
%else
|
%else
|
||||||
@ -96,6 +94,7 @@ symbols), readelf (to see the raw ELF file structures), and elflint
|
|||||||
%package libs
|
%package libs
|
||||||
Summary: Libraries to handle compiled objects
|
Summary: Libraries to handle compiled objects
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-libs%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-libs%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -110,6 +109,7 @@ other programs using these libraries.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries to handle compiled objects
|
Summary: Development libraries to handle compiled objects
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-devel%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-devel%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -129,6 +129,7 @@ assembler interface.
|
|||||||
%package devel-static
|
%package devel-static
|
||||||
Summary: Static archives to handle compiled objects
|
Summary: Static archives to handle compiled objects
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-devel-static%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-devel-static%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -142,6 +143,7 @@ with the code to handle compiled objects.
|
|||||||
%package libelf
|
%package libelf
|
||||||
Summary: Library to read and write ELF files
|
Summary: Library to read and write ELF files
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -156,6 +158,7 @@ elfutils package use it also to generate new ELF files.
|
|||||||
%package libelf-devel
|
%package libelf-devel
|
||||||
Summary: Development support for libelf
|
Summary: Development support for libelf
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-libelf-devel%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-libelf-devel%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -174,6 +177,7 @@ different sections of an ELF file.
|
|||||||
%package libelf-devel-static
|
%package libelf-devel-static
|
||||||
Summary: Static archive of libelf
|
Summary: Static archive of libelf
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
License: GPLv2+ or LGPLv3+
|
||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-libelf-devel-static%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-libelf-devel-static%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -207,8 +211,6 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
|
|||||||
|
|
||||||
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
||||||
|
|
||||||
%patch3 -p1 -b .dwfl_segment_report_module
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Remove -Wall from default flags. The makefiles enable enough warnings
|
# Remove -Wall from default flags. The makefiles enable enough warnings
|
||||||
# themselves, and they use -Werror. Appending -Wall defeats the cases where
|
# themselves, and they use -Werror. Appending -Wall defeats the cases where
|
||||||
@ -260,7 +262,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README TODO
|
%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 README TODO CONTRIBUTING
|
||||||
%{_bindir}/eu-addr2line
|
%{_bindir}/eu-addr2line
|
||||||
%{_bindir}/eu-ar
|
%{_bindir}/eu-ar
|
||||||
%{_bindir}/eu-elfcmp
|
%{_bindir}/eu-elfcmp
|
||||||
@ -322,6 +324,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/libelf.a
|
%{_libdir}/libelf.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2012 Mark Wielaard <mjw@redhat.com> - 0.154-1
|
||||||
|
- Update to 0.154
|
||||||
|
- elflint doesn't recognize SHF_INFO_LINK on relocation sections (#807823)
|
||||||
|
- Update license to GPLv3+ and (GPLv2+ or LGPLv3+)
|
||||||
|
- Remove elfutils-0.153-dwfl_segment_report_module.patch
|
||||||
|
|
||||||
* Mon Apr 02 2012 Mark Wielaard <mark@klomp.org> - 0.153-2
|
* Mon Apr 02 2012 Mark Wielaard <mark@klomp.org> - 0.153-2
|
||||||
- Fix for eu-unstrip emits garbage for librt.so.1 (#805447)
|
- Fix for eu-unstrip emits garbage for librt.so.1 (#805447)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user