aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2012-02-17 10:57:33 +0000
committerIain Sandoe <iain@codesourcery.com>2012-02-17 10:57:33 +0000
commite1e81ed3c319f765df8a755a6b901df650a4e4a0 (patch)
treeffa1e950641420fc19abb0587860bd53b9ea1d29 /bfd/reloc.c
parentca193e277905cd464dfd5cf1b8391017a7a861ec (diff)
downloadgdb-e1e81ed3c319f765df8a755a6b901df650a4e4a0.zip
gdb-e1e81ed3c319f765df8a755a6b901df650a4e4a0.tar.gz
gdb-e1e81ed3c319f765df8a755a6b901df650a4e4a0.tar.bz2
add LOCAL SECDIFF relocation for m32 mach-o
bfd: * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): * libbfd.h: Regenerated. * bfd-in2.h: Likewise. * mach-o-i386.c (i386_howto_table): Include local sectdiff. (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. (bfd_mach_o_i386_swap_reloc_out): Likewise.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 5cde4a8..778276f 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -5594,6 +5594,10 @@ ENUMDOC
Difference between two section addreses. Must be followed by a
BFD_RELOC_MACH_O_PAIR.
ENUM
+ BFD_RELOC_MACH_O_LOCAL_SECTDIFF
+ENUMDOC
+ Like BFD_RELOC_MACH_O_SECTDIFF but with a local symbol.
+ENUM
BFD_RELOC_MACH_O_PAIR
ENUMDOC
Pair of relocation. Contains the first symbol.