X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Fdemo64.c;h=83db63edbc15d1cc0f75a5e530b1231679d93b19;hb=e609377629a12f6518eaf100c1983e23c80fecc1;hp=cb1e4e2a6aae5109c611278f3a82d35272a03db1;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=platform%2Fupstream%2Fbinutils.git diff --git a/bfd/demo64.c b/bfd/demo64.c index cb1e4e2..83db63e 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-2014 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