]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
entered into RCS
authorRoland McGrath <roland@gnu.org>
Fri, 2 Oct 1992 23:03:51 +0000 (23:03 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 2 Oct 1992 23:03:51 +0000 (23:03 +0000)
sysdeps/unix/bsd/sun/m68k/sethostid.S
sysdeps/unix/bsd/sun/sparc/sethostid.S
sysdeps/unix/sysv/i386/signal.S

index 7b128a1f778b1e8d900cb07359758dc5750dc520..8b30f3fe65f9a8aa51dbf003b0bd540b0be7d2d4 100644 (file)
@@ -30,7 +30,7 @@ SYSCALL (sethostid, 1)
 .globl _sethostid
 .even
 _sethostid:
-       movel #ENOSYS, ___errno
+       movel #ENOSYS, _errno
        moveq #-1, d0
        rts
 
index 709fcea326da1cbd3c0dd6b4eacc03108228274b..fbafba5277af55e9df4b30683a7c02b1377373cc 100644 (file)
@@ -31,8 +31,8 @@ SYSCALL (sethostid, 1)
 
 ENTRY (sethostid)
        mov ENOSYS, %o0
-       sethi %hi(___errno), %g1
-       st %o0, [%g1 + %lo(___errno)]
+       sethi %hi(_errno), %g1
+       st %o0, [%g1 + %lo(_errno)]
        retl
        sub %g0, 1, %o0
 
index 6fd8113557cc016cb1460929bde714743cbd5055..14ef77bdc576cc6938195d947fd62e9f99cfe2e1 100644 (file)
@@ -22,10 +22,10 @@ Cambridge, MA 02139, USA.  */
    with the address of the `__sigreturn' function.  */
 
        .globl syscall_error
-       .globl ___sigreturn
+       .globl C_SYMBOL_NAME(__sigreturn)
 ENTRY (signal)
        lea SYS_signal, %eax
-       lea ___sigreturn, %edx
-       .byte 0x9a, 0, 0, 0, 0, 7, 0
+       lea C_SYMBOL_NAME(__sigreturn), %edx
+       .byte 0x9a, 0, 0, 0, 0, 7, 0 /* lcall $7, $0 -- GAS bug.  */
        jb syscall_error
        ret