diff options
author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2016-11-09 16:03:33 -0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-13 13:44:35 +0100 |
commit | f6cfc2129c6902410619f6cba56022af2977b6a3 (patch) | |
tree | ac570d2cf45710ebac41edf1795104c19ab82def /libc/string/arc/arcv2/memset.S | |
parent | a9a2380cf01cdae519fdaf8ab021d486c8917e43 (diff) |
ARC: string: handle gcc 6.x macro changes
In gcc 6.x cleanup, the macros got renamed.
(Need to support the old toggle for some more time)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libc/string/arc/arcv2/memset.S')
-rw-r--r-- | libc/string/arc/arcv2/memset.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/arc/arcv2/memset.S b/libc/string/arc/arcv2/memset.S index 0918d3774..343cfaf81 100644 --- a/libc/string/arc/arcv2/memset.S +++ b/libc/string/arc/arcv2/memset.S @@ -52,7 +52,7 @@ ENTRY(memset) lpnz @.Lset64bytes ;; LOOP START PREWRITE(r3, 64) ;Prefetch the next write location -#ifdef __LL64__ +#if defined(__LL64__) || defined(__ARC_LL64__) std.ab r4, [r3, 8] std.ab r4, [r3, 8] std.ab r4, [r3, 8] @@ -85,7 +85,7 @@ ENTRY(memset) lpnz .Lset32bytes ;; LOOP START prefetchw [r3, 32] ;Prefetch the next write location -#ifdef __LL64__ +#if defined(__LL64__) || defined(__ARC_LL64__) std.ab r4, [r3, 8] std.ab r4, [r3, 8] std.ab r4, [r3, 8] |