This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Add SYS_mkdir to libgloss/syscalls.h (Was: Re: No mkdir in glibgloss/syscall.h?)


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?
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]