I've been following this thread, though I actually do not care about it --
sure shared libs must be position independent, that's just the price you
have to pay. I have a question though: is there a way to generate fully
relocatable executables (not objects as produced by ld -r!)? I mean
executables that you could relocate to arbitrary offset in the data/code
segment at loadtime? And still be able to use gdb/binutils/etc.? Is there
any BFD file format that allows this or can ELF do this somehow?
I'd be very thankful for any info!
Martynas