Support for #pragma redefine_external on Solaris

Jakub Jelinek jakub@redhat.com
Mon Nov 19 09:35:00 GMT 2001


On Wed, Nov 28, 2001 at 10:14:20PM -0800, Ian Lance Taylor wrote:
> The Solaris 2.7 system header files use a new pragma,
> redefine_external.  This pragma directs the compiler to use a
> different external name for a function, without changing internal
> names.

Why limit this to Solaris/SPARC only?
Shouldn't it be added just into generic frontend code?
Also, wouldn't a hashtable be more appropriate instead of linear search?

	Jakub



More information about the Gcc-patches mailing list