Hi Thomas, On Sun, Jul 28, 2024 at 12:09:57PM +0200, Thomas Weißschuh wrote: > The specific attributes for the _start entrypoint are duplicated for > each architecture. > Deduplicate it into a dedicated #define into compiler.h. > This make the code shorter and will make it easier to adapt for clang > compatibility. > > For clang compatibility, the epilogue will also need to be adapted, so > move that one, too. I'm fine with the general approach, however I think that if we start to add specific attributes and macros like this, we should prefix them with "nolibc" to make sure they won't collide with userland. Thanks, willy