This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix aliasing warning in aoutf1.h
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 27 Dec 2005 17:29:20 +1030
- Subject: Re: Fix aliasing warning in aoutf1.h
- References: <jeu0e2f5ym.fsf@sykes.suse.de>
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