Browse Source

Merge pull request #787 from luizluca/elfutils-update

elfutils: update to 0.161
Luiz Angelo Daros de Luca 10 years ago
parent
commit
a1bea97f76

+ 3
- 3
libs/elfutils/Makefile View File

7
 include $(TOPDIR)/rules.mk
7
 include $(TOPDIR)/rules.mk
8
 
8
 
9
 PKG_NAME:=elfutils
9
 PKG_NAME:=elfutils
10
-PKG_VERSION:=0.160
11
-PKG_RELEASE:=2
10
+PKG_VERSION:=0.161
11
+PKG_RELEASE:=1
12
 
12
 
13
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14
 PKG_SOURCE_URL:=http://fedorahosted.org/releases/e/l/$(PKG_NAME)/$(PKG_VERSION)
14
 PKG_SOURCE_URL:=http://fedorahosted.org/releases/e/l/$(PKG_NAME)/$(PKG_VERSION)
15
-PKG_MD5SUM:=7527f22dff8b1ac8c122cfc4d3d3bb1e
15
+PKG_MD5SUM:=e1b9847c9a6a1ad340de8d47a863ec52
16
 PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
16
 PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
17
 PKG_LICENSE:=GPL-3.0+
17
 PKG_LICENSE:=GPL-3.0+
18
 PKG_LICENSE_FILES:=COPYING COPYING-GPLV2 COPYING-LGPLV3
18
 PKG_LICENSE_FILES:=COPYING COPYING-GPLV2 COPYING-LGPLV3

+ 84
- 82
libs/elfutils/patches/001-elfutils-portability.patch View File

1
 --- elfutils/backends/ChangeLog
1
 --- elfutils/backends/ChangeLog
2
 +++ elfutils/backends/ChangeLog
2
 +++ elfutils/backends/ChangeLog
3
-@@ -413,6 +413,10 @@
3
+@@ -433,6 +433,10 @@
4
  	* ppc_attrs.c (ppc_check_object_attribute): Handle tag
4
  	* ppc_attrs.c (ppc_check_object_attribute): Handle tag
5
  	GNU_Power_ABI_Struct_Return.
5
  	GNU_Power_ABI_Struct_Return.
6
  
6
  
11
  2008-10-04  Ulrich Drepper  <drepper@redhat.com>
11
  2008-10-04  Ulrich Drepper  <drepper@redhat.com>
12
  
12
  
13
  	* i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
13
  	* i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
14
-@@ -740,6 +744,11 @@
14
+@@ -760,6 +764,11 @@
15
  	* sparc_init.c: Likewise.
15
  	* sparc_init.c: Likewise.
16
  	* x86_64_init.c: Likewise.
16
  	* x86_64_init.c: Likewise.
17
  
17
  
23
  2005-11-19  Roland McGrath  <roland@redhat.com>
23
  2005-11-19  Roland McGrath  <roland@redhat.com>
24
  
24
  
25
  	* ppc64_reloc.def: REL30 -> ADDR30.
25
  	* ppc64_reloc.def: REL30 -> ADDR30.
26
-@@ -762,6 +771,9 @@
26
+@@ -782,6 +791,9 @@
27
  	* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
27
  	* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
28
  	(CLEANFILES): Add libebl_$(m).so.
28
  	(CLEANFILES): Add libebl_$(m).so.
29
  
29
  
41
  		-Wl,--version-script,$(@:.so=.map) \
41
  		-Wl,--version-script,$(@:.so=.map) \
42
 -		-Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
42
 -		-Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
43
 +		-Wl,-z,defs $(LD_AS_NEEDED) $(libelf) $(libdw)
43
 +		-Wl,-z,defs $(LD_AS_NEEDED) $(libelf) $(libdw)
44
- 	$(textrel_check)
44
+ 	@$(textrel_check)
45
  
45
  
46
  libebl_i386.so: $(cpu_i386)
46
  libebl_i386.so: $(cpu_i386)
47
 --- elfutils/backends/Makefile.in
47
 --- elfutils/backends/Makefile.in
87
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
87
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
88
  CLEANFILES = *.gcno *.gcda $(foreach m,$(modules), libebl_$(m).map \
88
  CLEANFILES = *.gcno *.gcda $(foreach m,$(modules), libebl_$(m).map \
89
  	libebl_$(m).so $(am_libebl_$(m)_pic_a_OBJECTS))
89
  	libebl_$(m).so $(am_libebl_$(m)_pic_a_OBJECTS))
90
-@@ -885,7 +888,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
90
+@@ -888,7 +891,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a
91
  	$(LINK) -shared -o $(@:.map=.so) \
91
  	$(LINK) -shared -o $(@:.map=.so) \
92
  		-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
92
  		-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
93
  		-Wl,--version-script,$(@:.so=.map) \
93
  		-Wl,--version-script,$(@:.so=.map) \
94
 -		-Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
94
 -		-Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
95
 +		-Wl,-z,defs $(LD_AS_NEEDED) $(libelf) $(libdw)
95
 +		-Wl,-z,defs $(LD_AS_NEEDED) $(libelf) $(libdw)
96
- 	$(textrel_check)
96
+ 	@$(textrel_check)
97
  
97
  
98
  libebl_i386.so: $(cpu_i386)
98
  libebl_i386.so: $(cpu_i386)
99
 --- elfutils/ChangeLog
99
 --- elfutils/ChangeLog
100
 +++ elfutils/ChangeLog
100
 +++ elfutils/ChangeLog
101
-@@ -170,6 +170,8 @@
101
+@@ -187,6 +187,8 @@
102
  
102
  
103
  2012-01-24  Mark Wielaard  <mjw@redhat.com>
103
  2012-01-24  Mark Wielaard  <mjw@redhat.com>
104
  
104
  
107
  	* COPYING: Fix address. Updated version from gnulib.
107
  	* COPYING: Fix address. Updated version from gnulib.
108
  
108
  
109
  2012-01-23  Mark Wielaard  <mjw@redhat.com>
109
  2012-01-23  Mark Wielaard  <mjw@redhat.com>
110
-@@ -188,6 +190,9 @@
110
+@@ -205,6 +207,9 @@
111
  
111
  
112
  2011-10-08  Mike Frysinger  <vapier@gentoo.org>
112
  2011-10-08  Mike Frysinger  <vapier@gentoo.org>
113
  
113
  
117
  	* configure.ac: Fix use of AC_ARG_ENABLE to handle $enableval correctly.
117
  	* configure.ac: Fix use of AC_ARG_ENABLE to handle $enableval correctly.
118
  
118
  
119
  2011-10-02  Ulrich Drepper  <drepper@gmail.com>
119
  2011-10-02  Ulrich Drepper  <drepper@gmail.com>
120
-@@ -209,6 +214,10 @@
120
+@@ -226,6 +231,10 @@
121
  
121
  
122
  	* configure.ac (LOCALEDIR, DATADIRNAME): Removed.
122
  	* configure.ac (LOCALEDIR, DATADIRNAME): Removed.
123
  
123
  
128
  2009-09-21  Ulrich Drepper  <drepper@redhat.com>
128
  2009-09-21  Ulrich Drepper  <drepper@redhat.com>
129
  
129
  
130
  	* configure.ac: Update for more modern autoconf.
130
  	* configure.ac: Update for more modern autoconf.
131
-@@ -217,6 +226,10 @@
131
+@@ -234,6 +243,10 @@
132
  
132
  
133
  	* configure.ac (zip_LIBS): Check for liblzma too.
133
  	* configure.ac (zip_LIBS): Check for liblzma too.
134
  
134
  
139
  2009-04-19  Roland McGrath  <roland@redhat.com>
139
  2009-04-19  Roland McGrath  <roland@redhat.com>
140
  
140
  
141
  	* configure.ac (eu_version): Round down here, not in version.h macros.
141
  	* configure.ac (eu_version): Round down here, not in version.h macros.
142
-@@ -228,6 +241,8 @@
142
+@@ -245,6 +258,8 @@
143
  
143
  
144
  2009-01-23  Roland McGrath  <roland@redhat.com>
144
  2009-01-23  Roland McGrath  <roland@redhat.com>
145
  
145
  
148
  	* configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
148
  	* configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
149
  
149
  
150
  	* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
150
  	* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
151
-@@ -308,6 +323,10 @@
151
+@@ -325,6 +340,10 @@
152
  	* configure.ac: Add dummy automake conditional to get dependencies
152
  	* configure.ac: Add dummy automake conditional to get dependencies
153
  	for non-generic linker right.  See src/Makefile.am.
153
  	for non-generic linker right.  See src/Makefile.am.
154
  
154
  
159
  2005-11-18  Roland McGrath  <roland@redhat.com>
159
  2005-11-18  Roland McGrath  <roland@redhat.com>
160
  
160
  
161
  	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
161
  	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
162
-@@ -355,6 +374,17 @@
162
+@@ -372,6 +391,17 @@
163
  	* Makefile.am (all_SUBDIRS): Add libdwfl.
163
  	* Makefile.am (all_SUBDIRS): Add libdwfl.
164
  	* configure.ac: Write libdwfl/Makefile.
164
  	* configure.ac: Write libdwfl/Makefile.
165
  
165
  
179
  	* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
179
  	* configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
180
 --- elfutils/config/ChangeLog
180
 --- elfutils/config/ChangeLog
181
 +++ elfutils/config/ChangeLog
181
 +++ elfutils/config/ChangeLog
182
-@@ -62,6 +62,10 @@
182
+@@ -71,6 +71,10 @@
183
  
183
  
184
  	* known-dwarf.awk: Use gawk.
184
  	* known-dwarf.awk: Use gawk.
185
  
185
  
226
  %.os: %.c %.o
226
  %.os: %.c %.o
227
 --- elfutils/config/Makefile.in
227
 --- elfutils/config/Makefile.in
228
 +++ elfutils/config/Makefile.in
228
 +++ elfutils/config/Makefile.in
229
-@@ -146,6 +146,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
229
+@@ -147,6 +147,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
230
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
230
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
231
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
231
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
232
  LDFLAGS = @LDFLAGS@
232
  LDFLAGS = @LDFLAGS@
234
  LEX = @LEX@
234
  LEX = @LEX@
235
  LEXLIB = @LEXLIB@
235
  LEXLIB = @LEXLIB@
236
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
236
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
237
-@@ -177,6 +178,7 @@ SHELL = @SHELL@
237
+@@ -178,6 +179,7 @@ SHELL = @SHELL@
238
  STRIP = @STRIP@
238
  STRIP = @STRIP@
239
  USE_NLS = @USE_NLS@
239
  USE_NLS = @USE_NLS@
240
  VERSION = @VERSION@
240
  VERSION = @VERSION@
264
  #include <eu-config.h>
264
  #include <eu-config.h>
265
 --- elfutils/configure
265
 --- elfutils/configure
266
 +++ elfutils/configure
266
 +++ elfutils/configure
267
-@@ -661,6 +661,8 @@ ZLIB_TRUE
267
+@@ -663,6 +663,8 @@ ZLIB_TRUE
268
  LIBEBL_SUBDIR
268
  LIBEBL_SUBDIR
269
  TESTS_RPATH_FALSE
269
  TESTS_RPATH_FALSE
270
  TESTS_RPATH_TRUE
270
  TESTS_RPATH_TRUE
273
  BUILD_STATIC_FALSE
273
  BUILD_STATIC_FALSE
274
  BUILD_STATIC_TRUE
274
  BUILD_STATIC_TRUE
275
  USE_VALGRIND_FALSE
275
  USE_VALGRIND_FALSE
276
-@@ -676,6 +678,8 @@ NEVER_TRUE
276
+@@ -678,6 +680,8 @@ NEVER_TRUE
277
  base_cpu
277
  base_cpu
278
  NATIVE_LD_FALSE
278
  NATIVE_LD_FALSE
279
  NATIVE_LD_TRUE
279
  NATIVE_LD_TRUE
282
  NM
282
  NM
283
  READELF
283
  READELF
284
  ac_ct_AR
284
  ac_ct_AR
285
-@@ -796,6 +800,7 @@ enable_debugpred
285
+@@ -798,6 +802,7 @@ enable_debugpred
286
  enable_gprof
286
  enable_gprof
287
  enable_gcov
287
  enable_gcov
288
  enable_valgrind
288
  enable_valgrind
290
  enable_tests_rpath
290
  enable_tests_rpath
291
  enable_libebl_subdir
291
  enable_libebl_subdir
292
  with_zlib
292
  with_zlib
293
-@@ -1452,6 +1457,7 @@ Optional Features:
293
+@@ -1455,6 +1460,7 @@ Optional Features:
294
    --enable-gprof          build binaries with gprof support
294
    --enable-gprof          build binaries with gprof support
295
    --enable-gcov           build binaries with gcov support
295
    --enable-gcov           build binaries with gcov support
296
    --enable-valgrind       run all tests under valgrind
296
    --enable-valgrind       run all tests under valgrind
298
    --enable-tests-rpath    build $ORIGIN-using rpath into tests
298
    --enable-tests-rpath    build $ORIGIN-using rpath into tests
299
    --enable-libebl-subdir=DIR
299
    --enable-libebl-subdir=DIR
300
                            install libebl_CPU modules in $(libdir)/DIR
300
                            install libebl_CPU modules in $(libdir)/DIR
301
-@@ -4728,6 +4734,130 @@ if test "x$ac_cv_c99" != xyes; then :
301
+@@ -4843,6 +4849,130 @@ if test "x$ac_cv_c99" != xyes; then :
302
    as_fn_error $? "gcc with C99 support required" "$LINENO" 5
302
    as_fn_error $? "gcc with C99 support required" "$LINENO" 5
303
  fi
303
  fi
304
  
304
  
429
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
429
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
430
  $as_echo_n "checking for __thread support... " >&6; }
430
  $as_echo_n "checking for __thread support... " >&6; }
431
  if ${ac_cv_tls+:} false; then :
431
  if ${ac_cv_tls+:} false; then :
432
-@@ -4764,7 +4894,13 @@ fi
432
+@@ -4879,7 +5009,13 @@ fi
433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
434
  $as_echo "$ac_cv_tls" >&6; }
434
  $as_echo "$ac_cv_tls" >&6; }
435
  if test "x$ac_cv_tls" != xyes; then :
435
  if test "x$ac_cv_tls" != xyes; then :
444
  fi
444
  fi
445
  
445
  
446
  # Check whether --enable-largefile was given.
446
  # Check whether --enable-largefile was given.
447
-@@ -5131,6 +5267,22 @@ else
447
+@@ -5246,6 +5382,22 @@ else
448
  fi
448
  fi
449
  
449
  
450
  
450
  
467
  # Check whether --enable-tests-rpath was given.
467
  # Check whether --enable-tests-rpath was given.
468
  if test "${enable_tests_rpath+set}" = set; then :
468
  if test "${enable_tests_rpath+set}" = set; then :
469
    enableval=$enable_tests_rpath; tests_use_rpath=$enableval
469
    enableval=$enable_tests_rpath; tests_use_rpath=$enableval
470
-@@ -5854,7 +6006,7 @@ case "$eu_version" in
470
+@@ -5983,7 +6135,7 @@ case "$eu_version" in
471
  esac
471
  esac
472
  
472
  
473
  # Round up to the next release API (x.y) version.
473
  # Round up to the next release API (x.y) version.
476
  
476
  
477
  ac_ext=c
477
  ac_ext=c
478
  ac_cpp='$CPP $CPPFLAGS'
478
  ac_cpp='$CPP $CPPFLAGS'
479
-@@ -6600,6 +6752,10 @@ if test -z "${BUILD_STATIC_TRUE}" && tes
479
+@@ -6729,6 +6881,10 @@ if test -z "${BUILD_STATIC_TRUE}" && tes
480
    as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
480
    as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
481
  Usually this means the macro was only invoked conditionally." "$LINENO" 5
481
  Usually this means the macro was only invoked conditionally." "$LINENO" 5
482
  fi
482
  fi
568
  AC_ARG_ENABLE([tests-rpath],
568
  AC_ARG_ENABLE([tests-rpath],
569
  AS_HELP_STRING([--enable-tests-rpath],[build $ORIGIN-using rpath into tests]),
569
  AS_HELP_STRING([--enable-tests-rpath],[build $ORIGIN-using rpath into tests]),
570
  	       [tests_use_rpath=$enableval], [tests_use_rpath=no])
570
  	       [tests_use_rpath=$enableval], [tests_use_rpath=no])
571
-@@ -297,7 +353,7 @@ case "$eu_version" in
571
+@@ -302,7 +358,7 @@ case "$eu_version" in
572
  esac
572
  esac
573
  
573
  
574
  # Round up to the next release API (x.y) version.
574
  # Round up to the next release API (x.y) version.
660
 +	$(am__append_1) -fpic
660
 +	$(am__append_1) -fpic
661
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
661
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
662
  CLEANFILES = *.gcno *.gcda
662
  CLEANFILES = *.gcno *.gcda
663
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
663
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
664
 --- elfutils/libasm/ChangeLog
664
 --- elfutils/libasm/ChangeLog
665
 +++ elfutils/libasm/ChangeLog
665
 +++ elfutils/libasm/ChangeLog
666
-@@ -79,6 +79,11 @@
666
+@@ -87,6 +87,11 @@
667
  	* asm_error.c: Add new error ASM_E_IOERROR.
667
  	* asm_error.c: Add new error ASM_E_IOERROR.
668
  	* libasmP.h: Add ASM_E_IOERROR definition.
668
  	* libasmP.h: Add ASM_E_IOERROR definition.
669
  
669
  
721
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
721
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
722
  CLEANFILES = *.gcno *.gcda $(am_libasm_pic_a_OBJECTS) \
722
  CLEANFILES = *.gcno *.gcda $(am_libasm_pic_a_OBJECTS) \
723
  	libasm.so.$(VERSION)
723
  	libasm.so.$(VERSION)
724
-@@ -370,7 +373,7 @@ libasm_a_SOURCES = asm_begin.c asm_abort
724
+@@ -373,7 +376,7 @@ libasm_a_SOURCES = asm_begin.c asm_abort
725
  
725
  
726
  libasm_pic_a_SOURCES = 
726
  libasm_pic_a_SOURCES = 
727
  am_libasm_pic_a_OBJECTS = $(libasm_a_SOURCES:.c=.os)
727
  am_libasm_pic_a_OBJECTS = $(libasm_a_SOURCES:.c=.os)
807
  	$P.mnemonics)
807
  	$P.mnemonics)
808
 --- elfutils/libdw/ChangeLog
808
 --- elfutils/libdw/ChangeLog
809
 +++ elfutils/libdw/ChangeLog
809
 +++ elfutils/libdw/ChangeLog
810
-@@ -439,6 +439,10 @@
810
+@@ -717,6 +717,10 @@
811
  
811
  
812
  	* Makefile.am (known-dwarf.h): Run gawk on config/known-dwarf.awk.
812
  	* Makefile.am (known-dwarf.h): Run gawk on config/known-dwarf.awk.
813
  
813
  
818
  2011-07-14  Mark Wielaard  <mjw@redhat.com>
818
  2011-07-14  Mark Wielaard  <mjw@redhat.com>
819
  
819
  
820
  	* libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.
820
  	* libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.
821
-@@ -798,6 +802,10 @@
821
+@@ -1076,6 +1080,10 @@
822
  
822
  
823
  	* dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
823
  	* dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
824
  
824
  
829
  2009-08-10  Roland McGrath  <roland@redhat.com>
829
  2009-08-10  Roland McGrath  <roland@redhat.com>
830
  
830
  
831
  	* dwarf_getscopevar.c: Use dwarf_diename.
831
  	* dwarf_getscopevar.c: Use dwarf_diename.
832
-@@ -1566,6 +1574,11 @@
832
+@@ -1844,6 +1852,11 @@
833
  
833
  
834
  2005-05-31  Roland McGrath  <roland@redhat.com>
834
  2005-05-31  Roland McGrath  <roland@redhat.com>
835
  
835
  
860
  #endif
860
  #endif
861
 --- elfutils/libdw/libdw.h
861
 --- elfutils/libdw/libdw.h
862
 +++ elfutils/libdw/libdw.h
862
 +++ elfutils/libdw/libdw.h
863
-@@ -915,7 +915,7 @@ extern Dwarf_OOM dwarf_new_oom_handler (
863
+@@ -1003,7 +1003,7 @@ extern Dwarf_OOM dwarf_new_oom_handler (
864
  
864
  
865
  
865
  
866
  /* Inline optimizations.  */
866
  /* Inline optimizations.  */
881
  noinst_PROGRAMS = $(am__EXEEXT_1)
881
  noinst_PROGRAMS = $(am__EXEEXT_1)
882
  subdir = libdw
882
  subdir = libdw
883
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
883
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
884
-@@ -296,6 +297,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
884
+@@ -298,6 +299,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
885
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
885
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
886
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
886
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
887
  LDFLAGS = @LDFLAGS@
887
  LDFLAGS = @LDFLAGS@
889
  LEX = @LEX@
889
  LEX = @LEX@
890
  LEXLIB = @LEXLIB@
890
  LEXLIB = @LEXLIB@
891
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
891
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
892
-@@ -327,6 +329,7 @@ SHELL = @SHELL@
892
+@@ -329,6 +331,7 @@ SHELL = @SHELL@
893
  STRIP = @STRIP@
893
  STRIP = @STRIP@
894
  USE_NLS = @USE_NLS@
894
  USE_NLS = @USE_NLS@
895
  VERSION = 1
895
  VERSION = 1
897
  XGETTEXT = @XGETTEXT@
897
  XGETTEXT = @XGETTEXT@
898
  XGETTEXT_015 = @XGETTEXT_015@
898
  XGETTEXT_015 = @XGETTEXT_015@
899
  XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
899
  XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
900
-@@ -388,10 +391,11 @@ top_srcdir = @top_srcdir@
900
+@@ -390,10 +393,11 @@ top_srcdir = @top_srcdir@
901
  zip_LIBS = @zip_LIBS@
901
  zip_LIBS = @zip_LIBS@
902
  AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. \
902
  AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. \
903
  	-I$(srcdir)/../libelf
903
  	-I$(srcdir)/../libelf
911
 +	$(am__append_1) $(am__append_2)
911
 +	$(am__append_1) $(am__append_2)
912
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
912
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
913
  CLEANFILES = *.gcno *.gcda
913
  CLEANFILES = *.gcno *.gcda
914
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
914
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
915
 --- elfutils/libdwelf/Makefile.in
915
 --- elfutils/libdwelf/Makefile.in
916
 +++ elfutils/libdwelf/Makefile.in
916
 +++ elfutils/libdwelf/Makefile.in
917
 @@ -82,6 +82,7 @@ host_triplet = @host@
917
 @@ -82,6 +82,7 @@ host_triplet = @host@
954
 +	$(am__append_1)
954
 +	$(am__append_1)
955
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
955
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
956
  CLEANFILES = *.gcno *.gcda $(am_libdwelf_pic_a_OBJECTS)
956
  CLEANFILES = *.gcno *.gcda $(am_libdwelf_pic_a_OBJECTS)
957
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
957
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
958
 --- elfutils/libdwfl/ChangeLog
958
 --- elfutils/libdwfl/ChangeLog
959
 +++ elfutils/libdwfl/ChangeLog
959
 +++ elfutils/libdwfl/ChangeLog
960
-@@ -467,6 +467,21 @@
960
+@@ -571,6 +571,21 @@
961
  	(dwfl_module_addrsym) (i_to_symfile): New function.
961
  	(dwfl_module_addrsym) (i_to_symfile): New function.
962
  	(dwfl_module_addrsym) (search_table): Use it.
962
  	(dwfl_module_addrsym) (search_table): Use it.
963
  
963
  
979
  2013-11-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
979
  2013-11-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
980
  	    Mark Wielaard  <mjw@redhat.com>
980
  	    Mark Wielaard  <mjw@redhat.com>
981
  
981
  
982
-@@ -2232,6 +2247,11 @@
982
+@@ -2336,6 +2351,11 @@
983
  
983
  
984
  2005-07-21  Roland McGrath  <roland@redhat.com>
984
  2005-07-21  Roland McGrath  <roland@redhat.com>
985
  
985
  
1107
 +	$(am__append_1)
1107
 +	$(am__append_1)
1108
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1108
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1109
  CLEANFILES = *.gcno *.gcda $(am_libdwfl_pic_a_OBJECTS)
1109
  CLEANFILES = *.gcno *.gcda $(am_libdwfl_pic_a_OBJECTS)
1110
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
1111
-@@ -410,8 +413,8 @@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_en
1110
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
1111
+@@ -413,8 +416,8 @@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_en
1112
  	dwfl_module_register_names.c dwfl_segment_report_module.c \
1112
  	dwfl_module_register_names.c dwfl_segment_report_module.c \
1113
  	link_map.c core-file.c open.c image-header.c dwfl_frame.c \
1113
  	link_map.c core-file.c open.c image-header.c dwfl_frame.c \
1114
  	frame_unwind.c dwfl_frame_pc.c linux-pid-attach.c \
1114
  	frame_unwind.c dwfl_frame_pc.c linux-pid-attach.c \
1121
  libelf = ../libelf/libelf.so
1121
  libelf = ../libelf/libelf.so
1122
 --- elfutils/libebl/ChangeLog
1122
 --- elfutils/libebl/ChangeLog
1123
 +++ elfutils/libebl/ChangeLog
1123
 +++ elfutils/libebl/ChangeLog
1124
-@@ -754,6 +754,11 @@
1124
+@@ -765,6 +765,11 @@
1125
  	* Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
1125
  	* Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
1126
  	tracking works right.
1126
  	tracking works right.
1127
  
1127
  
1172
 +	$(am__append_1) -fpic
1172
 +	$(am__append_1) -fpic
1173
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1173
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1174
  CLEANFILES = *.gcno *.gcda $(am_libebl_pic_a_OBJECTS)
1174
  CLEANFILES = *.gcno *.gcda $(am_libebl_pic_a_OBJECTS)
1175
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
1175
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
1176
 --- elfutils/libelf/ChangeLog
1176
 --- elfutils/libelf/ChangeLog
1177
 +++ elfutils/libelf/ChangeLog
1177
 +++ elfutils/libelf/ChangeLog
1178
-@@ -139,6 +139,11 @@
1178
+@@ -244,6 +244,11 @@
1179
  
1179
  
1180
  	* elf-knowledge.h (SECTION_STRIP_P): Remove < SHT_NUM check.
1180
  	* elf-knowledge.h (SECTION_STRIP_P): Remove < SHT_NUM check.
1181
  
1181
  
1187
  2011-02-26  Mark Wielaard  <mjw@redhat.com>
1187
  2011-02-26  Mark Wielaard  <mjw@redhat.com>
1188
  
1188
  
1189
  	* elf_end.c (elf_end): Call rwlock_unlock before rwlock_fini.
1189
  	* elf_end.c (elf_end): Call rwlock_unlock before rwlock_fini.
1190
-@@ -816,6 +821,11 @@
1190
+@@ -921,6 +926,11 @@
1191
  
1191
  
1192
  	* elf.h: Update from glibc.
1192
  	* elf.h: Update from glibc.
1193
  
1193
  
1285
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1285
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1286
  CLEANFILES = *.gcno *.gcda $(am_libelf_pic_a_OBJECTS) \
1286
  CLEANFILES = *.gcno *.gcda $(am_libelf_pic_a_OBJECTS) \
1287
  	libelf.so.$(VERSION)
1287
  	libelf.so.$(VERSION)
1288
-@@ -446,7 +450,7 @@ libelf_a_SOURCES = elf_version.c elf_has
1288
+@@ -449,7 +453,7 @@ libelf_a_SOURCES = elf_version.c elf_has
1289
  
1289
  
1290
  libelf_pic_a_SOURCES = 
1290
  libelf_pic_a_SOURCES = 
1291
  am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os)
1291
  am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os)
1347
  	  break;
1347
  	  break;
1348
 --- elfutils/src/ChangeLog
1348
 --- elfutils/src/ChangeLog
1349
 +++ elfutils/src/ChangeLog
1349
 +++ elfutils/src/ChangeLog
1350
-@@ -1155,8 +1155,16 @@
1350
+@@ -1371,8 +1371,16 @@
1351
  	* readelf.c (attr_callback): Use print_block only when we don't use
1351
  	* readelf.c (attr_callback): Use print_block only when we don't use
1352
  	print_ops.
1352
  	print_ops.
1353
  
1353
  
1364
  	* ar.c (do_oper_extract): Use pathconf instead of statfs.
1364
  	* ar.c (do_oper_extract): Use pathconf instead of statfs.
1365
  
1365
  
1366
  2009-08-01  Ulrich Drepper  <drepper@redhat.com>
1366
  2009-08-01  Ulrich Drepper  <drepper@redhat.com>
1367
-@@ -1320,6 +1328,8 @@
1367
+@@ -1536,6 +1544,8 @@
1368
  	* readelf.c (print_debug_frame_section): Use t instead of j formats
1368
  	* readelf.c (print_debug_frame_section): Use t instead of j formats
1369
  	for ptrdiff_t OFFSET.
1369
  	for ptrdiff_t OFFSET.
1370
  
1370
  
1373
  2009-01-21  Ulrich Drepper  <drepper@redhat.com>
1373
  2009-01-21  Ulrich Drepper  <drepper@redhat.com>
1374
  
1374
  
1375
  	* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
1375
  	* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
1376
-@@ -1503,6 +1513,11 @@
1376
+@@ -1719,6 +1729,11 @@
1377
  	that matches its PT_LOAD's p_flags &~ PF_W.  On sparc, PF_X really
1377
  	that matches its PT_LOAD's p_flags &~ PF_W.  On sparc, PF_X really
1378
  	is valid in RELRO.
1378
  	is valid in RELRO.
1379
  
1379
  
1385
  2008-02-29  Roland McGrath  <roland@redhat.com>
1385
  2008-02-29  Roland McGrath  <roland@redhat.com>
1386
  
1386
  
1387
  	* readelf.c (print_attributes): Add a cast.
1387
  	* readelf.c (print_attributes): Add a cast.
1388
-@@ -1754,6 +1769,8 @@
1388
+@@ -1970,6 +1985,8 @@
1389
  
1389
  
1390
  	* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
1390
  	* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
1391
  
1391
  
1394
  2007-10-15  Roland McGrath  <roland@redhat.com>
1394
  2007-10-15  Roland McGrath  <roland@redhat.com>
1395
  
1395
  
1396
  	* make-debug-archive.in: New file.
1396
  	* make-debug-archive.in: New file.
1397
-@@ -2193,6 +2210,10 @@
1397
+@@ -2409,6 +2426,10 @@
1398
  	* elflint.c (valid_e_machine): Add EM_ALPHA.
1398
  	* elflint.c (valid_e_machine): Add EM_ALPHA.
1399
  	Reported by Christian Aichinger <Greek0@gmx.net>.
1399
  	Reported by Christian Aichinger <Greek0@gmx.net>.
1400
  
1400
  
1405
  2006-08-08  Ulrich Drepper  <drepper@redhat.com>
1405
  2006-08-08  Ulrich Drepper  <drepper@redhat.com>
1406
  
1406
  
1407
  	* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
1407
  	* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
1408
-@@ -2269,6 +2290,10 @@
1408
+@@ -2485,6 +2506,10 @@
1409
  	* Makefile.am: Add hacks to create dependency files for non-generic
1409
  	* Makefile.am: Add hacks to create dependency files for non-generic
1410
  	linker.
1410
  	linker.
1411
  
1411
  
1416
  2006-06-12  Ulrich Drepper  <drepper@redhat.com>
1416
  2006-06-12  Ulrich Drepper  <drepper@redhat.com>
1417
  
1417
  
1418
  	* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
1418
  	* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
1419
-@@ -2617,6 +2642,11 @@
1419
+@@ -2833,6 +2858,11 @@
1420
  	* readelf.c (print_debug_loc_section): Fix indentation for larger
1420
  	* readelf.c (print_debug_loc_section): Fix indentation for larger
1421
  	address size.
1421
  	address size.
1422
  
1422
  
1430
  	* readelf.c (print_debug_line_section): Print section offset of each
1430
  	* readelf.c (print_debug_line_section): Print section offset of each
1431
 --- elfutils/src/findtextrel.c
1431
 --- elfutils/src/findtextrel.c
1432
 +++ elfutils/src/findtextrel.c
1432
 +++ elfutils/src/findtextrel.c
1433
-@@ -496,7 +496,11 @@ ptrcompare (const void *p1, const void *
1433
+@@ -502,7 +502,11 @@ ptrcompare (const void *p1, const void *
1434
  
1434
  
1435
  
1435
  
1436
  static void
1436
  static void
1538
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1538
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1539
  CLEANFILES = *.gcno *.gcda make-debug-archive none_ld.os \
1539
  CLEANFILES = *.gcno *.gcda make-debug-archive none_ld.os \
1540
  	$(ld_modules:.c=.os) *.gconv
1540
  	$(ld_modules:.c=.os) *.gconv
1541
-@@ -449,8 +452,8 @@ AM_LFLAGS = -Pld -olex.yy.c
1541
+@@ -452,8 +455,8 @@ AM_LFLAGS = -Pld -olex.yy.c
1542
  native_ld = @native_ld@
1542
  native_ld = @native_ld@
1543
  ld_dsos = libld_elf_i386_pic.a
1543
  ld_dsos = libld_elf_i386_pic.a
1544
  @NATIVE_LD_FALSE@noinst_LIBRARIES = libld_elf.a libar.a $(ld_dsos) \
1544
  @NATIVE_LD_FALSE@noinst_LIBRARIES = libld_elf.a libar.a $(ld_dsos) \
1549
  @NATIVE_LD_TRUE@native_ld_cflags = -DBASE_ELF_NAME=elf_$(base_cpu)
1549
  @NATIVE_LD_TRUE@native_ld_cflags = -DBASE_ELF_NAME=elf_$(base_cpu)
1550
  @NEVER_TRUE@libdummy_a_SOURCES = i386_ld.c
1550
  @NEVER_TRUE@libdummy_a_SOURCES = i386_ld.c
1551
  ld_SOURCES = ld.c ldgeneric.c ldlex.l ldscript.y symbolhash.c sectionhash.c \
1551
  ld_SOURCES = ld.c ldgeneric.c ldlex.l ldscript.y symbolhash.c sectionhash.c \
1552
-@@ -476,13 +479,18 @@ libeu = ../lib/libeu.a
1552
+@@ -479,13 +482,18 @@ libeu = ../lib/libeu.a
1553
  
1553
  
1554
  # XXX While the file is not finished, don't warn about this
1554
  # XXX While the file is not finished, don't warn about this
1555
  ldgeneric_no_Wunused = yes
1555
  ldgeneric_no_Wunused = yes
1571
  findtextrel_LDADD = $(libdw) $(libelf)
1571
  findtextrel_LDADD = $(libdw) $(libelf)
1572
 --- elfutils/src/readelf.c
1572
 --- elfutils/src/readelf.c
1573
 +++ elfutils/src/readelf.c
1573
 +++ elfutils/src/readelf.c
1574
-@@ -4253,10 +4253,12 @@ listptr_base (struct listptr *p)
1574
+@@ -4368,10 +4368,12 @@ listptr_base (struct listptr *p)
1575
    return base;
1575
    return base;
1576
  }
1576
  }
1577
  
1577
  
1586
    struct listptr *p1 = (void *) a;
1586
    struct listptr *p1 = (void *) a;
1587
    struct listptr *p2 = (void *) b;
1587
    struct listptr *p2 = (void *) b;
1588
  
1588
  
1589
-@@ -4345,8 +4347,11 @@ static void
1589
+@@ -4467,8 +4469,11 @@ static void
1590
  sort_listptr (struct listptr_table *table, const char *name)
1590
  sort_listptr (struct listptr_table *table, const char *name)
1591
  {
1591
  {
1592
    if (table->n > 0)
1592
    if (table->n > 0)
1600
  }
1600
  }
1601
  
1601
  
1602
  static bool
1602
  static bool
1603
-@@ -9268,7 +9273,7 @@ dump_archive_index (Elf *elf, const char
1603
+@@ -9539,7 +9544,7 @@ dump_archive_index (Elf *elf, const char
1604
  	  if (unlikely (elf_rand (elf, as_off) == 0)
1604
  	  if (unlikely (elf_rand (elf, as_off) == 0)
1605
  	      || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
1605
  	      || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
1606
  			   == NULL))
1606
  			   == NULL))
1682
      }
1682
      }
1683
  
1683
  
1684
    /* Open the file.  */
1684
    /* Open the file.  */
1685
-@@ -2086,7 +2102,7 @@ while computing checksum for debug infor
1685
+@@ -2091,7 +2107,7 @@ while computing checksum for debug infor
1686
    /* If requested, preserve the timestamp.  */
1686
    /* If requested, preserve the timestamp.  */
1687
    if (tvp != NULL)
1687
    if (tvp != NULL)
1688
      {
1688
      {
1691
  	{
1691
  	{
1692
  	  error (0, errno, gettext ("\
1692
  	  error (0, errno, gettext ("\
1693
  cannot set access and modification date of '%s'"),
1693
  cannot set access and modification date of '%s'"),
1694
-@@ -2143,7 +2159,7 @@ handle_ar (int fd, Elf *elf, const char
1694
+@@ -2148,7 +2164,7 @@ handle_ar (int fd, Elf *elf, const char
1695
  
1695
  
1696
    if (tvp != NULL)
1696
    if (tvp != NULL)
1697
      {
1697
      {
1712
  #ifndef __linux__
1712
  #ifndef __linux__
1713
 --- elfutils/tests/ChangeLog
1713
 --- elfutils/tests/ChangeLog
1714
 +++ elfutils/tests/ChangeLog
1714
 +++ elfutils/tests/ChangeLog
1715
-@@ -304,6 +304,13 @@
1715
+@@ -421,6 +421,13 @@
1716
  
1716
  
1717
  2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1717
  2013-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1718
  
1718
  
1726
  	* Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1726
  	* Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child,
1727
  	backtrace-data and backtrace-dwarf.
1727
  	backtrace-data and backtrace-dwarf.
1728
  	(BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1728
  	(BUILT_SOURCES, clean-local, backtrace-child-biarch): New.
1729
-@@ -1168,6 +1175,8 @@
1729
+@@ -1285,6 +1292,8 @@
1730
  
1730
  
1731
  2008-01-21  Roland McGrath  <roland@redhat.com>
1731
  2008-01-21  Roland McGrath  <roland@redhat.com>
1732
  
1732
  
1735
  	* testfile45.S.bz2: Add tests for cltq, cqto.
1735
  	* testfile45.S.bz2: Add tests for cltq, cqto.
1736
  	* testfile45.expect.bz2: Adjust.
1736
  	* testfile45.expect.bz2: Adjust.
1737
  
1737
  
1738
-@@ -1876,6 +1885,11 @@
1738
+@@ -1993,6 +2002,11 @@
1739
  	* Makefile.am (TESTS): Add run-elflint-test.sh.
1739
  	* Makefile.am (TESTS): Add run-elflint-test.sh.
1740
  	(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1740
  	(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1741
  
1741
  
1760
  	case 0:
1760
  	case 0:
1761
 --- elfutils/tests/Makefile.am
1761
 --- elfutils/tests/Makefile.am
1762
 +++ elfutils/tests/Makefile.am
1762
 +++ elfutils/tests/Makefile.am
1763
-@@ -356,6 +356,7 @@ get_lines_LDADD = $(libdw) $(libelf)
1763
+@@ -365,6 +365,7 @@ get_lines_LDADD = $(libdw) $(libelf)
1764
  get_files_LDADD = $(libdw) $(libelf)
1764
  get_files_LDADD = $(libdw) $(libelf)
1765
  get_aranges_LDADD = $(libdw) $(libelf)
1765
  get_aranges_LDADD = $(libdw) $(libelf)
1766
  allfcts_LDADD = $(libdw) $(libelf)
1766
  allfcts_LDADD = $(libdw) $(libelf)
1788
  check_PROGRAMS = arextract$(EXEEXT) arsymtest$(EXEEXT) \
1788
  check_PROGRAMS = arextract$(EXEEXT) arsymtest$(EXEEXT) \
1789
  	newfile$(EXEEXT) saridx$(EXEEXT) scnnames$(EXEEXT) \
1789
  	newfile$(EXEEXT) saridx$(EXEEXT) scnnames$(EXEEXT) \
1790
  	sectiondump$(EXEEXT) showptable$(EXEEXT) update1$(EXEEXT) \
1790
  	sectiondump$(EXEEXT) showptable$(EXEEXT) update1$(EXEEXT) \
1791
-@@ -111,7 +112,7 @@ check_PROGRAMS = arextract$(EXEEXT) arsy
1792
- 	backtrace-data$(EXEEXT) backtrace-dwarf$(EXEEXT) \
1793
- 	debuglink$(EXEEXT) debugaltlink$(EXEEXT) buildid$(EXEEXT) \
1794
- 	$(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_4)
1791
+@@ -113,7 +114,7 @@ check_PROGRAMS = arextract$(EXEEXT) arsy
1792
+ 	deleted$(EXEEXT) deleted-lib.so$(EXEEXT) \
1793
+ 	aggregate_size$(EXEEXT) vdsosyms$(EXEEXT) $(am__EXEEXT_1) \
1794
+ 	$(am__EXEEXT_2) $(am__EXEEXT_4)
1795
 -@BIARCH_TRUE@am__append_4 = backtrace-child-biarch
1795
 -@BIARCH_TRUE@am__append_4 = backtrace-child-biarch
1796
 +@BIARCH_TRUE@am__append_5 = backtrace-child-biarch
1796
 +@BIARCH_TRUE@am__append_5 = backtrace-child-biarch
1797
  TESTS = run-arextract.sh run-arsymtest.sh newfile$(EXEEXT) \
1797
  TESTS = run-arextract.sh run-arsymtest.sh newfile$(EXEEXT) \
1798
  	test-nlist$(EXEEXT) update1$(EXEEXT) update2$(EXEEXT) \
1798
  	test-nlist$(EXEEXT) update1$(EXEEXT) update2$(EXEEXT) \
1799
  	update3$(EXEEXT) update4$(EXEEXT) run-show-die-info.sh \
1799
  	update3$(EXEEXT) update4$(EXEEXT) run-show-die-info.sh \
1800
-@@ -155,14 +156,14 @@ TESTS = run-arextract.sh run-arsymtest.s
1801
- 	run-backtrace-core-s390.sh run-backtrace-core-aarch64.sh \
1802
- 	run-backtrace-demangle.sh run-stack-d-test.sh \
1800
+@@ -159,14 +160,14 @@ TESTS = run-arextract.sh run-arsymtest.s
1803
  	run-stack-i-test.sh run-readelf-dwz-multi.sh \
1801
  	run-stack-i-test.sh run-readelf-dwz-multi.sh \
1804
--	run-allfcts-multi.sh $(am__EXEEXT_2) $(am__append_7) \
1805
--	$(am__append_8) $(am__EXEEXT_4)
1802
+ 	run-allfcts-multi.sh run-deleted.sh run-linkmap-cut.sh \
1803
+ 	run-aggregate-size.sh vdsosyms$(EXEEXT) run-readelf-A.sh \
1804
+-	$(am__EXEEXT_2) $(am__append_7) $(am__append_8) \
1805
++	$(am__EXEEXT_2) $(am__append_8) $(am__append_9) \
1806
+ 	$(am__EXEEXT_4)
1806
 -@STANDALONE_FALSE@am__append_5 = msg_tst md5-sha1-test
1807
 -@STANDALONE_FALSE@am__append_5 = msg_tst md5-sha1-test
1807
-+	run-allfcts-multi.sh $(am__EXEEXT_2) $(am__append_8) \
1808
-+	$(am__append_9) $(am__EXEEXT_4)
1809
  @STANDALONE_FALSE@am__append_6 = msg_tst md5-sha1-test
1808
  @STANDALONE_FALSE@am__append_6 = msg_tst md5-sha1-test
1810
 -@LZMA_TRUE@am__append_7 = run-readelf-s.sh run-dwflsyms.sh
1809
 -@LZMA_TRUE@am__append_7 = run-readelf-s.sh run-dwflsyms.sh
1811
 -@ZLIB_TRUE@am__append_8 = run-readelf-zdebug.sh
1810
 -@ZLIB_TRUE@am__append_8 = run-readelf-zdebug.sh
1818
  subdir = tests
1817
  subdir = tests
1819
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1818
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1820
  am__aclocal_m4_deps = $(top_srcdir)/m4/biarch.m4 \
1819
  am__aclocal_m4_deps = $(top_srcdir)/m4/biarch.m4 \
1821
-@@ -768,6 +769,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
1820
+@@ -787,6 +788,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
1822
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
1821
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
1823
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1822
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1824
  LDFLAGS = @LDFLAGS@
1823
  LDFLAGS = @LDFLAGS@
1826
  LEX = @LEX@
1825
  LEX = @LEX@
1827
  LEXLIB = @LEXLIB@
1826
  LEXLIB = @LEXLIB@
1828
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
1827
  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
1829
-@@ -799,6 +801,7 @@ SHELL = @SHELL@
1828
+@@ -818,6 +820,7 @@ SHELL = @SHELL@
1830
  STRIP = @STRIP@
1829
  STRIP = @STRIP@
1831
  USE_NLS = @USE_NLS@
1830
  USE_NLS = @USE_NLS@
1832
  VERSION = @VERSION@
1831
  VERSION = @VERSION@
1834
  XGETTEXT = @XGETTEXT@
1833
  XGETTEXT = @XGETTEXT@
1835
  XGETTEXT_015 = @XGETTEXT_015@
1834
  XGETTEXT_015 = @XGETTEXT_015@
1836
  XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
1835
  XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
1837
-@@ -858,17 +861,17 @@ top_build_prefix = @top_build_prefix@
1836
+@@ -877,12 +880,12 @@ top_build_prefix = @top_build_prefix@
1838
  top_builddir = @top_builddir@
1837
  top_builddir = @top_builddir@
1839
  top_srcdir = @top_srcdir@
1838
  top_srcdir = @top_srcdir@
1840
  zip_LIBS = @zip_LIBS@
1839
  zip_LIBS = @zip_LIBS@
1852
 +	$(am__append_1)
1851
 +	$(am__append_1)
1853
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1852
  COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE))
1854
  CLEANFILES = *.gcno *.gcda
1853
  CLEANFILES = *.gcno *.gcda
1855
- textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
1854
+ textrel_msg = echo "WARNING: TEXTREL found in '$@'"
1855
+@@ -890,7 +893,7 @@ textrel_msg = echo "WARNING: TEXTREL fou
1856
+ @FATAL_TEXTREL_TRUE@textrel_found = $(textrel_msg); exit 1
1857
+ textrel_check = if $(READELF) -d $@ | fgrep -q TEXTREL; then $(textrel_found); fi
1856
  BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
1858
  BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
1857
 -AM_LDFLAGS = $(am__append_2) $(am__append_3)
1859
 -AM_LDFLAGS = $(am__append_2) $(am__append_3)
1858
 +AM_LDFLAGS = $(am__append_3) $(am__append_4)
1860
 +AM_LDFLAGS = $(am__append_3) $(am__append_4)
1859
  @TESTS_RPATH_FALSE@tests_rpath = no
1861
  @TESTS_RPATH_FALSE@tests_rpath = no
1860
  @TESTS_RPATH_TRUE@tests_rpath = yes
1862
  @TESTS_RPATH_TRUE@tests_rpath = yes
1861
  asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \
1863
  asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \
1862
-@@ -1077,6 +1080,7 @@ get_lines_LDADD = $(libdw) $(libelf)
1864
+@@ -1106,6 +1109,7 @@ get_lines_LDADD = $(libdw) $(libelf)
1863
  get_files_LDADD = $(libdw) $(libelf)
1865
  get_files_LDADD = $(libdw) $(libelf)
1864
  get_aranges_LDADD = $(libdw) $(libelf)
1866
  get_aranges_LDADD = $(libdw) $(libelf)
1865
  allfcts_LDADD = $(libdw) $(libelf)
1867
  allfcts_LDADD = $(libdw) $(libelf)

+ 4
- 15
libs/elfutils/patches/006-libdw_LIBS.patch View File

1
---- elfutils-0.160/libdw/Makefile.am.old	2014-11-06 03:02:12.700116452 -0200
2
-+++ elfutils-0.160/libdw/Makefile.am	2014-11-06 03:02:55.732116447 -0200
3
-@@ -110,7 +110,7 @@
4
- 		-Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
5
- 		-Wl,--version-script,$<,--no-undefined \
6
- 		-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
7
--		-ldl $(zip_LIBS)
8
-+		-ldl $(zip_LIBS) x $(LIBS)
9
- 	if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
10
- 	ln -fs $@ $@.$(VERSION)
11
- 
12
---- elfutils-0.160/libdw/Makefile.in.old	2014-11-06 03:28:53.092116261 -0200
13
-+++ elfutils-0.160/libdw/Makefile.in	2014-11-06 03:29:02.528116260 -0200
14
-@@ -958,7 +958,7 @@
1
+--- elfutils-0.161/libdw/Makefile.in.orig	2015-01-16 03:50:15.311237461 -0200
2
++++ elfutils-0.161/libdw/Makefile.in	2015-01-16 03:55:35.082090075 -0200
3
+@@ -969,7 +969,7 @@
15
  		-Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
4
  		-Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
16
  		-Wl,--version-script,$<,--no-undefined \
5
  		-Wl,--version-script,$<,--no-undefined \
17
  		-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
6
  		-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
18
 -		-ldl $(zip_LIBS)
7
 -		-ldl $(zip_LIBS)
19
 +		-ldl $(zip_LIBS) $(LIBS)
8
 +		-ldl $(zip_LIBS) $(LIBS)
20
- 	if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
9
+ 	@$(textrel_check)
21
  	ln -fs $@ $@.$(VERSION)
10
  	ln -fs $@ $@.$(VERSION)
22
  
11
  

+ 1
- 12
libs/elfutils/patches/100-musl-compat.patch View File

775
  	  if (*file_name == NULL)
775
  	  if (*file_name == NULL)
776
  	    {
776
  	    {
777
  	      *file_name = name;
777
  	      *file_name = name;
778
---- a/libdw/dwarf_getpubnames.c
779
-+++ b/libdw/dwarf_getpubnames.c
780
-@@ -208,7 +208,7 @@ dwarf_getpubnames (dbg, callback, arg, o
781
- 	  gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
782
- 
783
- 	  gl.name = (char *) readp;
784
--	  readp = (unsigned char *) rawmemchr (gl.name, '\0') + 1;
785
-+	  readp = (unsigned char *) memchr (gl.name, '\0', SIZE_MAX) + 1;
786
- 
787
- 	  /* We found name and DIE offset.  Report it.  */
788
- 	  if (callback (dbg, &gl, arg) != DWARF_CB_OK)
789
 --- a/libelf/elf_getarsym.c
778
 --- a/libelf/elf_getarsym.c
790
 +++ b/libelf/elf_getarsym.c
779
 +++ b/libelf/elf_getarsym.c
791
-@@ -283,7 +283,7 @@ elf_getarsym (elf, ptr)
780
+@@ -284,7 +284,7 @@ elf_getarsym (elf, ptr)
792
  		arsym[cnt].as_off = file_data->u32[cnt];
781
  		arsym[cnt].as_off = file_data->u32[cnt];
793
  
782
  
794
  	      arsym[cnt].as_hash = _dl_elf_hash (str_data);
783
  	      arsym[cnt].as_hash = _dl_elf_hash (str_data);

+ 2
- 2
libs/elfutils/patches/101-no-fts.patch View File

90
  	dwfl_addrmodule.$(OBJEXT) dwfl_addrdwarf.$(OBJEXT) \
90
  	dwfl_addrmodule.$(OBJEXT) dwfl_addrdwarf.$(OBJEXT) \
91
  	cu.$(OBJEXT) dwfl_module_nextcu.$(OBJEXT) \
91
  	cu.$(OBJEXT) dwfl_module_nextcu.$(OBJEXT) \
92
  	dwfl_nextcu.$(OBJEXT) dwfl_cumodule.$(OBJEXT) \
92
  	dwfl_nextcu.$(OBJEXT) dwfl_cumodule.$(OBJEXT) \
93
-@@ -399,7 +399,7 @@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_en
93
+@@ -402,7 +402,7 @@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_en
94
  	dwfl_getmodules.c dwfl_getdwarf.c dwfl_module_getdwarf.c \
94
  	dwfl_getmodules.c dwfl_getdwarf.c dwfl_module_getdwarf.c \
95
  	dwfl_module_getelf.c dwfl_validate_address.c argp-std.c \
95
  	dwfl_module_getelf.c dwfl_validate_address.c argp-std.c \
96
  	find-debuginfo.c dwfl_build_id_find_elf.c \
96
  	find-debuginfo.c dwfl_build_id_find_elf.c \
99
  	linux-proc-maps.c dwfl_addrmodule.c dwfl_addrdwarf.c cu.c \
99
  	linux-proc-maps.c dwfl_addrmodule.c dwfl_addrdwarf.c cu.c \
100
  	dwfl_module_nextcu.c dwfl_nextcu.c dwfl_cumodule.c \
100
  	dwfl_module_nextcu.c dwfl_nextcu.c dwfl_cumodule.c \
101
  	dwfl_module_addrdie.c dwfl_addrdie.c lines.c dwfl_lineinfo.c \
101
  	dwfl_module_addrdie.c dwfl_addrdie.c lines.c dwfl_lineinfo.c \
102
-@@ -537,7 +537,6 @@ distclean-compile:
102
+@@ -540,7 +540,6 @@ distclean-compile:
103
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lines.Po@am__quote@
103
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lines.Po@am__quote@
104
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link_map.Po@am__quote@
104
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link_map.Po@am__quote@
105
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux-core-attach.Po@am__quote@
105
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux-core-attach.Po@am__quote@