summaryrefslogtreecommitdiffstats
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-06 22:47:10 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-06 22:47:10 +0000
commit5002c5a31a93d048121cfa9d9f122c7a06ac1dfe (patch)
treedb523a9c2eb31da79fab09076b3baae0c5e5b4a8 /ldso
parent77bd38db59de3418d6c1545010a4d40419ba02cd (diff)
downloaduClibc-alpine-5002c5a31a93d048121cfa9d9f122c7a06ac1dfe.tar.bz2
uClibc-alpine-5002c5a31a93d048121cfa9d9f122c7a06ac1dfe.tar.xz
setup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()
Diffstat (limited to 'ldso')
-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