Message ID | ZC3ArGn5cOvJesRk@mx3210.localdomain |
---|---|
State | New |
Headers | show |
Series | [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE | expand |
Do we support or plan to support 64 bit hppa? The patch is not wrong itself, but I also don't see why it is required. On 05/04/23 15:40, John David Anglin wrote: > Committed to master. > > Dave > --- > > hppa: Revise __TIMESIZE define to use __WORDSIZE > > Handle both 32 and 64-bit ABIs. > > Signed-off-by: John David Anglin <dave.anglin@bell.net> > > diff --git a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h > index 316a9c1ce6..cbceeb4a29 100644 > --- a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h > +++ b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h > @@ -16,5 +16,7 @@ > License along with the GNU C Library; if not, see > <https://www.gnu.org/licenses/>. */ > > +#include <bits/wordsize.h> > + > /* Size in bits of the 'time_t' type of the default ABI. */ > -#define __TIMESIZE 32 > +#define __TIMESIZE __WORDSIZE
Hopefully. There is 64-bit hppa support in gcc and Linux. On 2023-04-05 3:00 p.m., Adhemerval Zanella Netto wrote: > Do we support or plan to support 64 bit hppa? The patch is not wrong itself, > but I also don't see why it is required. > > On 05/04/23 15:40, John David Anglin wrote: >> Committed to master. >> >> Dave >> --- >> >> hppa: Revise __TIMESIZE define to use __WORDSIZE >> >> Handle both 32 and 64-bit ABIs. >> >> Signed-off-by: John David Anglin <dave.anglin@bell.net> >> >> diff --git a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h >> index 316a9c1ce6..cbceeb4a29 100644 >> --- a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h >> +++ b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h >> @@ -16,5 +16,7 @@ >> License along with the GNU C Library; if not, see >> <https://www.gnu.org/licenses/>. */ >> >> +#include <bits/wordsize.h> >> + >> /* Size in bits of the 'time_t' type of the default ABI. */ >> -#define __TIMESIZE 32 >> +#define __TIMESIZE __WORDSIZE
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h index 316a9c1ce6..cbceeb4a29 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h @@ -16,5 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <bits/wordsize.h> + /* Size in bits of the 'time_t' type of the default ABI. */ -#define __TIMESIZE 32 +#define __TIMESIZE __WORDSIZE
Committed to master. Dave --- hppa: Revise __TIMESIZE define to use __WORDSIZE Handle both 32 and 64-bit ABIs. Signed-off-by: John David Anglin <dave.anglin@bell.net>