OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [include/] [coff/] [x86_64.h] - Blame information for rev 231

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* COFF information for AMD 64.
2
   Copyright 2006 Free Software Foundation, Inc.
3
 
4
   This file is part of BFD, the Binary File Descriptor library.
5
 
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License as published by
8
   the Free Software Foundation; either version 2 of the License, or
9
   (at your option) any later version.
10
 
11
   This program is distributed in the hope that it will be useful,
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   GNU General Public License for more details.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with this program; if not, write to the Free Software
18
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19
 
20
   Written by Kai Tietz, OneVision Software GmbH&CoKg.  */
21
 
22
#define L_LNNO_SIZE 2
23
#define INCLUDE_COMDAT_FIELDS_IN_AUXENT
24
 
25
#include "coff/external.h"
26
 
27
#define AMD64MAGIC      0x8664
28
 
29
#define AMD64BADMAG(x)  ((x).f_magic != AMD64MAGIC)
30
#define IMAGE_NT_OPTIONAL_HDR64_MAGIC      0x20b
31
 
32
#define OMAGIC          0404    /* Object files, eg as output.  */
33
#define ZMAGIC          IMAGE_NT_OPTIONAL_HDR64_MAGIC    /* Demand load format, eg normal ld output 0x10b.  */
34
#define STMAGIC         0401    /* Target shlib.  */
35
#define SHMAGIC         0443    /* Host   shlib.  */
36
 
37
/* Define some NT default values.  */
38
/*  #define NT_IMAGE_BASE        0x400000 moved to internal.h.  */
39
#define NT_SECTION_ALIGNMENT 0x1000
40
#define NT_FILE_ALIGNMENT    0x200
41
#define NT_DEF_RESERVE       0x100000
42
#define NT_DEF_COMMIT        0x1000
43
 
44
/* Relocation directives.  */
45
 
46
struct external_reloc
47
{
48
  char r_vaddr[4];
49
  char r_symndx[4];
50
  char r_type[2];
51
};
52
 
53
#define RELOC struct external_reloc
54
#define RELSZ 10

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.