From 541873779c06b9c9ddad68d81f8bfec98e451bf9 Mon Sep 17 00:00:00 2001 From: wolfwood Date: Thu, 8 Apr 2010 23:32:03 -0400 Subject: [PATCH] fended off copious missing symbol bullshits with generous helpings of slovak folk-magic. candy was had by all. no .eh_frame_hdr un-error remains, but exe is produced --- newlib-files/syscalls.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/newlib-files/syscalls.c b/newlib-files/syscalls.c index a1ca378..2a126ed 100644 --- a/newlib-files/syscalls.c +++ b/newlib-files/syscalls.c @@ -105,6 +105,11 @@ read(int file, char *ptr, int len) { return 0; } +int fstat(int file, struct stat *st) { + st->st_mode = S_IFCHR; + return 0; +} + int stat(const char* file, struct stat *st) { st->st_mode = S_IFCHR;