help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forc GCC not to use relative addresses for CALL-statements


From: augomat
Subject: Re: Forc GCC not to use relative addresses for CALL-statements
Date: Fri, 13 Apr 2012 03:06:25 -0700 (PDT)



Greg Krohn-3 wrote:
> 
> Maybe i missed the magic option, i only looked briefly over the man pages.
> 
> Maybe you can describe what you are trying to achieve? There may be a
> another
> solution to that problem.
> 

I had compiled code extracted to another place and then loaded into memory
but inevitable not at the same position. absolute addresses would have
helpes but as i couldn't achieve this, i had to rewrite some of the jump
addresses (those out of the compiled segment) and everything worked fine
(although the rewriting was a bit of a hack).

yours,
- g
-- 
View this message in context: 
http://old.nabble.com/Forc-GCC-not-to-use-relative-addresses-for-CALL-statements-tp33083838p33680863.html
Sent from the gcc - Gnu Help List mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]