Passing absolute address with PIC, is it possible?

David Forth dforth@aminocom.com
Fri May 18 03:11:00 GMT 2001


I would appreciate help with the following problem:

I have PIC and call another module to which I need to pass the
absolute address of a string. I am passing the offset value.
Can I configure gcc to add the absolute load address to the offset
when making the call to the external function?
Is a dynamic loader the only answer?

Thanks,

Dave



More information about the Gcc-help mailing list