summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/toolchain/gcc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/toolchain/gcc.h b/include/toolchain/gcc.h
index 36edee1f7..610c307ea 100644
--- a/include/toolchain/gcc.h
+++ b/include/toolchain/gcc.h
@@ -45,15 +45,6 @@
__attribute__((section(#segment ",\"wa\",@nobits#")))
#endif
-#define UNALIGNED_READ(p) (*(p))
-
-#define UNALIGNED_WRITE(p, v) \
- do { \
- unsigned int __attribute__((__may_alias__)) *pp = (unsigned int *)(p); \
- *pp = (v); \
- } \
- while (0)
-
/* Unaligned access */
#define UNALIGNED_GET(p) \
__extension__ ({ \