public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* sparc64-rtems Patch
@ 2010-11-22 15:17 Joel Sherrill
  2010-11-25  7:11 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 2010-11-22 15:17 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

Hi,

Is is too late for this simple patch to
add sparc64-rtems*?  It is just some extra
entries in configure files. Ralf noticed that
we have had it in the RTEMS patch set for
a while.  I don't recall whether or not
it has been submitted though.

bfd:

2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>

     * config.bfd: Add sparc64-rtems*.

gas:

2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>

     * configure.tgt: Add sparc64-rtems*.

ld:

2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>

     * configure.tgt: Add sparc64-rtems*.


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



[-- Attachment #2: sparc64-rtems.diff --]
[-- Type: text/plain, Size: 2086 bytes --]

diff -Naur binutils-2.20.90.orig/bfd/config.bfd binutils-2.20.90/bfd/config.bfd
--- binutils-2.20.90.orig/bfd/config.bfd	2010-10-22 14:08:27.000000000 +0200
+++ binutils-2.20.90/bfd/config.bfd	2010-11-09 12:48:21.113099037 +0100
@@ -1432,7 +1432,7 @@
     targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
     want64=true
     ;;
-  sparc64-*-elf*)
+  sparc64-*-elf* | sparc64-*-rtems* )
     targ_defvec=bfd_elf64_sparc_vec
     targ_selvecs=bfd_elf32_sparc_vec
     want64=true
@@ -1441,7 +1441,7 @@
   sparc*-*-coff*)
     targ_defvec=sparccoff_vec
     ;;
-  sparc*-*-rtems*)
+  sparc-*-rtems*)
     targ_defvec=bfd_elf32_sparc_vec
     targ_selvecs="sunos_big_vec sparccoff_vec"
     ;;
diff -Naur binutils-2.20.90.orig/gas/configure.tgt binutils-2.20.90/gas/configure.tgt
--- binutils-2.20.90.orig/gas/configure.tgt	2010-08-25 14:03:30.000000000 +0200
+++ binutils-2.20.90/gas/configure.tgt	2010-11-09 12:46:51.755113969 +0100
@@ -369,6 +369,7 @@
   shle*-*-kaos*)			fmt=elf ;;
   sh64-*-elf*)				fmt=elf ;;
 
+  sparc64-*-rtems*)			fmt=elf ;;
   sparc-*-rtems*)			fmt=elf ;;
   sparc-*-sunos4*)			fmt=aout em=sun3 ;;
   sparc-*-aout)				fmt=aout em=sparcaout ;;
diff -Naur binutils-2.20.90.orig/ld/configure.tgt binutils-2.20.90/ld/configure.tgt
--- binutils-2.20.90.orig/ld/configure.tgt	2010-09-03 00:54:44.000000000 +0200
+++ binutils-2.20.90/ld/configure.tgt	2010-11-09 12:45:29.217097360 +0100
@@ -565,6 +565,7 @@
 			targ_extra_libpath=$targ_extra_emuls ;;
 sparc64-*-aout*)	targ_emul=sparcaout ;;
 sparc64-*-elf*)		targ_emul=elf64_sparc ;;
+sparc64-*-rtems*)	targ_emul=elf64_sparc ;;
 sparc-sun-sunos4*) 	targ_emul=sun4 ;;
 sparclite*-*-elf)	targ_emul=elf32_sparc ;;
 sparclite*-*-coff)	targ_emul=coff_sparc ;;
@@ -614,7 +615,7 @@
 			tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;;
 sparc*-*-solaris2*)	targ_emul=elf32_sparc ;;
 sparc*-wrs-vxworks*)	targ_emul=sparcaout ;;
-sparc*-*-rtems*)        targ_emul=elf32_sparc
+sparc-*-rtems*)		targ_emul=elf32_sparc
 			;;
 spu-*-elf*)		targ_emul=elf32_spu ;;
 tic30-*-*aout*)		targ_emul=tic30aout ;;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sparc64-rtems Patch
  2010-11-22 15:17 sparc64-rtems Patch Joel Sherrill
@ 2010-11-25  7:11 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2010-11-25  7:11 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: binutils

On Mon, Nov 22, 2010 at 09:17:38AM -0600, Joel Sherrill wrote:
> bfd:
> 
> 2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>
> 
>     * config.bfd: Add sparc64-rtems*.
> 
> gas:
> 
> 2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>
> 
>     * configure.tgt: Add sparc64-rtems*.
> 
> ld:
> 
> 2010-11-22  Joel Sherrill <joel.sherrill@oarcorp.com>
> 
>     * configure.tgt: Add sparc64-rtems*.

OK.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-25  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 15:17 sparc64-rtems Patch Joel Sherrill
2010-11-25  7:11 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).