symbol = $NF;
gsub(/[()]/, "", version);
+ # binutils versions up through at least 2.23 have some bugs that
+ # caused STV_HIDDEN symbols to appear in .dynsym, though that is useless.
+ if (NF > 7 && $7 == ".hidden") next;
+
if (version == "GLIBC_PRIVATE") next;
desc = "";
type = "F";
size = "";
}
- else if (type == "iD" && $4 == ".text") {
+ else if (type == "iD" && ($4 == ".text" || $4 == ".opd")) {
# Indirect functions.
type = "F";
size = "";