[oe-commits] Henning Heinold : dietlibc: rework getrlimit function for eabi

git version control git at git.openembedded.org
Sun Oct 4 20:13:28 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: aeee8bb9ac0f1c89bb1d409cdbea20a865915fb4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=aeee8bb9ac0f1c89bb1d409cdbea20a865915fb4

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sun Oct  4 22:08:45 2009 +0200

dietlibc: rework getrlimit function for eabi

---

 recipes/dietlibc/dietlibc-0.32/getrlimit.patch |   12 ++++++++++++
 recipes/dietlibc/dietlibc_0.32.bb              |    3 ++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/recipes/dietlibc/dietlibc-0.32/getrlimit.patch b/recipes/dietlibc/dietlibc-0.32/getrlimit.patch
new file mode 100644
index 0000000..1d9792e
--- /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
diff --git a/recipes/dietlibc/dietlibc_0.32.bb b/recipes/dietlibc/dietlibc_0.32.bb
index 5e644fa..7cdc121 100644
--- a/recipes/dietlibc/dietlibc_0.32.bb
+++ b/recipes/dietlibc/dietlibc_0.32.bb
@@ -1,9 +1,10 @@
 require dietlibc.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI += "file://ccache.patch;patch=1 \
             file://ceil.patch;patch=1 \
             file://diethome.patch;patch=1 \
+            file://getrlimit.patch;patch=1 \
            " 
 





More information about the Openembedded-commits mailing list