|
Last change
on this file since 614 was
610,
checked in by alain, 7 years ago
|
|
Fix several bugs in VFS to support the following
ksh commandis : cp, mv, rm, mkdir, cd, pwd
|
|
File size:
699 bytes
|
| Rev | Line | |
|---|
| [610] | 1 | /******************************************************************* |
|---|
| 2 | * This is the linker script for the ALMOS-MKH boot-loader, |
|---|
| 3 | * to generate the 'boot.elf' file used for the TSAR architecture. |
|---|
| 4 | *******************************************************************/ |
|---|
| [439] | 5 | |
|---|
| 6 | /* define the boot code base address */ |
|---|
| 7 | |
|---|
| [572] | 8 | boot_code_base = 0x100000; |
|---|
| [439] | 9 | |
|---|
| [610] | 10 | /* Set the entry point of the boot-loader */ |
|---|
| 11 | /* (e_entry field in the "boot.elf" file header) */ |
|---|
| [439] | 12 | |
|---|
| 13 | ENTRY(boot_entry) |
|---|
| 14 | |
|---|
| 15 | /* Describe how to group the sections */ |
|---|
| 16 | |
|---|
| 17 | SECTIONS |
|---|
| 18 | { |
|---|
| 19 | . = boot_code_base; |
|---|
| 20 | .text : |
|---|
| 21 | { |
|---|
| 22 | *(.text) |
|---|
| 23 | *(.rodata*) |
|---|
| 24 | } |
|---|
| 25 | . = ALIGN(0x1000); |
|---|
| 26 | .data : |
|---|
| 27 | { |
|---|
| 28 | *(.data*) |
|---|
| 29 | } |
|---|
| 30 | .bss : |
|---|
| 31 | { |
|---|
| 32 | *(.bss) |
|---|
| 33 | } |
|---|
| 34 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.