source: mainline/kernel/arch/sparc32/_link.ld.in@ 2c2d54a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 2c2d54a was 32e8cd1, checked in by Martin Decky <martin@…>, 12 years ago

code revision
coding style fixes
removal of debugging printouts and other temporary stuff

  • Property mode set to 100644
File size: 819 bytes
Line 
1#define KERNEL_LOAD_ADDRESS 0x80a00000
2
3ENTRY(kernel_image_start)
4
5SECTIONS {
6 . = KERNEL_LOAD_ADDRESS;
7
8 .text : {
9 ktext_start = .;
10 *(.text);
11 ktext_end = .;
12 }
13
14 .data : {
15 kdata_start = .;
16 *(.data); /* initialized data */
17 . = ALIGN(8);
18 hardcoded_ktext_size = .;
19 LONG(ktext_end - ktext_start);
20 hardcoded_kdata_size = .;
21 LONG(kdata_end - kdata_start);
22 hardcoded_load_address = .;
23 LONG(KERNEL_LOAD_ADDRESS);
24 *(.bss); /* uninitialized static variables */
25 *(COMMON); /* global variables */
26
27 *(.rodata*);
28 *(.sdata);
29 *(.reginfo);
30 . = ALIGN(8);
31 symbol_table = .;
32 *(symtab.*);
33 }
34
35 .sbss : {
36 *(.sbss);
37 *(.scommon);
38 }
39
40 kdata_end = .;
41
42 /DISCARD/ : {
43 *(.mdebug*);
44 *(.pdr);
45 *(.comment);
46 *(.note);
47 }
48}
Note: See TracBrowser for help on using the repository browser.