1# $OpenBSD: Makefile.inc,v 1.9 2022/11/25 14:56:56 visa Exp $ 2 3# no jump tables in _dl_boot_bind() 4CFLAGS += -fno-jump-tables 5LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script 6 7CHECK_LDSO=c() { \ 8 ! readelf -Wr $$1 | \ 9 egrep -qv '^($$|[ R])| 0+(1203)? R_MIPS_(NONE|REL32) '; \ 10 ! readelf -Ws $$1 | \ 11 egrep -qv '^($$|S| *N| *[0-9]+:.*(LOCAL|GLOBAL +DEFAULT +[0-9]+ ))'; \ 12 }; c 13 14