We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e3a21 commit b659abeCopy full SHA for b659abe
libc/src/__support/OSUtil/linux/vdso.cpp
@@ -57,7 +57,9 @@ struct Verdef {
57
// https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symversion.html#SYMVERTBL
58
cpp::string_view find_version(Verdef *verdef, ElfW(Half) * versym,
59
const char *strtab, size_t idx) {
60
+#ifndef VER_FLG_BASE
61
constexpr ElfW(Half) VER_FLG_BASE = 0x1;
62
+#endif
63
if (!versym)
64
return "";
65
ElfW(Half) identifier = versym[idx] & 0x7FFF;
0 commit comments