Commit graph

3 commits

Author SHA1 Message Date
billow
7a77b8f7bd
linter: update clang-format installation to version 20 (#5451)
* fix: format with clang-format-20
* fix: fix clang-format linter with rewrite '^#define.*/\*.*\\$'
* fix: update clang-format to version 20 in workflows and documentation
* fix: add SPDX license information to .git-blame-ignore-revs
2025-10-12 08:02:03 +08:00
Rot127
9c0fe61dac Implement Sparc relocation patching and conversion. 2025-08-25 23:05:58 +08:00
Giovanni
ca70341f2b
Refactor and improvements on ELF relocations (#5187)
* Move ARM32 reloc patching into a function

* Move ARM64 reloc patching into a function

* Move PPC64 reloc patching into a function

* Add missing NONE relocs for various archs

* Move Intel 80386 reloc patching into a function

* Move amd64 reloc patching into a function

* Move rx reloc patching into a function

* Move alpha reloc patching into a function

* Handle reloc RZ_X86_64_COPY for amd64

* Move intel 80386 reloc convert into a function

* Move amd64 reloc convert into a function

* Move arm reloc convert into a function

* Move riscv reloc convert into a function

* Move aarch64 reloc convert into a function

* Move ppc reloc convert into a function

* Move mips reloc convert into a function

* Move rx reloc convert into a function

* Move alpha reloc convert into a function

* Move hexagon reloc convert into a function

* Fix wrong rename on ELF format

* Handle reloc R_MIPS_HI16 & R_MIPS_LO16

* Minimal handling of micromips relocs

* Add nanomips initial support for reloc convert

* Minimal handling of intel 80386 missing relocs

* Minimal handling of amd64 missing relocs

* Minimal handling of arm missing relocs

* Minimal handling of riscv missing relocs

* Minimal handling of aarch64 missing relocs

* Minimal handling of ppc missing relocs

* Minimal handling of ppc64 relocs

* Split reloc patching & conv from bin_elf.inc

* Split aarch64 from arm32 in elf_imports.c
2025-06-08 17:46:45 +08:00