xref: /openbsd-src/gnu/usr.bin/binutils/bfd/m68klynx.c (revision c074d1c999f3e07019cd5e9a2f190b057ef3b935)
12159047fSniklas /* BFD back-end for m68k binaries under LynxOS.
2*c074d1c9Sdrahn    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 2001, 2002, 2003
35f210c2aSfgsch    Free Software Foundation, Inc.
42159047fSniklas 
52159047fSniklas This file is part of BFD, the Binary File Descriptor library.
62159047fSniklas 
72159047fSniklas This program is free software; you can redistribute it and/or modify
82159047fSniklas it under the terms of the GNU General Public License as published by
92159047fSniklas the Free Software Foundation; either version 2 of the License, or
102159047fSniklas (at your option) any later version.
112159047fSniklas 
122159047fSniklas This program is distributed in the hope that it will be useful,
132159047fSniklas but WITHOUT ANY WARRANTY; without even the implied warranty of
142159047fSniklas MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
152159047fSniklas GNU General Public License for more details.
162159047fSniklas 
172159047fSniklas You should have received a copy of the GNU General Public License
182159047fSniklas along with this program; if not, write to the Free Software
192159047fSniklas Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
202159047fSniklas 
212159047fSniklas #define N_SHARED_LIB(x) 0
222159047fSniklas 
232159047fSniklas #define TEXT_START_ADDR 0
242159047fSniklas #define TARGET_PAGE_SIZE 4096
252159047fSniklas #define SEGMENT_SIZE TARGET_PAGE_SIZE
262159047fSniklas #define DEFAULT_ARCH bfd_arch_m68k
272159047fSniklas 
28*c074d1c9Sdrahn /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
29*c074d1c9Sdrahn    remove whitespace added here, and thus will fail to concatenate
30*c074d1c9Sdrahn    the tokens.  */
31*c074d1c9Sdrahn #define MY(OP) CONCAT2 (m68klynx_aout_,OP)
322159047fSniklas #define TARGETNAME "a.out-m68k-lynx"
332159047fSniklas 
342159047fSniklas #include "bfd.h"
352159047fSniklas #include "sysdep.h"
362159047fSniklas #include "libbfd.h"
372159047fSniklas 
382159047fSniklas #include "libaout.h"
392159047fSniklas #include "aout/aout64.h"
402159047fSniklas 
412159047fSniklas #define TARGET_IS_BIG_ENDIAN_P
422159047fSniklas 
432159047fSniklas #ifdef LYNX_CORE
442159047fSniklas 
452159047fSniklas char *lynx_core_file_failing_command();
462159047fSniklas int lynx_core_file_failing_signal();
47*c074d1c9Sdrahn bfd_boolean lynx_core_file_matches_executable_p();
482159047fSniklas const bfd_target *lynx_core_file_p();
492159047fSniklas 
502159047fSniklas #define	MY_core_file_failing_command lynx_core_file_failing_command
512159047fSniklas #define	MY_core_file_failing_signal lynx_core_file_failing_signal
522159047fSniklas #define	MY_core_file_matches_executable_p lynx_core_file_matches_executable_p
532159047fSniklas #define	MY_core_file_p lynx_core_file_p
542159047fSniklas 
552159047fSniklas #endif /* LYNX_CORE */
562159047fSniklas 
572159047fSniklas #include "aout-target.h"
58