1 /* This file is obj-hp300.h
2 Copyright 1993, 2000, 2005 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
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)
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.
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
21 #define __STRUCT_EXEC_OVERRIDE__
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];
43 /* How big the "struct exec" is on disk */
44 #define EXEC_BYTES_SIZE (16 * 4)
49 unsigned long a_spare1
;
50 unsigned long a_spare2
;
54 unsigned long a_trsize
;
55 unsigned long a_drsize
;
56 unsigned long a_spare3
;
57 unsigned long a_spare4
;
58 unsigned long a_spare5
;
59 unsigned long a_entry
;
60 unsigned long a_spare6
;
61 unsigned long a_spare7
;
63 unsigned long a_spare8
;
66 #define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (OMAGIC)
67 #define AOUT_VERSION 0x02
68 #define AOUT_MACHTYPE 0x0c
71 #define obj_header_append hp300_header_append
72 #include "config/obj-aout.h"