public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] EF_SPARC_US3
@ 1999-07-15 11:59 Jakub Jelinek
  1999-07-16 14:38 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 1999-07-15 11:59 UTC (permalink / raw)
  To: rth; +Cc: binutils

Hi!

SCD 2.4.1 defines already Cheetah extensions ELF flag. Here is a patch:

1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>

	* include/elf/sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions
	flags (as per SCD2.4.1).
	* binutils/readelf.c (get_machine_flags): Print it.

--- ./binutils/readelf.c.jj6	Wed Jul  7 12:16:31 1999
+++ ./binutils/readelf.c	Thu Jul 15 20:48:32 1999
@@ -1081,7 +1081,10 @@ get_machine_flags (e_flags, e_machine)
 	    strcat (buf, ", v8+");
 
 	  if (e_flags & EF_SPARC_SUN_US1)
-	    strcat (buf, ", ultrasparc");
+	    strcat (buf, ", ultrasparcI");
+
+	  if (e_flags & EF_SPARC_SUN_US3)
+	    strcat (buf, ", ultrasparcIII");
 
 	  if (e_flags & EF_SPARC_HAL_R1)
 	    strcat (buf, ", halr1");
--- ./include/elf/sparc.h.jj6	Fri Jul  9 14:16:50 1999
+++ ./include/elf/sparc.h	Thu Jul 15 20:34:45 1999
@@ -29,6 +29,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #define EF_SPARC_32PLUS		0x000100	/* generic V8+ features */
 #define EF_SPARC_SUN_US1	0x000200	/* Sun UltraSPARC1 extensions */
 #define EF_SPARC_HAL_R1		0x000400	/* HAL R1 extensions */
+#define EF_SPARC_SUN_US3	0x000800	/* Sun UltraSPARCIII extensions */
 
 #define EF_SPARC_LEDATA         0x800000	/* little endian data */
 


Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux  |  http://ultra.linux.cz/  |  http://ultra.penguin.cz/
Linux version 2.2.10 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

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

* Re: [PATCH] EF_SPARC_US3
  1999-07-15 11:59 [PATCH] EF_SPARC_US3 Jakub Jelinek
@ 1999-07-16 14:38 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1999-07-16 14:38 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: binutils

On Thu, Jul 15, 1999 at 08:56:58PM +0200, Jakub Jelinek wrote:
> 	* include/elf/sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions
> 	flags (as per SCD2.4.1).
> 	* binutils/readelf.c (get_machine_flags): Print it.

Applied.


r~

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

end of thread, other threads:[~1999-07-16 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-15 11:59 [PATCH] EF_SPARC_US3 Jakub Jelinek
1999-07-16 14:38 ` Richard Henderson

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).