This is the mail archive of the gcc@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]

Exposing a relocatable functions when using a version script


Hi,

I’m compiling a C based shared library using a version script (so that only
the interface functions will be visible). In this case the compiler hides
also the relocatable functions (for example the exception handling functions
like register_frame). Call to register_frame becomes relative instead of via
the relocation table.
How can I expose only the functions in the version script and the
relocatable functions, and hide the rest? I’ve tried using the –u and
–retain-symbols-file flags with no help.

Please CC me on the answer since I’m not part of the mailing list.

Thanks,
	Amit

		


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