diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-07-05 15:41:06 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-07-14 00:07:02 +0200 |
| commit | a0ce077c9fa91fb440e0d38cab33ec232a0375f8 (patch) | |
| tree | d03fa89402da5b55b7a42539917ce9a5fc422a26 /target-h8300.c | |
| parent | 7f4170c8d5dc20aa930f0195fd64aca79fe40a16 (diff) | |
| download | sparse-dev-a0ce077c9fa91fb440e0d38cab33ec232a0375f8.tar.gz | |
arch: allow target specific [u]intptr_t & ptrdiff_t
These types are aliased to size_t & ssize_t but this is not
correct for all architectures.
So, add a variable for them so that target files can adjust them.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'target-h8300.c')
| -rw-r--r-- | target-h8300.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-h8300.c b/target-h8300.c index 84d168b7..c3652350 100644 --- a/target-h8300.c +++ b/target-h8300.c @@ -5,6 +5,8 @@ static void init_h8300(const struct target *self) { + intptr_ctype = &int_ctype; + uintptr_ctype = &uint_ctype; ssize_t_ctype = &long_ctype; size_t_ctype = &ulong_ctype; wchar_ctype = &ushort_ctype; |
