summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2017-09-07 08:27:37 +0200
committerMartin Roth <martinroth@google.com>2017-10-16 02:43:01 +0000
commit4cde9a752aca6aa75c6e028d301b276a53c2a472 (patch)
tree452c2126c11e9eaeee837f5497283d536cffa776 /util/crossgcc/patches
parent1d6002a27ce74611f16601ccf59e41e8845cde9f (diff)
downloadcoreboot-4cde9a752aca6aa75c6e028d301b276a53c2a472.tar.xz
crossgcc: Build libelf from elfutils 0.170
> Could you make in a separate, independent change a update from the > completely outdated LIBELF (from mr511.de/software/libelf ) to recent > libelf? Those highly outdated libelf from this unmaintained mr511.de > webpage should not be used any more since years. There are also a ton > of security issues like for example: CVE-2017-7607, CVE-2017-7608, ... > CVE-2017-7613. Recent version of this software is included in the > elfutils that are available here: https://sourceware.org/elfutils/ -> > download link: > https://sourceware.org/elfutils/ftp/0.170/elfutils-0.170.tar.bz2 Remove the obsolete patch, which doesn’t apply anymore, and only affected the build system, which is different now. Increment the buildgcc version string as a tool version is changed. TEST=Running `make crossgcc-i386` succeeds. Change-Id: Iadd320a18c5d9fe2a82a347e39f01d8b7f8806c2 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/21435 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch b/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch
deleted file mode 100644
index d80d1c4622..0000000000
--- a/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-libelf-0.8.13: Fix libelf 64bit detection
-
-Taken from crosstool-ng and and re-applied to 0.8.13
-
-diff -urN libelf-0.8.13.orig/configure libelf-0.8.13/configure
---- libelf-0.8.13.orig/configure 2008-05-23 01:18:03.000000000 -0700
-+++ libelf-0.8.13/configure 2017-07-27 12:41:43.417835628 -0700
-@@ -1595,7 +1595,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- if test "$cross_compiling" = yes; then
-- ac_cv_sizeof_long_long=0
-+ ac_cv_sizeof_long_long=8
- else
- cat > conftest.$ac_ext <<EOF
- #line 1602 "configure"
-diff -urN libelf-0.8.13.orig/configure.in libelf-0.8.13/configure.in
---- libelf-0.8.13.orig/configure.in 2008-05-23 01:17:56.000000000 -0700
-+++ libelf-0.8.13/configure.in 2017-07-27 12:41:43.421835676 -0700
-@@ -90,7 +90,7 @@
- AC_CHECK_SIZEOF(short,2)
- AC_CHECK_SIZEOF(int,4)
- AC_CHECK_SIZEOF(long,4)
--AC_CHECK_SIZEOF(long long,0)
-+AC_CHECK_SIZEOF(long long,8)
- # Windows port
- AC_CHECK_SIZEOF(__int64, 0)
-