Update the address and phone number of the FSF
[deliverable/binutils-gdb.git] / gas / config / obj-hp300.h
CommitLineData
252b5132 1/* This file is obj-hp300.h
aef6203b 2 Copyright 1993, 2000, 2005 Free Software Foundation, Inc.
252b5132
RH
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS 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, or (at your option)
9 any later version.
10
11 GAS 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
bf514e21 17 along with GAS; see the file COPYING. If not, write to the Free
4b4da160
NC
18 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19 02110-1301, USA. */
252b5132
RH
20
21#define __STRUCT_EXEC_OVERRIDE__
22
23struct exec_bytes
24{
25 unsigned char a_info[4]; /* a_machtype/a_magic */
26 unsigned char a_spare1[4];
27 unsigned char a_spare2[4];
28 unsigned char a_text[4]; /* length of text, in bytes */
29 unsigned char a_data[4]; /* length of data, in bytes */
30 unsigned char a_bss[4]; /* length of uninitialized data area for file, in bytes */
31 unsigned char a_trsize[4]; /* length of relocation info for text, in bytes */
32 unsigned char a_drsize[4]; /* length of relocation info for data, in bytes */
33 unsigned char a_spare3[4]; /* HP = pascal interface size */
34 unsigned char a_spare4[4]; /* HP = symbol table size */
35 unsigned char a_spare5[4]; /* HP = debug name table size */
36 unsigned char a_entry[4]; /* start address */
37 unsigned char a_spare6[4]; /* HP = source line table size */
38 unsigned char a_spare7[4]; /* HP = value table size */
39 unsigned char a_syms[4]; /* length of symbol table data in file, in bytes */
40 unsigned char a_spare8[4];
41};
42
43/* How big the "struct exec" is on disk */
44#define EXEC_BYTES_SIZE (16 * 4)
45
46struct exec
47{
48 unsigned long a_info;
49 unsigned long a_spare1;
50 unsigned long a_spare2;
bf514e21
KH
51 unsigned long a_text;
52 unsigned long a_data;
53 unsigned long a_bss;
54 unsigned long a_trsize;
252b5132
RH
55 unsigned long a_drsize;
56 unsigned long a_spare3;
57 unsigned long a_spare4;
58 unsigned long a_spare5;
bf514e21 59 unsigned long a_entry;
252b5132
RH
60 unsigned long a_spare6;
61 unsigned long a_spare7;
bf514e21 62 unsigned long a_syms;
252b5132
RH
63 unsigned long a_spare8;
64};
65
66#define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (OMAGIC)
67#define AOUT_VERSION 0x02
68#define AOUT_MACHTYPE 0x0c
69#define OMAGIC 0x106
bf514e21 70
252b5132
RH
71#define obj_header_append hp300_header_append
72#include "config/obj-aout.h"
This page took 0.261742 seconds and 4 git commands to generate.