On Thursday 31 July 2003 15:13, Matthias Urlichs wrote: > The way I would do this is to put the to-be-moved code into a distinct > ELF section. That way you can force it to be contiguous. You can then let > the linker fill a function start/end address table, and when copying you > can adjust the addresses relative to the start of that section.
The code to be moved is all in one function. Linkers don't rearrange code within functions, compilers do that (and that's what GCC 3.3 apparently does). -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
