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. --- setjmp/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setjmp/Makefile') diff --git a/setjmp/Makefile b/setjmp/Makefile index e1ad33c..a121892 100644 --- a/setjmp/Makefile +++ b/setjmp/Makefile @@ -31,7 +31,10 @@ routines := setjmp sigjmp bsd-setjmp bsd-_setjmp \ tests := tst-setjmp jmpbug bug269-setjmp tst-setjmp-fp \ tst-sigsetjmp tst-setjmp-static tests-static := tst-setjmp-static +tests-internal := \ + tst-setjmp-check +gen-as-const-headers += jmp_buf-macros.sym include ../Rules -- cgit v1.1