forked from pool/elfutils
3e2c8790d2
- Update to version 0.170 libdw: Added new DWARF5 attribute, tag, character encoding, language code, calling convention, defaulted member function and macro constants to dwarf.h. New functions dwarf_default_lower_bound and dwarf_line_file. dwarf_peel_type now handles DWARF5 immutable, packed and shared tags. dwarf_getmacros now handles DWARF5 .debug_macro sections. strip: Add -R, --remove-section=SECTION and --keep-section=SECTION. backends: The bpf disassembler is now always build on all platforms. - Includes changes in 0.169 backends: Add support for EM_PPC64 GNU_ATTRIBUTES. Frame pointer unwinding fallback support for i386, x86_64, aarch64. translations: Update Polish translation. - Remove obsolete 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch and ppc-machine-flags.patch - Add elfutils-0.170-stripnothing.patch to robustify test and avoid a FAIL. - Add elfutils-0.170-Wpackednotaligned.patch to fix build with GCC 8. (boo#1084637) OBS-URL: https://build.opensuse.org/request/show/584787 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=104
27 lines
948 B
Diff
27 lines
948 B
Diff
commit 8f0140ace401197beaed1df6a48f259756d8bbd9
|
|
Author: Dmitry V. Levin <ldv@altlinux.org>
|
|
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 <ldv@altlinux.org>
|
|
|
|
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 ||
|