X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fi386mach3.c;h=4364eb84bd0e6b0d1b8df6f290e198cc44b5f7d6;hb=f617d2b61f0dc2c2367f27d5497b4ea1c58d87f8;hp=eff75824658b91a5165339a08df2a47b3d39eb16;hpb=30727aa6d12fb866494020c0b62ab265a2bdcdfe;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/i386mach3.c b/bfd/i386mach3.c index eff7582465..4364eb84bd 100644 --- a/bfd/i386mach3.c +++ b/bfd/i386mach3.c @@ -1,5 +1,6 @@ /* BFD back-end for i386 a.out binaries. - Copyright (C) 1990, 91, 93, 94, 95, 1997 Free Software Foundation, Inc. + Copyright 1990, 1991, 1993, 1994, 1995, 1997, 2001 + Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -42,12 +43,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "libaout.h" /* BFD a.out internal data structures */ #define DEFAULT_ARCH bfd_arch_i386 -#define MY(OP) CAT(i386mach3_,OP) + +/* Do not "beautify" the CONCAT* macro args. Traditional C will not + remove whitespace added here, and thus will fail to concatenate + the tokens. */ +#define MY(OP) CONCAT2 (i386mach3_,OP) #define TARGETNAME "a.out-mach3" -static boolean MY(set_sizes)(); +static boolean MY (set_sizes) PARAMS ((bfd *)); #define MY_backend_data &MY(backend_data) -static CONST struct aout_backend_data MY(backend_data) = { +static const struct aout_backend_data MY(backend_data) = { 0, /* zmagic contiguous */ 1, /* text incl header */ 0, /* entry is text address */