summaryrefslogtreecommitdiff
path: root/recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-03-20 11:51:17 -0700
committerKhem Raj <raj.khem@gmail.com>2009-03-20 11:51:17 -0700
commitc3c3af2895a810ab6ffc93ea73afb73a88c9246f (patch)
tree50c8f53d83a7f468c764264dc7ab8a9a9acf970b /recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch
parent295488d84cc0b856e97a6fab0d725d33e5e55873 (diff)
binutils_cvs: Various fixes to get it building.
* Port patched needed from binutils 2.19. * Refresh the old patches. * Cover for bitbake fetcher lameness where it checks out the while src tree when we only asked for binutils module. So we have to build selective targets.
Diffstat (limited to 'recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch')
-rw-r--r--recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch b/recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch
new file mode 100644
index 0000000000..c5e4234f22
--- /dev/null
+++ b/recipes/binutils/binutils-cvs/binutils-2.16.1-e300c2c3.patch
@@ -0,0 +1,19 @@
+Adds support for Freescale Power architecture e300c2 and e300c3 cores.
+http://www.bitshrine.org/gpp/tc-fsl-x86lnx-e300c3-nptl-4.0.2-2.src.rpm
+
+Leon Woestenberg <leonw@mailcan.com>
+
+diff -uNr binutils-2.16.1.orig/gas/config/tc-ppc.c binutils-2.16.1/gas/config/tc-ppc.c
+--- binutils-2.16.1.orig/gas/config/tc-ppc.c 2005-03-02 13:24:01.000000000 +0000
++++ binutils-2.16.1/gas/config/tc-ppc.c 2006-07-04 11:45:24.000000000 +0100
+@@ -879,6 +879,10 @@
+ else
+ ppc_cpu |= PPC_OPCODE_SPE;
+ }
++ else if (strcmp (arg, "pmr") == 0)
++ {
++ ppc_cpu |= PPC_OPCODE_PMR;
++ }
+ /* -mppc64 and -m620 mean to assemble for the 64-bit PowerPC
+ 620. */
+ else if (strcmp (arg, "ppc64") == 0 || strcmp (arg, "620") == 0)