diff options
Diffstat (limited to 'arch/x32')
| -rw-r--r-- | arch/x32/bits/stdint.h | 20 | ||||
| -rw-r--r-- | arch/x32/bits/syscall.h.in | 21 | ||||
| -rw-r--r-- | arch/x32/crt_arch.h | 1 |
3 files changed, 22 insertions, 20 deletions
diff --git a/arch/x32/bits/stdint.h b/arch/x32/bits/stdint.h deleted file mode 100644 index d1b27121..00000000 --- a/arch/x32/bits/stdint.h +++ /dev/null @@ -1,20 +0,0 @@ -typedef int32_t int_fast16_t; -typedef int32_t int_fast32_t; -typedef uint32_t uint_fast16_t; -typedef uint32_t uint_fast32_t; - -#define INT_FAST16_MIN INT32_MIN -#define INT_FAST32_MIN INT32_MIN - -#define INT_FAST16_MAX INT32_MAX -#define INT_FAST32_MAX INT32_MAX - -#define UINT_FAST16_MAX UINT32_MAX -#define UINT_FAST32_MAX UINT32_MAX - -#define INTPTR_MIN INT32_MIN -#define INTPTR_MAX INT32_MAX -#define UINTPTR_MAX UINT32_MAX -#define PTRDIFF_MIN INT32_MIN -#define PTRDIFF_MAX INT32_MAX -#define SIZE_MAX UINT32_MAX diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index 1d065eea..7912034b 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -286,6 +286,8 @@ #define __NR_statx (0x40000000 + 332) #define __NR_io_pgetevents (0x40000000 + 333) #define __NR_rseq (0x40000000 + 334) +#define __NR_uretprobe (0x40000000 + 335) +#define __NR_uprobe (0x40000000 + 336) #define __NR_pidfd_send_signal (0x40000000 + 424) #define __NR_io_uring_setup (0x40000000 + 425) #define __NR_io_uring_enter (0x40000000 + 426) @@ -305,6 +307,7 @@ #define __NR_process_madvise (0x40000000 + 440) #define __NR_epoll_pwait2 (0x40000000 + 441) #define __NR_mount_setattr (0x40000000 + 442) +#define __NR_quotactl_fd (0x40000000 + 443) #define __NR_landlock_create_ruleset (0x40000000 + 444) #define __NR_landlock_add_rule (0x40000000 + 445) #define __NR_landlock_restrict_self (0x40000000 + 446) @@ -314,6 +317,24 @@ #define __NR_set_mempolicy_home_node (0x40000000 + 450) #define __NR_cachestat (0x40000000 + 451) #define __NR_fchmodat2 (0x40000000 + 452) +#define __NR_map_shadow_stack (0x40000000 + 453) +#define __NR_futex_wake (0x40000000 + 454) +#define __NR_futex_wait (0x40000000 + 455) +#define __NR_futex_requeue (0x40000000 + 456) +#define __NR_statmount (0x40000000 + 457) +#define __NR_listmount (0x40000000 + 458) +#define __NR_lsm_get_self_attr (0x40000000 + 459) +#define __NR_lsm_set_self_attr (0x40000000 + 460) +#define __NR_lsm_list_modules (0x40000000 + 461) +#define __NR_mseal (0x40000000 + 462) +#define __NR_setxattrat (0x40000000 + 463) +#define __NR_getxattrat (0x40000000 + 464) +#define __NR_listxattrat (0x40000000 + 465) +#define __NR_removexattrat (0x40000000 + 466) +#define __NR_open_tree_attr (0x40000000 + 467) +#define __NR_file_getattr (0x40000000 + 468) +#define __NR_file_setattr (0x40000000 + 469) +#define __NR_listns (0x40000000 + 470) #define __NR_rt_sigaction (0x40000000 + 512) diff --git a/arch/x32/crt_arch.h b/arch/x32/crt_arch.h index 3eec61bd..b1c9c476 100644 --- a/arch/x32/crt_arch.h +++ b/arch/x32/crt_arch.h @@ -1,6 +1,7 @@ __asm__( ".text \n" ".global " START " \n" +".type " START ",%function \n" START ": \n" " xor %rbp,%rbp \n" " mov %rsp,%rdi \n" |
