* config/arm/netbsd-elf.h (SYSARCH_ARM_SYNC_ICACHE): New definition.
(CLEAR_INSN_CACHE) Use it.
From-SVN: r272478
+2019-06-19 Maya Rashish <coypu@sdf.org>
+
+ * config/arm/netbsd-elf.h (SYSARCH_ARM_SYNC_ICACHE): New definition.
+ (CLEAR_INSN_CACHE) Use it.
+
2019-06-19 Uroš Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (cmpstrnsi): Remove dead code.
#undef DEFAULT_STRUCTURE_SIZE_BOUNDARY
#define DEFAULT_STRUCTURE_SIZE_BOUNDARY 8
+#define SYSARCH_ARM_SYNC_ICACHE 0
+
/* Clear the instruction cache from `BEG' to `END'. This makes a
call to the ARM_SYNC_ICACHE architecture specific syscall. */
#define CLEAR_INSN_CACHE(BEG, END) \
} s; \
s.addr = (unsigned int)(BEG); \
s.len = (END) - (BEG); \
- (void) sysarch (0, &s); \
+ (void) sysarch (SYSARCH_ARM_SYNC_ICACHE, &s); \
} \
while (0)