[distcc] Patch to handle different endian in ELF format

WALT STEVERSON walt.steverson at adtran.com
Thu Feb 4 09:02:10 MST 2010

I'm using distcc in a cross-compiler environment where the target output
is an ELF file in big-endian format and the host is little-endian.  The
debug information in the ELF file was not being rewritten because
fix_debug_info.c couldn't handle the case where the target and host
endian-isms did not match.  I've basically just implemented the TODO
about this that was already in the file.  Custom byteswap functions were
written for portability reasons and I didn't want to add something else
to test for in configure.


The patch was diff'd from r711 of the trunk.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20100204/27bccf5f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_debug_info_endian_todo.patch
Type: application/octet-stream
Size: 9780 bytes
Desc: fix_debug_info_endian_todo.patch
URL: <http://lists.samba.org/pipermail/distcc/attachments/20100204/27bccf5f/attachment.obj>

More information about the distcc mailing list