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-h8500.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD library support routines for the H8/500 architecture.
    2    Copyright 1993, 1995, 2000 Free Software Foundation, Inc.
     2   Copyright 1993, 1995, 2000, 2001, 2002 Free Software Foundation, Inc.
    33   Hacked by Steve Chamberlain of Cygnus Support.
    44
     
    2323#include "libbfd.h"
    2424
     25static bfd_boolean scan_mach
     26  PARAMS ((const struct bfd_arch_info *, const char *));
     27
    2528#if 0
    26 
    2729/*
    2830Relocations for the Z8K
     
    119121
    120122static reloc_howto_type howto_16
    121   = NEWHOWTO(howto16_callback,"abs16",1,false,false);
     123  = NEWHOWTO (howto16_callback, "abs16", 1, FALSE, FALSE);
    122124static reloc_howto_type howto_8
    123   = NEWHOWTO(howto8_callback,"abs8",0,false,false);
     125  = NEWHOWTO (howto8_callback, "abs8", 0, FALSE, FALSE);
    124126
    125127static reloc_howto_type howto_8_FFnn
    126   = NEWHOWTO(howto8_FFnn_callback,"ff00+abs8",0,false,false);
     128  = NEWHOWTO (howto8_FFnn_callback, "ff00+abs8", 0, FALSE, FALSE);
    127129
    128130static reloc_howto_type howto_8_pcrel
    129   = NEWHOWTO(howto8_pcrel_callback,"pcrel8",0,false,true);
     131  = NEWHOWTO (howto8_pcrel_callback, "pcrel8", 0, FALSE, TRUE);
    130132
    131133static reloc_howto_type *
     
    148150#endif
    149151
    150 int bfd_default_scan_num_mach();
    151 
    152 static boolean
     152static bfd_boolean
    153153scan_mach (info, string)
    154154     const struct bfd_arch_info *info ATTRIBUTE_UNUSED;
    155155     const char *string;
    156156{
    157   if (strcmp(string,"h8/500") == 0) return true;
    158   if (strcmp(string,"H8/500") == 0) return true;
    159   if (strcmp(string,"h8500") == 0) return true;
    160   if (strcmp(string,"H8500") == 0) return true;
    161   return false;
     157  if (strcmp (string,"h8/500") == 0)
     158    return TRUE;
     159  if (strcmp (string,"H8/500") == 0)
     160    return TRUE;
     161  if (strcmp (string,"h8500") == 0)
     162    return TRUE;
     163  if (strcmp (string,"H8500") == 0)
     164    return TRUE;
     165  return FALSE;
    162166}
    163167
     
    187191  "h8500",                      /* printable name */
    188192  1,
    189   true,                         /* the default machine */
     193  TRUE,                         /* the default machine */
    190194  bfd_default_compatible,
    191195  scan_mach,
Note: See TracChangeset for help on using the changeset viewer.