No changes between revisions
/contrib/sdk/sources/newlib/libc/Makefile |
325,8 → 325,7 |
wmemcmp.c \ |
wmemcpy.c \ |
wmemmove.c \ |
wmemset.c \ |
dirname.c |
wmemset.c |
|
|
STDIO_SRCS= \ |
601,8 → 600,8 |
|
install: libc.dll libc.dll.a libdll.a |
mv -f libc.dll $(SDK_DIR)/bin |
mv -f libc.dll.a $(INSTALLDIR)/lib |
mv -f libdll.a $(INSTALLDIR)/lib |
mv -f libc.dll.a $(INSTALLDIR) |
mv -f libdll.a $(INSTALLDIR) |
|
libdll.a: $(LIBDLL_OBJS) Makefile |
$(AR) $(ARFLAGS) libdll.a $(LIBDLL_OBJS) |
/contrib/sdk/sources/newlib/libc/dirent/dir.c |
13,14 → 13,4 |
int chdir(char* dir){ |
_ksys_setcwd(dir); |
return 0; |
} |
|
char *getcwd(char *buf, unsigned size){ |
if(!buf){ |
if((buf = malloc(size))==NULL){ |
return NULL; |
} |
} |
_ksys_getcwd(buf, size); |
return(buf); |
} |
} |
/contrib/sdk/sources/newlib/libc/dirent/ksys_fs.h |
107,14 → 107,4 |
return val; |
} |
|
static inline |
int _ksys_getcwd(char* buf, int bufsize){ |
register int val; |
asm_inline( |
"int $0x40" |
:"=a"(val):"a"(30), "b"(2), "c"(buf), "d"(bufsize) |
); |
return val; |
} |
|
#endif |