Commit 251be916 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated elfutils to 0.176

parent a0cc620b
all:
tar xf elfutils-0.170.tar.bz2
patch -Np1 -d elfutils-0.170 < elfutils-0.170-gcc-8.patch
patch -Np1 -d elfutils-0.170 < elfutils-0.170-tests.patch
cd elfutils-0.170 && ./configure --prefix=/usr
$(MAKE) -C elfutils-0.170
tar xf elfutils-0.176.tar.bz2
cd elfutils-0.176 && ./configure --prefix=/usr
$(MAKE) -C elfutils-0.176
-if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C elfutils-0.170 check ; \
$(MAKE) -C elfutils-0.176 check ; \
fi
$(MAKE) -C elfutils-0.170/libelf install
install -vm644 elfutils-0.170/config/libelf.pc /usr/lib/pkgconfig
rm -rf elfutils-0.170
$(MAKE) -C elfutils-0.176/libelf install
install -vm644 elfutils-0.176/config/libelf.pc /usr/lib/pkgconfig
rm -rf elfutils-0.176
diff -uNr elfutils-0.170/backends/linux-core-note.c elfutils-0.170-gcc-8/backends/linux-core-note.c
--- elfutils-0.170/backends/linux-core-note.c 2017-06-20 00:15:16.000000000 +0930
+++ elfutils-0.170-gcc-8/backends/linux-core-note.c 2018-06-11 03:28:50.522130054 +0930
@@ -111,7 +111,7 @@
FIELD (INT, pr_fpvalid);
}
#ifdef ALIGN_PRSTATUS
- __attribute__ ((packed, aligned (ALIGN_PRSTATUS)))
+ attribute_packed __attribute__ ((aligned (ALIGN_PRSTATUS)))
#endif
;
diff -uNr elfutils-0.170/tests/run-strip-nothing.sh elfutils-0.170-tests/tests/run-strip-nothing.sh
--- elfutils-0.170/tests/run-strip-nothing.sh 2017-06-20 00:15:16.000000000 +0930
+++ elfutils-0.170-tests/tests/run-strip-nothing.sh 2018-05-24 21:05:58.434585484 +0930
@@ -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 ||
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment