diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-10-04 22:08:45 +0200 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-10-04 22:12:53 +0200 |
commit | aeee8bb9ac0f1c89bb1d409cdbea20a865915fb4 (patch) | |
tree | 7707971b3cb2325b84ae8ba13903b6c5f6d46fe0 /recipes/dietlibc/dietlibc-0.32/getrlimit.patch | |
parent | 63e32e66c3c89722039050db15cf12dd3b8ec6a0 (diff) |
dietlibc: rework getrlimit function for eabi
Diffstat (limited to 'recipes/dietlibc/dietlibc-0.32/getrlimit.patch')
-rw-r--r-- | recipes/dietlibc/dietlibc-0.32/getrlimit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/dietlibc/dietlibc-0.32/getrlimit.patch b/recipes/dietlibc/dietlibc-0.32/getrlimit.patch new file mode 100644 index 0000000000..1d9792eaa3 --- /dev/null +++ b/recipes/dietlibc/dietlibc-0.32/getrlimit.patch @@ -0,0 +1,12 @@ +Index: dietlibc-0.32/syscalls.s/getrlimit.S +=================================================================== +--- dietlibc-0.32.orig/syscalls.s/getrlimit.S 2001-01-09 18:57:48.000000000 +0100 ++++ dietlibc-0.32/syscalls.s/getrlimit.S 2009-10-03 14:28:55.098309914 +0200 +@@ -1,3 +1,7 @@ + #include "syscalls.h" + ++#if defined(__ARM_EABI__) ++syscall(ugetrlimit,getrlimit) ++#else + syscall(getrlimit,getrlimit) ++#endif |