Changeset 55f068c in mainline for uspace/lib/c/arch/ia64


Ignore:
Timestamp:
2018-03-11T17:15:15Z (8 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.

Location:
uspace/lib/c/arch/ia64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia64/include/libarch/fibril.h

    r615e83d r55f068c  
    4343
    4444/*
    45  * setjmp() and __longjmp() are both leaf procedures.
     45 * __setjmp() and __longjmp() are both leaf procedures.
    4646 * No need to allocate scratch area.
    4747 */
  • uspace/lib/c/arch/ia64/src/fibril.S

    r615e83d r55f068c  
    3232.text
    3333
    34 FUNCTION_BEGIN(setjmp)
     34FUNCTION_BEGIN(__setjmp)
    3535        alloc loc0 = ar.pfs, 1, 49, 0, 0
    3636        mov loc1 = ar.unat ;;
     
    178178        mov ar.unat = loc1
    179179
    180         mov r8 = 0      /* setjmp returns 0 */
     180        mov r8 = 0      /* __setjmp returns 0 */
    181181        br.ret.sptk.many b0
    182 FUNCTION_END(setjmp)
     182FUNCTION_END(__setjmp)
    183183
    184184FUNCTION_BEGIN(__longjmp)
Note: See TracChangeset for help on using the changeset viewer.