[Issue 4583] PIC code not working: EBX register set incorrectly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 30 14:32:36 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4583



--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2011-11-30 14:31:30 PST ---
(In reply to comment #2)
> Yes I know, but the problem occurs even before the called function is executed:
> The PLT is a table containing executable code. If you do an position
> independent function call, you call into this PLT code, not directly into your
> target function. And these PLT instructions require EBX to be set to the GOT
> address.

You're right. DMD doesn't do this at the moment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list