summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2018-01-12 23:21:58 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2018-07-23 18:41:06 +0100
commit8614f549b79ac6d9d079efc85a735d0c092ff3e8 (patch)
treef23975e797be5d1764501a956b74e8c1a6c8a83a /m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p
parentbac3e0ec6390348d2d1f44f0fb7ef5e2c43f74d3 (diff)
downloadtoolchains-8614f549b79ac6d9d079efc85a735d0c092ff3e8.tar.gz
toolchains-8614f549b79ac6d9d079efc85a735d0c092ff3e8.tar.bz2
Update to gcc 6.3
using bebbo's patches (generated from github.com/bebbo/gcc)
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p63
1 files changed, 0 insertions, 63 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p
deleted file mode 100644
index 4399b19..0000000
--- a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.gcc.c.p
+++ /dev/null
@@ -1,63 +0,0 @@
---- gcc-3.4.6/gcc/gcc.c 2013-05-19 20:22:04.000000000 +0200
-+++ gcc/gcc.c 2013-05-19 20:23:32.000000000 +0200
-@@ -1403,16 +1403,29 @@
- #define MD_STARTFILE_PREFIX_1 ""
- #endif
-
-+#ifndef STANDARD_EXEC_PREFIX_1
-+#define STANDARD_EXEC_PREFIX_1 "/usr/libexec/gcc/"
-+#endif
-+#ifndef STANDARD_EXEC_PREFIX_2
-+#define STANDARD_EXEC_PREFIX_2 "/usr/lib/gcc/"
-+#endif
-+#ifndef STANDARD_STARTFILE_PREFIX_1
-+#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
-+#endif
-+#ifndef STANDARD_STARTFILE_PREFIX_2
-+#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
-+#endif
-+
- static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
--static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/";
--static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/";
-+static const char *const standard_exec_prefix_1 = STANDARD_EXEC_PREFIX_1;
-+static const char *const standard_exec_prefix_2 = STANDARD_EXEC_PREFIX_2;
- static const char *md_exec_prefix = MD_EXEC_PREFIX;
-
- static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
- static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
- static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
--static const char *const standard_startfile_prefix_1 = "/lib/";
--static const char *const standard_startfile_prefix_2 = "/usr/lib/";
-+static const char *const standard_startfile_prefix_1 = STANDARD_STARTFILE_PREFIX_1;
-+static const char *const standard_startfile_prefix_2 = STANDARD_STARTFILE_PREFIX_2;
-
- static const char *const tooldir_base_prefix = TOOLDIR_BASE_PREFIX;
- static const char *tooldir_prefix;
-@@ -4483,7 +4496,9 @@
- and it is better not to use them for searching
- at run time. In particular, stage1 loses. */
- if (!IS_ABSOLUTE_PATH (pl->prefix))
-+#ifndef VOL_SEPARATOR
- continue;
-+#endif /* VOL_SEPARATOR */
- #endif
- /* Try subdirectory if there is one. */
- if (multilib_dir != NULL
-@@ -5853,12 +5868,11 @@
- /* Exclude directories that the linker is known to search. */
- if (linker
- && ((cp - path == 6
-- && strcmp (path, concat (dir_separator_str, "lib",
-- dir_separator_str, ".", NULL)) == 0)
-+ && strcmp (path, concat (STANDARD_STARTFILE_PREFIX_1,
-+ ".", NULL)) == 0)
- || (cp - path == 10
-- && strcmp (path, concat (dir_separator_str, "usr",
-- dir_separator_str, "lib",
-- dir_separator_str, ".", NULL)) == 0)))
-+ && strcmp (path, concat (STANDARD_STARTFILE_PREFIX_2,
-+ ".", NULL)) == 0)))
- return 0;
-
- return (stat (path, &st) >= 0 && S_ISDIR (st.st_mode));