This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Add Ada tasking support for hppa-unknown-linux-gnu (take 2)
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: charlet at adacore dot com (Arnaud Charlet)
- Cc: gcc-patches at gcc dot gnu dot org, laurent at guerby dot net
- Date: Mon, 2 May 2005 09:40:02 -0400 (EDT)
- Subject: Re: [patch] Add Ada tasking support for hppa-unknown-linux-gnu (take 2)
> > > Could you explain why you changed sigset_t definition ?
> >
> > >From bits/sigset.h:
> >
> > # define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))
> > typedef struct
> > {
> > unsigned long int __val[_SIGSET_NWORDS];
> > } __sigset_t;
>
> I understand that, but the previous code used an array of bytes explicitely
> to share code between 32 and 64 bit platforms where typically Long_Integer'Size
> is different. So unless the underlying structure/alignment is different,
> I would stick to the previous definition.
One of the reasons that I changed the definition is the PA is big
endian. So, the bit masks won't work using bytes unless this is
taken into account.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)