xref: /openbsd-src/gnu/usr.bin/binutils/bfd/demo64.c (revision c074d1c999f3e07019cd5e9a2f190b057ef3b935)
12159047fSniklas /* BFD backend for demonstration 64-bit a.out binaries.
2*c074d1c9Sdrahn    Copyright 1990, 1991, 1992, 1993, 1994, 2001
3*c074d1c9Sdrahn    Free Software Foundation, Inc.
42159047fSniklas    Written by Cygnus Support.
52159047fSniklas 
62159047fSniklas This file is part of BFD, the Binary File Descriptor library.
72159047fSniklas 
82159047fSniklas This program is free software; you can redistribute it and/or modify
92159047fSniklas it under the terms of the GNU General Public License as published by
102159047fSniklas the Free Software Foundation; either version 2 of the License, or
112159047fSniklas (at your option) any later version.
122159047fSniklas 
132159047fSniklas This program is distributed in the hope that it will be useful,
142159047fSniklas but WITHOUT ANY WARRANTY; without even the implied warranty of
152159047fSniklas MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
162159047fSniklas GNU General Public License for more details.
172159047fSniklas 
182159047fSniklas You should have received a copy of the GNU General Public License
192159047fSniklas along with this program; if not, write to the Free Software
202159047fSniklas Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
212159047fSniklas 
222159047fSniklas #define ARCH_SIZE 64
23*c074d1c9Sdrahn 
24*c074d1c9Sdrahn /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
25*c074d1c9Sdrahn    remove whitespace added here, and thus will fail to concatenate
26*c074d1c9Sdrahn    the tokens.  */
27*c074d1c9Sdrahn #define MY(OP) CONCAT2 (demo_64_,OP)
28*c074d1c9Sdrahn 
292159047fSniklas #define TARGETNAME  "demo64"
302159047fSniklas #include "aoutf1.h"
31