summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-12-16 13:47:10 +0100
committerMattias Andrée <maandree@kth.se>2023-12-16 13:47:10 +0100
commit522948817bebc886ad236450745466975633e977 (patch)
treef53fc385c29be9b08d9c8f9c88a00ce9d1543de4 /common.h
parentAll kinds of stuff (diff)
downloadlibsyscalls-522948817bebc886ad236450745466975633e977.tar.gz
libsyscalls-522948817bebc886ad236450745466975633e977.tar.bz2
libsyscalls-522948817bebc886ad236450745466975633e977.tar.xz
Tell the user whether signals and errors are signed or unsigned
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common.h b/common.h
index 446f438..e2a5422 100644
--- a/common.h
+++ b/common.h
@@ -77,6 +77,7 @@ enum endian {
};
+/* Don't forget to update SUPPORTED_ARCHES in Makefile */
#define LIST_ARCH_SPECS(X, D) /* byte intptr size_t endian sign */\
X(LIBSYSCALLS_ARCH_ALPHA_LE, 8, 64, 64, Little, TWOS_COMPLEMENT) D\
X(LIBSYSCALLS_ARCH_ALPHA_BE, 8, 64, 64, Big, TWOS_COMPLEMENT) D\
@@ -123,8 +124,6 @@ enum endian {
X(LIBSYSCALLS_ARCH_I386, 8, 32, 32, Little, TWOS_COMPLEMENT) D\
X(LIBSYSCALLS_ARCH_XTENSA_LE, 8, 32, 32, Little, TWOS_COMPLEMENT) D\
X(LIBSYSCALLS_ARCH_XTENSA_BE, 8, 32, 32, Big, TWOS_COMPLEMENT)
- /* Don't forget to update SUPPORTED_ARCHES in Makefile */
- /* TODO (alignment) means that it is missing in libsyscalls_get_integer_alignment.c and must also be added thither */
#include "generated/oses.h"