aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-08-22 18:42:07 +0000
committerThiemo Seufer <ths@networkno.de>2001-08-22 18:42:07 +0000
commitd1bdd336d401266dbf03d28b7ce4ec9bf1459bf6 (patch)
treea141a25210487f3def2415eb0b6f4fc1336682a4 /binutils
parent63d069c06fe8480d58cf5ce392ca6ddd81d701a0 (diff)
downloadgdb-d1bdd336d401266dbf03d28b7ce4ec9bf1459bf6.zip
gdb-d1bdd336d401266dbf03d28b7ce4ec9bf1459bf6.tar.gz
gdb-d1bdd336d401266dbf03d28b7ce4ec9bf1459bf6.tar.bz2
* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 0 deletions
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 <seufer@csv.ica.uni-stuttgart.de>
+
+ * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
+
2001-08-21 H.J. Lu <hjl@gnu.org>
* 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");