[oe-commits] org.oe.dev binutils-2.18: Added powerpc e300c2c3 patch.

likewise commit openembedded-commits at lists.openembedded.org
Mon Oct 22 17:41:28 UTC 2007


binutils-2.18: Added powerpc e300c2c3 patch.

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: c6caaa43c1d9168b1c89bc83e7ec1c38ca284d88
ViewMTN: http://monotone.openembedded.org/revision/info/c6caaa43c1d9168b1c89bc83e7ec1c38ca284d88
Files:
1
packages/binutils/binutils-2.18/binutils-2.16.1-e300c2c3.patch
packages/binutils/binutils_2.18.bb
Diffs:

#
# mt diff -r411624e6069d2de235b76b2702c93f0b340dc064 -rc6caaa43c1d9168b1c89bc83e7ec1c38ca284d88
#
# 
# 
# add_file "packages/binutils/binutils-2.18/binutils-2.16.1-e300c2c3.patch"
#  content [d2a4596119c2ee2138efb5e83e697add3dc7e0ca]
# 
# patch "packages/binutils/binutils_2.18.bb"
#  from [b46a0a4a1bd2041ecada2e2cebdd7415790ad44d]
#    to [e80beedb4b56489dd310354858c96616cd0c167c]
# 
============================================================
--- packages/binutils/binutils-2.18/binutils-2.16.1-e300c2c3.patch	d2a4596119c2ee2138efb5e83e697add3dc7e0ca
+++ packages/binutils/binutils-2.18/binutils-2.16.1-e300c2c3.patch	d2a4596119c2ee2138efb5e83e697add3dc7e0ca
@@ -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 at 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)
============================================================
--- packages/binutils/binutils_2.18.bb	b46a0a4a1bd2041ecada2e2cebdd7415790ad44d
+++ packages/binutils/binutils_2.18.bb	e80beedb4b56489dd310354858c96616cd0c167c
@@ -1,3 +1,5 @@
+PR = "r1"
+
 require binutils.inc
 
 SRC_URI = "\
@@ -10,3 +12,7 @@ SRC_URI = "\
      file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
      file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
      "
+
+# powerpc patches
+SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1"
+






More information about the Openembedded-commits mailing list