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:
@@ -36,13 +36,6 @@
|
|||||||
#include "rtld.h"
|
#include "rtld.h"
|
||||||
#include "rtld_printf.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
|
* This is not the correct prototype, but we only need it for
|
||||||
* a function pointer to a simple asm function.
|
* a function pointer to a simple asm function.
|
||||||
|
|||||||
@@ -40,13 +40,6 @@
|
|||||||
#include "rtld.h"
|
#include "rtld.h"
|
||||||
#include "rtld_printf.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
|
uint64_t
|
||||||
set_gp(Obj_Entry *obj)
|
set_gp(Obj_Entry *obj)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user