This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
[PATCH] EF_SPARC_US3
- To: rth@cygnus.com
- Subject: [PATCH] EF_SPARC_US3
- From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
- Date: Thu, 15 Jul 1999 20:56:58 +0200
- Cc: binutils@sourceware.cygnus.com
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)
___________________________________________________________________