What else do I need? Do I have to relocate other sections as well?
Currently my code (which compiles just fine, .MAP tells me that addresses
are relocated
also) seems to be good, but the code does not want to execute (I mean I
don't even get
to the very first byte of my code in main()).
Could anyone tell me in details how to relocate (since the avr-libc user's
guide do not
tell much about APPLICATION relocation)???
I also have some problems with -fPIC. I wanted to use fixed (not relative)
calls to my
functions. Since it did not work, I had to "install" a function pointer
table ;((((
so that to be able to use the functions already implemented in the
bootstrap (kinda
"shared" library stuff). How shall I use it?
Thanks a lot!
Cheers,
t.