Ignore:
Timestamp:
Jul 1, 1999, 9:52:33 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7782f9fc
Parents:
4e556493
Message:

Modified to support ELF. Before SYM() macro was not used consistently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/startsis/startsis.S

    r4e556493 re2ba0af6  
    129129*/
    130130
    131         .global __ERC32_MEC_Timer_Control_Mirror, _rdb_start, _CLOCK_SPEED
    132 
    133 _rdb_start:
     131        .global __ERC32_MEC_Timer_Control_Mirror, SYM(rdb_start), SYM(CLOCK_SPEED)
     132
     133SYM(rdb_start):
    134134__ERC32_MEC_Timer_Control_Mirror:
    135135
    136136  BAD_TRAP; BAD_TRAP;                           ! 7C - 7D undefined
    137137
    138 _CLOCK_SPEED:
     138SYM(CLOCK_SPEED):
    139139
    140140  .word 0x0a, 0, 0, 0                           ! 7E (10 MHz default)
     
    197197SYM(hard_reset):
    198198
    199         set     _trap_table, %g1           ! Initialize TBR
     199        set     SYM(trap_table), %g1           ! Initialize TBR
    200200        mov     %g1, %tbr
    201201
     
    221221        st      %sp, [%g6]
    222222
    223         set     _CLOCK_SPEED, %g6       ! Use 14 MHz in simulator
     223        set     SYM(CLOCK_SPEED), %g6   ! Use 14 MHz in simulator
    224224        set     14, %g1
    225225        st      %g1, [%g6]
Note: See TracChangeset for help on using the changeset viewer.