Name: Anonymous 2009-06-26 7:27
Hi /prog/, can you help me?
I've got some compiled elf objects that I need to join into an executable. Obviously during the linking phase the .rel and .rela elf sections are resolved by replacing values with the right value.
The point is that I need to manually add a specific offset to each pointer, since my binary image needs to be moved and I don't know the final position at compile time but only at load time.
By the way, I can't generate PIC, since my sistem doesn't support dynamic link library.
Any hint?
I've got some compiled elf objects that I need to join into an executable. Obviously during the linking phase the .rel and .rela elf sections are resolved by replacing values with the right value.
The point is that I need to manually add a specific offset to each pointer, since my binary image needs to be moved and I don't know the final position at compile time but only at load time.
By the way, I can't generate PIC, since my sistem doesn't support dynamic link library.
Any hint?