Am 23.06.2014 12:53 schrieb "Michael Schnell" <mschn...@lumino.de>:
>
> On 06/20/2014 02:15 PM, Lukasz Sokol wrote:
>>
>> Henry just corrected me : that's not what this function is for: it's to
select int 0x80 vs sysenter... and I remember seeing somewhere on lkml
(long time ago) that 64bit x86 don't need it, (either they both are
equivalent or int 0x80 doesn't exist any more, or something...)
>
> I see.
>
> But this is really silly !
>
> Why did they not simply (additionally) implement a function that just
performs the best possible system call variant for the currant arch ?

Because you'd need to link in that code then. Where should that code be
then? The glibc? What about other c-libraries then or FPC's c-library-less
approach? A library? Oh wait that needs kernel calls to load...

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to