From d1bdd336d401266dbf03d28b7ce4ec9bf1459bf6 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Wed, 22 Aug 2001 18:42:07 +0000 Subject: [PATCH] * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 90eec72..3cc6117 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-08-22 Thiemo Seufer + + * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE. + 2001-08-21 H.J. Lu * readelf.c (dump_relocations): Support ELF64 on 32bit hosts. diff --git a/binutils/readelf.c b/binutils/readelf.c index fd375eb..5cdbc6d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1601,6 +1601,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"); -- 2.7.4