Initial import of binutils 2.27 on vendor branch
[dragonfly.git] / contrib / binutils-2.27 / include / mach-o / reloc.h
blob16f75d5c12c3b03fb0e0ca8e8b49b1165fa3c55d
1 /* Mach-O support for BFD.
2 Copyright (C) 2011-2016 Free Software Foundation, Inc.
4 This file is part of BFD, the Binary File Descriptor library.
6 This program 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 3 of the License, or
9 (at your option) any later version.
11 This program 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 this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 #ifndef _MACH_O_RELOC_H
22 #define _MACH_O_RELOC_H
24 /* Generic relocation types (used by i386). */
25 #define BFD_MACH_O_GENERIC_RELOC_VANILLA 0
26 #define BFD_MACH_O_GENERIC_RELOC_PAIR 1
27 #define BFD_MACH_O_GENERIC_RELOC_SECTDIFF 2
28 #define BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR 3
29 #define BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF 4
30 #define BFD_MACH_O_GENERIC_RELOC_TLV 5
32 #endif /* _MACH_O_RELOC_H */