about summary refs log tree commit diff
path: root/setjmp/Makefile
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 /setjmp/Makefile
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 'setjmp/Makefile')
-rw-r--r--setjmp/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/setjmp/Makefile b/setjmp/Makefile
index e1ad33c92d..a121892851 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