public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Let readelf recognize EF_MIPS_UCODE
@ 2001-08-21 12:12 Thiemo Seufer
  2001-08-22  1:16 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2001-08-21 12:12 UTC (permalink / raw)
  To: binutils

Hi All,

this lets readelf display a set EF_MIPS_UCODE flag as "ugen_reserved",
similiar to IRIX' elfdump tool.


Thiemo


2001-08-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	/binutils/ChangeLog
	* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.


diff -BurpNX /bigdisk/src/binutils-exclude src-orig/binutils/readelf.c src/binutils/readelf.c
--- src-orig/binutils/readelf.c	Sun Aug 12 13:34:57 2001
+++ src/binutils/readelf.c	Sat Aug 18 22:42:16 2001
@@ -1574,6 +1574,9 @@ get_machine_flags (e_flags, e_machine)
 	  if (e_flags & EF_MIPS_CPIC)
 	    strcat (buf, ", cpic");
 
+	  if (e_flags & EF_MIPS_UCODE)
+	    strcat (buf, ", ugen_reserved");
+
 	  if (e_flags & EF_MIPS_ABI2)
 	    strcat (buf, ", abi2");
 

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

* Re: [PATCH] Let readelf recognize EF_MIPS_UCODE
  2001-08-21 12:12 [PATCH] Let readelf recognize EF_MIPS_UCODE Thiemo Seufer
@ 2001-08-22  1:16 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2001-08-22  1:16 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: binutils

Hi Thiemo,

> 2001-08-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> 
> 	/binutils/ChangeLog
> 	* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.

Approved.

Cheers
        Nick

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

end of thread, other threads:[~2001-08-22  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-21 12:12 [PATCH] Let readelf recognize EF_MIPS_UCODE Thiemo Seufer
2001-08-22  1:16 ` Nick Clifton

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