diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4b8025b..cce3880 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2007-11-29 Mark Shinwell <shinwell@codesourcery.com> + + * readelf.c (get_machine_flags): Handle Loongson-2E and -2F + flags. + 2007-11-26 Alan Modra <amodra@bigpond.net.au> * cxxfilt.c (demangle_it): Don't call printf without format string. diff --git a/binutils/readelf.c b/binutils/readelf.c index d1e4de8..e827e6c 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2194,6 +2194,8 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) case E_MIPS_MACH_5500: strcat (buf, ", 5500"); break; case E_MIPS_MACH_SB1: strcat (buf, ", sb1"); break; case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break; + case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break; + case E_MIPS_MACH_LS2F: strcat (buf, ", loongson-2f"); break; case 0: /* We simply ignore the field in this case to avoid confusion: MIPS ELF does not specify EF_MIPS_MACH, it is a GNU |