[parisc-linux] 2.5.71-pa1 do_sigaction problem
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon, 16 Jun 2003 16:07:39 -0400 (EDT)
> another is that most people are still on gcc-3.0. indeed, gcc-3.2 and
> later are not suitable for generating a kernel since it does not respect
> the __aligned__ attribute on stack allocations.
Actually, I don't believe gcc has ever respected the __aligned__ attribute
on stack allocations. It silently ignores it, which causes a lot of
confusion. The difference is that debian gcc-3.0 has BIGGEST_ALIGNMENT
set to 128 while it is 64 in 3.2 and later. BIGGEST_ALIGNMENT is used for
the alignment of structures allocated on the stack. It is the maximum
alignment needed for any type. So, in practice, it is set by the alignment
needed for long doubles. This is specified to be 64 bits in the 32-bit
hpux runtime as there are no quad-precision load and store instructions.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)