This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] tftp.h: rework layout to work with fortification
On Thu, 12 Apr 2012, David Miller wrote:
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Thu, 12 Apr 2012 17:52:30 +0200
>
> > I wonder what's the use of packing here. There should be no padding,
> > each field has at most short alignment.
>
> I think it's to handle cpus like ARM where a structure containing
> smaller than u32 objects will be aligned up to need u32 alignment.
Since I removed ARM old-ABI support from ports, that isn't relevant to
glibc (I don't know any other architectures with that issue), although
it may still be relevant to the kernel.
--
Joseph S. Myers
joseph@codesourcery.com