Olaf,

We need some time to study all your suggestions and our problem.

> > We also tried -O2 and a reference to "__module_kernel_version" in our code,
> Do I misunderstand you ? Why do you refer to this symbol. It's build/imported
> by module.h and used by kernel module loader. Imo there is no other use on it.
By referring to it, we had hoped that the compiler would not optimise it away. 
But using -O0 for a small module would be a good solution. It would be nice
to have a standard module for all the C++ goodies. Perhaps a special version of
crtbegin.o could made. What is the function of crtbegin and crtend anyway, or
where can I find information about them?

Do you have the intention to deal with the eh problem for C++ in RTLinux?
In an assembly listing I found quite a number of support functions to
implement (__register_exceptions, __find_first_exception_table_match,
__unwind_function and terminate__Fv) I was surprised by the "EXCEPTION_TABLE",
I would have expected extra link/chain in the stack for eh. 

Greetings, Willem Wardenaar
Philips, CFT, E&T, MCT
SAQ-p342; P.O. Box 218 
5600 MD  Eindhoven
Tel. (+31 40 27)35607
-- [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