This question already has an answer here:
- What exactly does `-rdynamic` do and when exactly is it needed? 2 answers
By default all symbols are exported to dynamic table, so why would we use -rdynamic
flag? Even if we hide some symbols via attributes/-fvisibility=hidden
- -rdynamic
doesn't change result, it doesn't unhide previously hidden symbols. So what's the point in it?