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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/target-reloc.h b/gold/target-reloc.h
index 23866e3..769d322 100644
--- a/gold/target-reloc.h
+++ b/gold/target-reloc.h
@@ -284,6 +284,10 @@ relocate_section(
else
symval.set_no_output_symtab_entry();
symval.set_output_value(sym->value());
+ if (gsym->type() == elfcpp::STT_TLS)
+ symval.set_is_tls_symbol();
+ else if (gsym->type() == elfcpp::STT_GNU_IFUNC)
+ symval.set_is_ifunc_symbol();
psymval = &symval;
is_defined_in_discarded_section =