This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/ChangeLog bfd/mach-o.c include/mach-o/ ...
- From: iains at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 23 Feb 2012 16:29:56 -0000
- Subject: src bfd/ChangeLog bfd/mach-o.c include/mach-o/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: iains@sourceware.org 2012-02-23 16:29:56
Modified files:
bfd : ChangeLog mach-o.c
include/mach-o : ChangeLog reloc.h external.h
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5612&r2=1.5613
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o.c.diff?cvsroot=src&r1=1.101&r2=1.102
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/mach-o/ChangeLog.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/mach-o/reloc.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/mach-o/external.h.diff?cvsroot=src&r1=1.4&r2=1.5