Comments on: GNAT and Zero Foot Print Runtimes http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/ Tue, 06 Oct 2020 17:02:57 +0000 http://polimedia.us hourly 1 By: sum1 http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/#comment-228 sum1 Thu, 18 Jul 2019 19:46:33 +0000 http://ave1.org/?p=74#comment-228 Or maybe its the & operator Or maybe its the & operator

]]>
By: some1 http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/#comment-226 some1 Fri, 12 Jul 2019 08:22:31 +0000 http://ave1.org/?p=74#comment-226 It appears when you use something like Integer'Image(123) gnat assumes you have a memcpy symbol to call, quite pesty. I don't want that kind of symbol just floating around waiting to be abused. It appears when you use something like Integer'Image(123) gnat assumes you have a memcpy symbol to call, quite pesty. I don't want that kind of symbol just floating around waiting to be abused.

]]>
By: Stanislav Datskovskiy http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/#comment-38 Stanislav Datskovskiy Tue, 27 Feb 2018 23:29:54 +0000 http://ave1.org/?p=74#comment-38 What's dlopen doing in a statically linked elf ? What's dlopen doing in a statically linked elf ?

]]>
By: ave1 http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/#comment-37 ave1 Tue, 27 Feb 2018 21:44:05 +0000 http://ave1.org/?p=74#comment-37 I agree, GNU libc is only overhead. Indeed about 600K, this is mostly dlopen and other shit. GNAT by default uses GNU's libc init and exit functions. And those functions seem to want all the others, I've done a little work in removing calls and rebuilding glibc, but so far no luck. As far as MUSL libc goes, this is probably 10 / 20K or so, it is used for init and putchar etc. (and yes gnat will use memset, memcopy for aggregate statements, others => 0) I agree, GNU libc is only overhead. Indeed about 600K, this is mostly dlopen and other shit. GNAT by default uses GNU's libc init and exit functions. And those functions seem to want all the others, I've done a little work in removing calls and rebuilding glibc, but so far no luck.

As far as MUSL libc goes, this is probably 10 / 20K or so, it is used for init and putchar etc. (and yes gnat will use memset, memcopy for aggregate statements, others => 0)

]]>
By: Stanislav Datskovskiy http://ave1.org/2018/gnat-and-zero-foot-print-runtimes/#comment-36 Stanislav Datskovskiy Tue, 27 Feb 2018 21:24:00 +0000 http://ave1.org/?p=74#comment-36 Libc gotta go. There's not much point in this exercise if it's still in there, obscenely taking up 800+kB. For what does GNAT even use libc ? for memcpy?! Libc gotta go.

There's not much point in this exercise if it's still in there, obscenely taking up 800+kB.

For what does GNAT even use libc ? for memcpy?!

]]>