This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

forgotten embedded powerpc 3.1 2 line patch



Hi,

Getting this small patch merged into the 3.1 branch has been missed.
This patch is required because binutils 2.12 wants a different CPU
argument for the PPC403 and 405 CPUs.   I recall discussing this on
the lists but apparently didn't get the patch submitted. :(

Unfortunately, this appears to need to be in the mainline 
and 3.1 branch.  Sorry.

Mark.. can it squeak into the official 3.1?

2002-05-09	Joel Sherrill <joel@OARcorp.com>

	* config/rs6000/rs6000.h CPP_CPU_SPEC): Correct 
	403 and 405 arguments for binutils 2.12.

Index: rs6000.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.184.2.6
diff -u -r1.184.2.6 rs6000.h
--- rs6000.h	7 Apr 2002 18:17:44 -0000	1.184.2.6
+++ rs6000.h	9 May 2002 13:28:21 -0000
@@ -65,8 +65,8 @@
 %{mcpu=rsc: -D_ARCH_PWR} \
 %{mcpu=rsc1: -D_ARCH_PWR} \
 %{mcpu=401: -D_ARCH_PPC} \
-%{mcpu=403: -D_ARCH_PPC} \
-%{mcpu=405: -D_ARCH_PPC} \
+%{mcpu=403: -D_ARCH_PPC -m403} \
+%{mcpu=405: -D_ARCH_PPC -m405} \
 %{mcpu=505: -D_ARCH_PPC} \
 %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
 %{mcpu=602: -D_ARCH_PPC} \


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]