summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/sections.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/sections.c')
-rw-r--r--arch/mips/lib/sections.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/lib/sections.c b/arch/mips/lib/sections.c
new file mode 100644
index 0000000000..66d559f94a
--- /dev/null
+++ b/arch/mips/lib/sections.c
@@ -0,0 +1,9 @@
+#include <common.h>
+#include <asm/sections.h>
+#include <linux/types.h>
+
+char _text[0] __attribute__((section("._text")));
+char __bss_start[0] __attribute__((section(".__bss_start")));
+char __bss_stop[0] __attribute__((section(".__bss_stop")));
+char __image_start[0] __attribute__((section(".__image_start")));
+char __image_end[0] __attribute__((section(".__image_end")));