Ignore:
Timestamp:
2018-03-11T17:15:15Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
12ae6d8
Parents:
615e83d
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:07:39)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:15:15)
Message:

Rename setjmp function to setjmp, use _Noreturn instead of attribute((noreturn)), minor comment changes.

Renaming for consistency with longjmp, and to better express that the implementation
of
setjmp has additional properties not defined by the C standard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc64/src/fibril.S

    r615e83d r55f068c  
    3232.text
    3333
    34 FUNCTION_BEGIN(setjmp)
     34FUNCTION_BEGIN(__setjmp)
    3535        #
    3636        # We rely on the kernel to flush our active register windows to memory
     
    5757        stx %g7, [%o0 + CONTEXT_OFFSET_TP]
    5858        retl
    59         mov 0, %o0              ! setjmp returns 0
    60 FUNCTION_END(setjmp)
     59        mov 0, %o0              ! __setjmp returns 0
     60FUNCTION_END(__setjmp)
    6161
    6262FUNCTION_BEGIN(__longjmp)
Note: See TracChangeset for help on using the changeset viewer.