cpu-iq2000.c 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* BFD support for the Vitesse IQ2000 processor.
  2. Copyright (C) 2003-2015 Free Software Foundation, Inc.
  3. This file is part of BFD, the Binary File Descriptor library.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  15. MA 02110-1301, USA. */
  16. #include "sysdep.h"
  17. #include "bfd.h"
  18. #include "libbfd.h"
  19. static const bfd_arch_info_type arch_info_struct[] =
  20. {
  21. {
  22. 32, /* bits per word */
  23. 32, /* bits per address */
  24. 8, /* bits per byte */
  25. bfd_arch_iq2000, /* architecture */
  26. bfd_mach_iq10, /* machine */
  27. "iq2000", /* architecture name */
  28. "iq10", /* printable name */
  29. 3, /* section align power */
  30. FALSE, /* the default ? */
  31. bfd_default_compatible, /* architecture comparison fn */
  32. bfd_default_scan, /* string to architecture convert fn */
  33. bfd_arch_default_fill, /* Default fill. */
  34. NULL /* next in list */
  35. }
  36. };
  37. const bfd_arch_info_type bfd_iq2000_arch =
  38. {
  39. 32, /* bits per word */
  40. 32, /* bits per address */
  41. 8, /* bits per byte */
  42. bfd_arch_iq2000, /* architecture */
  43. bfd_mach_iq2000, /* machine */
  44. "iq2000", /* architecture name */
  45. "iq2000", /* printable name */
  46. 3, /* section align power */
  47. TRUE, /* the default ? */
  48. bfd_default_compatible, /* architecture comparison fn */
  49. bfd_default_scan, /* string to architecture convert fn */
  50. bfd_arch_default_fill, /* Default fill. */
  51. &arch_info_struct[0], /* next in list */
  52. };