diff options
author | 2011-04-21 13:54:31 +0000 | |
---|---|---|
committer | 2011-04-21 13:54:31 +0000 | |
commit | 1dbd2f58bd63ab117966c43e84c31d349db90f8d (patch) | |
tree | 855c8d94e4ee1a017bc31469e5bbf6257184ae0d /lib/libc | |
parent | Make SYS.h actually compile on hppa64. (diff) | |
download | wireguard-openbsd-1dbd2f58bd63ab117966c43e84c31d349db90f8d.tar.xz wireguard-openbsd-1dbd2f58bd63ab117966c43e84c31d349db90f8d.zip |
Provide reasonable gdtoa headers.
ok kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/hppa64/gdtoa/arith.h | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/gdtoa/gd_qnan.h | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa64/gdtoa/arith.h b/lib/libc/arch/hppa64/gdtoa/arith.h index cf004954182..e1954befb99 100644 --- a/lib/libc/arch/hppa64/gdtoa/arith.h +++ b/lib/libc/arch/hppa64/gdtoa/arith.h @@ -1 +1,3 @@ -/* TODO: put the proper definitions here. */ +#define IEEE_MC68k +#define Arith_Kind_ASL 2 +#define Double_Align diff --git a/lib/libc/arch/hppa64/gdtoa/gd_qnan.h b/lib/libc/arch/hppa64/gdtoa/gd_qnan.h index cf004954182..7956000880b 100644 --- a/lib/libc/arch/hppa64/gdtoa/gd_qnan.h +++ b/lib/libc/arch/hppa64/gdtoa/gd_qnan.h @@ -1 +1,12 @@ -/* TODO: put the proper definitions here. */ +#define f_QNAN 0x7fa00000 +#define d_QNAN0 0x7ff40000 +#define d_QNAN1 0x0 +#define ld_QNAN0 0x7ff40000 +#define ld_QNAN1 0x0 +#define ld_QNAN2 0x0 +#define ld_QNAN3 0x0 +#define ldus_QNAN0 0x7ff4 +#define ldus_QNAN1 0x0 +#define ldus_QNAN2 0x0 +#define ldus_QNAN3 0x0 +#define ldus_QNAN4 0x0 |