mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
entered into RCS
This commit is contained in:
parent
188c2e4aa9
commit
e4d42dcc62
@ -30,7 +30,7 @@ SYSCALL (sethostid, 1)
|
|||||||
.globl _sethostid
|
.globl _sethostid
|
||||||
.even
|
.even
|
||||||
_sethostid:
|
_sethostid:
|
||||||
movel #ENOSYS, ___errno
|
movel #ENOSYS, _errno
|
||||||
moveq #-1, d0
|
moveq #-1, d0
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
@ -31,8 +31,8 @@ SYSCALL (sethostid, 1)
|
|||||||
|
|
||||||
ENTRY (sethostid)
|
ENTRY (sethostid)
|
||||||
mov ENOSYS, %o0
|
mov ENOSYS, %o0
|
||||||
sethi %hi(___errno), %g1
|
sethi %hi(_errno), %g1
|
||||||
st %o0, [%g1 + %lo(___errno)]
|
st %o0, [%g1 + %lo(_errno)]
|
||||||
retl
|
retl
|
||||||
sub %g0, 1, %o0
|
sub %g0, 1, %o0
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@ Cambridge, MA 02139, USA. */
|
|||||||
with the address of the `__sigreturn' function. */
|
with the address of the `__sigreturn' function. */
|
||||||
|
|
||||||
.globl syscall_error
|
.globl syscall_error
|
||||||
.globl ___sigreturn
|
.globl C_SYMBOL_NAME(__sigreturn)
|
||||||
ENTRY (signal)
|
ENTRY (signal)
|
||||||
lea SYS_signal, %eax
|
lea SYS_signal, %eax
|
||||||
lea ___sigreturn, %edx
|
lea C_SYMBOL_NAME(__sigreturn), %edx
|
||||||
.byte 0x9a, 0, 0, 0, 0, 7, 0
|
.byte 0x9a, 0, 0, 0, 0, 7, 0 /* lcall $7, $0 -- GAS bug. */
|
||||||
jb syscall_error
|
jb syscall_error
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user