Hello community,

here is the log from the commit of package elfutils for openSUSE:Factory
checked in at Mon May 2 11:57:46 CEST 2011.



--------
--- elfutils/elfutils.changes   2010-09-21 00:49:52.000000000 +0200
+++ /mounts/work_src_done/STABLE/elfutils/elfutils.changes      2011-04-28 
19:48:06.000000000 +0200
@@ -1,0 +2,24 @@
+Wed Apr 27 00:35:22 UTC 2011 - to...@novell.com
+
+- Upgrade to 0.152, upstream changelog:
+  - Various build and warning nits fixed for newest GCC and Autoconf.
+  - libdwfl: Yet another prelink-related fix for another regression.
+             Look for Linux kernel images in files named with compression
+             suffixes.
+  - elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
+           New flag -l/--verbose to print all differences.
+
+-------------------------------------------------------------------
+Fri Jan 21 22:02:25 UTC 2011 - to...@novell.com
+
+- Update to 0.151
+- Upstream changelog for 0.151/0.150
+  - libdwfl: Fix for more prelink cases with separate debug file. 
+  - eu-strip: New flag --strip-sections to remove section headers entirely.
+  - libdwfl: Remove bogus assert. 
+  - libdw: Fix for handling huge .debug_aranges section. 
+  - libdwfl: Fix for handling prelinked DSO with separate debug file. 
+  - findtextrel: Fix diagnostics to work with usual section ordering.
+  - libebl: i386 backend fix for multi-register integer return value location
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  elfutils-0.149.tar.bz2

New:
----
  elfutils-0.152.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ elfutils.spec ++++++
--- /var/tmp/diff_new_pack.rnvSa8/_old  2011-05-02 11:54:53.000000000 +0200
+++ /var/tmp/diff_new_pack.rnvSa8/_new  2011-05-02 11:54:53.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package elfutils (Version 0.149)
+# spec file for package elfutils
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 
 Name:           elfutils
 License:        GPLv2 ; GPLv2+ ; LGPLv2.1+
-Version:        0.149
+Version:        0.152
 Release:        1
 Summary:        Higher-level library to access ELF
 Group:          System/Libraries

++++++ elfutils-0.149.tar.bz2 -> elfutils-0.152.tar.bz2 ++++++
++++ 32151 lines of diff (skipped)

++++++ elfutils-portability.patch ++++++
--- /var/tmp/diff_new_pack.rnvSa8/_old  2011-05-02 11:54:54.000000000 +0200
+++ /var/tmp/diff_new_pack.rnvSa8/_new  2011-05-02 11:54:54.000000000 +0200
@@ -1,22 +1,22 @@
 From: Tony Jones <to...@suse.de>
 Subject: Elfutils portability patch
-Version: 0.149
-References: 
https://fedorahosted.org/releases/e/l/elfutils/0.149/elfutils-portability.patch
+Version: 0.152
+References: 
https://fedorahosted.org/releases/e/l/elfutils/0.152/elfutils-portability.patch
 Upstream: yes
 
 This patch contains portability fixes that are regarded as generally useful
 by the community but are not accepted by the elfutils maintainer (and are
 therefore not in the git repository).
 
-Following change is removed from the patch (as Factory is built using 
+Following change is removed from the patch (as Factory is built using
 GNU_SOURCE and thus %a is interpreted as having a float param):
 
-+      * addr2line.c (handle_address): Use %a instead of %m for compatibility.
++       * addr2line.c (handle_address): Use %a instead of %m for compatibility.
 +
 
 --- elfutils/backends/ChangeLog
 +++ elfutils/backends/ChangeLog
-@@ -106,6 +106,10 @@
+@@ -111,6 +111,10 @@
        * ppc_attrs.c (ppc_check_object_attribute): Handle tag
        GNU_Power_ABI_Struct_Return.
  
@@ -27,7 +27,7 @@
  2008-10-04  Ulrich Drepper  <drep...@redhat.com>
  
        * i386_reloc.def: Fix entries for TLS_GOTDESC, TLS_DESC_CALL, and
-@@ -433,6 +437,11 @@
+@@ -438,6 +442,11 @@
        * sparc_init.c: Likewise.
        * x86_64_init.c: Likewise.
  
@@ -39,7 +39,7 @@
  2005-11-19  Roland McGrath  <rol...@redhat.com>
  
        * ppc64_reloc.def: REL30 -> ADDR30.
-@@ -455,6 +464,9 @@
+@@ -460,6 +469,9 @@
        * Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
        (CLEANFILES): Add libebl_$(m).so.
  
@@ -98,7 +98,7 @@
  libebl_i386.so: $(cpu_i386)
 --- elfutils/ChangeLog
 +++ elfutils/ChangeLog
-@@ -7,6 +7,10 @@
+@@ -13,6 +13,10 @@
  
        * configure.ac (LOCALEDIR, DATADIRNAME): Removed.
  
@@ -109,7 +109,7 @@
  2009-09-21  Ulrich Drepper  <drep...@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.
  
@@ -120,7 +120,7 @@
  2009-04-19  Roland McGrath  <rol...@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  <rol...@redhat.com>
  
@@ -129,7 +129,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.
  
@@ -140,7 +140,7 @@
  2005-11-18  Roland McGrath  <rol...@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.
  
@@ -224,8 +224,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
@@ -355,13 +355,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
@@ -370,16 +370,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.
@@ -390,7 +390,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]))
  
@@ -445,7 +445,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],
@@ -457,7 +457,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
@@ -466,7 +466,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.
@@ -547,7 +547,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.
  
@@ -649,7 +649,7 @@
  @MUDFLAP_FALSE@libmudflap = 
 --- elfutils/libdw/ChangeLog
 +++ elfutils/libdw/ChangeLog
-@@ -299,6 +299,10 @@
+@@ -308,6 +308,10 @@
  
        * dwarf_hasattr_integrate.c: Integrate DW_AT_specification too.
  
@@ -660,7 +660,7 @@
  2009-08-10  Roland McGrath  <rol...@redhat.com>
  
        * dwarf_getscopevar.c: Use dwarf_diename.
-@@ -1067,6 +1071,11 @@
+@@ -1076,6 +1080,11 @@
  
  2005-05-31  Roland McGrath  <rol...@redhat.com>
  
@@ -712,7 +712,7 @@
  @MUDFLAP_FALSE@libmudflap = 
 --- elfutils/libdwfl/ChangeLog
 +++ elfutils/libdwfl/ChangeLog
-@@ -1283,6 +1283,11 @@
+@@ -1366,6 +1366,11 @@
  
  2005-07-21  Roland McGrath  <rol...@redhat.com>
  
@@ -794,7 +794,7 @@
  @MUDFLAP_FALSE@libmudflap = 
 --- elfutils/libelf/ChangeLog
 +++ elfutils/libelf/ChangeLog
-@@ -666,6 +666,11 @@
+@@ -671,6 +671,11 @@
  
        * elf.h: Update from glibc.
  
@@ -891,7 +891,7 @@
  XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
 --- elfutils/src/ChangeLog
 +++ elfutils/src/ChangeLog
-@@ -220,8 +220,16 @@
+@@ -260,8 +260,16 @@
        * readelf.c (attr_callback): Use print_block only when we don't use
        print_ops.
  
@@ -908,7 +908,7 @@
        * ar.c (do_oper_extract): Use pathconf instead of statfs.
  
  2009-08-01  Ulrich Drepper  <drep...@redhat.com>
-@@ -568,6 +578,11 @@
+@@ -608,6 +618,11 @@
        that matches its PT_LOAD's p_flags &~ PF_W.  On sparc, PF_X really
        is valid in RELRO.
  
@@ -920,7 +920,7 @@
  2008-02-29  Roland McGrath  <rol...@redhat.com>
  
        * readelf.c (print_attributes): Add a cast.
-@@ -819,6 +834,8 @@
+@@ -859,6 +874,8 @@
  
        * readelf.c (hex_dump): Fix rounding error in whitespace calculation.
  
@@ -929,7 +929,7 @@
  2007-10-15  Roland McGrath  <rol...@redhat.com>
  
        * make-debug-archive.in: New file.
-@@ -1258,6 +1275,10 @@
+@@ -1298,6 +1315,10 @@
        * elflint.c (valid_e_machine): Add EM_ALPHA.
        Reported by Christian Aichinger <gre...@gmx.net>.
  
@@ -940,7 +940,7 @@
  2006-08-08  Ulrich Drepper  <drep...@redhat.com>
  
        * elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
-@@ -1334,6 +1355,10 @@
+@@ -1374,6 +1395,10 @@
        * Makefile.am: Add hacks to create dependency files for non-generic
        linker.
  
@@ -951,7 +951,7 @@
  2006-06-12  Ulrich Drepper  <drep...@redhat.com>
  
        * ldgeneric.c (ld_generic_generate_sections): Don't create .interp
-@@ -1682,6 +1707,11 @@
+@@ -1722,6 +1747,11 @@
        * readelf.c (print_debug_loc_section): Fix indentation for larger
        address size.
  
@@ -965,7 +965,7 @@
        * readelf.c (print_debug_line_section): Print section offset of each
 --- elfutils/src/findtextrel.c
 +++ elfutils/src/findtextrel.c
-@@ -490,7 +490,11 @@ ptrcompare (const void *p1, const void *
+@@ -504,7 +504,11 @@ ptrcompare (const void *p1, const void *
  
  
  static void
@@ -1137,7 +1137,7 @@
  
  /* Name and version of program.  */
  static void print_version (FILE *stream, struct argp_state *state);
-@@ -301,8 +307,18 @@ process_file (const char *fname)
+@@ -311,8 +317,18 @@ process_file (const char *fname)
  
        /* If we have to preserve the timestamp, we need it in the
         format utimes() understands.  */
@@ -1156,7 +1156,7 @@
      }
  
    /* Open the file.  */
-@@ -1747,7 +1763,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1809,7 +1825,7 @@ while computing checksum for debug infor
    /* If requested, preserve the timestamp.  */
    if (tvp != NULL)
      {
@@ -1165,7 +1165,7 @@
        {
          error (0, errno, gettext ("\
  cannot set access and modification date of '%s'"),
-@@ -1804,7 +1820,7 @@ handle_ar (int fd, Elf *elf, const char 
+@@ -1866,7 +1882,7 @@ handle_ar (int fd, Elf *elf, const char 
  
    if (tvp != NULL)
      {
@@ -1176,7 +1176,7 @@
  cannot set access and modification date of '%s'"), fname);
 --- elfutils/tests/ChangeLog
 +++ elfutils/tests/ChangeLog
-@@ -154,6 +154,8 @@
+@@ -205,6 +205,8 @@
  
  2008-01-21  Roland McGrath  <rol...@redhat.com>
  
@@ -1185,7 +1185,7 @@
        * testfile45.S.bz2: Add tests for cltq, cqto.
        * testfile45.expect.bz2: Adjust.
  
-@@ -862,6 +864,11 @@
+@@ -913,6 +915,11 @@
        * Makefile.am (TESTS): Add run-elflint-test.sh.
        (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
  

++++++ elfutils-robustify.patch ++++++
--- /var/tmp/diff_new_pack.rnvSa8/_old  2011-05-02 11:54:54.000000000 +0200
+++ /var/tmp/diff_new_pack.rnvSa8/_new  2011-05-02 11:54:54.000000000 +0200
@@ -1,16 +1,16 @@
 From: Tony Jones <to...@suse.de>
-Subject: Elfutils robustify patch 
-Version: 0.149
-References: 
https://fedorahosted.org/releases/e/l/elfutils/0.149/elfutils-robustify.patch
+Subject: Elfutils robustify patch
+Version: 0.152
+References: 
https://fedorahosted.org/releases/e/l/elfutils/0.152/elfutils-robustify.patch
 Upstream: yes
 
-This patch contains functional/stability fixes that are regarded as generally 
-useful by the community but are not accepted by the elfutils maintainer (and 
-are therefore not in the git repository).  
+This patch contains functional/stability fixes that are regarded as generally
+useful by the community but are not accepted by the elfutils maintainer (and
+are therefore not in the git repository). 
 
 --- elfutils/libelf/ChangeLog
 +++ elfutils/libelf/ChangeLog
-@@ -658,10 +658,53 @@
+@@ -663,10 +663,53 @@
        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.
  
@@ -875,7 +875,7 @@
  #endif  /* libelfP.h */
 --- elfutils/src/ChangeLog
 +++ elfutils/src/ChangeLog
-@@ -1670,6 +1670,16 @@
+@@ -1710,6 +1710,16 @@
        object symbols or symbols with unknown type.
        (check_rel): Likewise.
  
@@ -892,7 +892,7 @@
  2005-06-08  Roland McGrath  <rol...@redhat.com>
  
        * readelf.c (print_ops): Add consts.
-@@ -1715,6 +1725,19 @@
+@@ -1755,6 +1765,19 @@
  
        * readelf.c (dwarf_tag_string): Add new tags.
  
@@ -987,7 +987,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);
@@ -1001,7 +1001,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);
@@ -1012,7 +1012,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?  */
@@ -1023,7 +1023,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
        }
      }
  
@@ -1033,7 +1033,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;
  
@@ -1043,7 +1043,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;
  
@@ -1053,7 +1053,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));
  
@@ -1063,7 +1063,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;
@@ -1072,7 +1072,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
@@ -1081,7 +1081,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);
@@ -1094,7 +1094,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;
  
@@ -1103,7 +1103,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;
      }
  
@@ -1134,7 +1134,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;
      }
  
@@ -1166,7 +1166,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 ("\
@@ -1175,7 +1175,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.  */
@@ -1402,7 +1402,7 @@
                    "\
 --- elfutils/src/strip.c
 +++ elfutils/src/strip.c
-@@ -545,6 +545,11 @@ handle_elf (int fd, Elf *elf, const char
+@@ -555,6 +555,11 @@ handle_elf (int fd, Elf *elf, const char
        goto fail_close;
      }
  
@@ -1414,7 +1414,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.
-@@ -566,7 +571,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -576,7 +581,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).  */
@@ -1423,7 +1423,7 @@
  
        shdr_info[cnt].scn = scn;
  
-@@ -579,6 +584,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -589,6 +594,7 @@ handle_elf (int fd, Elf *elf, const char
                                        shdr_info[cnt].shdr.sh_name);
        if (shdr_info[cnt].name == NULL)
        {
@@ -1431,7 +1431,7 @@
          error (0, 0, gettext ("illformed file '%s'"), fname);
          goto fail_close;
        }
-@@ -588,6 +594,8 @@ handle_elf (int fd, Elf *elf, const char
+@@ -598,6 +604,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;
@@ -1440,7 +1440,7 @@
  
        /* Sections in files other than relocatable object files which
         are not loaded can be freely moved by us.  In relocatable
-@@ -600,7 +608,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -610,7 +618,7 @@ handle_elf (int fd, Elf *elf, const char
         appropriate reference.  */
        if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX))
        {
@@ -1449,7 +1449,7 @@
          shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt;
        }
        else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP))
-@@ -617,7 +625,12 @@ handle_elf (int fd, Elf *elf, const char
+@@ -627,7 +635,12 @@ handle_elf (int fd, Elf *elf, const char
          for (inner = 1;
               inner < shdr_info[cnt].data->d_size / sizeof (Elf32_Word);
               ++inner)
@@ -1462,7 +1462,7 @@
  
          if (inner == 1 || (inner == 2 && (grpref[0] & GRP_COMDAT) == 0))
            /* If the section group contains only one element and this
-@@ -628,7 +641,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -638,7 +651,7 @@ handle_elf (int fd, Elf *elf, const char
        }
        else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym))
        {
@@ -1471,7 +1471,7 @@
          shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt;
        }
  
-@@ -636,7 +649,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -646,7 +659,7 @@ handle_elf (int fd, Elf *elf, const char
         discarded right away.  */
        if ((shdr_info[cnt].shdr.sh_flags & SHF_GROUP) != 0)
        {
@@ -1480,7 +1480,7 @@
  
          if (shdr_info[shdr_info[cnt].group_idx].idx == 0)
            {
-@@ -711,11 +724,15 @@ handle_elf (int fd, Elf *elf, const char
+@@ -722,11 +735,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.  */
@@ -1498,7 +1498,7 @@
  
          if (shdr_info[cnt].idx == 1)
            {
-@@ -742,7 +759,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -753,7 +770,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)
                    {
@@ -1507,7 +1507,7 @@
  
                      shdr_info[shdr_info[cnt].symtab_idx].data
                        = elf_getdata (shdr_info[shdr_info[cnt].symtab_idx].scn,
-@@ -782,6 +799,9 @@ handle_elf (int fd, Elf *elf, const char
+@@ -793,6 +810,9 @@ handle_elf (int fd, Elf *elf, const char
                      else if (scnidx == SHN_XINDEX)
                        scnidx = xndx;
  
@@ -1517,7 +1517,7 @@
                      if (shdr_info[scnidx].idx == 0)
                        /* This symbol table has a real symbol in
                           a discarded section.  So preserve the
-@@ -812,12 +832,16 @@ handle_elf (int fd, Elf *elf, const char
+@@ -823,12 +843,16 @@ handle_elf (int fd, Elf *elf, const char
                }
  
              /* Handle references through sh_info.  */
@@ -1536,7 +1536,7 @@
  
              /* Mark the section as investigated.  */
              shdr_info[cnt].idx = 2;
-@@ -956,7 +980,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -967,7 +991,7 @@ handle_elf (int fd, Elf *elf, const char
          error (EXIT_FAILURE, 0, gettext ("while generating output file: %s"),
                 elf_errmsg (-1));
  
@@ -1545,7 +1545,7 @@
  
        /* Add this name to the section header string table.  */
        shdr_info[cnt].se = ebl_strtabadd (shst, shdr_info[cnt].name, 0);
-@@ -993,7 +1017,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1004,7 +1028,7 @@ handle_elf (int fd, Elf *elf, const char
        error (EXIT_FAILURE, 0,
               gettext ("while create section header section: %s"),
               elf_errmsg (-1));
@@ -1554,7 +1554,7 @@
  
        shdr_info[cnt].data = elf_newdata (shdr_info[cnt].newscn);
        if (shdr_info[cnt].data == NULL)
-@@ -1049,7 +1073,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1060,7 +1084,7 @@ handle_elf (int fd, Elf *elf, const char
      error (EXIT_FAILURE, 0,
           gettext ("while create section header section: %s"),
           elf_errmsg (-1));
@@ -1563,7 +1563,7 @@
  
    /* Finalize the string table and fill in the correct indices in the
       section headers.  */
-@@ -1139,20 +1163,20 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1150,20 +1174,20 @@ handle_elf (int fd, Elf *elf, const char
                    shndxdata = elf_getdata 
(shdr_info[shdr_info[cnt].symtab_idx].scn,
                                             NULL);
  
@@ -1587,7 +1587,7 @@
                            >= shdr_info[cnt].data->d_size / elsize);
                  }
  
-@@ -1207,7 +1231,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1218,7 +1242,7 @@ handle_elf (int fd, Elf *elf, const char
                      sec = shdr_info[sym->st_shndx].idx;
                    else
                      {
@@ -1596,7 +1596,7 @@
  
                        sec = shdr_info[xshndx].idx;
                      }
-@@ -1228,7 +1252,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1239,7 +1263,7 @@ handle_elf (int fd, Elf *elf, const char
                            nxshndx = sec;
                          }
  
@@ -1605,7 +1605,7 @@
  
                        if ((inner != destidx || nshndx != sym->st_shndx
                             || (shndxdata != NULL && nxshndx != xshndx))
-@@ -1252,7 +1276,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1263,7 +1287,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.  */
@@ -1614,7 +1614,7 @@
                  }
  
                if (destidx != inner)
-@@ -1439,11 +1463,11 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1450,11 +1474,11 @@ handle_elf (int fd, Elf *elf, const char
                  {
                    GElf_Sym sym_mem;
                    GElf_Sym *sym = gelf_getsym (symd, inner, &sym_mem);
@@ -1628,7 +1628,7 @@
                    size_t hidx = elf_hash (name) % nbucket;
  
                    if (bucket[hidx] == 0)
-@@ -1462,7 +1486,7 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1473,7 +1497,7 @@ handle_elf (int fd, Elf *elf, const char
            else
              {
                /* Alpha and S390 64-bit use 64-bit SHT_HASH entries.  */
@@ -1637,7 +1637,7 @@
                        == sizeof (Elf64_Xword));
  
                Elf64_Xword *bucket = (Elf64_Xword *) hashd->d_buf;
-@@ -1493,11 +1517,11 @@ handle_elf (int fd, Elf *elf, const char
+@@ -1504,11 +1528,11 @@ handle_elf (int fd, Elf *elf, const char
                  {
                    GElf_Sym sym_mem;
                    GElf_Sym *sym = gelf_getsym (symd, inner, &sym_mem);


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to