Update to 0.152

This commit is contained in:
Roland McGrath 2011-02-15 09:41:19 -08:00
parent 3fe1c64db9
commit c025a9f5d1
7 changed files with 56 additions and 49 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/elfutils-0.151.tar.bz2
/elfutils-0.152.tar.bz2

Binary file not shown.

BIN
elfutils-0.152.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -82,7 +82,7 @@
libebl_i386.so: $(cpu_i386)
--- elfutils/ChangeLog
+++ elfutils/ChangeLog
@@ -7,6 +7,10 @@
@@ -13,6 +13,10 @@
* configure.ac (LOCALEDIR, DATADIRNAME): Removed.
@ -93,7 +93,7 @@
2009-09-21 Ulrich Drepper <drepper@redhat.com>
* configure.ac: Update for more modern autoconf.
@@ -15,6 +19,10 @@
@@ -21,6 +25,10 @@
* configure.ac (zip_LIBS): Check for liblzma too.
@ -104,7 +104,7 @@
2009-04-19 Roland McGrath <roland@redhat.com>
* configure.ac (eu_version): Round down here, not in version.h macros.
@@ -26,6 +34,8 @@
@@ -32,6 +40,8 @@
2009-01-23 Roland McGrath <roland@redhat.com>
@ -113,7 +113,7 @@
* configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
@@ -106,6 +116,10 @@
@@ -112,6 +122,10 @@
* configure.ac: Add dummy automake conditional to get dependencies
for non-generic linker right. See src/Makefile.am.
@ -124,7 +124,7 @@
2005-11-18 Roland McGrath <roland@redhat.com>
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
@@ -153,6 +167,17 @@
@@ -159,6 +173,17 @@
* Makefile.am (all_SUBDIRS): Add libdwfl.
* configure.ac: Write libdwfl/Makefile.
@ -208,8 +208,8 @@
LEXLIB
LEX_OUTPUT_ROOT
LEX
@@ -3852,6 +3854,130 @@ if test "x$ac_cv_c99" != xyes; then :
as_fn_error "gcc with C99 support required" "$LINENO" 5
@@ -3856,6 +3858,130 @@ if test "x$ac_cv_c99" != xyes; then :
as_fn_error $? "gcc with C99 support required" "$LINENO" 5
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra option to $CC" >&5
@ -339,13 +339,13 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
$as_echo_n "checking for __thread support... " >&6; }
if test "${ac_cv_tls+set}" = set; then :
@@ -3888,7 +4014,13 @@ fi
@@ -3892,7 +4018,13 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
$as_echo "$ac_cv_tls" >&6; }
if test "x$ac_cv_tls" != xyes; then :
- as_fn_error "__thread support required" "$LINENO" 5
- as_fn_error $? "__thread support required" "$LINENO" 5
+ if test "$use_locks" = yes; then :
+ as_fn_error "--enable-thread-safety requires __thread support" "$LINENO" 5
+ as_fn_error $? "--enable-thread-safety requires __thread support" "$LINENO" 5
+else
+
+$as_echo "#define __thread /* empty: no multi-thread support */" >>confdefs.h
@ -354,16 +354,16 @@
fi
# Check whether --enable-largefile was given.
@@ -4874,7 +5006,7 @@ ac_config_files="$ac_config_files versio
@@ -4878,7 +5010,7 @@ ac_config_files="$ac_config_files versio
# 1.234<whatever> -> 1234<whatever>
case "$PACKAGE_VERSION" in
-[0-9].*) eu_version="${PACKAGE_VERSION/./}" ;;
+[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
*) as_fn_error "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
*) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
esac
case "$eu_version" in
@@ -4903,7 +5035,7 @@ case "$eu_version" in
@@ -4907,7 +5039,7 @@ case "$eu_version" in
esac
# Round up to the next release API (x.y) version.
@ -374,7 +374,7 @@
# This file is a shell script that caches the results of configure
--- elfutils/configure.ac
+++ elfutils/configure.ac
@@ -73,6 +73,54 @@ CFLAGS="$old_CFLAGS"])
@@ -70,6 +70,54 @@ CFLAGS="$old_CFLAGS"])
AS_IF([test "x$ac_cv_c99" != xyes],
AC_MSG_ERROR([gcc with C99 support required]))
@ -429,7 +429,7 @@
AC_CACHE_CHECK([for __thread support], ac_cv_tls, [dnl
# Use the same flags that we use for our DSOs, so the test is representative.
# Some old compiler/linker/libc combinations fail some ways and not others.
@@ -88,7 +136,10 @@ static __thread int a; int foo (int b) {
@@ -85,7 +133,10 @@ static __thread int a; int foo (int b) {
CFLAGS="$save_CFLAGS"
LDFLAGS="$save_LDFLAGS"])
AS_IF([test "x$ac_cv_tls" != xyes],
@ -441,7 +441,7 @@
dnl This test must come as early as possible after the compiler configuration
dnl tests, because the choice of the file model can (in principle) affect
@@ -251,7 +302,7 @@ AC_SUBST([eu_version])
@@ -248,7 +299,7 @@ AC_SUBST([eu_version])
# 1.234<whatever> -> 1234<whatever>
case "$PACKAGE_VERSION" in
@ -450,7 +450,7 @@
*) AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;;
esac
case "$eu_version" in
@@ -280,6 +331,6 @@ case "$eu_version" in
@@ -277,6 +328,6 @@ case "$eu_version" in
esac
# Round up to the next release API (x.y) version.
@ -531,7 +531,7 @@
@MUDFLAP_FALSE@libmudflap =
--- elfutils/libasm/ChangeLog
+++ elfutils/libasm/ChangeLog
@@ -67,6 +67,11 @@
@@ -71,6 +71,11 @@
* asm_error.c: Add new error ASM_E_IOERROR.
* libasmP.h: Add ASM_E_IOERROR definition.
@ -696,7 +696,7 @@
@MUDFLAP_FALSE@libmudflap =
--- elfutils/libdwfl/ChangeLog
+++ elfutils/libdwfl/ChangeLog
@@ -1350,6 +1350,11 @@
@@ -1366,6 +1366,11 @@
2005-07-21 Roland McGrath <roland@redhat.com>
@ -890,7 +890,7 @@
break;
--- elfutils/src/ChangeLog
+++ elfutils/src/ChangeLog
@@ -236,8 +236,16 @@
@@ -260,8 +260,16 @@
* readelf.c (attr_callback): Use print_block only when we don't use
print_ops.
@ -907,7 +907,7 @@
* ar.c (do_oper_extract): Use pathconf instead of statfs.
2009-08-01 Ulrich Drepper <drepper@redhat.com>
@@ -401,6 +409,8 @@
@@ -425,6 +433,8 @@
* readelf.c (print_debug_frame_section): Use t instead of j formats
for ptrdiff_t OFFSET.
@ -916,7 +916,7 @@
2009-01-21 Ulrich Drepper <drepper@redhat.com>
* elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
@@ -584,6 +594,11 @@
@@ -608,6 +618,11 @@
that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
is valid in RELRO.
@ -928,7 +928,7 @@
2008-02-29 Roland McGrath <roland@redhat.com>
* readelf.c (print_attributes): Add a cast.
@@ -835,6 +850,8 @@
@@ -859,6 +874,8 @@
* readelf.c (hex_dump): Fix rounding error in whitespace calculation.
@ -937,7 +937,7 @@
2007-10-15 Roland McGrath <roland@redhat.com>
* make-debug-archive.in: New file.
@@ -1274,6 +1291,10 @@
@@ -1298,6 +1315,10 @@
* elflint.c (valid_e_machine): Add EM_ALPHA.
Reported by Christian Aichinger <Greek0@gmx.net>.
@ -948,7 +948,7 @@
2006-08-08 Ulrich Drepper <drepper@redhat.com>
* elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
@@ -1350,6 +1371,10 @@
@@ -1374,6 +1395,10 @@
* Makefile.am: Add hacks to create dependency files for non-generic
linker.
@ -959,7 +959,7 @@
2006-06-12 Ulrich Drepper <drepper@redhat.com>
* ldgeneric.c (ld_generic_generate_sections): Don't create .interp
@@ -1698,6 +1723,11 @@
@@ -1722,6 +1747,11 @@
* readelf.c (print_debug_loc_section): Fix indentation for larger
address size.
@ -1184,7 +1184,7 @@
cannot set access and modification date of '%s'"), fname);
--- elfutils/tests/ChangeLog
+++ elfutils/tests/ChangeLog
@@ -197,6 +197,8 @@
@@ -205,6 +205,8 @@
2008-01-21 Roland McGrath <roland@redhat.com>
@ -1193,7 +1193,7 @@
* testfile45.S.bz2: Add tests for cltq, cqto.
* testfile45.expect.bz2: Adjust.
@@ -905,6 +907,11 @@
@@ -913,6 +915,11 @@
* Makefile.am (TESTS): Add run-elflint-test.sh.
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.

View File

@ -865,7 +865,7 @@
#endif /* libelfP.h */
--- elfutils/src/ChangeLog
+++ elfutils/src/ChangeLog
@@ -1686,6 +1686,16 @@
@@ -1710,6 +1710,16 @@
object symbols or symbols with unknown type.
(check_rel): Likewise.
@ -882,7 +882,7 @@
2005-06-08 Roland McGrath <roland@redhat.com>
* readelf.c (print_ops): Add consts.
@@ -1731,6 +1741,19 @@
@@ -1755,6 +1765,19 @@
* readelf.c (dwarf_tag_string): Add new tags.
@ -977,7 +977,7 @@
}
if (sym->st_shndx == SHN_XINDEX)
@@ -1038,9 +1048,11 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
@@ -1039,9 +1049,11 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
{
GElf_Shdr rcshdr_mem;
const GElf_Shdr *rcshdr = gelf_getshdr (scn, &rcshdr_mem);
@ -991,7 +991,7 @@
{
/* Found the dynamic section. Look through it. */
Elf_Data *d = elf_getdata (scn, NULL);
@@ -1050,7 +1062,9 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
@@ -1051,7 +1063,9 @@ is_rel_dyn (Ebl *ebl, const GElf_Ehdr *e
{
GElf_Dyn dyn_mem;
GElf_Dyn *dyn = gelf_getdyn (d, cnt, &dyn_mem);
@ -1002,7 +1002,7 @@
if (dyn->d_tag == DT_RELCOUNT)
{
@@ -1064,7 +1078,9 @@ section [%2d] '%s': DT_RELCOUNT used for
@@ -1065,7 +1079,9 @@ section [%2d] '%s': DT_RELCOUNT used for
/* Does the number specified number of relative
relocations exceed the total number of
relocations? */
@ -1013,7 +1013,7 @@
ERROR (gettext ("\
section [%2d] '%s': DT_RELCOUNT value %d too high for this section\n"),
idx, section_name (ebl, idx),
@@ -1224,7 +1240,8 @@ section [%2d] '%s': no relocations for m
@@ -1225,7 +1241,8 @@ section [%2d] '%s': no relocations for m
}
}
@ -1023,7 +1023,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"),
@@ -1447,7 +1464,8 @@ check_rela (Ebl *ebl, GElf_Ehdr *ehdr, G
@@ -1448,7 +1465,8 @@ check_rela (Ebl *ebl, GElf_Ehdr *ehdr, G
Elf_Data *symdata = elf_getdata (symscn, NULL);
enum load_state state = state_undecided;
@ -1033,7 +1033,7 @@
{
GElf_Rela rela_mem;
GElf_Rela *rela = gelf_getrela (data, cnt, &rela_mem);
@@ -1497,7 +1515,8 @@ check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GE
@@ -1498,7 +1516,8 @@ check_rel (Ebl *ebl, GElf_Ehdr *ehdr, GE
Elf_Data *symdata = elf_getdata (symscn, NULL);
enum load_state state = state_undecided;
@ -1043,7 +1043,7 @@
{
GElf_Rel rel_mem;
GElf_Rel *rel = gelf_getrel (data, cnt, &rel_mem);
@@ -1600,7 +1619,8 @@ section [%2d] '%s': referenced as string
@@ -1597,7 +1616,8 @@ section [%2d] '%s': referenced as string
shdr->sh_link, section_name (ebl, shdr->sh_link),
idx, section_name (ebl, idx));
@ -1053,7 +1053,7 @@
ERROR (gettext ("\
section [%2d] '%s': section entry size does not match ElfXX_Dyn\n"),
idx, section_name (ebl, idx));
@@ -1610,7 +1630,7 @@ section [%2d] '%s': section entry size d
@@ -1607,7 +1627,7 @@ section [%2d] '%s': section entry size d
idx, section_name (ebl, idx));
bool non_null_warned = false;
@ -1062,7 +1062,7 @@
{
GElf_Dyn dyn_mem;
GElf_Dyn *dyn = gelf_getdyn (data, cnt, &dyn_mem);
@@ -1891,6 +1911,8 @@ section [%2d] '%s': entry size does not
@@ -1879,6 +1899,8 @@ section [%2d] '%s': entry size does not
idx, section_name (ebl, idx));
if (symshdr != NULL
@ -1071,7 +1071,7 @@
&& (shdr->sh_size / shdr->sh_entsize
< symshdr->sh_size / symshdr->sh_entsize))
ERROR (gettext ("\
@@ -1917,6 +1939,12 @@ section [%2d] '%s': extended section ind
@@ -1905,6 +1927,12 @@ section [%2d] '%s': extended section ind
}
Elf_Data *data = elf_getdata (elf_getscn (ebl->elf, idx), NULL);
@ -1084,7 +1084,7 @@
if (*((Elf32_Word *) data->d_buf) != 0)
ERROR (gettext ("symbol 0 should have zero extended section index\n"));
@@ -1959,7 +1987,7 @@ section [%2d] '%s': hash table section i
@@ -1947,7 +1975,7 @@ section [%2d] '%s': hash table section i
size_t maxidx = nchain;
@ -1093,7 +1093,7 @@
{
size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
@@ -1970,18 +1998,28 @@ section [%2d] '%s': hash table section i
@@ -1958,18 +1986,28 @@ section [%2d] '%s': hash table section i
maxidx = symsize;
}
@ -1124,7 +1124,7 @@
}
@@ -2011,18 +2049,28 @@ section [%2d] '%s': hash table section i
@@ -1999,18 +2037,28 @@ section [%2d] '%s': hash table section i
maxidx = symsize;
}
@ -1156,7 +1156,7 @@
}
@@ -2047,7 +2095,7 @@ section [%2d] '%s': bitmask size not pow
@@ -2035,7 +2083,7 @@ section [%2d] '%s': bitmask size not pow
if (shdr->sh_size < (4 + bitmask_words + nbuckets) * sizeof (Elf32_Word))
{
ERROR (gettext ("\
@ -1165,7 +1165,7 @@
idx, section_name (ebl, idx), (long int) shdr->sh_size,
(long int) ((4 + bitmask_words + nbuckets) * sizeof (Elf32_Word)));
return;
@@ -2719,8 +2767,9 @@ section [%2d] '%s' refers in sh_link to
@@ -2707,8 +2755,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. */

View File

@ -1,7 +1,7 @@
Name: elfutils
Summary: A collection of utilities and DSOs to handle compiled objects
Version: 0.151
%global baserelease 2
Version: 0.152
%global baserelease 1
URL: https://fedorahosted.org/elfutils/
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
License: GPLv2 with exceptions
@ -315,6 +315,13 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.a
%changelog
* Tue Feb 15 2011 Roland McGrath <roland@redhat.com> - 0.152-1
- Update to 0.152
- Various build and warning nits fixed for newest GCC and Autoconf.
- libdwfl: Yet another prelink-related fix for another regression. (#674465)
- eu-elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
- eu-elfcmp: New flag -l/--verbose to print all differences.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.151-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
9bc04e409a5510ba379afc3f853a59ae elfutils-0.151.tar.bz2
39739ed58a0fa1862eff8735f111fe5c elfutils-0.152.tar.bz2