aboutsummaryrefslogtreecommitdiff
path: root/gold/target-reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/target-reloc.h')
-rw-r--r--gold/target-reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/target-reloc.h b/gold/target-reloc.h
index 34c13e8..23866e3 100644
--- a/gold/target-reloc.h
+++ b/gold/target-reloc.h
@@ -341,7 +341,7 @@ relocate_section(
}
if (sym != NULL
- && sym->is_undefined()
+ && (sym->is_undefined() || sym->is_placeholder())
&& sym->binding() != elfcpp::STB_WEAK
&& !is_defined_in_discarded_section
&& !target->is_defined_by_abi(sym)