diff options
-rw-r--r-- | firmware/target/mips/ingenic_x1000/app.lds | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/app.lds b/firmware/target/mips/ingenic_x1000/app.lds index fe06e1cd8d..a1e84fb9cf 100644 --- a/firmware/target/mips/ingenic_x1000/app.lds +++ b/firmware/target/mips/ingenic_x1000/app.lds | |||
@@ -153,3 +153,8 @@ SECTIONS | |||
153 | *(.rel.dyn); | 153 | *(.rel.dyn); |
154 | } | 154 | } |
155 | } | 155 | } |
156 | |||
157 | #if defined(HAVE_NOCROSSREFS_TO) && defined(HAVE_INIT_ATTR) | ||
158 | /* Prevent accidental references to the .init section from other sections */ | ||
159 | NOCROSSREFS_TO(.init .text .iram .tcsm); | ||
160 | #endif | ||