Changed the @node to use INODE
[deliverable/binutils-gdb.git] / include / reloc.h
CommitLineData
f827120d 1/* reloc.h -- Header file for relocation information.
095c7223 2 Copyright 1989-1991 Free Software Foundation, Inc.
f827120d 3
095c7223 4This program is free software; you can redistribute it and/or modify
f827120d 5it under the terms of the GNU General Public License as published by
095c7223
JG
6the Free Software Foundation; either version 2 of the License, or
7(at your option) any later version.
f827120d 8
095c7223 9This program is distributed in the hope that it will be useful,
f827120d
RP
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
095c7223
JG
15along with this program; if not, write to the Free Software
16Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
f827120d 17
a07cc613
JG
18/* Relocation types for a.out files using reloc_info_extended
19 (SPARC and AMD 29000). */
20
21#ifndef _RELOC_H_READ_
22#define _RELOC_H_READ_ 1
23
24enum reloc_type
1797fccf 25 {
a07cc613
JG
26 RELOC_8, RELOC_16, RELOC_32, /* simple relocations */
27 RELOC_DISP8, RELOC_DISP16, RELOC_DISP32, /* pc-rel displacement */
28 RELOC_WDISP30, RELOC_WDISP22,
29 RELOC_HI22, RELOC_22,
30 RELOC_13, RELOC_LO10,
31 RELOC_SFA_BASE, RELOC_SFA_OFF13,
32 RELOC_BASE10, RELOC_BASE13, RELOC_BASE22, /* P.I.C. (base-relative) */
33 RELOC_PC10, RELOC_PC22, /* for some sort of pc-rel P.I.C. (?) */
34 RELOC_JMP_TBL, /* P.I.C. jump table */
35 RELOC_SEGOFF16, /* reputedly for shared libraries somehow */
36 RELOC_GLOB_DAT, RELOC_JMP_SLOT, RELOC_RELATIVE,
21c97f13
RP
37 RELOC_11,
38 RELOC_WDISP2_14,
39 RELOC_WDISP19,
c7236eee
RP
40 RELOC_HHI22,
41 RELOC_HLO10,
1797fccf
SC
42
43 /* 29K relocation types */
a07cc613 44 RELOC_JUMPTARG, RELOC_CONST, RELOC_CONSTH,
1797fccf 45
f827120d 46 RELOC_WDISP14, RELOC_WDISP21,
1797fccf 47
a07cc613 48 NO_RELOC
1797fccf 49 };
a07cc613
JG
50
51#define RELOC_TYPE_NAMES \
52"8", "16", "32", "DISP8", \
53"DISP16", "DISP32", "WDISP30", "WDISP22", \
54"HI22", "22", "13", "LO10", \
55"SFA_BASE", "SFAOFF13", "BASE10", "BASE13", \
56"BASE22", "PC10", "PC22", "JMP_TBL", \
57"SEGOFF16", "GLOB_DAT", "JMP_SLOT", "RELATIVE", \
5bcc23e3
MT
58"11", "WDISP2_14", "WDISP19", "HHI22", \
59"HLO10", \
60"JUMPTARG", "CONST", "CONSTH", "WDISP14", \
61"WDISP21", \
095c7223 62"NO_RELOC"
a07cc613
JG
63
64#endif /* _RELOC_H_READ_ */
f827120d
RP
65
66/* end of reloc.h */
This page took 0.041667 seconds and 4 git commands to generate.