[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231007103659.GC23812@1wt.eu>
Date: Sat, 7 Oct 2023 12:36:59 +0200
From: Willy Tarreau <w@....eu>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v2] tools/nolibc: add support for constructors and
destructors
On Sat, Oct 07, 2023 at 12:01:39PM +0200, Thomas Weißschuh wrote:
> With the startup code moved to C, implementing support for
> constructors and deconstructors is fairly easy to implement.
>
> Examples for code size impact:
>
> text data bss dec hex filename
> 21837 104 88 22029 560d nolibc-test.before
> 22135 120 88 22343 5747 nolibc-test.after
> 21970 104 88 22162 5692 nolibc-test.after-only-crt.h-changes
>
> The sections are defined by [0].
>
> [0] https://refspecs.linuxfoundation.org/elf/gabi4+/ch5.dynamic.html
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Acked-by: Willy Tarreau <w@....eu>
Thanks!
Willy
Powered by blists - more mailing lists