diff options
author | Iain D Sandoe <iain@codesourcery.com> | 2012-02-23 16:29:56 +0000 |
---|---|---|
committer | Iain D Sandoe <iain@codesourcery.com> | 2012-02-23 16:29:56 +0000 |
commit | e3ed49775e51d67fa0f9537032a2c12df56418b7 (patch) | |
tree | baadac319a1d73d91cf65f493bc79eeae431b61a /winsup/utils/pldd.c | |
parent | b680a27c6da538160e46aca8e6dc741175473c94 (diff) | |
download | cygnal-e3ed49775e51d67fa0f9537032a2c12df56418b7.tar.gz cygnal-e3ed49775e51d67fa0f9537032a2c12df56418b7.tar.bz2 cygnal-e3ed49775e51d67fa0f9537032a2c12df56418b7.zip |
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 'winsup/utils/pldd.c')
0 files changed, 0 insertions, 0 deletions