blob: 0995adb37fe4af598125da7165bbed89055574d4 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include "link.h"
2#include <stddef.h>
3
4--
5LONG_DOUBLE_SIZE sizeof (long double)
6
7LR_SIZE sizeof (struct La_i86_regs)
8LR_EDX_OFFSET offsetof (struct La_i86_regs, lr_edx)
9LR_ECX_OFFSET offsetof (struct La_i86_regs, lr_ecx)
10LR_EAX_OFFSET offsetof (struct La_i86_regs, lr_eax)
11LR_EBP_OFFSET offsetof (struct La_i86_regs, lr_ebp)
12LR_ESP_OFFSET offsetof (struct La_i86_regs, lr_esp)
13
14LRV_SIZE sizeof (struct La_i86_retval)
15LRV_EAX_OFFSET offsetof (struct La_i86_retval, lrv_eax)
16LRV_EDX_OFFSET offsetof (struct La_i86_retval, lrv_edx)
17LRV_ST0_OFFSET offsetof (struct La_i86_retval, lrv_st0)
18LRV_ST1_OFFSET offsetof (struct La_i86_retval, lrv_st1)
19LRV_BND0_OFFSET offsetof (struct La_i86_retval, lrv_bnd0)
20LRV_BND1_OFFSET offsetof (struct La_i86_retval, lrv_bnd1)