about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/m68k
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-19 11:06:00 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-22 13:43:22 -0300
commitbc801b3a40f3a9bc8f24f1d0fdc39413874c3172 (patch)
tree51db36755fec65ea7aa958bfd2799f3136033c89 /sysdeps/unix/sysv/linux/m68k
parent5c3ece451d46a7d8721311609bfcb6faafacb39e (diff)
downloadglibc-bc801b3a40f3a9bc8f24f1d0fdc39413874c3172.tar.gz
glibc-bc801b3a40f3a9bc8f24f1d0fdc39413874c3172.tar.xz
glibc-bc801b3a40f3a9bc8f24f1d0fdc39413874c3172.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h6
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h6
-rw-r--r--sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h6
3 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h
deleted file mode 100644
index 9b25281277..0000000000
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#define JMP_BUF_SIZE 256
-#define SIGJMP_BUF_SIZE 256
-#define JMP_BUF_ALIGN 2
-#define SIGJMP_BUF_ALIGN 2
-#define MASK_WAS_SAVED_OFFSET 124
-#define SAVED_MASK_OFFSET 128
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h
deleted file mode 100644
index 24fa289e64..0000000000
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#define JMP_BUF_SIZE 192
-#define SIGJMP_BUF_SIZE 192
-#define JMP_BUF_ALIGN 2
-#define SIGJMP_BUF_ALIGN 2
-#define MASK_WAS_SAVED_OFFSET 60
-#define SAVED_MASK_OFFSET 64
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h b/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h
deleted file mode 100644
index 2f62ecb4b3..0000000000
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#define JMP_BUF_SIZE 288
-#define SIGJMP_BUF_SIZE 288
-#define JMP_BUF_ALIGN 2
-#define SIGJMP_BUF_ALIGN 2
-#define MASK_WAS_SAVED_OFFSET 156
-#define SAVED_MASK_OFFSET 160