summaryrefslogtreecommitdiff
path: root/ldso/include/dl-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/include/dl-elf.h')
-rw-r--r--ldso/include/dl-elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index a5651b45a..6ecdfddfb 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -43,6 +43,7 @@ extern void _dl_protect_relro (struct elf_resolve *l);
# define ELF_ST_BIND(val) ELF64_ST_TYPE(val)
# define ELF_ST_TYPE(val) ELF64_ST_TYPE(val)
# define ELF_R_SYM(i) ELF64_R_SYM(i)
+# define ELF_R_TYPE(i) ELF64_R_TYPE(i)
# ifndef ELF_CLASS
# define ELF_CLASS ELFCLASS64
# endif
@@ -50,6 +51,7 @@ extern void _dl_protect_relro (struct elf_resolve *l);
# define ELF_ST_BIND(val) ELF32_ST_TYPE(val)
# define ELF_ST_TYPE(val) ELF32_ST_TYPE(val)
# define ELF_R_SYM(i) ELF32_R_SYM(i)
+# define ELF_R_TYPE(i) ELF32_R_TYPE(i)
# ifndef ELF_CLASS
# define ELF_CLASS ELFCLASS32
# endif