This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ideal visibility setting?
- From: Ian Lance Taylor <iant at google dot com>
- To: Jay K <jay dot krell at cornell dot edu>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 May 2010 07:43:06 -0700
- Subject: Re: ideal visibility setting?
- References: <COL101-W344EE195B47CD460131EC9E6E00@phx.gbl>
Jay K <jay.krell@cornell.edu> writes:
> What I would like is..basically the NT model, but without __declspec(dllimport)
> ÂÂÂ which is "just" an optimization for functions, but, granted,
> ÂÂÂ more than that for data.
> Â I promise not to import/export data.
> Â I want all symbols, for codegen purposes, to be default assumed to be
> ÂÂÂ neither exported nor imported. I want to reference functions directly.
> ÂÂÂ No GOT or PLT references in the "main" code.
> ÂÂÂ No "interposition".
See the -fvisibility-ms-compat option.
Ian