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
This commit is contained in:
Jessica Clarke
2025-07-11 02:07:04 +01:00
parent 74b5dc9f3f
commit 02d06043ba
2 changed files with 0 additions and 14 deletions
-7
View File
@@ -36,13 +36,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.
-7
View File
@@ -40,13 +40,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)
{