aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/boot/compressed/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/boot/compressed/vmlinux.lds.S')
-rw-r--r--arch/m32r/boot/compressed/vmlinux.lds.S31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/m32r/boot/compressed/vmlinux.lds.S b/arch/m32r/boot/compressed/vmlinux.lds.S
new file mode 100644
index 000000000000..a18431759633
--- /dev/null
+++ b/arch/m32r/boot/compressed/vmlinux.lds.S
@@ -0,0 +1,31 @@
1#include <linux/config.h>
2
3OUTPUT_ARCH(m32r)
4ENTRY(startup)
5SECTIONS
6{
7 . = CONFIG_MEMORY_START + 0x00400000;
8
9 _text = .;
10 .text : { *(.text) } = 0
11 .rodata : { *(.rodata) *(.rodata.*) }
12 _etext = .;
13
14 . = ALIGN(32 / 8);
15 .data : { *(.data) }
16 . = ALIGN(32 / 8);
17 _got = .;
18 .got : { *(.got) _egot = .; *(.got.*) }
19 _edata = .;
20
21 . = ALIGN(32 / 8);
22 __bss_start = .;
23 .bss : { *(.bss) *(.sbss) }
24 . = ALIGN(32 / 8);
25 _ebss = .;
26 . = ALIGN(4096);
27 . += 4096;
28 end = . ;
29
30 got_len = (_egot - _got);
31}