Ignore:
Timestamp:
Jan 13, 2000, 8:45:07 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4c3ab846
Parents:
11944b9b
Message:

All m68k BSPs now build with new ELF style linkcmds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme136/startup/linkcmds

    r11944b9b rb8c9883  
    1616 * Declare some sizes.
    1717 */
    18 HeapSize = DEFINED(HeapSize) ? HeapSize : 0x10000;
    19 StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
     18_RamBase = 0x0;
     19_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
     20_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
     21_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
    2022
    2123MEMORY
     
    112114        } >ram
    113115        .bss : {
    114                 PROVIDE (_bss_start = .);
    115                 PROVIDE (_clear_start = .);
     116                _clear_start = .;
    116117                *(.bss)
    117118                *(COMMON)
     
    119120                PROVIDE (end = .);
    120121
    121                 . += StackSize;
    122                 PROVIDE (_stack_init = .);
     122                . += _StackSize;
     123                . = ALIGN (16);
     124                _stack_init = .;
     125                _clear_end = .;
    123126
    124                 . = ALIGN (16);
    125                 PROVIDE (_HeapStart = .);
    126                 . += HeapSize;
    127                 PROVIDE (_HeapEnd = .);
    128 
    129                 PROVIDE (_clear_end = .);
    130 
    131                 PROVIDE (_WorkspaceBase = .);
     127                _WorkspaceBase = .;
    132128        } >ram
    133129}
Note: See TracChangeset for help on using the changeset viewer.