diff options
Diffstat (limited to 'ldso/ldso/avr32/dl-syscalls.h')
-rw-r--r-- | ldso/ldso/avr32/dl-syscalls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ldso/ldso/avr32/dl-syscalls.h b/ldso/ldso/avr32/dl-syscalls.h new file mode 100644 index 000000000..996bb87c6 --- /dev/null +++ b/ldso/ldso/avr32/dl-syscalls.h @@ -0,0 +1,6 @@ +/* We can't use the real errno in ldso, since it has not yet + * been dynamicly linked in yet. */ +#include "sys/syscall.h" +extern int _dl_errno; +#undef __set_errno +#define __set_errno(X) {(_dl_errno) = (X);} |