tests/arm64: Run high_addr tests using picolibc
Picolibc enables TLS, which causes relocation errors with some of these
tests without changing the compiler code model.
Signed-off-by: Keith Packard <keithp@keithp.com>
diff --git a/tests/arch/arm64/arm64_high_addresses/testcase.yaml b/tests/arch/arm64/arm64_high_addresses/testcase.yaml
index 49c9b73..60754fc 100644
--- a/tests/arch/arm64/arm64_high_addresses/testcase.yaml
+++ b/tests/arch/arm64/arm64_high_addresses/testcase.yaml
@@ -23,3 +23,31 @@
extra_configs:
- CONFIG_SRAM_BASE_ADDRESS=0x200880000
- CONFIG_KERNEL_VM_BASE=0x200800000
+
+ arch.arm64.high_addr.high_sram_low_vm.picolibc:
+ tags: picolibc
+ extra_configs:
+ - CONFIG_SRAM_BASE_ADDRESS=0x200880000
+ - CONFIG_KERNEL_VM_BASE=0x00400000
+ - CONFIG_PICOLIBC=y
+
+ arch.arm64.high_addr.low_sram_high_vm.picolibc:
+ tags: picolibc
+ extra_configs:
+ - CONFIG_SRAM_BASE_ADDRESS=0x00400000
+ - CONFIG_KERNEL_VM_BASE=0x200880000
+ - CONFIG_PICOLIBC=y
+
+ arch.arm64.high_addr.high_sram_equal_vm.picolibc:
+ tags: picolibc
+ extra_configs:
+ - CONFIG_SRAM_BASE_ADDRESS=0x200880000
+ - CONFIG_KERNEL_VM_BASE=0x200880000
+ - CONFIG_PICOLIBC=y
+
+ arch.arm64.high_addr.high_sram_high_vm.picolibc:
+ tags: picolibc
+ extra_configs:
+ - CONFIG_SRAM_BASE_ADDRESS=0x200880000
+ - CONFIG_KERNEL_VM_BASE=0x200800000
+ - CONFIG_PICOLIBC=y