mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-22 11:23:27 +08:00
bsd update
Fix crtbegin/crtend Use dlsym on all bsd targets Check .eh_frame on all bsd targets Disable test3 on FreeBSD and NetBSD and use test1 instead because dlsym not working (WIP) Disable dlltest and 113_btdll on NetBSD because text relocations are not allowed Disable 115_bound_setjmp on NetBSD because longjmp is renamed into __longjmp14
This commit is contained in:
@@ -64,6 +64,17 @@ endif
|
||||
ifeq ($(TARGETOS),OpenBSD)
|
||||
dlltest: CFLAGS+=-fno-stack-protector
|
||||
endif
|
||||
ifeq ($(TARGETOS),FreeBSD)
|
||||
# test3 has dlsym problems
|
||||
TESTS := $(filter-out test3,$(TESTS))
|
||||
TESTS += test1
|
||||
endif
|
||||
ifeq ($(TARGETOS),NetBSD)
|
||||
# test3 has dlsym problems
|
||||
# dlltest does not allow text relocations
|
||||
TESTS := $(filter-out test3 dlltest,$(TESTS))
|
||||
TESTS += test1
|
||||
endif
|
||||
|
||||
RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS)
|
||||
DISAS = objdump -d
|
||||
|
||||
Reference in New Issue
Block a user