PageRenderTime 74ms CodeModel.GetById 14ms app.highlight 24ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/s390/boot/compressed/vmlinux.lds.S

https://bitbucket.org/cresqo/cm7-p500-kernel
Assembly | 55 lines | 52 code | 3 blank | 0 comment | 0 complexity | f5d10f918db1e54f1254b4ba9cfd2774 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#include <asm-generic/vmlinux.lds.h>
 2
 3#ifdef CONFIG_64BIT
 4OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
 5OUTPUT_ARCH(s390:64-bit)
 6#else
 7OUTPUT_FORMAT("elf32-s390", "elf32-s390", "elf32-s390")
 8OUTPUT_ARCH(s390)
 9#endif
10
11ENTRY(startup)
12
13SECTIONS
14{
15	/* Be careful parts of head_64.S assume startup_32 is at
16	 * address 0.
17	 */
18	. = 0;
19	.head.text : {
20		_head = . ;
21		HEAD_TEXT
22		_ehead = . ;
23	}
24	.rodata.compressed : {
25		*(.rodata.compressed)
26	}
27	.text :	{
28		_text = .;	/* Text */
29		*(.text)
30		*(.text.*)
31		_etext = . ;
32	}
33	.rodata : {
34		_rodata = . ;
35		*(.rodata)	 /* read-only data */
36		*(.rodata.*)
37		_erodata = . ;
38	}
39	.data :	{
40		_data = . ;
41		*(.data)
42		*(.data.*)
43		_edata = . ;
44	}
45	. = ALIGN(256);
46	.bss : {
47		_bss = . ;
48		*(.bss)
49		*(.bss.*)
50		*(COMMON)
51		. = ALIGN(8);	/* For convenience during zeroing */
52		_ebss = .;
53	}
54	_end = .;
55}