Update to 0.145
This commit is contained in:
parent
105962a662
commit
9fc0de9b87
@ -1 +1 @@
|
||||
elfutils-0.144.tar.bz2
|
||||
elfutils-0.145.tar.bz2
|
||||
|
@ -1,114 +0,0 @@
|
||||
From b337b1fd5f3b3410fe522a690ccee70bce8519ee Mon Sep 17 00:00:00 2001
|
||||
From: Roland McGrath <roland@redhat.com>
|
||||
Date: Fri, 15 Jan 2010 01:02:27 -0800
|
||||
Subject: [PATCH] Fix sloppy #include use, breaks with latest glibc.
|
||||
|
||||
---
|
||||
src/ChangeLog | 8 ++++++++
|
||||
src/ar.c | 3 ++-
|
||||
src/elflint.c | 1 +
|
||||
src/readelf.c | 1 +
|
||||
src/strip.c | 3 ++-
|
||||
src/unstrip.c | 3 ++-
|
||||
6 files changed, 16 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/ChangeLog b/src/ChangeLog
|
||||
index c4b5b05..ee1b733 100644
|
||||
--- a/src/ChangeLog
|
||||
+++ b/src/ChangeLog
|
||||
@@ -1,3 +1,11 @@
|
||||
+2010-01-15 Roland McGrath <roland@redhat.com>
|
||||
+
|
||||
+ * ar.c: Include <sys/stat.h>.
|
||||
+ * elflint.c: Likewise.
|
||||
+ * readelf.c: Likewise.
|
||||
+ * strip.c: Likewise.
|
||||
+ * unstrip.c: Likewise
|
||||
+
|
||||
2010-01-07 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (print_ehdr): Handle PN_XNUM.
|
||||
diff --git a/src/ar.c b/src/ar.c
|
||||
index 5d7a6e7..149d116 100644
|
||||
--- a/src/ar.c
|
||||
+++ b/src/ar.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Create, modify, and extract from archives.
|
||||
- Copyright (C) 2005, 2007, 2009 Red Hat, Inc.
|
||||
+ Copyright (C) 2005-2010 Red Hat, Inc.
|
||||
Written by Ulrich Drepper <drepper@redhat.com>, 2005.
|
||||
|
||||
Red Hat elfutils is free software; you can redistribute it and/or modify
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
+#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <system.h>
|
||||
diff --git a/src/elflint.c b/src/elflint.c
|
||||
index 63d8389..531122b 100644
|
||||
--- a/src/elflint.c
|
||||
+++ b/src/elflint.c
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <elf-knowledge.h>
|
||||
diff --git a/src/readelf.c b/src/readelf.c
|
||||
index 4464866..6ba259c 100644
|
||||
--- a/src/readelf.c
|
||||
+++ b/src/readelf.c
|
||||
@@ -49,6 +49,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
#include <system.h>
|
||||
#include "../libelf/libelfP.h"
|
||||
diff --git a/src/strip.c b/src/strip.c
|
||||
index 32cf0d7..7b2b889 100644
|
||||
--- a/src/strip.c
|
||||
+++ b/src/strip.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Discard section not used at runtime from object files.
|
||||
- Copyright (C) 2000-2008, 2009 Red Hat, Inc.
|
||||
+ Copyright (C) 2000-2010 Red Hat, Inc.
|
||||
This file is part of Red Hat elfutils.
|
||||
Written by Ulrich Drepper <drepper@redhat.com>, 2000.
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
+#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <elf-knowledge.h>
|
||||
diff --git a/src/unstrip.c b/src/unstrip.c
|
||||
index 284607b..0984e6b 100644
|
||||
--- a/src/unstrip.c
|
||||
+++ b/src/unstrip.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Combine stripped files with separate symbols and debug information.
|
||||
- Copyright (C) 2007, 2009 Red Hat, Inc.
|
||||
+ Copyright (C) 2007-2010 Red Hat, Inc.
|
||||
This file is part of Red Hat elfutils.
|
||||
Written by Roland McGrath <roland@redhat.com>, 2007.
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
#include <gelf.h>
|
||||
#include <libebl.h>
|
||||
--
|
||||
1.6.2.5
|
||||
|
Binary file not shown.
BIN
elfutils-0.145.tar.bz2.sig
Normal file
BIN
elfutils-0.145.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
--- elfutils/backends/ChangeLog
|
||||
+++ elfutils/backends/ChangeLog
|
||||
@@ -78,6 +78,10 @@
|
||||
@@ -88,6 +88,10 @@
|
||||
* ppc_attrs.c (ppc_check_object_attribute): Handle tag
|
||||
GNU_Power_ABI_Struct_Return.
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
2008-10-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
|
||||
@@ -405,6 +409,11 @@
|
||||
@@ -415,6 +419,11 @@
|
||||
* sparc_init.c: Likewise.
|
||||
* x86_64_init.c: Likewise.
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
2005-11-19 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* ppc64_reloc.def: REL30 -> ADDR30.
|
||||
@@ -427,6 +436,9 @@
|
||||
@@ -437,6 +446,9 @@
|
||||
* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
|
||||
(CLEANFILES): Add libebl_$(m).so.
|
||||
|
||||
@ -35,34 +35,18 @@
|
||||
|
||||
--- elfutils/backends/Makefile.am
|
||||
+++ elfutils/backends/Makefile.am
|
||||
@@ -25,12 +25,14 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
|
||||
+WEXTRA = @WEXTRA@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
|
||||
+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -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 \
|
||||
@@ -115,7 +117,7 @@ libebl_%.so: libebl_%_pic.a libebl_%.map
|
||||
$(LINK) -shared -o $@ -Wl,--whole-archive,$<\
|
||||
$(cpu_$(@:libebl_%.so=%)) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(word 2,$^) \
|
||||
@@ -103,7 +103,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
|
||||
$(LINK) -shared -o $(@:.map=.so) \
|
||||
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(@:.so=.map) \
|
||||
- -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...
|
||||
libebl_i386.so: $(cpu_i386)
|
||||
--- elfutils/backends/Makefile.in
|
||||
+++ elfutils/backends/Makefile.in
|
||||
@@ -163,6 +163,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -164,6 +164,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -70,7 +54,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -192,6 +193,7 @@ SHELL = @SHELL@
|
||||
@@ -193,6 +194,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
@ -78,27 +62,24 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -250,9 +252,9 @@ top_builddir = @top_builddir@
|
||||
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..
|
||||
@@ -680,7 +682,7 @@ libebl_%.so: libebl_%_pic.a libebl_%.map
|
||||
$(LINK) -shared -o $@ -Wl,--whole-archive,$<\
|
||||
$(cpu_$(@:libebl_%.so=%)) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(word 2,$^) \
|
||||
@@ -255,7 +257,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(top_srcdir)/libelf -I$(top_srcdir)/libdw
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
@@ -693,7 +695,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
|
||||
$(LINK) -shared -o $(@:.map=.so) \
|
||||
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
|
||||
-Wl,--version-script,$(@:.so=.map) \
|
||||
- -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...
|
||||
libebl_i386.so: $(cpu_i386)
|
||||
--- elfutils/ChangeLog
|
||||
+++ elfutils/ChangeLog
|
||||
@@ -1,3 +1,7 @@
|
||||
@ -158,6 +139,24 @@
|
||||
2005-05-19 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
|
||||
--- elfutils/config/eu.am
|
||||
+++ elfutils/config/eu.am
|
||||
@@ -25,11 +25,14 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
|
||||
+WEXTRA = @WEXTRA@
|
||||
+LD_AS_NEEDED = @LD_AS_NEEDED@
|
||||
+
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow \
|
||||
$(if $($(*F)_no_Werror),,-Werror) \
|
||||
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
||||
+ $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
|
||||
$(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \
|
||||
$($(*F)_CFLAGS)
|
||||
|
||||
--- elfutils/config/Makefile.in
|
||||
+++ elfutils/config/Makefile.in
|
||||
@@ -76,6 +76,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@ -539,7 +538,7 @@
|
||||
AC_OUTPUT
|
||||
--- elfutils/lib/ChangeLog
|
||||
+++ elfutils/lib/ChangeLog
|
||||
@@ -4,6 +4,9 @@
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -549,7 +548,7 @@
|
||||
* eu-config.h: Add multiple inclusion protection.
|
||||
|
||||
2009-01-17 Ulrich Drepper <drepper@redhat.com>
|
||||
@@ -60,6 +63,11 @@
|
||||
@@ -64,6 +67,11 @@
|
||||
* Makefile.am (libeu_a_SOURCES): Add it.
|
||||
* system.h: Declare crc32_file.
|
||||
|
||||
@ -581,26 +580,9 @@
|
||||
|
||||
#ifdef SHARED
|
||||
# define OLD_VERSION(name, version) \
|
||||
--- elfutils/lib/Makefile.am
|
||||
+++ elfutils/lib/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
|
||||
+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) $($(*F)_CFLAGS)
|
||||
INCLUDES = -I$(srcdir)/../libelf -I..
|
||||
|
||||
noinst_LIBRARIES = libeu.a
|
||||
--- elfutils/lib/Makefile.in
|
||||
+++ elfutils/lib/Makefile.in
|
||||
@@ -98,6 +98,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -99,6 +99,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -608,7 +590,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -127,6 +128,7 @@ SHELL = @SHELL@
|
||||
@@ -128,6 +129,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
@ -616,21 +598,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -185,9 +187,9 @@ top_builddir = @top_builddir@
|
||||
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 \
|
||||
@@ -189,7 +191,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libelf
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1) -fpic
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libasm/ChangeLog
|
||||
+++ elfutils/libasm/ChangeLog
|
||||
@@ -63,6 +63,11 @@
|
||||
@@ -67,6 +67,11 @@
|
||||
* asm_error.c: Add new error ASM_E_IOERROR.
|
||||
* libasmP.h: Add ASM_E_IOERROR definition.
|
||||
|
||||
@ -642,26 +621,9 @@
|
||||
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
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
|
||||
+AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -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
|
||||
--- elfutils/libasm/Makefile.in
|
||||
+++ elfutils/libasm/Makefile.in
|
||||
@@ -145,6 +145,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -147,6 +147,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -669,7 +631,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -174,6 +175,7 @@ SHELL = @SHELL@
|
||||
@@ -176,6 +177,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
@ -677,21 +639,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -232,9 +234,9 @@ top_builddir = @top_builddir@
|
||||
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
|
||||
@@ -238,7 +240,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(top_srcdir)/libdw
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libcpu/ChangeLog
|
||||
+++ elfutils/libcpu/ChangeLog
|
||||
@@ -5,6 +5,9 @@
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
2009-01-23 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -701,7 +660,7 @@
|
||||
* Makefile.am (i386_parse_CFLAGS): Use quotes around command
|
||||
substitution that can produce leading whitespace.
|
||||
|
||||
@@ -334,6 +337,11 @@
|
||||
@@ -338,6 +341,11 @@
|
||||
* defs/i386.doc: New file.
|
||||
* defs/x86_64: New file.
|
||||
|
||||
@ -723,21 +682,9 @@
|
||||
}
|
||||
}
|
||||
else
|
||||
--- elfutils/libcpu/Makefile.am
|
||||
+++ elfutils/libcpu/Makefile.am
|
||||
@@ -30,7 +30,8 @@ AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fpic \
|
||||
+WEXTRA = @WEXTRA@
|
||||
+AM_CFLAGS += -Wall -Wshadow -Wunused $(WEXTRA) -std=gnu99 -fpic \
|
||||
-fdollars-in-identifiers \
|
||||
$($(*F)_CFLAGS) \
|
||||
$(if $($(*F)_no_Werror),,-Werror)
|
||||
--- elfutils/libcpu/Makefile.in
|
||||
+++ elfutils/libcpu/Makefile.in
|
||||
@@ -114,6 +114,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -116,6 +116,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -745,7 +692,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = lex.$(<F:lex.l=)
|
||||
@@ -143,6 +144,7 @@ SHELL = @SHELL@
|
||||
@@ -145,6 +146,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
@ -753,25 +700,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -200,10 +202,11 @@ top_build_prefix = @top_build_prefix@
|
||||
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)
|
||||
@@ -207,7 +209,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libdw -I$(srcdir)/../libasm
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1) -fpic -fdollars-in-identifiers
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libdw/ChangeLog
|
||||
+++ elfutils/libdw/ChangeLog
|
||||
@@ -49,6 +49,10 @@
|
||||
@@ -57,6 +57,10 @@
|
||||
|
||||
* dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
|
||||
|
||||
@ -782,7 +722,7 @@
|
||||
2009-08-10 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* dwarf_getscopevar.c: Use dwarf_diename.
|
||||
@@ -817,6 +821,11 @@
|
||||
@@ -825,6 +829,11 @@
|
||||
|
||||
2005-05-31 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -805,28 +745,9 @@
|
||||
/* Return attribute code of given attribute. */
|
||||
__libdw_extern_inline unsigned int
|
||||
dwarf_whatattr (Dwarf_Attribute *attr)
|
||||
--- elfutils/libdw/Makefile.am
|
||||
+++ elfutils/libdw/Makefile.am
|
||||
@@ -25,6 +25,7 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ endif
|
||||
if BUILD_STATIC
|
||||
AM_CFLAGS += -fpic
|
||||
endif
|
||||
-AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
|
||||
+AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
|
||||
VERSION = 1
|
||||
|
||||
--- elfutils/libdw/Makefile.in
|
||||
+++ elfutils/libdw/Makefile.in
|
||||
@@ -187,6 +187,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -188,6 +188,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -834,7 +755,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -216,6 +217,7 @@ SHELL = @SHELL@
|
||||
@@ -217,6 +218,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
@ -842,22 +763,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -274,9 +276,10 @@ top_builddir = @top_builddir@
|
||||
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)))
|
||||
@@ -278,7 +280,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libelf
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1) $(am__append_2)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libdwfl/ChangeLog
|
||||
+++ elfutils/libdwfl/ChangeLog
|
||||
@@ -1165,6 +1165,11 @@
|
||||
@@ -1184,6 +1184,11 @@
|
||||
|
||||
2005-07-21 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -869,26 +786,9 @@
|
||||
* Makefile.am (noinst_HEADERS): Add loc2c.c.
|
||||
|
||||
* test2.c (main): Check sscanf result to quiet warning.
|
||||
--- elfutils/libdwfl/Makefile.am
|
||||
+++ elfutils/libdwfl/Makefile.am
|
||||
@@ -27,12 +27,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
|
||||
+AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
|
||||
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
|
||||
-I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
|
||||
VERSION = 1
|
||||
--- elfutils/libdwfl/Makefile.in
|
||||
+++ elfutils/libdwfl/Makefile.in
|
||||
@@ -179,6 +179,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -181,6 +181,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -896,7 +796,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -208,6 +209,7 @@ SHELL = @SHELL@
|
||||
@@ -210,6 +211,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
@ -904,21 +804,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -266,9 +268,9 @@ top_builddir = @top_builddir@
|
||||
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
|
||||
|
||||
@@ -272,7 +274,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libdw
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libebl/ChangeLog
|
||||
+++ elfutils/libebl/ChangeLog
|
||||
@@ -620,6 +620,11 @@
|
||||
@@ -624,6 +624,11 @@
|
||||
* Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
|
||||
tracking works right.
|
||||
|
||||
@ -930,26 +827,9 @@
|
||||
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
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
AM_CFLAGS =
|
||||
endif
|
||||
-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
|
||||
+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \
|
||||
-std=gnu99
|
||||
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
|
||||
--- elfutils/libebl/Makefile.in
|
||||
+++ elfutils/libebl/Makefile.in
|
||||
@@ -141,6 +141,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -143,6 +143,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -957,7 +837,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -170,6 +171,7 @@ SHELL = @SHELL@
|
||||
@@ -172,6 +173,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
@ -965,21 +845,18 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -228,9 +230,9 @@ top_builddir = @top_builddir@
|
||||
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
|
||||
|
||||
@@ -234,7 +236,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libasm
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1) -fpic
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/libelf/ChangeLog
|
||||
+++ elfutils/libelf/ChangeLog
|
||||
@@ -614,6 +614,11 @@
|
||||
@@ -624,6 +624,11 @@
|
||||
|
||||
* elf.h: Update from glibc.
|
||||
|
||||
@ -1011,28 +888,9 @@
|
||||
: (sizeof (Var) == 4 \
|
||||
? bswap_32 (Var) \
|
||||
: bswap_64 (Var))))
|
||||
--- elfutils/libelf/Makefile.am
|
||||
+++ elfutils/libelf/Makefile.am
|
||||
@@ -25,6 +25,7 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ endif
|
||||
if BUILD_STATIC
|
||||
AM_CFLAGS += -fpic
|
||||
endif
|
||||
-AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
|
||||
+AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
|
||||
$($(*F)_CFLAGS)
|
||||
INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
|
||||
GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
|
||||
--- elfutils/libelf/Makefile.in
|
||||
+++ elfutils/libelf/Makefile.in
|
||||
@@ -188,6 +188,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -189,6 +189,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -1040,7 +898,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -217,6 +218,7 @@ SHELL = @SHELL@
|
||||
@@ -218,6 +219,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = 1
|
||||
@ -1048,19 +906,15 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -275,10 +277,10 @@ top_builddir = @top_builddir@
|
||||
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)
|
||||
@@ -278,7 +280,7 @@ zip_LIBS = @zip_LIBS@
|
||||
INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1) $(am__append_2)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
--- elfutils/m4/Makefile.in
|
||||
+++ elfutils/m4/Makefile.in
|
||||
@@ -75,6 +75,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@ -1114,7 +968,7 @@
|
||||
/* It was symbol+offset. */
|
||||
--- elfutils/src/ChangeLog
|
||||
+++ elfutils/src/ChangeLog
|
||||
@@ -59,8 +59,16 @@
|
||||
@@ -82,8 +82,16 @@
|
||||
* readelf.c (attr_callback): Use print_block only when we don't use
|
||||
print_ops.
|
||||
|
||||
@ -1131,7 +985,7 @@
|
||||
* ar.c (do_oper_extract): Use pathconf instead of statfs.
|
||||
|
||||
2009-08-01 Ulrich Drepper <drepper@redhat.com>
|
||||
@@ -224,6 +232,8 @@
|
||||
@@ -247,6 +255,8 @@
|
||||
* readelf.c (print_debug_frame_section): Use t instead of j formats
|
||||
for ptrdiff_t OFFSET.
|
||||
|
||||
@ -1140,7 +994,7 @@
|
||||
2009-01-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
|
||||
@@ -407,6 +417,11 @@
|
||||
@@ -430,6 +440,11 @@
|
||||
that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
|
||||
is valid in RELRO.
|
||||
|
||||
@ -1152,7 +1006,7 @@
|
||||
2008-02-29 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (print_attributes): Add a cast.
|
||||
@@ -658,6 +673,8 @@
|
||||
@@ -681,6 +696,8 @@
|
||||
|
||||
* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
|
||||
|
||||
@ -1161,7 +1015,7 @@
|
||||
2007-10-15 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* make-debug-archive.in: New file.
|
||||
@@ -1097,6 +1114,10 @@
|
||||
@@ -1120,6 +1137,10 @@
|
||||
* elflint.c (valid_e_machine): Add EM_ALPHA.
|
||||
Reported by Christian Aichinger <Greek0@gmx.net>.
|
||||
|
||||
@ -1172,7 +1026,7 @@
|
||||
2006-08-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
|
||||
@@ -1173,6 +1194,10 @@
|
||||
@@ -1196,6 +1217,10 @@
|
||||
* Makefile.am: Add hacks to create dependency files for non-generic
|
||||
linker.
|
||||
|
||||
@ -1183,7 +1037,7 @@
|
||||
2006-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
|
||||
@@ -1521,6 +1546,11 @@
|
||||
@@ -1544,6 +1569,11 @@
|
||||
* readelf.c (print_debug_loc_section): Fix indentation for larger
|
||||
address size.
|
||||
|
||||
@ -1229,24 +1083,7 @@
|
||||
#endif /* ld.h */
|
||||
--- elfutils/src/Makefile.am
|
||||
+++ elfutils/src/Makefile.am
|
||||
@@ -26,6 +26,7 @@
|
||||
##
|
||||
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) -DDEBUGPRED=@DEBUGPRED@ \
|
||||
-DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
AM_CFLAGS = -fmudflap
|
||||
else
|
||||
@@ -33,7 +34,7 @@ AM_CFLAGS =
|
||||
endif
|
||||
AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
|
||||
$(if $($(*F)_no_Werror),,-Werror) \
|
||||
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
||||
+ $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
|
||||
$(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
|
||||
@@ -99,6 +99,9 @@ addr2line_no_Wformat = yes
|
||||
# XXX While the file is not finished, don't warn about this
|
||||
ldgeneric_no_Wunused = yes
|
||||
|
||||
@ -1258,7 +1095,7 @@
|
||||
size_LDADD = $(libelf) $(libeu) $(libmudflap)
|
||||
--- elfutils/src/Makefile.in
|
||||
+++ elfutils/src/Makefile.in
|
||||
@@ -226,6 +226,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -228,6 +228,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -1266,7 +1103,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -255,6 +256,7 @@ SHELL = @SHELL@
|
||||
@@ -257,6 +258,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
@ -1274,22 +1111,15 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@ -d
|
||||
@@ -315,13 +317,13 @@ zip_LIBS = @zip_LIBS@
|
||||
@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 \
|
||||
@@ -320,7 +322,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi
|
||||
-I$(srcdir)/../libasm
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
@@ -367,6 +369,9 @@ strings_no_Wformat = yes
|
||||
addr2line_no_Wformat = yes
|
||||
# XXX While the file is not finished, don't warn about this
|
||||
@ -1302,7 +1132,7 @@
|
||||
size_LDADD = $(libelf) $(libeu) $(libmudflap)
|
||||
--- elfutils/src/readelf.c
|
||||
+++ elfutils/src/readelf.c
|
||||
@@ -7661,7 +7661,7 @@ dump_archive_index (Elf *elf, const char
|
||||
@@ -7644,7 +7644,7 @@ dump_archive_index (Elf *elf, const char
|
||||
if (unlikely (elf_rand (elf, as_off) == 0)
|
||||
|| unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
|
||||
== NULL))
|
||||
@ -1352,7 +1182,7 @@
|
||||
if (unlikely (elfmap == MAP_FAILED))
|
||||
--- elfutils/src/strip.c
|
||||
+++ elfutils/src/strip.c
|
||||
@@ -52,6 +52,12 @@
|
||||
@@ -53,6 +53,12 @@
|
||||
#include <libebl.h>
|
||||
#include <system.h>
|
||||
|
||||
@ -1365,7 +1195,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)
|
||||
@@ -301,8 +307,18 @@ process_file (const char *fname)
|
||||
|
||||
/* If we have to preserve the timestamp, we need it in the
|
||||
format utimes() understands. */
|
||||
@ -1384,7 +1214,7 @@
|
||||
}
|
||||
|
||||
/* Open the file. */
|
||||
@@ -1746,7 +1762,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1747,7 +1763,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
/* If requested, preserve the timestamp. */
|
||||
if (tvp != NULL)
|
||||
{
|
||||
@ -1393,7 +1223,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
|
||||
@@ -1804,7 +1820,7 @@ handle_ar (int fd, Elf *elf, const char
|
||||
|
||||
if (tvp != NULL)
|
||||
{
|
||||
@ -1404,7 +1234,7 @@
|
||||
cannot set access and modification date of '%s'"), fname);
|
||||
--- elfutils/tests/ChangeLog
|
||||
+++ elfutils/tests/ChangeLog
|
||||
@@ -124,6 +124,8 @@
|
||||
@@ -130,6 +130,8 @@
|
||||
|
||||
2008-01-21 Roland McGrath <roland@redhat.com>
|
||||
|
||||
@ -1413,7 +1243,7 @@
|
||||
* testfile45.S.bz2: Add tests for cltq, cqto.
|
||||
* testfile45.expect.bz2: Adjust.
|
||||
|
||||
@@ -832,6 +834,11 @@
|
||||
@@ -838,6 +840,11 @@
|
||||
* Makefile.am (TESTS): Add run-elflint-test.sh.
|
||||
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
|
||||
|
||||
@ -1436,27 +1266,9 @@
|
||||
{
|
||||
default:
|
||||
case 0:
|
||||
--- elfutils/tests/Makefile.am
|
||||
+++ elfutils/tests/Makefile.am
|
||||
@@ -25,12 +25,13 @@
|
||||
## <http://www.openinventionnetwork.com>.
|
||||
##
|
||||
DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
|
||||
+WEXTRA = @WEXTRA@
|
||||
if MUDFLAP
|
||||
-AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
|
||||
+AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
|
||||
$(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
|
||||
BUILD_RPATH = \$$ORIGIN/../backends
|
||||
else
|
||||
-AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
|
||||
+AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
|
||||
$(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
|
||||
BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
|
||||
endif
|
||||
--- elfutils/tests/Makefile.in
|
||||
+++ elfutils/tests/Makefile.in
|
||||
@@ -359,6 +359,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -367,6 +367,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
@ -1464,7 +1276,7 @@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@@ -388,6 +389,7 @@ SHELL = @SHELL@
|
||||
@@ -396,6 +397,7 @@ SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
@ -1472,16 +1284,12 @@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
YACC = @YACC@
|
||||
@@ -445,10 +447,10 @@ top_build_prefix = @top_build_prefix@
|
||||
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
|
||||
@@ -456,7 +458,7 @@ zip_LIBS = @zip_LIBS@
|
||||
INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. $(am__append_2)
|
||||
AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \
|
||||
$($(*F)_no_Werror),,-Werror) $(if \
|
||||
- $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
|
||||
+ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
|
||||
$($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \
|
||||
$(am__append_1)
|
||||
@MUDFLAP_FALSE@libmudflap =
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- elfutils/libelf/ChangeLog
|
||||
+++ elfutils/libelf/ChangeLog
|
||||
@@ -606,6 +606,49 @@
|
||||
@@ -616,6 +616,49 @@
|
||||
If section content hasn't been read yet, do it before looking for the
|
||||
block size. If no section data present, infer size of section header.
|
||||
|
||||
@ -220,7 +220,7 @@
|
||||
|
||||
for (size_t cnt = 0; cnt < scncnt; ++cnt)
|
||||
{
|
||||
@@ -409,13 +440,28 @@ file_read_elf (int fildes, void *map_add
|
||||
@@ -412,13 +443,28 @@ file_read_elf (int fildes, void *map_add
|
||||
{
|
||||
/* We can use the mmapped memory. */
|
||||
elf->state.elf64.ehdr = ehdr;
|
||||
@ -905,7 +905,7 @@
|
||||
#endif /* libelfP.h */
|
||||
--- elfutils/src/ChangeLog
|
||||
+++ elfutils/src/ChangeLog
|
||||
@@ -1509,6 +1509,16 @@
|
||||
@@ -1532,6 +1532,16 @@
|
||||
object symbols or symbols with unknown type.
|
||||
(check_rel): Likewise.
|
||||
|
||||
@ -922,7 +922,7 @@
|
||||
2005-06-08 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (print_ops): Add consts.
|
||||
@@ -1554,6 +1564,19 @@
|
||||
@@ -1577,6 +1587,19 @@
|
||||
|
||||
* readelf.c (dwarf_tag_string): Add new tags.
|
||||
|
||||
@ -944,7 +944,7 @@
|
||||
* strip.c (handle_elf): Don't translate hash and versym data formats,
|
||||
--- elfutils/src/elflint.c
|
||||
+++ elfutils/src/elflint.c
|
||||
@@ -130,6 +130,10 @@ static uint32_t shstrndx;
|
||||
@@ -131,6 +131,10 @@ static uint32_t shstrndx;
|
||||
/* Array to count references in section groups. */
|
||||
static int *scnref;
|
||||
|
||||
@ -955,7 +955,7 @@
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
@@ -318,10 +322,19 @@ section_name (Ebl *ebl, int idx)
|
||||
@@ -319,10 +323,19 @@ section_name (Ebl *ebl, int idx)
|
||||
{
|
||||
GElf_Shdr shdr_mem;
|
||||
GElf_Shdr *shdr;
|
||||
@ -976,7 +976,7 @@
|
||||
}
|
||||
|
||||
|
||||
@@ -343,11 +356,6 @@ static const int valid_e_machine[] =
|
||||
@@ -344,11 +357,6 @@ static const int valid_e_machine[] =
|
||||
(sizeof (valid_e_machine) / sizeof (valid_e_machine[0]))
|
||||
|
||||
|
||||
@ -988,7 +988,7 @@
|
||||
static void
|
||||
check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size)
|
||||
{
|
||||
@@ -631,7 +639,8 @@ section [%2d] '%s': symbol table cannot
|
||||
@@ -632,7 +640,8 @@ section [%2d] '%s': symbol table cannot
|
||||
}
|
||||
}
|
||||
|
||||
@ -998,7 +998,7 @@
|
||||
ERROR (gettext ("\
|
||||
section [%2u] '%s': entry size is does not match ElfXX_Sym\n"),
|
||||
idx, section_name (ebl, idx));
|
||||
@@ -669,7 +678,7 @@ section [%2d] '%s': XINDEX for zeroth en
|
||||
@@ -670,7 +679,7 @@ section [%2d] '%s': XINDEX for zeroth en
|
||||
xndxscnidx, section_name (ebl, xndxscnidx));
|
||||
}
|
||||
|
||||
@ -1007,7 +1007,7 @@
|
||||
{
|
||||
sym = gelf_getsymshndx (data, xndxdata, cnt, &sym_mem, &xndx);
|
||||
if (sym == NULL)
|
||||
@@ -689,7 +698,8 @@ section [%2d] '%s': symbol %zu: invalid
|
||||
@@ -690,7 +699,8 @@ section [%2d] '%s': symbol %zu: invalid
|
||||
else
|
||||
{
|
||||
name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name);
|
||||
@ -1017,7 +1017,7 @@
|
||||
}
|
||||
|
||||
if (sym->st_shndx == SHN_XINDEX)
|
||||
@@ -1037,9 +1047,11 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
|
||||
@@ -1038,9 +1048,11 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
|
||||
{
|
||||
GElf_Shdr rcshdr_mem;
|
||||
const GElf_Shdr *rcshdr = gelf_getshdr (scn, &rcshdr_mem);
|
||||
@ -1031,7 +1031,7 @@
|
||||
{
|
||||
/* Found the dynamic section. Look through it. */
|
||||
Elf_Data *d = elf_getdata (scn, NULL);
|
||||
@@ -1049,7 +1061,9 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
|
||||
@@ -1050,7 +1062,9 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
|
||||
{
|
||||
GElf_Dyn dyn_mem;
|
||||
GElf_Dyn *dyn = gelf_getdyn (d, cnt, &dyn_mem);
|
||||
@ -1042,7 +1042,7 @@
|
||||
|
||||
if (dyn->d_tag == DT_RELCOUNT)
|
||||
{
|
||||
@@ -1063,7 +1077,9 @@ section [%2d] '%s': DT_RELCOUNT used for
|
||||
@@ -1064,7 +1078,9 @@ section [%2d] '%s': DT_RELCOUNT used for
|
||||
/* Does the number specified number of relative
|
||||
relocations exceed the total number of
|
||||
relocations? */
|
||||
@ -1053,7 +1053,7 @@
|
||||
ERROR (gettext ("\
|
||||
section [%2d] '%s': DT_RELCOUNT value %d too high for this section\n"),
|
||||
idx, section_name (ebl, idx),
|
||||
@@ -1223,7 +1239,8 @@ section [%2d] '%s': no relocations for m
|
||||
@@ -1224,7 +1240,8 @@ section [%2d] '%s': no relocations for m
|
||||
}
|
||||
}
|
||||
|
||||
@ -1063,7 +1063,7 @@
|
||||
ERROR (gettext (reltype == ELF_T_RELA ? "\
|
||||
section [%2d] '%s': section entry size does not match ElfXX_Rela\n" : "\
|
||||
section [%2d] '%s': section entry size does not match ElfXX_Rel\n"),
|
||||
@@ -1446,7 +1463,8 @@ check_rela (Ebl *ebl, GElf_Ehdr *ehdr, G
|
||||
@@ -1447,7 +1464,8 @@ check_rela (Ebl *ebl, GElf_Ehdr *ehdr, G
|
||||
Elf_Data *symdata = elf_getdata (symscn, NULL);
|
||||
enum load_state state = state_undecided;
|
||||
|
||||
@ -1073,7 +1073,7 @@
|
||||
{
|
||||
GElf_Rela rela_mem;
|
||||
GElf_Rela *rela = gelf_getrela (data, cnt, &rela_mem);
|
||||
@@ -1496,7 +1514,8 @@ check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GE
|
||||
@@ -1497,7 +1515,8 @@ check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GE
|
||||
Elf_Data *symdata = elf_getdata (symscn, NULL);
|
||||
enum load_state state = state_undecided;
|
||||
|
||||
@ -1083,7 +1083,7 @@
|
||||
{
|
||||
GElf_Rel rel_mem;
|
||||
GElf_Rel *rel = gelf_getrel (data, cnt, &rel_mem);
|
||||
@@ -1599,7 +1618,8 @@ section [%2d] '%s': referenced as string
|
||||
@@ -1600,7 +1619,8 @@ section [%2d] '%s': referenced as string
|
||||
shdr->sh_link, section_name (ebl, shdr->sh_link),
|
||||
idx, section_name (ebl, idx));
|
||||
|
||||
@ -1093,7 +1093,7 @@
|
||||
ERROR (gettext ("\
|
||||
section [%2d] '%s': section entry size does not match ElfXX_Dyn\n"),
|
||||
idx, section_name (ebl, idx));
|
||||
@@ -1609,7 +1629,7 @@ section [%2d] '%s': section entry size d
|
||||
@@ -1610,7 +1630,7 @@ section [%2d] '%s': section entry size d
|
||||
idx, section_name (ebl, idx));
|
||||
|
||||
bool non_null_warned = false;
|
||||
@ -1102,7 +1102,7 @@
|
||||
{
|
||||
GElf_Dyn dyn_mem;
|
||||
GElf_Dyn *dyn = gelf_getdyn (data, cnt, &dyn_mem);
|
||||
@@ -1890,6 +1910,8 @@ section [%2d] '%s': entry size does not
|
||||
@@ -1891,6 +1911,8 @@ section [%2d] '%s': entry size does not
|
||||
idx, section_name (ebl, idx));
|
||||
|
||||
if (symshdr != NULL
|
||||
@ -1111,7 +1111,7 @@
|
||||
&& (shdr->sh_size / shdr->sh_entsize
|
||||
< symshdr->sh_size / symshdr->sh_entsize))
|
||||
ERROR (gettext ("\
|
||||
@@ -1916,6 +1938,12 @@ section [%2d] '%s': extended section ind
|
||||
@@ -1917,6 +1939,12 @@ section [%2d] '%s': extended section ind
|
||||
}
|
||||
|
||||
Elf_Data *data = elf_getdata (elf_getscn (ebl->elf, idx), NULL);
|
||||
@ -1124,7 +1124,7 @@
|
||||
|
||||
if (*((Elf32_Word *) data->d_buf) != 0)
|
||||
ERROR (gettext ("symbol 0 should have zero extended section index\n"));
|
||||
@@ -1958,7 +1986,7 @@ section [%2d] '%s': hash table section i
|
||||
@@ -1959,7 +1987,7 @@ section [%2d] '%s': hash table section i
|
||||
|
||||
size_t maxidx = nchain;
|
||||
|
||||
@ -1133,7 +1133,7 @@
|
||||
{
|
||||
size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
|
||||
|
||||
@@ -1969,18 +1997,28 @@ section [%2d] '%s': hash table section i
|
||||
@@ -1970,18 +1998,28 @@ section [%2d] '%s': hash table section i
|
||||
maxidx = symsize;
|
||||
}
|
||||
|
||||
@ -1164,7 +1164,7 @@
|
||||
}
|
||||
|
||||
|
||||
@@ -2010,18 +2048,28 @@ section [%2d] '%s': hash table section i
|
||||
@@ -2011,18 +2049,28 @@ section [%2d] '%s': hash table section i
|
||||
maxidx = symsize;
|
||||
}
|
||||
|
||||
@ -1196,7 +1196,7 @@
|
||||
}
|
||||
|
||||
|
||||
@@ -2046,7 +2094,7 @@ section [%2d] '%s': bitmask size not pow
|
||||
@@ -2047,7 +2095,7 @@ section [%2d] '%s': bitmask size not pow
|
||||
if (shdr->sh_size < (4 + bitmask_words + nbuckets) * sizeof (Elf32_Word))
|
||||
{
|
||||
ERROR (gettext ("\
|
||||
@ -1205,7 +1205,7 @@
|
||||
idx, section_name (ebl, idx), (long int) shdr->sh_size,
|
||||
(long int) ((4 + bitmask_words + nbuckets) * sizeof (Elf32_Word)));
|
||||
return;
|
||||
@@ -2718,8 +2766,9 @@ section [%2d] '%s' refers in sh_link to
|
||||
@@ -2719,8 +2767,9 @@ section [%2d] '%s' refers in sh_link to
|
||||
|
||||
/* The number of elements in the version symbol table must be the
|
||||
same as the number of symbols. */
|
||||
@ -1219,7 +1219,7 @@
|
||||
idx, section_name (ebl, idx),
|
||||
--- elfutils/src/readelf.c
|
||||
+++ elfutils/src/readelf.c
|
||||
@@ -1169,6 +1169,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -1170,6 +1170,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G
|
||||
Elf32_Word *grpref = (Elf32_Word *) data->d_buf;
|
||||
|
||||
GElf_Sym sym_mem;
|
||||
@ -1228,7 +1228,7 @@
|
||||
printf ((grpref[0] & GRP_COMDAT)
|
||||
? ngettext ("\
|
||||
\nCOMDAT section group [%2zu] '%s' with signature '%s' contains %zu entry:\n",
|
||||
@@ -1181,8 +1183,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -1182,8 +1184,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G
|
||||
data->d_size / sizeof (Elf32_Word) - 1),
|
||||
elf_ndxscn (scn),
|
||||
elf_strptr (ebl->elf, shstrndx, shdr->sh_name),
|
||||
@ -1239,7 +1239,7 @@
|
||||
?: gettext ("<INVALID SYMBOL>"),
|
||||
data->d_size / sizeof (Elf32_Word) - 1);
|
||||
|
||||
@@ -1333,7 +1335,8 @@ static void
|
||||
@@ -1334,7 +1336,8 @@ static void
|
||||
handle_dynamic (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr)
|
||||
{
|
||||
int class = gelf_getclass (ebl->elf);
|
||||
@ -1249,7 +1249,7 @@
|
||||
Elf_Data *data;
|
||||
size_t cnt;
|
||||
size_t shstrndx;
|
||||
@@ -1348,6 +1351,11 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -1349,6 +1352,11 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn,
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("cannot get section header string table index"));
|
||||
|
||||
@ -1261,7 +1261,7 @@
|
||||
printf (ngettext ("\
|
||||
\nDynamic segment contains %lu entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n",
|
||||
"\
|
||||
@@ -1357,9 +1365,7 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -1358,9 +1366,7 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn,
|
||||
class == ELFCLASS32 ? 10 : 18, shdr->sh_addr,
|
||||
shdr->sh_offset,
|
||||
(int) shdr->sh_link,
|
||||
@ -1272,7 +1272,7 @@
|
||||
fputs_unlocked (gettext (" Type Value\n"), stdout);
|
||||
|
||||
for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
|
||||
@@ -1942,6 +1948,13 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -1943,6 +1949,13 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("cannot get section header string table index"));
|
||||
|
||||
@ -1286,7 +1286,7 @@
|
||||
/* Now we can compute the number of entries in the section. */
|
||||
unsigned int nsyms = data->d_size / (class == ELFCLASS32
|
||||
? sizeof (Elf32_Sym)
|
||||
@@ -1952,15 +1965,12 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -1953,15 +1966,12 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G
|
||||
nsyms),
|
||||
(unsigned int) elf_ndxscn (scn),
|
||||
elf_strptr (ebl->elf, shstrndx, shdr->sh_name), nsyms);
|
||||
@ -1303,7 +1303,7 @@
|
||||
|
||||
fputs_unlocked (class == ELFCLASS32
|
||||
? gettext ("\
|
||||
@@ -2196,7 +2206,13 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -2197,7 +2207,13 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn,
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("cannot get section header string table index"));
|
||||
|
||||
@ -1318,7 +1318,7 @@
|
||||
printf (ngettext ("\
|
||||
\nVersion needs section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n",
|
||||
"\
|
||||
@@ -2207,9 +2223,7 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -2208,9 +2224,7 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn,
|
||||
class == ELFCLASS32 ? 10 : 18, shdr->sh_addr,
|
||||
shdr->sh_offset,
|
||||
(unsigned int) shdr->sh_link,
|
||||
@ -1329,7 +1329,7 @@
|
||||
|
||||
unsigned int offset = 0;
|
||||
for (int cnt = shdr->sh_info; --cnt >= 0; )
|
||||
@@ -2262,8 +2276,14 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -2263,8 +2277,14 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("cannot get section header string table index"));
|
||||
|
||||
@ -1345,7 +1345,7 @@
|
||||
printf (ngettext ("\
|
||||
\nVersion definition section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n",
|
||||
"\
|
||||
@@ -2275,9 +2295,7 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -2276,9 +2296,7 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G
|
||||
class == ELFCLASS32 ? 10 : 18, shdr->sh_addr,
|
||||
shdr->sh_offset,
|
||||
(unsigned int) shdr->sh_link,
|
||||
@ -1356,7 +1356,7 @@
|
||||
|
||||
unsigned int offset = 0;
|
||||
for (int cnt = shdr->sh_info; --cnt >= 0; )
|
||||
@@ -2539,8 +2557,14 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -2540,8 +2558,14 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G
|
||||
filename = NULL;
|
||||
}
|
||||
|
||||
@ -1372,7 +1372,7 @@
|
||||
printf (ngettext ("\
|
||||
\nVersion symbols section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'",
|
||||
"\
|
||||
@@ -2552,9 +2576,7 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G
|
||||
@@ -2553,9 +2577,7 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G
|
||||
class == ELFCLASS32 ? 10 : 18, shdr->sh_addr,
|
||||
shdr->sh_offset,
|
||||
(unsigned int) shdr->sh_link,
|
||||
@ -1383,7 +1383,7 @@
|
||||
|
||||
/* Now we can finally look at the actual contents of this section. */
|
||||
for (unsigned int cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
|
||||
@@ -2606,7 +2628,17 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -2607,7 +2629,17 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn,
|
||||
for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt)
|
||||
++counts[lengths[cnt]];
|
||||
|
||||
@ -1402,7 +1402,7 @@
|
||||
printf (ngettext ("\
|
||||
\nHistogram for bucket list length in section [%2u] '%s' (total of %d bucket):\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n",
|
||||
"\
|
||||
@@ -2619,9 +2651,7 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn,
|
||||
@@ -2620,9 +2652,7 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn,
|
||||
shdr->sh_addr,
|
||||
shdr->sh_offset,
|
||||
(unsigned int) shdr->sh_link,
|
||||
@ -1413,7 +1413,7 @@
|
||||
|
||||
if (extrastr != NULL)
|
||||
fputs (extrastr, stdout);
|
||||
@@ -4262,6 +4292,16 @@ print_debug_aranges_section (Dwfl_Module
|
||||
@@ -4263,6 +4293,16 @@ print_debug_aranges_section (Dwfl_Module
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1432,7 +1432,7 @@
|
||||
"\
|
||||
--- elfutils/src/strip.c
|
||||
+++ elfutils/src/strip.c
|
||||
@@ -544,6 +544,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -545,6 +545,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
goto fail_close;
|
||||
}
|
||||
|
||||
@ -1444,7 +1444,7 @@
|
||||
/* Storage for section information. We leave room for two more
|
||||
entries since we unconditionally create a section header string
|
||||
table. Maybe some weird tool created an ELF file without one.
|
||||
@@ -565,7 +570,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -566,7 +571,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
{
|
||||
/* This should always be true (i.e., there should not be any
|
||||
holes in the numbering). */
|
||||
@ -1453,7 +1453,7 @@
|
||||
|
||||
shdr_info[cnt].scn = scn;
|
||||
|
||||
@@ -578,6 +583,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -579,6 +584,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
shdr_info[cnt].shdr.sh_name);
|
||||
if (shdr_info[cnt].name == NULL)
|
||||
{
|
||||
@ -1461,7 +1461,7 @@
|
||||
error (0, 0, gettext ("illformed file '%s'"), fname);
|
||||
goto fail_close;
|
||||
}
|
||||
@@ -587,6 +593,8 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -588,6 +594,8 @@ handle_elf (int fd, Elf *elf, const char
|
||||
|
||||
/* Remember the shdr.sh_link value. */
|
||||
shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link;
|
||||
@ -1470,7 +1470,7 @@
|
||||
|
||||
/* Sections in files other than relocatable object files which
|
||||
are not loaded can be freely moved by us. In relocatable
|
||||
@@ -599,7 +607,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -600,7 +608,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
appropriate reference. */
|
||||
if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX))
|
||||
{
|
||||
@ -1479,7 +1479,7 @@
|
||||
shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt;
|
||||
}
|
||||
else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP))
|
||||
@@ -616,7 +624,12 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -617,7 +625,12 @@ handle_elf (int fd, Elf *elf, const char
|
||||
for (inner = 1;
|
||||
inner < shdr_info[cnt].data->d_size / sizeof (Elf32_Word);
|
||||
++inner)
|
||||
@ -1492,7 +1492,7 @@
|
||||
|
||||
if (inner == 1 || (inner == 2 && (grpref[0] & GRP_COMDAT) == 0))
|
||||
/* If the section group contains only one element and this
|
||||
@@ -627,7 +640,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -628,7 +641,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
}
|
||||
else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym))
|
||||
{
|
||||
@ -1501,7 +1501,7 @@
|
||||
shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt;
|
||||
}
|
||||
|
||||
@@ -635,7 +648,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -636,7 +649,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
discarded right away. */
|
||||
if ((shdr_info[cnt].shdr.sh_flags & SHF_GROUP) != 0)
|
||||
{
|
||||
@ -1510,7 +1510,7 @@
|
||||
|
||||
if (shdr_info[shdr_info[cnt].group_idx].idx == 0)
|
||||
{
|
||||
@@ -710,11 +723,15 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -711,11 +724,15 @@ handle_elf (int fd, Elf *elf, const char
|
||||
{
|
||||
/* If a relocation section is marked as being removed make
|
||||
sure the section it is relocating is removed, too. */
|
||||
@ -1528,7 +1528,7 @@
|
||||
|
||||
if (shdr_info[cnt].idx == 1)
|
||||
{
|
||||
@@ -741,7 +758,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -742,7 +759,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
if (shdr_info[cnt].symtab_idx != 0
|
||||
&& shdr_info[shdr_info[cnt].symtab_idx].data == NULL)
|
||||
{
|
||||
@ -1537,7 +1537,7 @@
|
||||
|
||||
shdr_info[shdr_info[cnt].symtab_idx].data
|
||||
= elf_getdata (shdr_info[shdr_info[cnt].symtab_idx].scn,
|
||||
@@ -781,6 +798,9 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -782,6 +799,9 @@ handle_elf (int fd, Elf *elf, const char
|
||||
else if (scnidx == SHN_XINDEX)
|
||||
scnidx = xndx;
|
||||
|
||||
@ -1547,7 +1547,7 @@
|
||||
if (shdr_info[scnidx].idx == 0)
|
||||
/* This symbol table has a real symbol in
|
||||
a discarded section. So preserve the
|
||||
@@ -811,12 +831,16 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -812,12 +832,16 @@ handle_elf (int fd, Elf *elf, const char
|
||||
}
|
||||
|
||||
/* Handle references through sh_info. */
|
||||
@ -1566,7 +1566,7 @@
|
||||
|
||||
/* Mark the section as investigated. */
|
||||
shdr_info[cnt].idx = 2;
|
||||
@@ -955,7 +979,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -956,7 +980,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
error (EXIT_FAILURE, 0, gettext ("while generating output file: %s"),
|
||||
elf_errmsg (-1));
|
||||
|
||||
@ -1575,7 +1575,7 @@
|
||||
|
||||
/* Add this name to the section header string table. */
|
||||
shdr_info[cnt].se = ebl_strtabadd (shst, shdr_info[cnt].name, 0);
|
||||
@@ -992,7 +1016,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -993,7 +1017,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("while create section header section: %s"),
|
||||
elf_errmsg (-1));
|
||||
@ -1584,7 +1584,7 @@
|
||||
|
||||
shdr_info[cnt].data = elf_newdata (shdr_info[cnt].newscn);
|
||||
if (shdr_info[cnt].data == NULL)
|
||||
@@ -1048,7 +1072,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1049,7 +1073,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
error (EXIT_FAILURE, 0,
|
||||
gettext ("while create section header section: %s"),
|
||||
elf_errmsg (-1));
|
||||
@ -1593,7 +1593,7 @@
|
||||
|
||||
/* Finalize the string table and fill in the correct indices in the
|
||||
section headers. */
|
||||
@@ -1138,20 +1162,20 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1139,20 +1163,20 @@ handle_elf (int fd, Elf *elf, const char
|
||||
shndxdata = elf_getdata (shdr_info[shdr_info[cnt].symtab_idx].scn,
|
||||
NULL);
|
||||
|
||||
@ -1617,7 +1617,7 @@
|
||||
>= shdr_info[cnt].data->d_size / elsize);
|
||||
}
|
||||
|
||||
@@ -1206,7 +1230,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1207,7 +1231,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
sec = shdr_info[sym->st_shndx].idx;
|
||||
else
|
||||
{
|
||||
@ -1626,7 +1626,7 @@
|
||||
|
||||
sec = shdr_info[xshndx].idx;
|
||||
}
|
||||
@@ -1227,7 +1251,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1228,7 +1252,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
nxshndx = sec;
|
||||
}
|
||||
|
||||
@ -1635,7 +1635,7 @@
|
||||
|
||||
if ((inner != destidx || nshndx != sym->st_shndx
|
||||
|| (shndxdata != NULL && nxshndx != xshndx))
|
||||
@@ -1251,7 +1275,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1252,7 +1276,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
|| shdr_info[cnt].debug_data == NULL)
|
||||
/* This is a section symbol for a section which has
|
||||
been removed. */
|
||||
@ -1644,7 +1644,7 @@
|
||||
}
|
||||
|
||||
if (destidx != inner)
|
||||
@@ -1438,11 +1462,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1439,11 +1463,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
{
|
||||
GElf_Sym sym_mem;
|
||||
GElf_Sym *sym = gelf_getsym (symd, inner, &sym_mem);
|
||||
@ -1658,7 +1658,7 @@
|
||||
size_t hidx = elf_hash (name) % nbucket;
|
||||
|
||||
if (bucket[hidx] == 0)
|
||||
@@ -1461,7 +1485,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1462,7 +1486,7 @@ handle_elf (int fd, Elf *elf, const char
|
||||
else
|
||||
{
|
||||
/* Alpha and S390 64-bit use 64-bit SHT_HASH entries. */
|
||||
@ -1667,7 +1667,7 @@
|
||||
== sizeof (Elf64_Xword));
|
||||
|
||||
Elf64_Xword *bucket = (Elf64_Xword *) hashd->d_buf;
|
||||
@@ -1492,11 +1516,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
@@ -1493,11 +1517,11 @@ handle_elf (int fd, Elf *elf, const char
|
||||
{
|
||||
GElf_Sym sym_mem;
|
||||
GElf_Sym *sym = gelf_getsym (symd, inner, &sym_mem);
|
||||
|
@ -1,5 +1,5 @@
|
||||
%global eu_version 0.144
|
||||
%global eu_release 2
|
||||
%global eu_version 0.145
|
||||
%global eu_release 1
|
||||
|
||||
%if %{?_with_compat:1}%{!?_with_compat:0}
|
||||
%global compat 1
|
||||
@ -38,8 +38,6 @@ Patch2: elfutils-portability.patch
|
||||
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
||||
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
||||
|
||||
Patch10: elfutils-0.144-sloppy-include.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: bison >= 1.875
|
||||
BuildRequires: flex >= 2.5.4a
|
||||
@ -183,8 +181,6 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%patch10 -p1 -b .sloppy-includes
|
||||
|
||||
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
||||
|
||||
%build
|
||||
@ -295,6 +291,15 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/libelf.a
|
||||
|
||||
%changelog
|
||||
* Tue Feb 23 2010 Roland McGrath <roland@redhat.com> - 0.145-1
|
||||
- Update to 0.145
|
||||
- Fix build with --disable-dependency-tracking. (#564646)
|
||||
- Fix build with most recent glibc headers.
|
||||
- libdw: Fix CFI decoding. (#563528)
|
||||
- libdwfl: Fix address bias returned by CFI accessors. (#563528)
|
||||
Fix core file module layout identification. (#559836)
|
||||
- readelf: Fix CFI decoding.
|
||||
|
||||
* Fri Jan 15 2010 Roland McGrath <roland@redhat.com> - 0.144-2
|
||||
- Fix sloppy #include's breaking build with F-13 glibc.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user