aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2012-02-23 16:29:56 +0000
committerIain Sandoe <iain@codesourcery.com>2012-02-23 16:29:56 +0000
commit19765f5229668571b2a86c42cd2a1faa8e374208 (patch)
tree59bb2cda6c9d1d50860c9be451c651004424db3b /bfd/ChangeLog
parentef59abfb0f3dda7daa870ffce59fb2f2feb87670 (diff)
downloadgdb-19765f5229668571b2a86c42cd2a1faa8e374208.zip
gdb-19765f5229668571b2a86c42cd2a1faa8e374208.tar.gz
gdb-19765f5229668571b2a86c42cd2a1faa8e374208.tar.bz2
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 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9447c63..6503f5c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2012-02-23 Iain Sandoe <idsandoe@googlemail.com>
+
+ * 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.
+
2012-02-17 Iain Sandoe <idsandoe@googlemail.com>
* mach-o-i386.c (i386_howto_table): Add support for 16 bit