123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name)
- ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name), @function)
- .align ALIGNARG(2)
- LITERAL_POSITION
- C_LABEL(name) \
- entry sp, FRAMESIZE
- CALL_MCOUNT
- .text
- ENTRY (name) \
- DO_CALL (syscall_name, args)
- movi a4, -4095
- bgeu a2, a4, SYSCALL_ERROR_LABEL; \
- .Lpseudo_end:
- SYSCALL_ERROR_HANDLER \
- END (name)
- .text
- ENTRY (name) \
- DO_CALL (syscall_name, args)
- END (name)
- .text
- ENTRY (name) \
- DO_CALL (syscall_name, args)
- neg a2, a2
- END (name)
- 0: movi a4, rtld_errno
- neg a2, a2
- s32i a2, a4, 0
- movi a2, -1
- j .Lpseudo_end;
- 0: rur a4, THREADPTR
- movi a3, SYSCALL_ERROR_ERRNO@TPOFF; \
- neg a2, a2
- add a4, a4, a3
- s32i a2, a4, 0
- movi a2, -1
- j .Lpseudo_end;
- 0: neg a2, a2
- mov a6, a2
- movi a4, __errno_location@PLT
- callx4 a4
- s32i a2, a6, 0
- movi a2, -1
- j .Lpseudo_end;
- 0: movi a4, errno
- neg a2, a2
- s32i a2, a4, 0
- movi a2, -1
- j .Lpseudo_end;
|