aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch')
-rw-r--r--toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch b/toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch
deleted file mode 100644
index 7ab0d4c7a1..0000000000
--- a/toolchain/gcc/patches/4.6-linaro/999-gcc5-gcc_cp_cfns_h.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/gcc/cp/cfns.h
-+++ b/gcc/cp/cfns.h
-@@ -53,6 +53,9 @@ __inline
- static unsigned int hash (const char *, unsigned int);
- #ifdef __GNUC__
- __inline
-+#ifdef __GNUC_STDC_INLINE__
-+__attribute__ ((__gnu_inline__))
-+#endif
- #endif
- const char * libc_name_p (const char *, unsigned int);
- /* maximum key range = 391, duplicates = 0 */
-@@ -96,7 +99,7 @@ hash (register const char *str, register
- 400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
- 400, 400, 400, 400, 400, 400, 400
- };
-- register int hval = len;
-+ register int hval = (int)len;
-
- switch (hval)
- {