source: mainline/kernel/arch/arm32/_link.ld.in@ cf84f1bf

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

move boot offset 2 MB further away to avoid conflicts with integratorcp's framebuffer

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