aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/elf_generic.h
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
commit0eb88f20298d056bf09b52ec2d84d3662b8fd152 (patch)
tree0d48e9fa3e1a8d20651242fc849efd6ba9f69557 /sys/sys/elf_generic.h
parent9d51867579ac97c7da8600ce09faf79a6dad5ca6 (diff)
downloadsrc-0eb88f20298d056bf09b52ec2d84d3662b8fd152.tar.gz
src-0eb88f20298d056bf09b52ec2d84d3662b8fd152.zip
Implement ELF symbol versioning using GNU semantics. This code aims
to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol.
Notes
Notes: svn path=/head/; revision=153515
Diffstat (limited to 'sys/sys/elf_generic.h')
-rw-r--r--sys/sys/elf_generic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/elf_generic.h b/sys/sys/elf_generic.h
index c1e5a6639617..ff1b6f7346b0 100644
--- a/sys/sys/elf_generic.h
+++ b/sys/sys/elf_generic.h
@@ -67,6 +67,11 @@ __ElfType(Dyn);
__ElfType(Rel);
__ElfType(Rela);
__ElfType(Sym);
+__ElfType(Verdef);
+__ElfType(Verdaux);
+__ElfType(Verneed);
+__ElfType(Vernaux);
+__ElfType(Versym);
/* Non-standard ELF types. */
__ElfType(Hashelt);