Re: [Patch libiberty/mach-o] fix byte-swapping of indices in wrapper sections.

2012-02-26 Thread Ian Lance Taylor
Iain Sandoe writes: > Found while testing x86 X ppc ... > .. I missed byte-swapping the indices when outputting the index of the > GNU wrapper for LTO sections. > > OK/When? > Iain > > libiberty: > > * simple-object-mach-o.c (simple_object_mach_o_write_segment): > Byte-swap indices wh

[Patch libiberty/mach-o] fix byte-swapping of indices in wrapper sections.

2012-02-26 Thread Iain Sandoe
Found while testing x86 X ppc ... .. I missed byte-swapping the indices when outputting the index of the GNU wrapper for LTO sections. OK/When? Iain libiberty: * simple-object-mach-o.c (simple_object_mach_o_write_segment): Byte-swap indices when required. diff --git a/libibe