Changeset db88957 in rtems


Ignore:
Timestamp:
Oct 26, 1998, 4:18:58 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
415ea6a
Parents:
2f3692ee
Message:

Patches done in conjunction with Juan Zamorano Flores
<jzamora@…>. He debugged enough to let me
know what was wrong and I supplied the code. :)

Location:
c/src/lib
Files:
7 edited

Legend:

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

    r2f3692ee rdb88957  
    1313 *  $Id$
    1414 */
     15
     16StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
    1517
    1618MEMORY
     
    6163        *(.bss)
    6264        *(COMMON)
     65        . += StackSize; /* XXX -- Old gld can't handle this */
     66        . = ALIGN (16);
     67        stack_init = .;
    6368        end = . ;
    6469        _end = . ;
  • c/src/lib/libbsp/m68k/idp/startup/linkcmds

    r2f3692ee rdb88957  
    1212 * both the rom68k and the mon68k monitors.
    1313 */
     14
     15StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
     16
    1417MEMORY
    1518{
     
    5962        *(.bss)
    6063        *(COMMON)
     64        . += StackSize; /* XXX -- Old gld can't handle this */
     65        . = ALIGN (16);
     66        stack_init = .;
    6167        end = . ;
    6268        _end = . ;
  • c/src/lib/libbsp/m68k/mvme136/startup/linkcmds

    r2f3692ee rdb88957  
    1414 */
    1515
     16StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
    1617MEMORY
    1718        {
     
    6162            *(.bss)
    6263            *(COMMON)
     64                . += StackSize; /* XXX -- Old gld can't handle this */
     65                . = ALIGN (16);
     66                stack_init = .;
    6367            end = . ;
    6468            _end = . ;
  • c/src/lib/libbsp/m68k/mvme147/startup/linkcmds

    r2f3692ee rdb88957  
    1717 *  $Id$
    1818 */
     19
     20StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
    1921
    2022MEMORY
     
    6567            *(.bss)
    6668            *(COMMON)
     69            . += StackSize; /* XXX -- Old gld can't handle this */
     70            . = ALIGN (16);
     71            stack_init = .;
    6772            end = . ;
    6873            _end = . ;
  • c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds

    r2f3692ee rdb88957  
    1717 *  $Id$
    1818 */
     19
     20StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
    1921
    2022MEMORY
     
    6567            *(.bss)
    6668            *(COMMON)
     69            . += StackSize; /* XXX -- Old gld can't handle this */
     70            . = ALIGN (16);
     71            stack_init = .;
    6772            end = . ;
    6873            _end = . ;
  • c/src/lib/libbsp/m68k/mvme162/startup/linkcmds

    r2f3692ee rdb88957  
    2020 *  $Id$
    2121 */
     22
     23StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
    2224
    2325MEMORY
     
    6365        *(.bss)
    6466        *(COMMON)
     67        . += StackSize; /* XXX -- Old gld can't handle this */
     68        . = ALIGN (16);
     69        stack_init = .;
    6570        end = . ;
    6671        _end = . ;
  • c/src/lib/start/m68k/start.s

    r2f3692ee rdb88957  
    7878        jlt     loop                    | loop until _end reached
    7979
    80         movel   # SYM (end),d0          | d0 = end of bss/start of heap
    81         addl    # SYM (heap_size),d0    | d0 = end of heap
    82         movel   d0, SYM (stack_start)   | Save for brk() routine
    83         addl    # SYM (stack_size),d0   | make room for stack
     80        movel   # SYM (stack_init),d0   | d0 = stop of stack
    8481        andl    #0xffffffc0,d0          | align it on 16 byte boundary
    8582        movw    #0x3700,sr              | SUPV MODE,INTERRUPTS OFF!!!
     
    125122        .space  4,0
    126123
    127         PUBLIC (stack_start)
    128 SYM (stack_start):
    129         .space  4,0
    130124END_DATA
    131125
     
    153147        .space  2
    154148
    155         PUBLIC (heap_size)
    156         .set   SYM (heap_size),0x2000
    157 
    158         PUBLIC (stack_size)
    159         .set   SYM (stack_size),0x1000
    160 
    161 
    162149END_DATA
    163150#endif
Note: See TracChangeset for help on using the changeset viewer.