diff options
author | Nick Clifton <nickc@redhat.com> | 1998-11-04 23:58:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-11-04 23:58:00 +0000 |
commit | 1898346aa7c97fcae3774954d12b569511ec91e5 (patch) | |
tree | 30017674bb01d3f8b051cd9785372575496b32ed /include | |
parent | d4df1e30238e8bbf1b78b19187e7e563268768d6 (diff) | |
download | gdb-1898346aa7c97fcae3774954d12b569511ec91e5.zip gdb-1898346aa7c97fcae3774954d12b569511ec91e5.tar.gz gdb-1898346aa7c97fcae3774954d12b569511ec91e5.tar.bz2 |
Add support for FR30
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/common.h | 5 | ||||
-rw-r--r-- | include/elf/fr30.h | 40 |
3 files changed, 50 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 34adf43..18f8230 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 4 15:56:50 1998 Nick Clifton <nickc@cygnus.com> + + * common.h (EM_CYGNUS_FR30): New machine number. + + * fr30.h: New file: Definitions for the FR30. + Fri Oct 30 11:54:15 1998 Catherine Moore <clm@cygnus.com> From Philip Blundell <pb@nexus.co.uk>: diff --git a/include/elf/common.h b/include/elf/common.h index e1ceec0..5a34e77 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -139,6 +139,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define EM_CYGNUS_MN10200 0xdead #define EM_CYGNUS_MN10300 0xbeef +/* FR30 magic number - no EABI available. */ +#define EM_CYGNUS_FR30 0x46523330 + /* See the above comment before you add a new EM_* value here. */ /* Values for e_version */ @@ -214,7 +217,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define NT_PSTATUS 10 /* Has a struct pstatus */ #define NT_FPREGS 12 /* Has a struct fpregset */ #define NT_PSINFO 13 /* Has a struct psinfo */ -#define NT_LWPSTATUS 16 /* Has a struct lwpstatus_t +#define NT_LWPSTATUS 16 /* Has a struct lwpstatus_t */ #define NT_LWPSINFO 17 /* Has a struct lwpsinfo_t */ /* Values of note segment descriptor types for object files. */ diff --git a/include/elf/fr30.h b/include/elf/fr30.h new file mode 100644 index 0000000..1bd308b --- /dev/null +++ b/include/elf/fr30.h @@ -0,0 +1,40 @@ +/* FR30 ELF support for BFD. + Copyright (C) 1998 Free Software Foundation, Inc. + +This file is part of BFD, the Binary File Descriptor library. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, Inc., +59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#ifndef _ELF_FR30_H +#define _ELF_FR30_H + +#include "elf/reloc-macros.h" + +/* Relocations. */ +START_RELOC_NUMBERS (elf_fr30_reloc_type) + RELOC_NUMBER (R_FR30_NONE, 0) + RELOC_NUMBER (R_FR30_8, 1) + RELOC_NUMBER (R_FR30_20, 2) + RELOC_NUMBER (R_FR30_32, 3) + RELOC_NUMBER (R_FR30_6_IN_4, 4) + RELOC_NUMBER (R_FR30_8_IN_8, 5) + RELOC_NUMBER (R_FR30_9_IN_8, 6) + RELOC_NUMBER (R_FR30_10_IN_8, 7) + RELOC_NUMBER (R_FR30_9_PCREL, 8) + RELOC_NUMBER (R_FR30_12_PCREL, 9) + EMPTY_RELOC (R_FR30_max) +END_RELOC_NUMBERS + +#endif /* _ELF_FR30_H */ |