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