mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
a3c0105058
Currently these tests won't build with a `--enable-default-pie` compiler as they require r30 to be clobbered. This gives an error: ptrace-tm-spd-gpr.c:41:2: error: PIC register clobbered by 'r30' in 'asm' This forces these tests to be built no-pie. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
15 lines
394 B
Makefile
15 lines
394 B
Makefile
TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
|
|
ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
|
|
ptrace-tm-spd-vsx ptrace-tm-spr
|
|
|
|
include ../../lib.mk
|
|
|
|
all: $(TEST_PROGS)
|
|
|
|
CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
|
|
|
|
$(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
|
|
|
|
clean:
|
|
rm -f $(TEST_PROGS) *.o
|