[PATCH v9 0/3] riscv: Add remaining module relocations and tests

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Nov 8 07:10:23 PST 2023


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Wed, 01 Nov 2023 11:32:58 -0700 you wrote:
> A handful of module relocations were missing, this patch includes the
> remaining ones. I also wrote some test cases to ensure that module
> loading works properly. Some relocations cannot be supported in the
> kernel, these include the ones that rely on thread local storage and
> dynamic linking.
> 
> This patch also overhauls the implementation of ADD/SUB/SET/ULEB128
> relocations to handle overflow. "Overflow" is different for ULEB128
> since it is a variable-length encoding that the compiler can be expected
> to generate enough space for. Instead of overflowing, ULEB128 will
> expand into the next 8-bit segment of the location.
> 
> [...]

Here is the summary with links:
  - [v9,1/3] riscv: Avoid unaligned access when relocating modules
    https://git.kernel.org/riscv/c/8cbe0accc4a6
  - [v9,2/3] riscv: Add remaining module relocations
    https://git.kernel.org/riscv/c/8fd6c5142395
  - [v9,3/3] riscv: Add tests for riscv module loading
    https://git.kernel.org/riscv/c/af71bc194916

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list