Fix aliasing warning in aoutf1.h

Alan Modra amodra@bigpond.net.au
Tue Dec 27 06:59:00 GMT 2005


On Thu, Nov 24, 2005 at 03:58:25PM +0100, Andreas Schwab wrote:
> 2005-11-24  Andreas Schwab  <schwab@suse.de>
> 
> 	* aoutf1.h (struct external_sparc_core): Change to of c_regs to
> 	struct regs.
> 	(struct external_solaris_bcp_core): Likewise.
> 	(swapcore_sun3): Use offsetof instead of trying to do it by hand.
> 	(swapcore_sparc): Likewise.  Remove now unneeded cast that
> 	triggers an aliasing warning.
> 	(swapcore_solaris_bcp): Likewise.

This is OK.  Thanks!

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list