On Wed, Nov 29, 2000 at 05:24:40PM -0700, Gordon McNutt wrote:
> __start_rtlinux_funcs is, apparently, some kind of implicit macro which

It's a ELF section symbol not a macro. 

> references the beginning of the "rtlinux_funcs" section. This section is
> established by the RTLINUX_EXPORT macro used in rtlinux.c. By doing an
> EXPORT_SYMBOL on it, the patch makes it available for the rtl module to
> grab ahold of the rtlinux_funcs section (and all the variable pointers
> stashed there by the RTLINUX_EXPORT macro calls).
> 
> Obvious.

Not so obvious to me anywahy, I really had to study what Linus did for the mm
fixup to figure it out. Obvious once you get it. Good analysis.

> Not sure why they don't just EXPORT_SYMBOL the symbols placed in
> rtlinux_funcs. Perhaps if I stare at it some more the reason will appear.

No deep reason other than modularity: we want to keep the rtl symbols 
out of the soup of Linux symbols and we sure don't want random modules
latching on to those.

> 
> --Gordon
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to