This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC fixes for compilation with gcc-4.0


On Mon, Feb 14, 2005 at 02:45:36PM -0800, Roland McGrath wrote:
> > 	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
> > 	use __uint128_t.
> 
> This is a separate change and should have been in a separate paragraph.
> I haven't put this one in.  Are you sure that you haven't broken anything
> using the old type as defined by gcc [3.1,4)?

Reasonably so.  The Linux kernel defines elf_vrreg_t similarly (but in
2.6.10 is missing attribute aligned on the ppc32 version, which is a
latent bug).  Not that that proves very much, but it does illustrate
that typical usage of elf_vrreg_t is only concerned with size and
alignment of the type.  I couldn't find any code anywhere that looked at
the value of an elf_vrref_t variable, and if such code exists it's
toast when using gcc-4.0 anyway.  (I searched the entire cygnus src
repository, gcc repository, glibc, strace-4.5.9, and asked Mr google).

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]