diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-12 12:26:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 12:42:13 +0000 |
commit | 0a61db5bf5537be193aada0990fcdd355ebc264d (patch) | |
tree | aedde0cbf58eede8b359adac00964e7633f7fe98 /main/gcc/pr45078.patch | |
parent | 8f6d5f7df8924178bb5dba5e519d6577e0044922 (diff) | |
download | aports-0a61db5bf5537be193aada0990fcdd355ebc264d.tar.bz2 aports-0a61db5bf5537be193aada0990fcdd355ebc264d.tar.xz |
main/gcc: crosscompile, musl and arm support
Diffstat (limited to 'main/gcc/pr45078.patch')
-rw-r--r-- | main/gcc/pr45078.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/gcc/pr45078.patch b/main/gcc/pr45078.patch new file mode 100644 index 000000000..759a2cf76 --- /dev/null +++ b/main/gcc/pr45078.patch @@ -0,0 +1,36 @@ +# DP: Proposed patch for PR plugin/45078 + +2011-06-24 Matthias Klose <doko@ubuntu.com> + + PR plugin/45078 + * Makefile.in (PLUGIN_HEADERS): Add config/arm/arm-cores.def. + (install-plugin): Install c-family headers into a c-family subdir. + * config.gcc: Add vxworks-dummy.h to tm_file for arm, mips, sh and + sparc targets. + +Index: b/gcc/Makefile.in +=================================================================== +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -4547,6 +4547,7 @@ + $(C_PRAGMA_H) $(CPPLIB_H) $(FUNCTION_H) \ + cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h \ + gimple-pretty-print.h tree-pretty-print.h realmpfr.h \ ++ config/arm/arm-cores.def \ + $(IPA_PROP_H) $(RTL_H) $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) version.h + + # generate the 'build fragment' b-header-vars +Index: b/gcc/config.gcc +=================================================================== +--- a/gcc/config.gcc ++++ b/gcc/config.gcc +@@ -486,6 +486,9 @@ + fi + tm_file="vxworks-dummy.h ${tm_file}" + ;; ++arm*-*-*|mips*-*-*|sh*-*-*|sparc*-*-*) ++ tm_file="vxworks-dummy.h ${tm_file}" ++ ;; + esac + + # On a.out targets, we need to use collect2. |