1 /* reloc.h -- Header file for relocation information.
2 Copyright (C) 1989,1990 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 1, 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
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* Relocation types for a.out files using reloc_info_extended
21 (SPARC and AMD 29000). */
23 #ifndef _RELOC_H_READ_
24 #define _RELOC_H_READ_ 1
28 RELOC_8
, RELOC_16
, RELOC_32
, /* simple relocations */
29 RELOC_DISP8
, RELOC_DISP16
, RELOC_DISP32
, /* pc-rel displacement */
30 RELOC_WDISP30
, RELOC_WDISP22
,
33 RELOC_SFA_BASE
, RELOC_SFA_OFF13
,
34 RELOC_BASE10
, RELOC_BASE13
, RELOC_BASE22
, /* P.I.C. (base-relative) */
35 RELOC_PC10
, RELOC_PC22
, /* for some sort of pc-rel P.I.C. (?) */
36 RELOC_JMP_TBL
, /* P.I.C. jump table */
37 RELOC_SEGOFF16
, /* reputedly for shared libraries somehow */
38 RELOC_GLOB_DAT
, RELOC_JMP_SLOT
, RELOC_RELATIVE
,
40 /* 29K relocation types */
41 RELOC_JUMPTARG
, RELOC_CONST
, RELOC_CONSTH
,
43 RELOC_WDISP14
, RELOC_WDISP21
,
48 #define RELOC_TYPE_NAMES \
49 "8", "16", "32", "DISP8", \
50 "DISP16", "DISP32", "WDISP30", "WDISP22", \
51 "HI22", "22", "13", "LO10", \
52 "SFA_BASE", "SFAOFF13", "BASE10", "BASE13", \
53 "BASE22", "PC10", "PC22", "JMP_TBL", \
54 "SEGOFF16", "GLOB_DAT", "JMP_SLOT", "RELATIVE", \
55 "JUMPTARG", "CONST", "CONSTH", \
57 "XXX_28", "XXX_29", "XXX_30", "XXX_31"
59 #endif /* _RELOC_H_READ_ */
This page took 0.0298580000000001 seconds and 4 git commands to generate.