mirror of
https://github.com/openbsd/src.git
synced 2024-12-21 23:18:00 -08:00
On i386 long double is 80bit expanded to 96bits or 12 bytes. This is the
size that the ctftools ctfconvert uses and I think we should do as well. Fixes regress/usr.bin/ctfdump on i386. OK miod@
This commit is contained in:
parent
0fc5fa38df
commit
69f10b8ad3
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: generate.c,v 1.7 2024/02/27 06:58:19 anton Exp $ */
|
||||
/* $OpenBSD: generate.c,v 1.8 2024/10/02 12:31:33 claudio Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2017 Martin Pieuchot
|
||||
@ -208,6 +208,8 @@ imcs_add_type(struct imcs *imcs, struct itype *it)
|
||||
ctt.ctt_size = 4;
|
||||
else if (size <= 64)
|
||||
ctt.ctt_size = 8;
|
||||
else if (size <= 96)
|
||||
ctt.ctt_size = 12;
|
||||
else
|
||||
ctt.ctt_size = 16;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user