Re: [OLPC-devel] Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine

Arnd Bergmann
2006-08-24T17:15:51Z

On Thursday 24 August 2006 18:48, Jan Engelhardt wrote:
> If visibility supports had been in GCC a long time ago, I am sure we would
> not need EXPORT_SYMBOL today, or rather, would do it by use of
> __attribute__() rather than a macro that ksymtabs it. Or am I possibly
> misunderstanding something?
>
It's probably true, but the way it's done today gave us CONFIG_MODVERSIONS
and EXPORT_SYMBOL_GPL, which would break when turning EXPORT_SYMBOL into a
simple __attribute__().