xref: /dflybsd-src/contrib/gdb-7/include/mach-o/reloc.h (revision de8e141f24382815c10a4012d209bbbf7abf1112)
1a45ae5f8SJohn Marino /* Mach-O support for BFD.
2*ef5ccd6cSJohn Marino    Copyright 2011, 2012
3a45ae5f8SJohn Marino    Free Software Foundation, Inc.
4a45ae5f8SJohn Marino 
5a45ae5f8SJohn Marino    This file is part of BFD, the Binary File Descriptor library.
6a45ae5f8SJohn Marino 
7a45ae5f8SJohn Marino    This program is free software; you can redistribute it and/or modify
8a45ae5f8SJohn Marino    it under the terms of the GNU General Public License as published by
9a45ae5f8SJohn Marino    the Free Software Foundation; either version 3 of the License, or
10a45ae5f8SJohn Marino    (at your option) any later version.
11a45ae5f8SJohn Marino 
12a45ae5f8SJohn Marino    This program is distributed in the hope that it will be useful,
13a45ae5f8SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
14a45ae5f8SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15a45ae5f8SJohn Marino    GNU General Public License for more details.
16a45ae5f8SJohn Marino 
17a45ae5f8SJohn Marino    You should have received a copy of the GNU General Public License
18a45ae5f8SJohn Marino    along with this program; if not, write to the Free Software
19a45ae5f8SJohn Marino    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20a45ae5f8SJohn Marino    MA 02110-1301, USA.  */
21a45ae5f8SJohn Marino 
22a45ae5f8SJohn Marino #ifndef _MACH_O_RELOC_H
23a45ae5f8SJohn Marino #define _MACH_O_RELOC_H
24a45ae5f8SJohn Marino 
25a45ae5f8SJohn Marino /* Generic relocation types (used by i386).  */
26a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_VANILLA 	0
27a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_PAIR	 	1
28a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_SECTDIFF	2
29a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR	3
30a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF	4
31a45ae5f8SJohn Marino #define BFD_MACH_O_GENERIC_RELOC_TLV		5
32a45ae5f8SJohn Marino 
33a45ae5f8SJohn Marino #endif /* _MACH_O_RELOC_H */
34