[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] unresolved symbol _GLOBAL_OFFSET_TABLE
I am not sure why you are trying to load this as a module. Apparently modules
must be position independent (-fpic|PIC), which does make sense.
There are two approaches that I could suggest.
1. Create a SYSV "static" shared module. This is a shared module must be
linked to the same location in all address spaces.
2. Create the data area as shared memory (SYSV IPC). Then the text and
private data areas could be position independent and loaded as a module. The
sticky part will be reserving the global data area in all collaborating
processes. This could probably be done with a linker script.
If there are not any "gotchas" in my suggestions you are almost there. Just
recompile and link with the shared and pic flags.
Hope this helps.
David Ross
davidr@toadtech.com
Toad Technologies
"I'll be good! I will, I will !"
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/