From e1e81ed3c319f765df8a755a6b901df650a4e4a0 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 17 Feb 2012 10:57:33 +0000 Subject: 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. --- bfd/reloc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/reloc.c') 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. -- cgit v1.1