boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

va_list-no-abort.after (382B)


      1 /* Avoid include files, they may not be available when cross compiling */
      2 extern void *memset(void *s, int c, __SIZE_TYPE__ n);
      3 /* boot2: replace abort() with an inline spin so we don't pull libc
      4    into the link. The default case below is unreachable anyway —
      5    tcc's x86_64 codegen only emits the three documented arg_type
      6    values. */
      7 static void abort(void) { for (;;) {} }