diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2008-02-04 19:16:53 +0000 |
---|---|---|
committer | Adam Nemet <anemet@caviumnetworks.com> | 2008-02-04 19:16:53 +0000 |
commit | 05c6f0503ce5a5dd93d6903e589c5dceb4e322d4 (patch) | |
tree | c0674f9e847c3484228301022cfdb1274d3f0ecb | |
parent | 6f179bd0a4fb0066d5a0afb61bf82f2b12618886 (diff) | |
download | gdb-05c6f0503ce5a5dd93d6903e589c5dceb4e322d4.zip gdb-05c6f0503ce5a5dd93d6903e589c5dceb4e322d4.tar.gz gdb-05c6f0503ce5a5dd93d6903e589c5dceb4e322d4.tar.bz2 |
* readelf.c (get_machine_flags): Handle Octeon.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e8622c2..19de085 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-02-03 Adam Nemet <anemet@caviumnetworks.com> + + * readelf.c (get_machine_flags): Handle Octeon. + 2008-01-30 Tristan Gingold <gingold@adacore.com> * readelf.c (dump_relocations): Decode OpenVMS-specific sections. diff --git a/binutils/readelf.c b/binutils/readelf.c index 404f070..bcad624 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2260,6 +2260,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) 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 E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); 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 |