|
@@ -112,21 +112,25 @@
|
|
#define __FINIT .previous
|
|
#define __FINIT .previous
|
|
|
|
|
|
#define __INITDATA .section ".init.data","aw"
|
|
#define __INITDATA .section ".init.data","aw"
|
|
|
|
+#define __INITRODATA .section ".init.rodata","a"
|
|
#define __FINITDATA .previous
|
|
#define __FINITDATA .previous
|
|
|
|
|
|
#define __DEVINIT .section ".devinit.text", "ax"
|
|
#define __DEVINIT .section ".devinit.text", "ax"
|
|
#define __DEVINITDATA .section ".devinit.data", "aw"
|
|
#define __DEVINITDATA .section ".devinit.data", "aw"
|
|
|
|
+#define __DEVINITRODATA .section ".devinit.rodata", "a"
|
|
|
|
|
|
#define __CPUINIT .section ".cpuinit.text", "ax"
|
|
#define __CPUINIT .section ".cpuinit.text", "ax"
|
|
#define __CPUINITDATA .section ".cpuinit.data", "aw"
|
|
#define __CPUINITDATA .section ".cpuinit.data", "aw"
|
|
|
|
+#define __CPUINITRODATA .section ".cpuinit.rodata", "a"
|
|
|
|
|
|
#define __MEMINIT .section ".meminit.text", "ax"
|
|
#define __MEMINIT .section ".meminit.text", "ax"
|
|
#define __MEMINITDATA .section ".meminit.data", "aw"
|
|
#define __MEMINITDATA .section ".meminit.data", "aw"
|
|
|
|
+#define __MEMINITRODATA .section ".meminit.rodata", "a"
|
|
|
|
|
|
/* silence warnings when references are OK */
|
|
/* silence warnings when references are OK */
|
|
#define __REF .section ".ref.text", "ax"
|
|
#define __REF .section ".ref.text", "ax"
|
|
#define __REFDATA .section ".ref.data", "aw"
|
|
#define __REFDATA .section ".ref.data", "aw"
|
|
-#define __REFCONST .section ".ref.rodata", "aw"
|
|
|
|
|
|
+#define __REFCONST .section ".ref.rodata", "a"
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#ifndef __ASSEMBLY__
|
|
/*
|
|
/*
|