File: pr45078.diff

package info (click to toggle)
gcc-4.6 4.6.3-14
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 62,276 kB
  • sloc: makefile: 1,899; sh: 1,120; perl: 165; awk: 23; cpp: 14
file content (41 lines) | stat: -rw-r--r-- 1,300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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.

--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
@@ -4502,6 +4502,7 @@
   $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \
   $(C_PRAGMA_H)  $(CPPLIB_H)  $(FUNCTION_H) \
   cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.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
@@ -4526,7 +4527,7 @@
 	  else continue; \
 	  fi; \
 	  case $$path in \
-	  "$(srcdir)"/config/* | "$(srcdir)"/*.def ) \
+	  "$(srcdir)"/config/* | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
 	    base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
 	  *) base=`basename $$path` ;; \
 	  esac; \
--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
@@ -468,6 +468,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.