lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 01cb210 was 01cb210, checked in by Martin Decky <martin@…>, 19 years ago |
relocate kernel in real mode
|
-
Property mode
set to
100644
|
File size:
449 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * PPC linker script
|
---|
3 | *
|
---|
4 | */
|
---|
5 |
|
---|
6 | OUTPUT_FORMAT(elf32-powerpc)
|
---|
7 | ENTRY(start)
|
---|
8 |
|
---|
9 | SECTIONS {
|
---|
10 | .boot 0x10000000: AT (0) {
|
---|
11 | *(BOOTSTRAP);
|
---|
12 | *(REALMODE);
|
---|
13 | *(.text);
|
---|
14 |
|
---|
15 | *(.rodata);
|
---|
16 | *(.rodata.*);
|
---|
17 | *(.data); /* initialized data */
|
---|
18 | *(.sdata);
|
---|
19 | *(.sdata2);
|
---|
20 | *(.sbss);
|
---|
21 | *(.bss); /* uninitialized static variables */
|
---|
22 | *(COMMON); /* global variables */
|
---|
23 | }
|
---|
24 |
|
---|
25 | .image 0x10000000+SIZEOF(.boot): AT (SIZEOF(.boot)) SUBALIGN(4096) {
|
---|
26 | *(.image);
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.