From 686469ffccf65c6ac84187adc4045a74c70c431c274d77f5826d97d2046bddfe Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 7 Oct 2010 19:59:49 +0000 Subject: [PATCH] Accepting request 50025 from Base:System Copy from Base:System/elfutils based on submit request 50025 from user jones_tony OBS-URL: https://build.opensuse.org/request/show/50025 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=21 --- README-BEFORE-ADDING-PATCHES | 16 +++++++ elfutils-0.148.tar.bz2 | 3 -- elfutils-0.149.tar.bz2 | 3 ++ elfutils-portability.patch | 86 ++++++++++++++++++++++++------------ elfutils-robustify.patch | 42 +++++++++--------- elfutils.changes | 19 ++++++++ elfutils.spec | 7 +-- 7 files changed, 120 insertions(+), 56 deletions(-) create mode 100644 README-BEFORE-ADDING-PATCHES delete mode 100644 elfutils-0.148.tar.bz2 create mode 100644 elfutils-0.149.tar.bz2 diff --git a/README-BEFORE-ADDING-PATCHES b/README-BEFORE-ADDING-PATCHES new file mode 100644 index 0000000..b85f6ec --- /dev/null +++ b/README-BEFORE-ADDING-PATCHES @@ -0,0 +1,16 @@ +All patches need to have a patch description header similar to what is used in +SuSE kernel git tree. + +Patches added without this will be reverted. + +From: Name +Subject: Summary of fix +Date: date +References: bnc#xxxxxx (bugzilla reference) +Upstream: upstream revision or a description of why it is not upstream +Signed-Off-by: Name (same as From: if committer is patch author) + +Short paragraph describing problem/fix. + +References to upstream repo/commit-id if applicable. + diff --git a/elfutils-0.148.tar.bz2 b/elfutils-0.148.tar.bz2 deleted file mode 100644 index 7384a9a..0000000 --- a/elfutils-0.148.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8aebfa4a745db21cf5429c9541fe482729b62efc7e53e9110151b4169fe887da -size 1811640 diff --git a/elfutils-0.149.tar.bz2 b/elfutils-0.149.tar.bz2 new file mode 100644 index 0000000..f8be1a2 --- /dev/null +++ b/elfutils-0.149.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b81f73db935cdb5c0ddfdb4fd36aa0597b691b9204c62e5ee6bcb8c8ffabc808 +size 1821994 diff --git a/elfutils-portability.patch b/elfutils-portability.patch index de80310..5a5e6fa 100644 --- a/elfutils-portability.patch +++ b/elfutils-portability.patch @@ -1,7 +1,7 @@ From: Tony Jones Subject: Elfutils portability patch -Version: 0.148 -References: https://fedorahosted.org/releases/e/l/elfutils/0.148/elfutils-portability.patch +Version: 0.149 +References: https://fedorahosted.org/releases/e/l/elfutils/0.149/elfutils-portability.patch Upstream: yes This patch contains portability fixes that are regarded as generally useful @@ -98,7 +98,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): libebl_i386.so: $(cpu_i386) --- elfutils/ChangeLog +++ elfutils/ChangeLog -@@ -2,6 +2,10 @@ +@@ -7,6 +7,10 @@ * configure.ac (LOCALEDIR, DATADIRNAME): Removed. @@ -109,7 +109,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2009-09-21 Ulrich Drepper * configure.ac: Update for more modern autoconf. -@@ -10,6 +14,10 @@ +@@ -15,6 +19,10 @@ * configure.ac (zip_LIBS): Check for liblzma too. @@ -120,7 +120,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2009-04-19 Roland McGrath * configure.ac (eu_version): Round down here, not in version.h macros. -@@ -21,6 +29,8 @@ +@@ -26,6 +34,8 @@ 2009-01-23 Roland McGrath @@ -129,7 +129,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): * configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3. * configure.ac (__thread check): Use AC_LINK_IFELSE, in case of -@@ -101,6 +111,10 @@ +@@ -106,6 +116,10 @@ * configure.ac: Add dummy automake conditional to get dependencies for non-generic linker right. See src/Makefile.am. @@ -140,7 +140,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2005-11-18 Roland McGrath * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. -@@ -148,6 +162,17 @@ +@@ -153,6 +167,17 @@ * Makefile.am (all_SUBDIRS): Add libdwfl. * configure.ac: Write libdwfl/Makefile. @@ -588,7 +588,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): @MUDFLAP_FALSE@libmudflap = --- elfutils/libcpu/ChangeLog +++ elfutils/libcpu/ChangeLog -@@ -9,6 +9,9 @@ +@@ -15,6 +15,9 @@ 2009-01-23 Roland McGrath @@ -598,7 +598,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): * Makefile.am (i386_parse_CFLAGS): Use quotes around command substitution that can produce leading whitespace. -@@ -338,6 +341,11 @@ +@@ -344,6 +347,11 @@ * defs/i386.doc: New file. * defs/x86_64: New file. @@ -649,7 +649,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): @MUDFLAP_FALSE@libmudflap = --- elfutils/libdw/ChangeLog +++ elfutils/libdw/ChangeLog -@@ -276,6 +276,10 @@ +@@ -299,6 +299,10 @@ * dwarf_hasattr_integrate.c: Integrate DW_AT_specification too. @@ -660,7 +660,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2009-08-10 Roland McGrath * dwarf_getscopevar.c: Use dwarf_diename. -@@ -1044,6 +1048,11 @@ +@@ -1067,6 +1071,11 @@ 2005-05-31 Roland McGrath @@ -674,7 +674,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): --- elfutils/libdw/libdw.h +++ elfutils/libdw/libdw.h -@@ -842,7 +842,7 @@ extern Dwarf_OOM dwarf_new_oom_handler ( +@@ -852,7 +852,7 @@ extern Dwarf_OOM dwarf_new_oom_handler ( /* Inline optimizations. */ @@ -685,7 +685,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): dwarf_whatattr (Dwarf_Attribute *attr) --- elfutils/libdw/Makefile.in +++ elfutils/libdw/Makefile.in -@@ -191,6 +191,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -192,6 +192,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -693,7 +693,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -220,6 +221,7 @@ SHELL = @SHELL@ +@@ -221,6 +222,7 @@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = 1 @@ -701,7 +701,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -@@ -282,7 +284,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi +@@ -283,7 +285,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi -I$(srcdir)/../libelf AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \ $($(*F)_no_Werror),,-Werror) $(if \ @@ -712,7 +712,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): @MUDFLAP_FALSE@libmudflap = --- elfutils/libdwfl/ChangeLog +++ elfutils/libdwfl/ChangeLog -@@ -1265,6 +1265,11 @@ +@@ -1283,6 +1283,11 @@ 2005-07-21 Roland McGrath @@ -726,7 +726,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): * test2.c (main): Check sscanf result to quiet warning. --- elfutils/libdwfl/Makefile.in +++ elfutils/libdwfl/Makefile.in -@@ -181,6 +181,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -182,6 +182,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -734,7 +734,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -210,6 +211,7 @@ SHELL = @SHELL@ +@@ -211,6 +212,7 @@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = 1 @@ -742,7 +742,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -@@ -273,7 +275,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi +@@ -274,7 +276,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi -I$(srcdir)/../libdw AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \ $($(*F)_no_Werror),,-Werror) $(if \ @@ -753,7 +753,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): @MUDFLAP_FALSE@libmudflap = --- elfutils/libebl/ChangeLog +++ elfutils/libebl/ChangeLog -@@ -624,6 +624,11 @@ +@@ -628,6 +628,11 @@ * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency tracking works right. @@ -794,7 +794,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): @MUDFLAP_FALSE@libmudflap = --- elfutils/libelf/ChangeLog +++ elfutils/libelf/ChangeLog -@@ -657,6 +657,11 @@ +@@ -666,6 +666,11 @@ * elf.h: Update from glibc. @@ -891,7 +891,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ --- elfutils/src/ChangeLog +++ elfutils/src/ChangeLog -@@ -165,8 +165,16 @@ +@@ -220,8 +220,16 @@ * readelf.c (attr_callback): Use print_block only when we don't use print_ops. @@ -908,7 +908,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): * ar.c (do_oper_extract): Use pathconf instead of statfs. 2009-08-01 Ulrich Drepper -@@ -513,6 +523,11 @@ +@@ -568,6 +578,11 @@ that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really is valid in RELRO. @@ -920,7 +920,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2008-02-29 Roland McGrath * readelf.c (print_attributes): Add a cast. -@@ -764,6 +779,8 @@ +@@ -819,6 +834,8 @@ * readelf.c (hex_dump): Fix rounding error in whitespace calculation. @@ -929,7 +929,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2007-10-15 Roland McGrath * make-debug-archive.in: New file. -@@ -1203,6 +1220,10 @@ +@@ -1258,6 +1275,10 @@ * elflint.c (valid_e_machine): Add EM_ALPHA. Reported by Christian Aichinger . @@ -940,7 +940,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2006-08-08 Ulrich Drepper * elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB. -@@ -1279,6 +1300,10 @@ +@@ -1334,6 +1355,10 @@ * Makefile.am: Add hacks to create dependency files for non-generic linker. @@ -951,7 +951,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): 2006-06-12 Ulrich Drepper * ldgeneric.c (ld_generic_generate_sections): Don't create .interp -@@ -1627,6 +1652,11 @@ +@@ -1682,6 +1707,11 @@ * readelf.c (print_debug_loc_section): Fix indentation for larger address size. @@ -1046,7 +1046,35 @@ GNU_SOURCE and thus %a is interpreted as having a float param): size_LDADD = $(libelf) $(libeu) $(libmudflap) --- elfutils/src/readelf.c +++ elfutils/src/readelf.c -@@ -7845,7 +7845,7 @@ dump_archive_index (Elf *elf, const char +@@ -4274,10 +4274,11 @@ struct listptr + #define listptr_offset_size(p) ((p)->dwarf64 ? 8 : 4) + #define listptr_address_size(p) ((p)->addr64 ? 8 : 4) + ++static const char *listptr_name; + static int +-compare_listptr (const void *a, const void *b, void *arg) ++compare_listptr (const void *a, const void *b) + { +- const char *name = arg; ++ const char *const name = listptr_name; + struct listptr *p1 = (void *) a; + struct listptr *p2 = (void *) b; + +@@ -4357,8 +4358,11 @@ static void + sort_listptr (struct listptr_table *table, const char *name) + { + if (table->n > 0) +- qsort_r (table->table, table->n, sizeof table->table[0], +- &compare_listptr, (void *) name); ++ { ++ listptr_name = name; ++ qsort (table->table, table->n, sizeof table->table[0], ++ &compare_listptr); ++ } + } + + static bool +@@ -8098,7 +8102,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)) @@ -1082,7 +1110,7 @@ GNU_SOURCE and thus %a is interpreted as having a float param): break; } if (errno != EINVAL && errno != ENOMEM) -@@ -586,9 +595,11 @@ read_block (int fd, const char *fname, o +@@ -584,9 +593,11 @@ read_block (int fd, const char *fname, o elfmap_off = from & ~(ps - 1); elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size); diff --git a/elfutils-robustify.patch b/elfutils-robustify.patch index c2ac0ac..a6e8823 100644 --- a/elfutils-robustify.patch +++ b/elfutils-robustify.patch @@ -1,7 +1,7 @@ From: Tony Jones Subject: Elfutils robustify patch -Version: 0.148 -References: https://fedorahosted.org/releases/e/l/elfutils/0.148/elfutils-robustify.patch +Version: 0.149 +References: https://fedorahosted.org/releases/e/l/elfutils/0.149/elfutils-robustify.patch Upstream: yes This patch contains functional/stability fixes that are regarded as generally @@ -10,7 +10,7 @@ are therefore not in the git repository). --- elfutils/libelf/ChangeLog +++ elfutils/libelf/ChangeLog -@@ -649,10 +649,53 @@ +@@ -658,10 +658,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 @@ are therefore not in the git repository). #endif /* libelfP.h */ --- elfutils/src/ChangeLog +++ elfutils/src/ChangeLog -@@ -1615,6 +1615,16 @@ +@@ -1670,6 +1670,16 @@ object symbols or symbols with unknown type. (check_rel): Likewise. @@ -892,7 +892,7 @@ are therefore not in the git repository). 2005-06-08 Roland McGrath * readelf.c (print_ops): Add consts. -@@ -1660,6 +1670,19 @@ +@@ -1715,6 +1725,19 @@ * readelf.c (dwarf_tag_string): Add new tags. @@ -1189,7 +1189,7 @@ are therefore not in the git repository). idx, section_name (ebl, idx), --- elfutils/src/readelf.c +++ elfutils/src/readelf.c -@@ -1172,6 +1172,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G +@@ -1178,6 +1178,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G Elf32_Word *grpref = (Elf32_Word *) data->d_buf; GElf_Sym sym_mem; @@ -1198,7 +1198,7 @@ are therefore not in the git repository). printf ((grpref[0] & GRP_COMDAT) ? ngettext ("\ \nCOMDAT section group [%2zu] '%s' with signature '%s' contains %zu entry:\n", -@@ -1184,8 +1186,8 @@ handle_scngrp (Ebl *ebl, Elf_Scn *scn, G +@@ -1190,8 +1192,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), @@ -1209,7 +1209,7 @@ are therefore not in the git repository). ?: gettext (""), data->d_size / sizeof (Elf32_Word) - 1); -@@ -1336,7 +1338,8 @@ static void +@@ -1342,7 +1344,8 @@ static void handle_dynamic (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) { int class = gelf_getclass (ebl->elf); @@ -1219,7 +1219,7 @@ are therefore not in the git repository). Elf_Data *data; size_t cnt; size_t shstrndx; -@@ -1351,6 +1354,11 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn, +@@ -1357,6 +1360,11 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn, error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); @@ -1231,7 +1231,7 @@ are therefore not in the git repository). printf (ngettext ("\ \nDynamic segment contains %lu entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n", "\ -@@ -1360,9 +1368,7 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn, +@@ -1366,9 +1374,7 @@ handle_dynamic (Ebl *ebl, Elf_Scn *scn, class == ELFCLASS32 ? 10 : 18, shdr->sh_addr, shdr->sh_offset, (int) shdr->sh_link, @@ -1242,7 +1242,7 @@ are therefore not in the git repository). fputs_unlocked (gettext (" Type Value\n"), stdout); for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) -@@ -1945,6 +1951,13 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G +@@ -1951,6 +1957,13 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); @@ -1256,7 +1256,7 @@ are therefore not in the git repository). /* Now we can compute the number of entries in the section. */ unsigned int nsyms = data->d_size / (class == ELFCLASS32 ? sizeof (Elf32_Sym) -@@ -1955,15 +1968,12 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G +@@ -1961,15 +1974,12 @@ handle_symtab (Ebl *ebl, Elf_Scn *scn, G nsyms), (unsigned int) elf_ndxscn (scn), elf_strptr (ebl->elf, shstrndx, shdr->sh_name), nsyms); @@ -1273,7 +1273,7 @@ are therefore not in the git repository). fputs_unlocked (class == ELFCLASS32 ? gettext ("\ -@@ -2199,7 +2209,13 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn, +@@ -2205,7 +2215,13 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn, error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); @@ -1288,7 +1288,7 @@ are therefore not in the git repository). printf (ngettext ("\ \nVersion needs section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n", "\ -@@ -2210,9 +2226,7 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn, +@@ -2216,9 +2232,7 @@ handle_verneed (Ebl *ebl, Elf_Scn *scn, class == ELFCLASS32 ? 10 : 18, shdr->sh_addr, shdr->sh_offset, (unsigned int) shdr->sh_link, @@ -1299,7 +1299,7 @@ are therefore not in the git repository). unsigned int offset = 0; for (int cnt = shdr->sh_info; --cnt >= 0; ) -@@ -2265,8 +2279,14 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G +@@ -2271,8 +2285,14 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); @@ -1315,7 +1315,7 @@ are therefore not in the git repository). printf (ngettext ("\ \nVersion definition section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'\n", "\ -@@ -2278,9 +2298,7 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G +@@ -2284,9 +2304,7 @@ handle_verdef (Ebl *ebl, Elf_Scn *scn, G class == ELFCLASS32 ? 10 : 18, shdr->sh_addr, shdr->sh_offset, (unsigned int) shdr->sh_link, @@ -1326,7 +1326,7 @@ are therefore not in the git repository). unsigned int offset = 0; for (int cnt = shdr->sh_info; --cnt >= 0; ) -@@ -2542,8 +2560,14 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G +@@ -2548,8 +2566,14 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G filename = NULL; } @@ -1342,7 +1342,7 @@ are therefore not in the git repository). printf (ngettext ("\ \nVersion symbols section [%2u] '%s' contains %d entry:\n Addr: %#0*" PRIx64 " Offset: %#08" PRIx64 " Link to section: [%2u] '%s'", "\ -@@ -2555,9 +2579,7 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G +@@ -2561,9 +2585,7 @@ handle_versym (Ebl *ebl, Elf_Scn *scn, G class == ELFCLASS32 ? 10 : 18, shdr->sh_addr, shdr->sh_offset, (unsigned int) shdr->sh_link, @@ -1353,7 +1353,7 @@ are therefore not in the git repository). /* 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) -@@ -2609,7 +2631,17 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn, +@@ -2615,7 +2637,17 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn, for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) ++counts[lengths[cnt]]; @@ -1372,7 +1372,7 @@ are therefore not in the git repository). 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", "\ -@@ -2622,9 +2654,7 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn, +@@ -2628,9 +2660,7 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn, shdr->sh_addr, shdr->sh_offset, (unsigned int) shdr->sh_link, @@ -1383,7 +1383,7 @@ are therefore not in the git repository). if (extrastr != NULL) fputs (extrastr, stdout); -@@ -4312,6 +4342,16 @@ print_debug_aranges_section (Dwfl_Module +@@ -4486,6 +4516,16 @@ print_debug_aranges_section (Dwfl_Module return; } diff --git a/elfutils.changes b/elfutils.changes index b5e788f..4870479 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Sep 18 00:00:44 UTC 2010 - tonyj@novell.com + +- Update to 0.149 +- Upstream changelog + - libdwfl: Fix Linux kernel module search when dwfl_build_id_find_elf and + dwfl_build_id_find_debuginfo close fd on success + - readelf: Use symbolic printing for FDE initial_location address + - readelf: Print .debug_loc/.debug_ranges with cognizance of actual DIE + pointers into them. + - readelf: Fix crash in .debug_loc with garbage data. + - readelf: Fix DW_OP_call_ref printing for version 2 CUs. + - Handle DW_OP_GNU_implicit_pointer. + - Add dwfl_dwarf_line, addr2line -F to print out more line info bits. + - Add missing size entries for ELF_T_LIB and ELF_T_GNUHASH. + - Fix dwarf_formref_die DW_FORM_ref_sig8 hash table insertion. + - Consider .gdb_index as a debugging section + - Misc intendation, typo, translation and cleanup fixes + ------------------------------------------------------------------- Mon Sep 13 11:32:58 UTC 2010 - coolo@novell.com diff --git a/elfutils.spec b/elfutils.spec index 841d626..a3ce571 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,5 +1,5 @@ # -# spec file for package elfutils (Version 0.148) +# spec file for package elfutils (Version 0.149) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,12 +20,13 @@ Name: elfutils License: GPLv2 ; GPLv2+ ; LGPLv2.1+ -Version: 0.148 -Release: 2 +Version: 0.149 +Release: 1 Summary: Higher-level library to access ELF Group: System/Libraries Url: http://elfutils.fedorahosted.org Source: elfutils-%{version}.tar.bz2 +Source1: README-BEFORE-ADDING-PATCHES Source2: baselibs.conf Patch1: elfutils-portability.patch Patch2: elfutils-robustify.patch