* [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE
@ 2023-04-05 18:40 John David Anglin
2023-04-05 19:00 ` Adhemerval Zanella Netto
0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2023-04-05 18:40 UTC (permalink / raw)
To: libc-alpha; +Cc: Helge Deller
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE
2023-04-05 18:40 [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE John David Anglin
@ 2023-04-05 19:00 ` Adhemerval Zanella Netto
2023-04-06 21:11 ` John David Anglin
0 siblings, 1 reply; 3+ messages in thread
From: Adhemerval Zanella Netto @ 2023-04-05 19:00 UTC (permalink / raw)
To: John David Anglin, libc-alpha; +Cc: Helge Deller
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE
2023-04-05 19:00 ` Adhemerval Zanella Netto
@ 2023-04-06 21:11 ` John David Anglin
0 siblings, 0 replies; 3+ messages in thread
From: John David Anglin @ 2023-04-06 21:11 UTC (permalink / raw)
To: Adhemerval Zanella Netto, John David Anglin, libc-alpha; +Cc: Helge Deller
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
--
John David Anglin dave.anglin@bell.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-06 21:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 18:40 [committed] hppa: Revise __TIMESIZE define to use __WORDSIZE John David Anglin
2023-04-05 19:00 ` Adhemerval Zanella Netto
2023-04-06 21:11 ` John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).