diff options
Diffstat (limited to 'ldso/ldso/sh64')
-rw-r--r-- | ldso/ldso/sh64/dl-sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/sh64/dl-sysdep.h b/ldso/ldso/sh64/dl-sysdep.h index 266ec681c..98a21aedb 100644 --- a/ldso/ldso/sh64/dl-sysdep.h +++ b/ldso/ldso/sh64/dl-sysdep.h @@ -25,7 +25,7 @@ struct elf_resolve; extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); -#define do_rem(result, n, base) result = (n % base) +#define do_rem(result, n, base) ((result) = (n) % (base)) /* 4096 bytes alignment */ #define PAGE_ALIGN 0xfffff000 |