blob: cbed030b55cf5057591bc617efdb21b9ecd80222 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/arch/arm/boot/compressed/vmlinux.lds.in
3 *
4 * Copyright (C) 2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10OUTPUT_ARCH(arm)
11ENTRY(_start)
12SECTIONS
13{
Catalin Marinasbff595c2009-02-16 11:41:36 +010014 /DISCARD/ : {
15 *(.ARM.exidx*)
16 *(.ARM.extab*)
17 }
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 . = TEXT_START;
20 _text = .;
21
22 .text : {
23 _start = .;
24 *(.start)
25 *(.text)
Russell Kingc5b8ef62006-04-09 19:08:42 +010026 *(.text.*)
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 *(.fixup)
28 *(.gnu.warning)
29 *(.rodata)
30 *(.rodata.*)
31 *(.glue_7)
32 *(.glue_7t)
33 *(.piggydata)
34 . = ALIGN(4);
35 }
36
37 _etext = .;
38
Russell King98e12b52010-02-25 23:56:38 +000039 /* Assume size of decompressed image is 4x the compressed image */
40 _image_size = (_etext - _text) * 4;
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042 _got_start = .;
43 .got : { *(.got) }
44 _got_end = .;
45 .got.plt : { *(.got.plt) }
46 .data : { *(.data) }
47 _edata = .;
48
49 . = BSS_START;
50 __bss_start = .;
51 .bss : { *(.bss) }
52 _end = .;
53
54 .stack (NOLOAD) : { *(.stack) }
55
56 .stab 0 : { *(.stab) }
57 .stabstr 0 : { *(.stabstr) }
58 .stab.excl 0 : { *(.stab.excl) }
59 .stab.exclstr 0 : { *(.stab.exclstr) }
60 .stab.index 0 : { *(.stab.index) }
61 .stab.indexstr 0 : { *(.stab.indexstr) }
62 .comment 0 : { *(.comment) }
63}
64