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/pc532-mach.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD back-end for Mach3/532 a.out-ish binaries.
    2    Copyright 1990, 1991, 1992, 1994, 1995, 2000, 2001
     2   Copyright 1990, 1991, 1992, 1994, 1995, 2000, 2001, 2002
    33   Free Software Foundation, Inc.
    44
     
    5151#define DEFAULT_ARCH bfd_arch_ns32k
    5252
    53 #define MY(OP) CAT(pc532machaout_,OP)
     53/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
     54   remove whitespace added here, and thus will fail to concatenate
     55   the tokens.  */
     56#define MY(OP) CONCAT2 (pc532machaout_,OP)
    5457
    5558/* Must be the same as aout-ns32k.c */
    56 #define NAME(x,y) CAT3(ns32kaout,_32_,y)
     59#define NAME(x,y) CONCAT3 (ns32kaout,_32_,y)
    5760
    5861#define TARGETNAME "a.out-pc532-mach"
     
    6366#include "libbfd.h"
    6467#include "aout/aout64.h"
    65 
    66 /* We can`t use the MYNS macro here for cpp reasons too subtle for me -- IWD */
    6768
    6869#define MY_bfd_reloc_type_lookup ns32kaout_bfd_reloc_type_lookup
     
    7677#define MY_exec_header_not_counted 1
    7778
    78 #define MYNSX(OP) CAT(ns32kaout_,OP)
    79 reloc_howto_type *
    80 MYNSX(bfd_reloc_type_lookup)
    81   PARAMS((bfd *abfd AND
    82           bfd_reloc_code_real_type code));
     79reloc_howto_type *ns32kaout_bfd_reloc_type_lookup
     80  PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
    8381
    84 boolean
    85 MYNSX(write_object_contents)
    86   PARAMS((bfd *abfd));
     82static bfd_boolean MY(write_object_contents)
     83  PARAMS ((bfd *abfd));
    8784
    88 static boolean
     85static bfd_boolean
    8986MY(write_object_contents) (abfd)
    90 bfd *abfd;
     87     bfd *abfd;
    9188{
    9289  struct external_exec exec_bytes;
     
    110107  WRITE_HEADERS(abfd, execp);
    111108
    112   return true;
     109  return TRUE;
    113110}
    114111
Note: See TracChangeset for help on using the changeset viewer.