aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-11-10 23:15:10 +0000
committerNick Clifton <nickc@redhat.com>1998-11-10 23:15:10 +0000
commitac0442dd242dcd2c734ae67974a41c2f3aa1324e (patch)
tree5d306bb58545dbc6f30ddaf1dc5a6cda3ca1951f /bfd
parentac3ebf1a48002be20fe1d5629e54134e158c0f5d (diff)
downloadgdb-ac0442dd242dcd2c734ae67974a41c2f3aa1324e.zip
gdb-ac0442dd242dcd2c734ae67974a41c2f3aa1324e.tar.gz
gdb-ac0442dd242dcd2c734ae67974a41c2f3aa1324e.tar.bz2
Add support for generating FR30 machine number
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d7285ed..0c54641 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com>
+
+ * elf.c (prep_headers): Add support for bfd_arch_fr30.
+
Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com>
* acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
diff --git a/bfd/elf.c b/bfd/elf.c
index ee84f14..b4328c5 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3067,6 +3067,9 @@ prep_headers (abfd)
case bfd_arch_d30v:
i_ehdrp->e_machine = EM_CYGNUS_D30V;
break;
+ case bfd_arch_fr30:
+ i_ehdrp->e_machine = EM_CYGNUS_FR30;
+ break;
case bfd_arch_v850:
switch (bfd_get_mach (abfd))
{