* elf32-mips.c (mips_elf_relocate_section): If we issue an
[binutils-gdb.git] / bfd / archures.c
index f508cfd775252f1ca7ed596844a5a66f8fecbea0..56c9b4822c026bcceef9fcdb23e29d0082f8e7ef 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD library support routines for architectures.
-   Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1990, 91-97, 1998 Free Software Foundation, Inc.
    Hacked by John Gilmore and Steve Chamberlain of Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -102,6 +102,7 @@ DESCRIPTION
 .{* Nonzero if MACH has the v9 instruction set.  *}
 .#define bfd_mach_sparc_v9_p(mach) \
 .  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9a)
+.  bfd_arch_mips,      {* MIPS Rxxxx *}
 . {* start-sanitize-tx19 *}
 .#define bfd_mach_mips1900             1900
 . {* end-sanitize-tx19 *}
@@ -114,6 +115,9 @@ DESCRIPTION
 .#define bfd_mach_mips4400             4400
 .#define bfd_mach_mips4600             4600
 .#define bfd_mach_mips4650             4650
+. {* start-sanitize-vr4320 *}
+.#define bfd_mach_mips4320             4320
+. {* end-sanitize-vr4320 *}
 . {* start-sanitize-tx49 *}
 .#define bfd_mach_mips4900             4900
 . {* end-sanitize-tx49 *}
@@ -128,7 +132,14 @@ DESCRIPTION
 .#define bfd_mach_mips8000             8000
 .#define bfd_mach_mips10000            10000
 .#define bfd_mach_mips16               16
-.  bfd_arch_mips,      {* MIPS Rxxxx *}
+. {* start-sanitize-sky *}
+. {* The DVP is a machine within the mips architecture.  *}
+.#define bfd_mach_dvp_dma               42000
+.#define bfd_mach_dvp_vif               42001
+.#define bfd_mach_dvp_vu                42002
+.#define bfd_mach_dvp_gif               42003
+.#define bfd_mach_dvp_p(mach) ((mach) >= 42000 && (mach) <= 42003)
+. {* end-sanitize-sky *}
 .  bfd_arch_i386,      {* Intel 386 *}
 .#define bfd_mach_i386_i386 0
 .#define bfd_mach_i386_i8086 1
@@ -172,13 +183,10 @@ DESCRIPTION
 .#define bfd_mach_arm_4T       6
 .  bfd_arch_ns32k,     {* National Semiconductors ns32000 *}
 .  bfd_arch_w65,       {* WDC 65816 *}
+.  bfd_arch_tic30,     {* Texas Instruments TMS320C30 *}
 . {* start-sanitize-tic80 *}
 .  bfd_arch_tic80,     {* TI TMS320c80 (MVP) *}
 . {* end-sanitize-tic80 *}
-. {* start-sanitize-sky *}
-.  bfd_arch_txvu,     {* TX VU *}
-.#define bfd_mach_txvu 0
-. {* end-sanitize-sky *}
 .  bfd_arch_v850,      {* NEC V850 *}
 .#define bfd_mach_v850          0
 . {* start-sanitize-v850e *}
@@ -256,12 +264,10 @@ extern const bfd_arch_info_type bfd_powerpc_arch;
 extern const bfd_arch_info_type bfd_rs6000_arch;
 extern const bfd_arch_info_type bfd_sh_arch;
 extern const bfd_arch_info_type bfd_sparc_arch;
+extern const bfd_arch_info_type bfd_tic30_arch;
 /* start-sanitize-tic80 */
 extern const bfd_arch_info_type bfd_tic80_arch;
 /* end-sanitize-tic80 */
-/* start-sanitize-sky */
-extern const bfd_arch_info_type bfd_txvu_arch;
-/* end-sanitize-sky */
 extern const bfd_arch_info_type bfd_vax_arch;
 extern const bfd_arch_info_type bfd_we32k_arch;
 extern const bfd_arch_info_type bfd_z8k_arch;
@@ -298,12 +304,10 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
   &bfd_rs6000_arch,
   &bfd_sh_arch,
   &bfd_sparc_arch,
+  &bfd_tic30_arch,
 /* start-sanitize-tic80 */
   &bfd_tic80_arch,
 /* end-sanitize-tic80 */
-/* start-sanitize-sky */
-  &bfd_txvu_arch,
-/* end-sanitize-sky */
   &bfd_vax_arch,
   &bfd_we32k_arch,
   &bfd_z8k_arch,