https://issues.dlang.org/show_bug.cgi?id=22170
--- Comment #4 from Iain Buclaw <[email protected]> --- (In reply to Iain Buclaw from comment #2) > DMD > --- > sub $0x8,%eax > jmp 0xf7f06970 <_D5mydll1C3fooMFCQp1IZCQvQr@plt> > --- Removing the PLT (same as PIE https://github.com/dlang/dmd/blob/master/src/dmd/backend/elfobj.d#L3125), DMD only ever seems to generate a jmp to an offset of the target function. --- sub $0x8,%eax jmp 0xf7f06970 <_D5mydll1C3fooMFCQp1IZCQvQr+4> --- Which also looks wrong in comparison to GDC and triggers a segfault. --
