diff options
author | Iain Sandoe <iain@codesourcery.com> | 2012-02-17 10:57:33 +0000 |
---|---|---|
committer | Iain Sandoe <iain@codesourcery.com> | 2012-02-17 10:57:33 +0000 |
commit | e1e81ed3c319f765df8a755a6b901df650a4e4a0 (patch) | |
tree | ffa1e950641420fc19abb0587860bd53b9ea1d29 /bfd/bfd-in2.h | |
parent | ca193e277905cd464dfd5cf1b8391017a7a861ec (diff) | |
download | gdb-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/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 5072e43..fb56337 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2161,6 +2161,7 @@ enum bfd_architecture #define bfd_mach_tilegx 1 bfd_arch_last }; + typedef struct bfd_arch_info { int bits_per_word; @@ -4824,6 +4825,9 @@ BFD_RELOC_XTENSA_ASM_EXPAND. */ BFD_RELOC_MACH_O_PAIR. */ BFD_RELOC_MACH_O_SECTDIFF, +/* Like BFD_RELOC_MACH_O_SECTDIFF but with a local symbol. */ + BFD_RELOC_MACH_O_LOCAL_SECTDIFF, + /* Pair of relocation. Contains the first symbol. */ BFD_RELOC_MACH_O_PAIR, |