This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Add OpenRisc32 support to config.sub


Hi Guys,

  [Submitted on behalf of Ivan Guzvinec.]

  Is it OK to apply this patch to add toplvel configure support for
  the OepnRISC 32-bit embedded processor ?  The relevent changes have
  already been made to binutils and gcc to support this architecture
  [but not gdb :-(].

Cheers
        Nick

2002-01-31  Ivan Guzvinec  <ivang@opencores.org>

	* config.sub: Add support for or32.

Index: config.sub
===================================================================
RCS file: /cvs/src/src/config.sub,v
retrieving revision 1.29
diff -c -3 -p -w -r1.29 config.sub
*** config.sub	2002/01/16 23:20:25	1.29
--- config.sub	2002/01/31 17:37:09
*************** case $basic_machine in
*** 242,248 ****
  	| mipsisa32 \
  	| mn10200 | mn10300 \
  	| ns16k | ns32k \
! 	| openrisc \
  	| pdp10 | pdp11 | pj | pjl \
  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  	| pyramid \
--- 242,248 ----
  	| mipsisa32 \
  	| mn10200 | mn10300 \
  	| ns16k | ns32k \
! 	| openrisc | or32 \
  	| pdp10 | pdp11 | pj | pjl \
  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  	| pyramid \
*************** case $basic_machine in
*** 714,719 ****
--- 714,723 ----
  		basic_machine=hppa1.1-oki
  		os=-proelf
  		;;
+ 	or32 | or32-*)
+ 		basic_machine=or32-unknown
+ 		os=-coff
+ 		;;
  	OSE68000 | ose68000)
  		basic_machine=m68000-ericsson
  		os=-ose
*************** case $basic_machine in
*** 1258,1263 ****
--- 1262,1270 ----
  		;;
  	mips*-*)
  		os=-elf
+ 		;;
+ 	or32-*)
+ 		os=-coff
  		;;
  	*-tti)	# must be before sparc entry or we get the wrong os.
  		os=-sysv3


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