Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/cpu-i370.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD i370 CPU definition
    2    Copyright 1994, 1995, 1996, 1998, 1999, 2000
     2   Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2002
    33   Free Software Foundation, Inc.
    44   Contributed by Ian Lance Taylor, Cygnus Support.
     
    2525#include "libbfd.h"
    2626
    27 /* The common i360/370 architecture comes in many forms  */
    28 
    29 static const bfd_arch_info_type *i370_compatible
    30   PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *));
    31 
    32 static const bfd_arch_info_type *
    33 i370_compatible (a, b)
    34      const bfd_arch_info_type *a;
    35      const bfd_arch_info_type *b;
    36 {
    37   BFD_ASSERT (a->arch == bfd_arch_i370);
    38   switch (b->arch)
    39     {
    40     default:
    41       return NULL;
    42     case bfd_arch_i370:
    43       return bfd_default_compatible (a, b);
    44     }
    45   /*NOTREACHED*/
    46 }
    47 
    4827static const bfd_arch_info_type arch_info_struct[] =
    4928{
     
    5837    "i370:360",
    5938    3,
    60     false, /* not the default */
    61     i370_compatible,
     39    FALSE, /* not the default */
     40    bfd_default_compatible,
    6241    bfd_default_scan,
    6342    &arch_info_struct[1]
     
    7251    "i370:370",
    7352    3,
    74     false, /* not the default */
    75     i370_compatible,
     53    FALSE, /* not the default */
     54    bfd_default_compatible,
    7655    bfd_default_scan,
    7756    0
     
    8968    "i370:common",
    9069    3,
    91     true, /* the default */
    92     i370_compatible,
     70    TRUE, /* the default */
     71    bfd_default_compatible,
    9372    bfd_default_scan,
    9473    &arch_info_struct[0]
Note: See TracChangeset for help on using the changeset viewer.