提交 396ab6ab 编写于 作者: C Christophe Leroy 提交者: Michael Ellerman

selftests/powerpc: Update strlen() test to test the new assembly function for PPC32

This patch adds a test for testing the new assembly strlen() for PPC32
Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
[mpe: Fix 64-bit build]
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 9412b234
......@@ -20,6 +20,13 @@ endif
$(OUTPUT)/strlen: strlen.c string.c
ifeq ($(build_32bit),1)
$(OUTPUT)/strlen_32: strlen.c
$(OUTPUT)/strlen_32: CFLAGS += -m32
TEST_GEN_PROGS += strlen_32
endif
ASFLAGS = $(CFLAGS)
include ../../lib.mk
......
../../../../../arch/powerpc/lib/strlen_32.S
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册