summaryrefslogtreecommitdiff
path: root/libexec/ld.so/arm/archdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/arm/archdep.h')
-rw-r--r--libexec/ld.so/arm/archdep.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/libexec/ld.so/arm/archdep.h b/libexec/ld.so/arm/archdep.h
index 6a87c902cfd..198bc7f8661 100644
--- a/libexec/ld.so/arm/archdep.h
+++ b/libexec/ld.so/arm/archdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: archdep.h,v 1.13 2017/10/27 16:47:08 mpi Exp $ */
+/* $OpenBSD: archdep.h,v 1.14 2021/11/14 22:07:38 guenther Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -30,19 +30,15 @@
#define _ARM_ARCHDEP_H_
#define RELOC_TAG DT_REL
-
-#define MACHID EM_ARM /* ELF e_machine ID value checked */
+#define MACHID EM_ARM /* ELF e_machine ID value checked */
#include <elf.h>
#include <machine/reloc.h>
#include "syscall.h"
#include "util.h"
-/*
- * The following functions are declared inline so they can
- * be used before bootstrap linking has been finished.
- */
+/* Only used in lib/csu/boot.h */
static inline void
RELOC_DYN(Elf_Rel *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v)
{
@@ -57,6 +53,4 @@ RELOC_DYN(Elf_Rel *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v)
}
}
-#define RELOC_GOT(obj, offs)
-
#endif /* _ARM_ARCHDEP_H_ */