Last change
on this file since 514 was
469,
checked in by alain, 6 years ago
|
1) Introduce the libsemaphore library.
2) Introduce a small libmath library, required by the "fft" application..
3) Introduce the multithreaded "fft" application.
4) Fix a bad synchronisation bug in the Copy-On-Write mechanism.
|
File size:
1.0 KB
|
Rev | Line | |
---|
[469] | 1 | /**************************************************************************** |
---|
| 2 | * Define the base address for user code (both .text and .data) |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
| 5 | seg_code_base = 0x400000; |
---|
| 6 | |
---|
| 7 | /*************************************************************************** |
---|
| 8 | * Define code entry point (e_entry field in .elf file) |
---|
| 9 | ***************************************************************************/ |
---|
| 10 | |
---|
| 11 | ENTRY( main ) |
---|
| 12 | |
---|
| 13 | /*************************************************************************** |
---|
| 14 | * Merge sections into segments for code and data |
---|
| 15 | ***************************************************************************/ |
---|
| 16 | |
---|
| 17 | SECTIONS |
---|
| 18 | { |
---|
| 19 | . = seg_code_base; |
---|
| 20 | seg_code : |
---|
| 21 | { |
---|
| 22 | *(.text) |
---|
| 23 | *(.text.*) |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | . = ALIGN(0x1000); |
---|
| 27 | |
---|
| 28 | seg_data : |
---|
| 29 | { |
---|
| 30 | *(.ctors) |
---|
| 31 | *(.rodata) |
---|
| 32 | *(.rodata.*) |
---|
| 33 | *(.data) |
---|
| 34 | *(.lit8) |
---|
| 35 | *(.lit4) |
---|
| 36 | *(.sdata) |
---|
| 37 | *(.bss) |
---|
| 38 | *(COMMON) |
---|
| 39 | *(.sbss) |
---|
| 40 | *(.scommon) |
---|
| 41 | } |
---|
| 42 | } |
---|
| 43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.