source: mainline/arch/ppc/_link.ld@ c913e456

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

PPC work in progress

  • Property mode set to 100644
File size: 546 bytes
Line 
1/*
2 * PowerPC linker script
3 *
4 * kernel text
5 * kernel data
6 *
7 */
8
9OUTPUT_FORMAT(binary)
10ENTRY(kernel_image_start)
11
12SECTIONS {
13 .image 0x80000000: AT (0x80000000) {
14 ktext_start = .;
15 *(.text);
16 ktext_end = .;
17
18 kdata_start = .;
19 kdata_end = .;
20 } = 0x00000000
21
22 . = ABSOLUTE(hardcoded_ktext_size);
23 .patch_1 : {
24 LONG(ktext_end - ktext_start);
25 }
26
27 . = ABSOLUTE(hardcoded_kdata_size);
28 .patch_2 : {
29 LONG(kdata_end - kdata_start);
30 }
31
32 . = ABSOLUTE(hardcoded_load_address);
33 .patch_3 : {
34 LONG(0x80000000);
35 }
36
37}
Note: See TracBrowser for help on using the repository browser.