This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Mark _init/_fini with .hidden?


Hi all,

I noticed that any shared library linked with gcc inherits two
publicly visible symbols _init/_fini. My understanding is that this
isn't needed (loader learns their addresses from dedicated entries in
.dynamic section) and just unnecessarily clutters dynamic symtables.
Can this be fixed?

Best regards,
Yury Gribov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]