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

Pages: 1-

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 7:33

gay

Name: Anonymous 2009-06-26 8:20

>>1
even /prog/ is not that stupid. Go troll someone else.

Name: (+4,informative) 2009-06-26 8:23

>>3
I dunno, we're pretty stupid

Name: FrozenVoid 2009-06-26 8:24

sistem doesn't support dynamic link library.
Upgrade?


___________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-26 11:21

>>5
I am programming the system, I cannot just upgr... Oh, fuck IHBT.

Name: Anonymous 2009-06-26 15:12

>>1
Rich Felker is that you?

Name: Anonymous 2009-06-26 15:38

( ≖‿≖)  D
( ≖‿≖ )   I
(≖‿≖ )  C
(‿≖   )   K
(≖   )   
(     )   T
(     )   O
(   ≖)   W
(  ≖‿)   E
( ≖‿≖)  R

Name: Anonymous 2009-06-27 4:26

>>7
Yep, but aren't we supposed to be anonymous, dumbass?

Name: FrozenVoid 2009-06-27 4:41

>>9 if you want to be conformist and fit in with the crowds, you should be. If you do not, the choice is yours.



_________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-27 7:01

Store a list with the addresses of each pointer in your binary. Then while loading the binary add the offset to those addresses.

Name: Anonymous 2009-06-27 13:44

>>10
Don't post shit like this you fucking idiot

Name: Anonymous 2011-02-03 8:06

Name: Anonymous 2011-02-04 17:45

Name: Anonymous 2013-09-01 20:03


 Kimi to Kanojo to Kanojo no Koi was poorly written and had little going for it other than the meta gimmick. Only play it if you're really interested in having someone preach at you about how horrible a person you are for playing eroge

Name: Anonymous 2013-09-01 20:49


KITES, MUTHAFUCKA! DO YOU FLY THEM!?

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