riscv: Add tests for riscv module loading

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>
This commit is contained in:
Charlie Jenkins 2023-11-01 11:33:01 -07:00 • committed by Palmer Dabbelt
commit af71bc1949
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
16 changed files with 366 additions and 0 deletions