mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 00:34:52 +00:00

Add test cases for the two main groups of relocations added: SUB and SET, along with uleb128. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20231101-module_relocations-v9-3-8dfa3483c400@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
15 lines
392 B
Makefile
15 lines
392 B
Makefile
obj-m += test_module_linking.o
|
|
|
|
test_sub := test_sub6.o test_sub8.o test_sub16.o test_sub32.o test_sub64.o
|
|
|
|
test_set := test_set6.o test_set8.o test_set16.o test_set32.o
|
|
|
|
test_module_linking-objs += $(test_sub)
|
|
|
|
test_module_linking-objs += $(test_set)
|
|
|
|
ifeq ($(CONFIG_AS_HAS_ULEB128),y)
|
|
test_module_linking-objs += test_uleb128.o
|
|
endif
|
|
|
|
test_module_linking-objs += test_module_linking_main.o
|