Back to index

cell-binutils  2.17cvs20070401
demo64.c
Go to the documentation of this file.
00001 /* BFD backend for demonstration 64-bit a.out binaries.
00002    Copyright 1990, 1991, 1992, 1993, 1994, 2001
00003    Free Software Foundation, Inc.
00004    Written by Cygnus Support.
00005 
00006 This file is part of BFD, the Binary File Descriptor library.
00007 
00008 This program is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 This program is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with this program; if not, write to the Free Software
00020 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00021 
00022 #define ARCH_SIZE 64
00023 
00024 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
00025    remove whitespace added here, and thus will fail to concatenate
00026    the tokens.  */
00027 #define MY(OP) CONCAT2 (demo_64_,OP)
00028 
00029 #define TARGETNAME  "demo64"
00030 #include "aoutf1.h"