X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fhost-aout.c;h=d7b6c91ee01a515276df6d7ec7a89e27f01d4bcb;hb=708cedb722130686607d086085bac963a406580a;hp=a53cf09ad1617701f19f53c81c881b300ca309d2;hpb=7898dedac0f0bd75d7363d13427c4a1e72b66f66;p=binutils-gdb.git diff --git a/bfd/host-aout.c b/bfd/host-aout.c index a53cf09ad16..d7b6c91ee01 100644 --- a/bfd/host-aout.c +++ b/bfd/host-aout.c @@ -1,25 +1,26 @@ /* BFD backend for local host's a.out binaries - Copyright 1990, 1991, 1992, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1990-2023 Free Software Foundation, Inc. Written by Cygnus Support. Probably John Gilmore's fault. -This file is part of BFD, the Binary File Descriptor library. + This file is part of BFD, the Binary File Descriptor library. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -#include "bfd.h" #include "sysdep.h" +#include "bfd.h" #include "libbfd.h" #define ARCH_SIZE 32 @@ -64,7 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #undef TARGET_IS_BIG_ENDIAN_P #endif -#include "libaout.h" /* BFD a.out internal data structures */ +#include "libaout.h" /* BFD a.out internal data structures */ #include "aout/aout64.h" #ifdef HOST_MACHINE_ARCH @@ -77,7 +78,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #endif /* HOST_MACHINE_ARCH */ -#define MY(OP) CAT(host_aout_,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 (host_aout_,OP) #define TARGETNAME "a.out" #include "aout-target.h"