Changeset fe8e18a in rtems


Ignore:
Timestamp:
04/16/00 17:01:18 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
dda3dc9a
Parents:
e283b909
Message:

Patch from Eric Norum <eric@…> to modify the generic
m68k start code to setup the "environ" variable properly. With
this patch, his EPICS application that runs on the gen68360
also runs on the mvmv167.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/shared/start.S

    re283b909 rfe8e18a  
    9292        movec   a0,isp                | set interrupt stack
    9393#endif
    94         movel   #0,a7@-               | push environp
    95         movel   #0,a7@-               | push argv
     94        pea     env                   | push environp
     95        pea     arg                   | push argv
    9696        movel   #0,a7@-               | push argc
    9797
     
    116116BEGIN_DATA
    117117
     118        PUBLIC (environ)
     119        .align 2
     120SYM (environ):
     121        .long   env
     122
    118123        PUBLIC (start_frame)
    119124SYM (start_frame):
     
    124129BEGIN_BSS
    125130
    126         PUBLIC (environ)
    127         .align 2
    128 SYM (environ):
    129         .long  0
     131env: .long  0
     132arg: .long  0
    130133
    131134        PUBLIC (initial_isp)
Note: See TracChangeset for help on using the changeset viewer.