lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 7de7cde was 50fda24, checked in by Martin Decky <martin@…>, 16 years ago |
add Abstract32 Little Endian architecture (abs32le)
the purpose of this special architecture is code verification and checking
(some tools cannot parse code with platform specific constructs or assembler),
it can be also used as a simple description of arch/genarch/generic kernel
interface and a starting point for new ports
(still work-in-progress: kernel compiles, but does not link due to several
missing symbols)
|
-
Property mode
set to
100644
|
File size:
706 bytes
|
Rev | Line | |
---|
[50fda24] | 1 | SECTIONS {
|
---|
| 2 | .text : {
|
---|
| 3 | ktext_start = .;
|
---|
| 4 | *(.text);
|
---|
| 5 | ktext_end = .;
|
---|
| 6 | }
|
---|
| 7 | .data : {
|
---|
| 8 | kdata_start = .;
|
---|
| 9 | *(.data); /* initialized data */
|
---|
| 10 | hardcoded_ktext_size = .;
|
---|
| 11 | LONG(ktext_end - ktext_start);
|
---|
| 12 | hardcoded_kdata_size = .;
|
---|
| 13 | LONG(kdata_end - kdata_start);
|
---|
| 14 | hardcoded_load_address = .;
|
---|
| 15 | LONG(hardcoded_load_address);
|
---|
| 16 | *(.bss); /* uninitialized static variables */
|
---|
| 17 | *(COMMON); /* global variables */
|
---|
| 18 |
|
---|
| 19 | *(.rodata*);
|
---|
| 20 | *(.sdata);
|
---|
| 21 | *(.reginfo);
|
---|
| 22 | . = ALIGN(8);
|
---|
| 23 | symbol_table = .;
|
---|
| 24 | *(symtab.*);
|
---|
| 25 | }
|
---|
| 26 | .sbss : {
|
---|
| 27 | *(.sbss);
|
---|
| 28 | *(.scommon);
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | kdata_end = .;
|
---|
| 32 |
|
---|
| 33 | /DISCARD/ : {
|
---|
| 34 | *(.mdebug*);
|
---|
| 35 | *(.pdr);
|
---|
| 36 | *(.comment);
|
---|
| 37 | *(.note);
|
---|
| 38 | }
|
---|
| 39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.