X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fdemo64.c;h=26d48f352e2b1a80ad55b93a2c69651889f74ccc;hb=b6518b3871859f9eeb7653bf2f3baaa43fa0a5d0;hp=cb1e4e2a6aae5109c611278f3a82d35272a03db1;hpb=e98fe4f7b54cbdf29aef9287bbb1bea8801dd05a;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/demo64.c b/bfd/demo64.c index cb1e4e2a6a..26d48f352e 100644 --- a/bfd/demo64.c +++ b/bfd/demo64.c @@ -1,30 +1,30 @@ -/* BFD backend for sunos binaries */ +/* BFD backend for demonstration 64-bit a.out binaries. + Copyright (C) 1990-2015 Free Software Foundation, Inc. + Written by Cygnus Support. -/* Copyright (C) 1990, 1991 Free Software Foundation, Inc. + This file is part of BFD, the Binary File Descriptor library. -This file is part of BFD, the Binary File Diddler. + 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. -BFD 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 1, 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. -BFD 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., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -You should have received a copy of the GNU General Public License -along with BFD; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#define ARCH_SIZE 64 -/* $Id$ */ +/* 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 (aout64_,OP) -/* Can only compile this if TARGET_64_BIT is set */ -#ifdef TARGET_64_BIT -#define ARCH_SIZE 64 #define TARGETNAME "demo64" -#define VECNAME "demo_64_vec" #include "aoutf1.h" - -#endif