diff options
author | iains <iains> | 2012-02-23 16:29:52 +0000 |
---|---|---|
committer | iains <iains> | 2012-02-23 16:29:52 +0000 |
commit | 568ce38d4e70fac3dc1c782fd2dd02841033c9bc (patch) | |
tree | 998c488354c8136fb88c2510eab5cdc0ef6d76e5 /gdb/jv-valprint.c | |
parent | 1d2b689132b87cf3644b233052ea0b6dad3f2ad0 (diff) | |
download | gdb-568ce38d4e70fac3dc1c782fd2dd02841033c9bc.tar.gz |
deal with endian-ness in mach-o non-scattered relocs.
BFD:
* mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New.
(bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc
bit-fields when target and host differ in endian-ness. When
PAIRs are non-scattered find the 'symbol' from the preceding
reloc. Add FIXME re. reloc symbols on section boundaries.
(bfd_mach_o_swap_out_non_scattered_reloc): New.
(bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc.
include/mach-o:
* external.h: Add comments about relocations fields. Add macros
for non-scattered relocations. Move scattered relocation macros to here.
* reloc.h: Remove macros related to external representation of reloc fields.
Diffstat (limited to 'gdb/jv-valprint.c')
0 files changed, 0 insertions, 0 deletions