source: trunk/src/binutils/bfd/netbsd.h@ 29

Last change on this file since 29 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 3.7 KB
RevLine 
[10]1/* BFD back-end definitions used by all NetBSD targets.
2 Copyright 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 2000
3 Free Software Foundation, Inc.
4
5This file is part of BFD, the Binary File Descriptor library.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
20USA. */
21
22/* Check for our machine type (part of magic number). */
23#ifndef MACHTYPE_OK
24#define MACHTYPE_OK(m) ((m) == DEFAULT_MID || (m) == M_UNKNOWN)
25#endif
26
27/* This is the normal load address for executables. */
28#define TEXT_START_ADDR TARGET_PAGE_SIZE
29
30/* NetBSD ZMAGIC has its header in the text segment. */
31#define N_HEADER_IN_TEXT(x) 1
32
33/* Determine if this is a shared library using the flags. */
34#define N_SHARED_LIB(x) (N_DYNAMIC(x))