Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Relocation sections

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?

Name: Anonymous 2009-06-26 15:12

>>1
Rich Felker is that you?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List