From bc801b3a40f3a9bc8f24f1d0fdc39413874c3172 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 19 Nov 2021 11:06:00 -0300 Subject: setjmp: Replace jmp_buf-macros.h with jmp_buf-macros.sym It requires less boilerplate code for newer ports. The _Static_assert checks from internal setjmp are moved to its own internal test since setjmp.h is included early by multiple headers (to generate rtld-sizes.sym). The riscv jmp_buf-macros.h check is also redundant, it is already done by riscv configure.ac. Checked with a build for the affected architectures. --- sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h | 6 ------ sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h | 6 ------ 2 files changed, 12 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h delete mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h (limited to 'sysdeps/unix/sysv/linux/mips/mips64') diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h deleted file mode 100644 index ed0f1232de..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h +++ /dev/null @@ -1,6 +0,0 @@ -#define JMP_BUF_SIZE 288 -#define SIGJMP_BUF_SIZE 288 -#define JMP_BUF_ALIGN 8 -#define SIGJMP_BUF_ALIGN 8 -#define MASK_WAS_SAVED_OFFSET 152 -#define SAVED_MASK_OFFSET 156 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h deleted file mode 100644 index 38b5b0636a..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h +++ /dev/null @@ -1,6 +0,0 @@ -#define JMP_BUF_SIZE 304 -#define SIGJMP_BUF_SIZE 304 -#define JMP_BUF_ALIGN 8 -#define SIGJMP_BUF_ALIGN 8 -#define MASK_WAS_SAVED_OFFSET 168 -#define SAVED_MASK_OFFSET 176 -- cgit 1.4.1