May 16, 2012
On Wednesday, 16 May 2012 at 09:40:08 UTC, Mehrdad wrote:
> Yeah I know, but currently shared libraries are the least of my worries.

Or position-independent code for that matter, although I'd be
more concerned with this than the former.
May 16, 2012
On 5/16/2012 2:40 AM, Mehrdad wrote:
> The trouble with 'sticking to D code' is that, well, I can't... it's naked...

Just insert an asm call to a function that returns the address of foo.
May 16, 2012
On Wednesday, 16 May 2012 at 18:17:50 UTC, Walter Bright wrote:
> On 5/16/2012 2:40 AM, Mehrdad wrote:
>> The trouble with 'sticking to D code' is that, well, I can't... it's naked...
>
> Just insert an asm call to a function that returns the address of foo.

Hmmm... interesting idea.

Not a real fan of this solution, since it's extra code, and it involves a function call (and I was trying to avoid function calls in this code, since it's going to be in a boot-sector-like thing). But I think it'll work, thanks...
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home