aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-audit.c')
-rw-r--r--elf/dl-audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-audit.c b/elf/dl-audit.c
index 794bfd45cd..efc0492474 100644
--- a/elf/dl-audit.c
+++ b/elf/dl-audit.c
@@ -257,7 +257,8 @@ _dl_audit_symbind (struct link_map *l, struct reloc_result *reloc_result,
reloc_result->flags = flags;
}
- DL_FIXUP_BINDNOW_RELOC (value, new_value, sym.st_value);
+ if (flags & LA_SYMB_ALTVALUE)
+ DL_FIXUP_BINDNOW_RELOC (value, new_value, sym.st_value);
}
void