comp.lang.ada
 help / color / mirror / Atom feed
* Kernel Syscall from Ada?
@ 2016-06-23  8:36 Diogenes
  2016-06-23 10:58 ` Björn Lundin
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Diogenes @ 2016-06-23  8:36 UTC (permalink / raw)


Is there a simple way to make a direct (Linux)Kernel syscall from Ada without using the system C library? i.e. Make a direct call as in Assembler?

I'm asking because I've found a way to strip about 80k from a statically linked executable by not including Interfaces.C in the runtime.

I've gotten my code to work reasonably well (no segfaults or memory errors) using inline Assembler. But it seems like there should be an Abstract or Generic "syscall" feature as part of the System library that we could use for doing our own Kernel calls. Same thing for the vDSO.

Any tips?

Diogenes


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-07-12 20:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-23  8:36 Kernel Syscall from Ada? Diogenes
2016-06-23 10:58 ` Björn Lundin
2016-06-23 16:28   ` Per Sandberg
2016-06-23 22:18 ` Randy Brukardt
2018-07-12 19:07   ` Dan'l Miller
2018-07-12 20:59     ` Randy Brukardt
2016-06-24  1:13 ` Xavier Petit
2016-06-24 22:23 ` Florian Weimer
2018-07-11 22:38 ` alexgrantbenedict
2018-07-12  1:32 ` Dan'l Miller
2018-07-12  8:19   ` Lucretia
2018-07-12 15:27     ` Dan'l Miller
2018-07-12 17:27       ` Lucretia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox