aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 8014e7a..5ffc844 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3811,6 +3811,8 @@ lang_merge_ctf (void)
flags = CTF_LINK_SHARE_DUPLICATED;
if (!config.ctf_variables)
flags |= CTF_LINK_OMIT_VARIABLES_SECTION;
+ if (bfd_link_relocatable (&link_info))
+ flags |= CTF_LINK_NO_FILTER_REPORTED_SYMS;
if (ctf_link (ctf_output, flags) < 0)
{