RFA: Add SYS_mkdir to libgloss/syscalls.h (Was: Re: No mkdir in glibgloss/syscall.h?)
Joern Rennecke
amylaar@spamcop.net
Tue Nov 8 04:43:00 GMT 2011
Quoting Mike Frysinger <vapier@gentoo.org>:
> i'm all for adding mkdir to libgloss/syscall.h and extending
> sim/common/callback.c
Ok, let's start with syscalls.h - see attached patch. Is there anything in
particular that I'll have to test?
-------------- next part --------------
2011-11-06 Joern Rennecke <joern.rennecke@embecosm.com>
* syscall.h: Add SYS_mkdir.
Index: syscall.h
===================================================================
RCS file: /cvs/src/src/libgloss/syscall.h,v
retrieving revision 1.4
diff -u -r1.4 syscall.h
--- syscall.h 6 Nov 2007 23:07:06 -0000 1.4
+++ syscall.h 6 Nov 2011 18:56:03 -0000
@@ -55,4 +55,7 @@
/* SID simulator runtime reconfiguration. */
#define SYS_reconfig 25
+/* Useful for profiling when the output file's directory doesn't exist. */
+#define SYS_mkdir 26
+
#endif
More information about the Newlib
mailing list