summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/mmu-arm.S4
-rw-r--r--firmware/target/arm/mmu-armv6.S2
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/mmu-arm.S b/firmware/target/arm/mmu-arm.S
index 9f90e1e..1bb5181 100644
--- a/firmware/target/arm/mmu-arm.S
+++ b/firmware/target/arm/mmu-arm.S
@@ -303,7 +303,7 @@ cpucache_flush:
* will do writeback
* void invalidate_dcache(void);
*/
- .section .text, "ax", %progbits
+ .section .icode, "ax", %progbits
.align 2
.global invalidate_dcache
.type invalidate_dcache, %function
@@ -337,7 +337,7 @@ invalidate_dcache:
* will do writeback
* void invalidate_idcache(void);
*/
- .section .text, "ax", %progbits
+ .section .icode, "ax", %progbits
.align 2
.global invalidate_idcache
.type invalidate_idcache, %function
diff --git a/firmware/target/arm/mmu-armv6.S b/firmware/target/arm/mmu-armv6.S
index bb504f4..bb2d8a2 100644
--- a/firmware/target/arm/mmu-armv6.S
+++ b/firmware/target/arm/mmu-armv6.S
@@ -137,7 +137,7 @@ invalidate_dcache:
* will do writeback
* void invalidate_idcache(void);
*/
- .section .text, "ax", %progbits
+ .section .icode, "ax", %progbits
.align 2
.global invalidate_idcache
.type invalidate_idcache, %function