diff options
Diffstat (limited to 'libexec/ld.so/amd64/archdep.h')
-rw-r--r-- | libexec/ld.so/amd64/archdep.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libexec/ld.so/amd64/archdep.h b/libexec/ld.so/amd64/archdep.h index 17713fecf26..c3bf017be7b 100644 --- a/libexec/ld.so/amd64/archdep.h +++ b/libexec/ld.so/amd64/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.13 2019/10/23 19:55:09 guenther Exp $ */ +/* $OpenBSD: archdep.h,v 1.14 2021/11/14 22:07:38 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -30,8 +30,7 @@ #define _X86_64_ARCHDEP_H_ #define RELOC_TAG DT_RELA - -#define MACHID EM_AMD64 /* ELF e_machine ID value checked */ +#define MACHID EM_AMD64 /* ELF e_machine ID value checked */ #include <elf.h> #include <machine/reloc.h> @@ -39,6 +38,7 @@ #include "util.h" +/* Only used in lib/csu/boot.h */ static inline void RELOC_DYN(Elf_RelA *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v) { @@ -53,6 +53,4 @@ RELOC_DYN(Elf_RelA *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v) } } -#define RELOC_GOT(obj, offs) - #endif /* _X86_64_ARCHDEP_H_ */ |