merge of '49118a4c6035353c0f8cf1aa30297dd36e43241f'
[vuplus_openembedded] / packages / binutils / binutils-2.18.50.0.7 / binutils-2.16.1-e300c2c3.patch
1 Adds support for Freescale Power architecture e300c2 and e300c3 cores.
2 http://www.bitshrine.org/gpp/tc-fsl-x86lnx-e300c3-nptl-4.0.2-2.src.rpm
3
4 Leon Woestenberg <leonw@mailcan.com>
5
6 diff -uNr binutils-2.16.1.orig/gas/config/tc-ppc.c binutils-2.16.1/gas/config/tc-ppc.c
7 --- binutils-2.16.1.orig/gas/config/tc-ppc.c    2005-03-02 13:24:01.000000000 +0000
8 +++ binutils-2.16.1/gas/config/tc-ppc.c 2006-07-04 11:45:24.000000000 +0100
9 @@ -879,6 +879,10 @@
10        else
11         ppc_cpu |= PPC_OPCODE_SPE;
12      }
13 +  else if (strcmp (arg, "pmr") == 0)
14 +    {
15 +      ppc_cpu |= PPC_OPCODE_PMR;
16 +    }
17    /* -mppc64 and -m620 mean to assemble for the 64-bit PowerPC
18       620.  */
19    else if (strcmp (arg, "ppc64") == 0 || strcmp (arg, "620") == 0)