diff options
author | kib <kib@FreeBSD.org> | 2016-11-23 09:25:51 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-11-23 09:25:51 +0000 |
commit | a52231cd70e92e8870126afdd5014759f6a2dc0a (patch) | |
tree | faacad3b3c0d5f6d69c56950a84781b1f7cc59c8 /libexec/rtld-elf/rtld.h | |
parent | f868ec0125dea0fb67f9030f66a171ed2d864860 (diff) | |
download | FreeBSD-src-a52231cd70e92e8870126afdd5014759f6a2dc0a.zip FreeBSD-src-a52231cd70e92e8870126afdd5014759f6a2dc0a.tar.gz |
MFC r308689:
Pass CPUID[1] %edx (cpu_feature), %ecx (cpu_feature2) and
CPUID[7].%ebx (cpu_stdext_feature), %ecx (cpu_stdext_feature2) to the
ifunc resolvers on x86.
MFC r308925:
Adjust r308689 to make rtld compilable with either in-tree or
(hopefully) stock gcc 4.2.1 on i386 and other arches.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 8b7024b..afdf83a 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -367,6 +367,7 @@ void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long); unsigned long elf_hash(const char *); const Elf_Sym *find_symdef(unsigned long, const Obj_Entry *, const Obj_Entry **, int, SymCache *, struct Struct_RtldLockState *); +void ifunc_init(Elf_Auxinfo[__min_size(AT_COUNT)]); void init_pltgot(Obj_Entry *); void lockdflt_init(void); void digest_notes(Obj_Entry *, Elf_Addr, Elf_Addr); |