summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-08-14 23:20:25 +0000
committerKristoffer Ericson <kristoffer_e1@hotmail.com>2006-08-14 23:20:25 +0000
commit772c2ab08055ad87972bbeb00c3c78c801148ec0 (patch)
tree3a6262376d2615611379b4a4c4806fe4d989aabb /packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch
parentaf8d9efbbf4996ddaef419c336532f55f3c40b00 (diff)
parenta56e9d6dbf40d037a4858354916a27371e2f3434 (diff)
merge of 04264e63d95f7b157030356df1acd2c861ecf54d
and 0fb74741994c40f954b3aef2f855c14636c49ccb
Diffstat (limited to 'packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch')
-rw-r--r--packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch b/packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch
new file mode 100644
index 0000000000..0d271a9ca0
--- /dev/null
+++ b/packages/uclibc/uclibc-0.9.28/dl-sysdep.h.patch
@@ -0,0 +1,10 @@
+--- uClibc-0.9.28/ldso/ldso/arm/dl-sysdep.h.orig 2006-08-14 17:22:50.000000000 +0200
++++ uClibc-0.9.28/ldso/ldso/arm/dl-sysdep.h 2006-08-14 17:23:45.000000000 +0200
+@@ -43,6 +43,7 @@
+ return m;
+ }
+ #define do_rem(result, n, base) ((result) = arm_modulus(n, base))
++#define do_div_10(result, remain) ((result) = (((result) - (remain)) / 2) * -(-1ul / 5ul))
+
+ /* Here we define the magic numbers that this dynamic loader should accept */
+ #define MAGIC1 EM_ARM