From 9a41c7f04a65269e4e00ecdc5c66aaf442d10cc94efc19562df9b517d906e2bc Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 5 Jun 2018 10:45:12 +0000 Subject: [PATCH] Accepting request 613899 from home:marxin:branches:openSUSE:Factory - Update to version 0.171 DWARF5 and split dwarf, including GNU DebugFission, are supported now. Data can be read from the new DWARF sections .debug_addr, .debug_line_str, .debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new DWARF5 and GNU DebugFission encodings of the existing .debug sections. Also in split DWARF .dwo (DWARF object) files. This support is mostly handled by existing functions (dwarf_getlocation*, dwarf_getsrclines, dwarf_ranges, dwarf_form*, etc.) now returning the data from the new sections and data formats. But some new functions have been added to more easily get information about skeleton and split compile units (dwarf_get_units and dwarf_cu_info), handle new attribute data (dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies that might come from different sections or files (dwarf_die_addr_die). Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary) files, the .debug_names index, the .debug_cu_index and .debug_tu_index sections. Only a single .debug_info (and .debug_types) section are currently handled. readelf: Handle all new DWARF5 sections. --debug-dump=info+ will show split unit DIEs when found. --dwarf-skeleton can be used when inspecting a .dwo file. Recognizes GNU locviews with --debug-dump=loc. libdw: New functions dwarf_die_addr_die, dwarf_get_units, dwarf_getabbrevattr_data and dwarf_cu_info. libdw will now try to resolve the alt file on first use of an alt attribute FORM when not set yet with dwarf_set_alt. dwarf_aggregate_size() now works with multi-dimensional arrays. libdwfl: Use process_vm_readv when available instead of ptrace. backends: Add a RISC-V backend. There were various improvements to build on Windows. The sha1 and md5 implementations have been removed, they weren't used. - Remove patches: elfutils-0.170-Wpackednotaligned.patch, elfutils-0.170-stripnothing.patch, gcc8-disable-test.patch - make package with V=1 to print verbose command line OBS-URL: https://build.opensuse.org/request/show/613899 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=109 --- elfutils-0.170-Wpackednotaligned.patch | 43 ----------------------- elfutils-0.170-stripnothing.patch | 26 -------------- elfutils-0.170.tar.bz2 | 3 -- elfutils-0.170.tar.bz2.sig | Bin 287 -> 0 bytes elfutils-0.171.tar.bz2 | 3 ++ elfutils-0.171.tar.bz2.sig | Bin 0 -> 310 bytes elfutils.changes | 45 +++++++++++++++++++++++++ elfutils.spec | 14 ++------ gcc8-disable-test.patch | 20 ----------- 9 files changed, 51 insertions(+), 103 deletions(-) delete mode 100644 elfutils-0.170-Wpackednotaligned.patch delete mode 100644 elfutils-0.170-stripnothing.patch delete mode 100644 elfutils-0.170.tar.bz2 delete mode 100644 elfutils-0.170.tar.bz2.sig create mode 100644 elfutils-0.171.tar.bz2 create mode 100644 elfutils-0.171.tar.bz2.sig delete mode 100644 gcc8-disable-test.patch diff --git a/elfutils-0.170-Wpackednotaligned.patch b/elfutils-0.170-Wpackednotaligned.patch deleted file mode 100644 index 2588f7d..0000000 --- a/elfutils-0.170-Wpackednotaligned.patch +++ /dev/null @@ -1,43 +0,0 @@ -commit ab6b37ac32ddf2f2f11f800a770170814f5cbb8b -Author: Mark Wielaard -Date: Tue Oct 24 14:23:30 2017 +0200 - - backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c. - - The GCC8 -Wpacked-not-aligned warns if a structure field with explicit - padding in a packed structure will be misaligned. m68k prstatus core - notes are described by a packed structure which has such aligned structure - fields. - - Signed-off-by: Mark Wielaard - -diff --git a/backends/Makefile.am b/backends/Makefile.am -index 0fde0cb0..2c62add2 100644 ---- a/backends/Makefile.am -+++ b/backends/Makefile.am -@@ -119,6 +119,13 @@ m68k_SRCS = m68k_init.c m68k_symbol.c m68k_regs.c \ - libebl_m68k_pic_a_SOURCES = $(m68k_SRCS) - am_libebl_m68k_pic_a_OBJECTS = $(m68k_SRCS:.c=.os) - -+# m68k prstatus core notes are described by a packed structure -+# which has not naturally aligned fields. Since we don't access -+# these fields directly, but take their offset to be used later -+# to extract the data through elfxx_xlatetom/memmove, this isn't -+# an issue. -+m68k_corenote_no_Wpacked_not_aligned = yes -+ - bpf_SRCS = bpf_init.c bpf_regs.c - cpu_bpf = ../libcpu/libcpu_bpf.a - libebl_bpf_pic_a_SOURCES = $(bpf_SRCS) -diff --git a/config/eu.am b/config/eu.am -index 796f3883..05c27f02 100644 ---- a/config/eu.am -+++ b/config/eu.am -@@ -74,6 +74,7 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ - $(if $($(*F)_no_Werror),,-Werror) \ - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ - $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ -+ $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \ - $($(*F)_CFLAGS) - - COMPILE.os = $(filter-out -fprofile-arcs -ftest-coverage, $(COMPILE)) diff --git a/elfutils-0.170-stripnothing.patch b/elfutils-0.170-stripnothing.patch deleted file mode 100644 index 4010163..0000000 --- a/elfutils-0.170-stripnothing.patch +++ /dev/null @@ -1,26 +0,0 @@ -commit 8f0140ace401197beaed1df6a48f259756d8bbd9 -Author: Dmitry V. Levin -Date: Tue Aug 8 19:06:16 2017 +0300 - - tests: robustify run-strip-nothing.sh against unstripped libc_nonshared.a - - When glibc's libc_nonshared.a contains objects with debug info, - this debug info is leaked into every output file produced by gcc. - Change run-strip-nothing.sh to use "gcc -s" instead of plain "gcc" - for producing objects without debug info. - - Signed-off-by: Dmitry V. Levin - -diff --git a/tests/run-strip-nothing.sh b/tests/run-strip-nothing.sh -index e80bd906..914fdfbf 100755 ---- a/tests/run-strip-nothing.sh -+++ b/tests/run-strip-nothing.sh -@@ -23,7 +23,7 @@ - tempfiles a.out strip.out debug.out - - # Create no-debug a.out. --echo "int main() { return 1; }" | gcc -xc - -+echo "int main() { return 1; }" | gcc -s -xc - - - # strip to file - testrun ${abs_top_builddir}/src/strip -g -o strip.out || diff --git a/elfutils-0.170.tar.bz2 b/elfutils-0.170.tar.bz2 deleted file mode 100644 index 547b216..0000000 --- a/elfutils-0.170.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066 -size 8358001 diff --git a/elfutils-0.170.tar.bz2.sig b/elfutils-0.170.tar.bz2.sig deleted file mode 100644 index 9421445a591c123135833e41cb26329c79145ecb9a4851ad16f714a1241533f3..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p--u^6vl&2@r#DW?NT*YHBX}2mA~NQn^3cnu2cXz@F!9 zo zDwugu9w$f^;Vj5vC()qp+#Q4NL~CcDgDWJaFDd+`>6R8>Md`^=+AL7vfI;D4Q;1j? z*OM+|H7n-)acXM$xsE~1ITo=82te^q&idUpPE-$j9+x};&25hIHz@{gjOn1kR}Gb% z3oJvl2BSGBj_D-*?X&cxxe_ l_MjUKJuYl@#lM^G<3}Er(`OW1!DmSx6F2hW6qR)YQ5PaugAV`z diff --git a/elfutils-0.171.tar.bz2 b/elfutils-0.171.tar.bz2 new file mode 100644 index 0000000..35c6978 --- /dev/null +++ b/elfutils-0.171.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cce883ecffe5d0a3bb19dc23645af74c6f1166727ee6bec3cee741ffd938f066 +size 8654558 diff --git a/elfutils-0.171.tar.bz2.sig b/elfutils-0.171.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..ad55e7facfc287b7fe349bb91bf5558b5fe16d80d832c116fe20891483aa2fd2 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*j%mXn98;i!!{Y{{QaAsRqfof_60$UNTBmfEt5QA`L zTUUWJJ9}{>>1OF!vVG^Izy!gKj#*0w=**lI$6Q9FK|HrBq6ZNgnX*uE=9UJx zYs|BhbSTBIxK;x#Fry+8$E@eUFWZWb!1Y$ReE5B#d^>7^=nVAy+2*nNRd|S_YijwX znx3z{P!=q=`P?tKUi}+u*NpFP6NDf`5tNVx