floored.vgtest \
fork.stderr.exp fork.stdout.exp fork.vgtest \
fucomip.stderr.exp fucomip.vgtest \
- getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
gxx304.stderr.exp gxx304.vgtest \
manythreads.stdout.exp manythreads.stderr.exp manythreads.vgtest \
map_unaligned.stderr.exp map_unaligned.vgtest \
sha1_test.stderr.exp sha1_test.vgtest \
shortpush.stderr.exp shortpush.vgtest \
shorts.stderr.exp shorts.vgtest \
- sigcontext.stdout.exp sigcontext.stderr.exp sigcontext.vgtest \
sigstackgrowth.stdout.exp sigstackgrowth.stderr.exp sigstackgrowth.vgtest \
smc1.stderr.exp smc1.stdout.exp smc1.vgtest \
stackgrowth.stdout.exp stackgrowth.stderr.exp stackgrowth.vgtest \
check_PROGRAMS = \
args async-sigs bitfield1 blockfault closeall coolo_strlen \
discard exec-sigmask execve faultstatus fcntl_setown floored fork \
- fucomip getseg \
+ fucomip \
manythreads \
munmap_exe map_unaligned map_unmap mq mremap rcrl readline1 \
resolv rlimit_nofile selfrun sem semlimit sha1_test \
- shortpush shorts sigcontext \
+ shortpush shorts \
stackgrowth sigstackgrowth \
smc1 susphello pending pth_blockedsig pth_stackalign \
syscall-restart1 syscall-restart2 system \
floored_SOURCES = floored.c
floored_LDADD = -lm
fucomip_SOURCES = fucomip.c
-getseg_SOURCES = getseg.c
pending_SOURCES = pending.c
manythreads_SOURCES = manythreads.c
manythreads_LDADD = -lpthread
sha1_test_SOURCES = sha1_test.c
shortpush_SOURCES = shortpush.c
shorts_SOURCES = shorts.c
-sigcontext_SOURCES = sigcontext.c
sigstackgrowth_SOURCES = sigstackgrowth.c
susphello_SOURCES = susphello.c
susphello_LDADD = -lpthread
tls_so_SOURCES = tls_so.c
tls_so_LDADD = tls2.so
tls_so_DEPENDENCIES = tls2.so
-tls_so_LDFLAGS = -Wl,-rpath,$(top_builddir)/none/tests -shared
+tls_so_LDFLAGS = -Wl,-rpath,$(top_builddir)/none/tests -shared -fPIC
+tls_so_CFLAGS = -fPIC
tls2_so_SOURCES = tls2_so.c
tls2_so_LDFLAGS = -shared
yield_SOURCES = yield.c
cpuid.stderr.exp cpuid.stdout.exp cpuid.vgtest \
fpu_lazy_eflags.stderr.exp fpu_lazy_eflags.stdout.exp \
fpu_lazy_eflags.vgtest \
+ getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
int.stderr.exp int.stdout.exp int.vgtest \
$(addsuffix .stderr.exp,$(INSN_TESTS)) \
$(addsuffix .stdout.exp,$(INSN_TESTS)) \
$(addsuffix .vgtest,$(INSN_TESTS)) \
pushpopseg.stderr.exp pushpopseg.stdout.exp pushpopseg.vgtest \
- seg_override.stderr.exp seg_override.stdout.exp seg_override.vgtest
+ seg_override.stderr.exp seg_override.stdout.exp seg_override.vgtest \
+ sigcontext.stdout.exp sigcontext.stderr.exp sigcontext.vgtest
check_PROGRAMS = \
badseg bt_everything bt_literal cpuid fpu_lazy_eflags \
- $(INSN_TESTS) \
- int pushpopseg seg_override
+ getseg $(INSN_TESTS) \
+ int pushpopseg seg_override sigcontext
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -I$(top_srcdir)/include
AM_CXXFLAGS = $(AM_CFLAGS)
bt_literal_SOURCES = bt_literal.c
cpuid_SOURCES = cpuid_c.c cpuid_s.s
fpu_lazy_eflags_SOURCES = fpu_lazy_eflags.c
+getseg_SOURCES = getseg.c
insn_basic_SOURCES = insn_basic.def
insn_basic_LDADD = -lm
insn_fpu_SOURCES = insn_fpu.def
int_SOURCES = int.c
pushpopseg_SOURCES = pushpopseg.c
seg_override_SOURCES = seg_override.c
+sigcontext_SOURCES = sigcontext.c
.def.c: $(srcdir)/gen_insn_test.pl
$(PERL) $(srcdir)/gen_insn_test.pl < $< > $@