Return to errno_location.c CVS log | Up to [DVB] / dietlibc / lib |
split off stackgap-g.o, don't compile valgrind stuff into stackgap.o, diet chooses depending on presence of -g move stackguard var from .data to .bss remove gcc 7.3 warning from lib/__v_printf.c
#include <sys/tls.h> #include <threads.h> #include <errno.h> #undef errno #include <errno_definition.h> // int *__errno_location(void) __attribute__((weak)); __attribute__((weak)) int *__errno_location(void) { return &errno; }