OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [or32/] [crt0.S] - Diff between revs 399 and 469

Show entire file | Details | Blame | View Log

Rev 399 Rev 469
Line 268... Line 268...
        .section .text
        .section .text
        .global _start
        .global _start
        .type   _start,@function
        .type   _start,@function
 
 
_start:
_start:
 
        /* First, clear r0. */
 
        l.movhi r0,0
        /* Finding the end of stack means we need to handle the bus
        /* Finding the end of stack means we need to handle the bus
           error. Patch in some special handler code. */
           error. Patch in some special handler code. */
        l.movhi r30,hi(__buserr)        /* Where to copy to */
        l.movhi r30,hi(__buserr)        /* Where to copy to */
        l.ori   r30,r30,lo(__buserr)
        l.ori   r30,r30,lo(__buserr)
        l.movhi r28,hi(__buserr_std)    /* Where to stop copying */
        l.movhi r28,hi(__buserr_std)    /* Where to stop copying */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.