Implement pragma redefine_extname

Zack Weinberg zack@codesourcery.com
Sat Nov 10 14:29:00 GMT 2001


On Sat, Nov 10, 2001 at 10:18:13PM +0100, Martin v. Loewis wrote:
> This patch fixes the problem reported in c/4850, for C and C++.
> #pragma redefine_extname is a SunPRO extension to rename library entry
> points depending on the API version selected. If it is not supported,
> the headers fall back to #defines, which may result in strange
> renamings, e.g. of methods.

Why doesn't this use the existing machinery for __attribute__ ((alias)),
which is effectively the same feature?

zw



More information about the Gcc-patches mailing list