diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-16 12:40:10 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-16 12:40:10 +0100 |
commit | 683f205402a99cfc8cea46c83ce9b46a42616d42 (patch) | |
tree | f6ee1619454a6ec8b9e31770bbbc2abf36aae2fd /linux/types.c | |
parent | Improve portability (diff) | |
download | libsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.gz libsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.bz2 libsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.xz |
All kinds of stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | linux/types.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/types.c b/linux/types.c index 66bb276..83f2bd1 100644 --- a/linux/types.c +++ b/linux/types.c @@ -3,9 +3,7 @@ /* This file is included from ../libsyscalls_get_datatype_description.c */ -/* If new architectures are added, the table at the top of - * ../libsyscalls_get_datatype_description.c must be updated */ - +/* If new architectures are added, LIST_ARCH_SPECS in ../common.h must be updated */ static enum libsyscalls_error get_linux_datatype_description(enum libsyscalls_arch arch, enum libsyscalls_datatype *datatype, @@ -17,7 +15,7 @@ get_linux_datatype_description(enum libsyscalls_arch arch, enum libsyscalls_data * and long long int as 64 bit (it's code even make such assumptions), * however that's is not necessarily the case for more exotic * architectures, for example, some specialised processors have 16 bit - * chars and run Linux (although not mainline). Linux also used + * chars and run Linux (although not mainline). Linux also uses * long int for addresses (intptr_t), which is normally how it should * be done but Windows always set long int to 32 bit (at least on x86/amd64) * for backwards compatibility, and of course it cannot be assumed that |