diff options
author | Nick Clifton <nickc@redhat.com> | 2004-07-07 17:28:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-07-07 17:28:53 +0000 |
commit | 1fe1f39c06f2d04c2058b902feeafe46fd1ff48b (patch) | |
tree | 7b86a452584e85765f7fb2facedad588636e177b /binutils | |
parent | 5c02dc5924528fb856e17cb5c7e8ea30a1f7111d (diff) | |
download | gdb-1fe1f39c06f2d04c2058b902feeafe46fd1ff48b.zip gdb-1fe1f39c06f2d04c2058b902feeafe46fd1ff48b.tar.gz gdb-1fe1f39c06f2d04c2058b902feeafe46fd1ff48b.tar.bz2 |
Add new port: crx-elf
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 8 | ||||
-rw-r--r-- | binutils/MAINTAINERS | 1 | ||||
-rw-r--r-- | binutils/readelf.c | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8ea599b..03a7280 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> + + * MAINTAINERS: Added myself to the list. + * readelf.c: Include "elf/crx.h". + (guess_is_rela): Handle EM_CRX. + (get_machine_name): Likewise. + (dump_relocations): Likewise. + 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> * doc/binutils.texi (nm): Clarify weak symbol description. diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS index 28c9144..3eac782 100644 --- a/binutils/MAINTAINERS +++ b/binutils/MAINTAINERS @@ -62,6 +62,7 @@ responsibility among the other maintainers. BUILD SYSTEM Ben Elliston <bje@gnu.org> BUILD SYSTEM Daniel Jacobowitz <dan@debian.org> CRIS Hans-Peter Nilsson <hp@axis.com> + CRX Tomer Levi <Tomer.Levi@nsc.com> DWARF2 Jason Merrill <jason@redhat.com> FR30 Dave Brolley <brolley@redhat.com> FRV Dave Brolley <brolley@redhat.com> diff --git a/binutils/readelf.c b/binutils/readelf.c index fbafd2b..0364eda 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -105,6 +105,7 @@ #include "elf/vax.h" #include "elf/x86-64.h" #include "elf/xstormy16.h" +#include "elf/crx.h" #include "elf/iq2000.h" #include "elf/xtensa.h" @@ -678,6 +679,7 @@ guess_is_rela (unsigned long e_machine) case EM_MSP430: case EM_MSP430_OLD: case EM_XSTORMY16: + case EM_CRX: case EM_VAX: case EM_IP2K: case EM_IP2K_OLD: @@ -1166,6 +1168,10 @@ dump_relocations (FILE *file, rtype = elf_xstormy16_reloc_type (type); break; + case EM_CRX: + rtype = elf_crx_reloc_type (type); + break; + case EM_VAX: rtype = elf_vax_reloc_type (type); break; @@ -1660,6 +1666,7 @@ get_machine_name (unsigned e_machine) case EM_XSTORMY16: return "Sanyo Xstormy16 CPU core"; case EM_OPENRISC: case EM_OR32: return "OpenRISC"; + case EM_CRX: return "National Semiconductor CRX microprocessor"; case EM_DLX: return "OpenDLX"; case EM_IP2K_OLD: case EM_IP2K: return "Ubicom IP2xxx 8-bit microcontrollers"; |