Update the address and phone number of the FSF organization
[deliverable/binutils-gdb.git] / include / coff / we32k.h
CommitLineData
4f1d9bd8
NC
1/* coff information for we32k
2
3 Copyright 2001 Free Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
e172dbf8 17 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
4f1d9bd8
NC
18#define L_LNNO_SIZE 2
19#include "coff/external.h"
252b5132
RH
20
21/* Bits for f_flags:
4f1d9bd8
NC
22 F_RELFLG relocation info stripped from file
23 F_EXEC file is executable (no unresolved external references)
24 F_LNNO line numbers stripped from file
25 F_LSYMS local symbols stripped from file
26 F_AR32WR file has byte ordering of an AR32WR machine (e.g. vax). */
252b5132
RH
27
28#define F_RELFLG (0x0001)
29#define F_EXEC (0x0002)
30#define F_LNNO (0x0004)
31#define F_LSYMS (0x0008)
32#define F_BM32B (0020000)
33#define F_BM32MAU (0040000)
34
35#define WE32KMAGIC 0x170 /* we32k sans transfer vector */
36#define FBOMAGIC 0x170 /* we32k sans transfer vector */
37#define MTVMAGIC 0x171 /* we32k with transfer vector */
38#define RBOMAGIC 0x172 /* reserved */
4f1d9bd8 39#define WE32KBADMAG(x) ( ((x).f_magic != WE32KMAGIC) \
252b5132
RH
40 && ((x).f_magic != FBOMAGIC) \
41 && ((x).f_magic != RBOMAGIC) \
42 && ((x).f_magic != MTVMAGIC))
43
4f1d9bd8 44/* More names of "special" sections. */
252b5132
RH
45#define _TV ".tv"
46#define _INIT ".init"
47#define _FINI ".fini"
48
252b5132
RH
49/********************** RELOCATION DIRECTIVES **********************/
50
4f1d9bd8
NC
51struct external_reloc
52{
252b5132
RH
53 char r_vaddr[4];
54 char r_symndx[4];
55 char r_type[2];
56};
57
252b5132
RH
58#define RELOC struct external_reloc
59#define RELSZ 10
60
This page took 0.242816 seconds and 4 git commands to generate.