diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-06-24 08:53:09 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:08:46 +0100 |
| commit | 42487843f846ae61f8bd1b2278d148ff37f0d667 (patch) | |
| tree | b423de09d29156ddfdc7dfab862f8e88f9a45617 /meta | |
| parent | 4ff37b9a55b1239e339e7d93a2ad6e0c71971345 (diff) | |
| download | openembedded-core-42487843f846ae61f8bd1b2278d148ff37f0d667.tar.gz openembedded-core-42487843f846ae61f8bd1b2278d148ff37f0d667.tar.bz2 openembedded-core-42487843f846ae61f8bd1b2278d148ff37f0d667.zip | |
gcc5: Upgrade to gcc 5.4
Drop patches which has been applied to gcc5 branch
until 5.4 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0060-remove-prototypes-cfns.patch | 153 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch | 35 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/CVE-2016-2226.patch | 103 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/CVE-2016-4488.patch | 73 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/CVE-2016-4489.patch | 56 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/CVE-2016-4490.patch | 270 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4.inc (renamed from meta/recipes-devtools/gcc/gcc-5.3.inc) | 17 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0002-uclibc-conf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0002-uclibc-conf.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0003-gcc-uclibc-locale-ctype_touplow_t.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0004-uclibc-locale.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0004-uclibc-locale.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0005-uclibc-locale-no__x.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0005-uclibc-locale-no__x.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0006-uclibc-locale-wchar_fix.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0006-uclibc-locale-wchar_fix.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0007-uclibc-locale-update.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0007-uclibc-locale-update.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0008-missing-execinfo_h.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0008-missing-execinfo_h.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0009-c99-snprintf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0009-c99-snprintf.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0010-gcc-poison-system-directories.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0010-gcc-poison-system-directories.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0011-gcc-poison-dir-extend.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0011-gcc-poison-dir-extend.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0013-64-bit-multilib-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0013-64-bit-multilib-hack.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0014-optional-libstdc.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0014-optional-libstdc.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0016-COLLECT_GCC_OPTIONS.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0016-COLLECT_GCC_OPTIONS.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0018-fortran-cross-compile-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0018-fortran-cross-compile-hack.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0019-libgcc-sjlj-check.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0019-libgcc-sjlj-check.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0020-cpp-honor-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0020-cpp-honor-sysroot.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0021-MIPS64-Default-to-N64-ABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0021-MIPS64-Default-to-N64-ABI.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0023-gcc-Fix-argument-list-too-long-error.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0023-gcc-Fix-argument-list-too-long-error.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0024-Disable-sdt.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0024-Disable-sdt.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0025-libtool.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0025-libtool.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0029-export-CPP.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0029-export-CPP.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0032-Ensure-target-gcc-headers-can-be-included.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0032-Ensure-target-gcc-headers-can-be-included.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0037-aarch64-Add-support-for-musl-ldso.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0037-aarch64-Add-support-for-musl-ldso.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0038-fix-g-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0038-fix-g-sysroot.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0040-handle-sysroot-support-for-nativesdk-gcc.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0040-handle-sysroot-support-for-nativesdk-gcc.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0041-Search-target-sysroot-gcc-version-specific-dirs-with.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0041-Search-target-sysroot-gcc-version-specific-dirs-with.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0042-Fix-various-_FOR_BUILD-and-related-variables.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0042-Fix-various-_FOR_BUILD-and-related-variables.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0043-libstdc-Support-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0043-libstdc-Support-musl.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0045-Support-for-arm-linux-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0045-Support-for-arm-linux-musl.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0047-nios2-Define-MUSL_DYNAMIC_LINKER.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0047-nios2-Define-MUSL_DYNAMIC_LINKER.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0048-ssp_nonshared.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0048-ssp_nonshared.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0050-powerpc-pass-secure-plt-to-the-linker.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0050-powerpc-pass-secure-plt-to-the-linker.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0052-nios2-use-ret-with-r31.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0052-nios2-use-ret-with-r31.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0054-support-ffile-prefix-map.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0054-support-ffile-prefix-map.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0055-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0055-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0056-Enable-libc-provide-ssp-and-gcc_cv_target_dl_iterate.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0056-Enable-libc-provide-ssp-and-gcc_cv_target_dl_iterate.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0057-unwind-fix-for-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0057-unwind-fix-for-musl.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0058-fdebug-prefix-map-support-to-remap-relative-path.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0058-fdebug-prefix-map-support-to-remap-relative-path.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.4/0059-libgcc-use-ldflags.patch (renamed from meta/recipes-devtools/gcc/gcc-5.3/0059-libgcc-use-ldflags.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-initial_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-crosssdk_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-source_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc-source_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc_5.4.bb (renamed from meta/recipes-devtools/gcc/gcc_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial_5.4.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgcc_5.4.bb (renamed from meta/recipes-devtools/gcc/libgcc_5.3.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgfortran_5.4.bb (renamed from meta/recipes-devtools/gcc/libgfortran_5.3.bb) | 0 |
78 files changed, 6 insertions, 701 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0060-remove-prototypes-cfns.patch b/meta/recipes-devtools/gcc/gcc-5.3/0060-remove-prototypes-cfns.patch deleted file mode 100644 index 2452b6f5c8..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.3/0060-remove-prototypes-cfns.patch +++ /dev/null @@ -1,153 +0,0 @@ -Upstream-Status: backport - -From 1e5f1089dec3af328fd03125d6778f666d0bd4e4 Mon Sep 17 00:00:00 2001 -From: edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Thu, 25 Feb 2016 15:33:50 +0000 -Subject: [PATCH] 2016-02-25 Bernd Edlinger <bernd.edlinger@hotmail.de> - - Backported from mainline - 2016-02-19 Jakub Jelinek <jakub@redhat.com> - Bernd Edlinger <bernd.edlinger@hotmail.de> - - * Make-lang.in: Invoke gperf with -L C++. - * cfns.gperf: Remove prototypes for hash and libc_name_p - inlines. - * cfns.h: Regenerated. - * except.c (nothrow_libfn_p): Adjust. - - ---- - gcc/cp/Make-lang.in | 2 +- - gcc/cp/cfns.gperf | 10 ++-------- - gcc/cp/cfns.h | 41 ++++++++++++++--------------------------- - gcc/cp/except.c | 3 ++- - 5 files changed, 31 insertions(+), 37 deletions(-) - -diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in -index e98beb1..b09fb02 100644 ---- a/gcc/cp/Make-lang.in -+++ b/gcc/cp/Make-lang.in -@@ -111,7 +111,7 @@ else - # deleting the $(srcdir)/cp/cfns.h file. - $(srcdir)/cp/cfns.h: - endif -- gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \ -+ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ \ - $(srcdir)/cp/cfns.gperf --output-file $(srcdir)/cp/cfns.h - - # -diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf -index 68acd3d..214ecf6 100644 ---- a/gcc/cp/cfns.gperf -+++ b/gcc/cp/cfns.gperf -@@ -1,3 +1,5 @@ -+%language=C++ -+%define class-name libc_name - %{ - /* Copyright (C) 2000-2015 Free Software Foundation, Inc. - -@@ -16,14 +18,6 @@ for more details. - You should have received a copy of the GNU General Public License - along with GCC; see the file COPYING3. If not see - <http://www.gnu.org/licenses/>. */ --#ifdef __GNUC__ --__inline --#endif --static unsigned int hash (const char *, unsigned int); --#ifdef __GNUC__ --__inline --#endif --const char * libc_name_p (const char *, unsigned int); - %} - %% - # The standard C library functions, for feeding to gperf; the result is used -diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h -index 1c6665d..596f413 100644 ---- a/gcc/cp/cfns.h -+++ b/gcc/cp/cfns.h -@@ -1,5 +1,5 @@ --/* ANSI-C code produced by gperf version 3.0.3 */ --/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cfns.gperf */ -+/* C++ code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L C++ --output-file cfns.h cfns.gperf */ - - #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ - && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -@@ -28,7 +28,7 @@ - #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." - #endif - --#line 1 "cfns.gperf" -+#line 3 "cfns.gperf" - - /* Copyright (C) 2000-2015 Free Software Foundation, Inc. - -@@ -47,25 +47,18 @@ for more details. - You should have received a copy of the GNU General Public License - along with GCC; see the file COPYING3. If not see - <http://www.gnu.org/licenses/>. */ --#ifdef __GNUC__ --__inline --#endif --static unsigned int hash (const char *, unsigned int); --#ifdef __GNUC__ --__inline --#endif --const char * libc_name_p (const char *, unsigned int); - /* maximum key range = 391, duplicates = 0 */ - --#ifdef __GNUC__ --__inline --#else --#ifdef __cplusplus --inline --#endif --#endif --static unsigned int --hash (register const char *str, register unsigned int len) -+class libc_name -+{ -+private: -+ static inline unsigned int hash (const char *str, unsigned int len); -+public: -+ static const char *libc_name_p (const char *str, unsigned int len); -+}; -+ -+inline unsigned int -+libc_name::hash (register const char *str, register unsigned int len) - { - static const unsigned short asso_values[] = - { -@@ -122,14 +115,8 @@ hash (register const char *str, register unsigned int len) - return hval + asso_values[(unsigned char)str[len - 1]]; - } - --#ifdef __GNUC__ --__inline --#ifdef __GNUC_STDC_INLINE__ --__attribute__ ((__gnu_inline__)) --#endif --#endif - const char * --libc_name_p (register const char *str, register unsigned int len) -+libc_name::libc_name_p (register const char *str, register unsigned int len) - { - enum - { -diff --git a/gcc/cp/except.c b/gcc/cp/except.c -index 3ff1ce6..2f2e396 100644 ---- a/gcc/cp/except.c -+++ b/gcc/cp/except.c -@@ -1040,7 +1040,8 @@ nothrow_libfn_p (const_tree fn) - unless the system headers are playing rename tricks, and if - they are, we don't want to be confused by them. */ - id = DECL_NAME (fn); -- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id)); -+ return !!libc_name::libc_name_p (IDENTIFIER_POINTER (id), -+ IDENTIFIER_LENGTH (id)); - } - - /* Returns nonzero if an exception of type FROM will be caught by a --- -2.8.2 - diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch b/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch deleted file mode 100644 index 6a20694e44..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 802c64857074cb7b002d91ce6352139c2353ca06 Mon Sep 17 00:00:00 2001 -From: cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Sat, 21 May 2016 08:26:11 +0000 -Subject: [PATCH] 2016-05-21 Chung-Lin Tang <cltang@codesourcery.com> - - Backport from mainline - 2015-06-29 Sandra Loosemore <sandra@codesourcery.com> - - * config/nios2/nios2.c (nios2_delegitimize_address): Make - assert less restrictive. - - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@236555 138bc75d-0d04-0410-961f-82ee72b054a4 -Upstream-Status: Backport (git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@236555 138bc75d-0d04-0410-961f-82ee72b054a4) ---- - gcc/config/nios2/nios2.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletion(-) - -diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c -index 7b6b389..3b22331 100644 ---- a/gcc/config/nios2/nios2.c -+++ b/gcc/config/nios2/nios2.c -@@ -1930,7 +1930,7 @@ nios2_delegitimize_address (rtx x) - case UNSPEC_LOAD_TLS_IE: - case UNSPEC_ADD_TLS_LE: - x = XVECEXP (XEXP (x, 0), 0, 0); -- gcc_assert (GET_CODE (x) == SYMBOL_REF); -+ gcc_assert (CONSTANT_P (x)); |
