Date: Mon, 15 Dec 2025 17:00:35 +0000 Message-ID: <69403eb3.d377.18c10398@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=362eb7d340140ba02724e275d8d5ff2e2dcdaf90 commit 362eb7d340140ba02724e275d8d5ff2e2dcdaf90 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2025-07-11 01:07:04 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2025-12-15 16:58:45 +0000 rtld-elf: Delete unused RELOC_ALIGNED_P copies This was copied from arm to aarch64 to riscv, but only arm uses it. MFC after: 1 week (cherry picked from commit 02d06043ba88f931f9debd5aa519fc303ca70d11) --- libexec/rtld-elf/aarch64/reloc.c | 7 ------- libexec/rtld-elf/riscv/reloc.c | 7 ------- 2 files changed, 14 deletions(-) diff --git a/libexec/rtld-elf/aarch64/reloc.c b/libexec/rtld-elf/aarch64/reloc.c index c65b5dd431a0..b5f550e8bb71 100644 --- a/libexec/rtld-elf/aarch64/reloc.c +++ b/libexec/rtld-elf/aarch64/reloc.c @@ -35,13 +35,6 @@ #include "rtld.h" #include "rtld_printf.h" -/* - * It is possible for the compiler to emit relocations for unaligned data. - * We handle this situation with these inlines. - */ -#define RELOC_ALIGNED_P(x) \ - (((uintptr_t)(x) & (sizeof(void *) - 1)) == 0) - /* * This is not the correct prototype, but we only need it for * a function pointer to a simple asm function. diff --git a/libexec/rtld-elf/riscv/reloc.c b/libexec/rtld-elf/riscv/reloc.c index 03d3c2d0c9ba..5542295f8811 100644 --- a/libexec/rtld-elf/riscv/reloc.c +++ b/libexec/rtld-elf/riscv/reloc.c @@ -41,13 +41,6 @@ #include "rtld.h" #include "rtld_printf.h" -/* - * It is possible for the compiler to emit relocations for unaligned data. - * We handle this situation with these inlines. - */ -#define RELOC_ALIGNED_P(x) \ - (((uintptr_t)(x) & (sizeof(void *) - 1)) == 0) - uint64_t set_gp(Obj_Entry *obj) {help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69403eb3.d377.18c10398>
