diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-09-23 07:05:40 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-09-23 07:05:40 +0000 |
commit | 7df9d0a317c1cf1f51498d994c3b281d506830e9 (patch) | |
tree | fb3c5623f45e329d413dcf106cd990645871b1a0 /ldso/ldso/arm/dl-sysdep.h | |
parent | ea64c4b3c6fbf77577b7019182bc93cabe21fdd5 (diff) |
Make do_rem() safe. From Peter Kjellerstedt.
Diffstat (limited to 'ldso/ldso/arm/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/arm/dl-sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/arm/dl-sysdep.h b/ldso/ldso/arm/dl-sysdep.h index ebd258a7f..6863e35a2 100644 --- a/ldso/ldso/arm/dl-sysdep.h +++ b/ldso/ldso/arm/dl-sysdep.h @@ -42,7 +42,7 @@ static inline unsigned long arm_modulus(unsigned long m, unsigned long p) } return m; } -#define do_rem(result, n, base) result=arm_modulus(n,base); +#define do_rem(result, n, base) ((result) = arm_modulus(n, base)) /* Here we define the magic numbers that this dynamic loader should accept */ #define MAGIC1 EM_ARM |