This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: History of m68k ABI and `-malign-int'?
- From: Carlos O'Donell <carlos at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc at gcc dot gnu dot org, law at redhat dot com
- Date: Thu, 17 Jan 2008 10:16:25 -0500
- Subject: Re: History of m68k ABI and `-malign-int'?
- References: <20080116225249.GS8781@lios> <jed4s1qpov.fsf@sykes.suse.de>
On Thu, Jan 17, 2008 at 01:08:16AM +0100, Andreas Schwab wrote:
> Carlos O'Donell <carlos@codesourcery.com> writes:
>
> > Why is 16-bit int alignment the default for m68k in gcc?
> >
> > Which ABIs influenced this decision?
>
> The original ABI was defined by Sun PCC. Note that the SysV ABI
> actually uses natural alignment for all types, but that came only much
> later.
>
> You can find much of the history in the change logs of gcc 1.42.
Excellent, that scratches my itch, thanks for providing a history lesson
and a good pointer.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716