PATCH COMMITTED: Correct 64-bit big-endian swap unaligned write

Ian Lance Taylor
Thu Apr 3 23:36:00 GMT 2008

Craig Silverstein noticed that I made a dumb mistake in the 64-bit
big-endian unaligned write code.  I committed this patch to fix it.
I never noticed it since gold only works for little-endian targets at
the moment.


2008-04-03  Ian Lance Taylor  <>

	* elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
	byte order.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 754 bytes
Desc: Correct big-endian 64-bit unaligned write
URL: <>

More information about the Binutils mailing list