Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).

This commit is contained in:
Ulrich Drepper 2002-12-31 20:37:32 +00:00
parent 7922283928
commit db16023193
16 changed files with 16 additions and 16 deletions

View File

@ -77,7 +77,7 @@ ENTRY(_setjmp)
mov 0, a1
br $sigsetjmp_local
END(_setjmp)
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)
ENTRY(setjmp)
ldgp gp, 0(pv)

View File

@ -27,4 +27,4 @@ ENTRY (_setjmp)
mov r1, #0
b PLTJMP(C_SYMBOL_NAME(__sigsetjmp))
END (_setjmp)
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)

View File

@ -36,4 +36,4 @@ _setjmp:
ldi 0, %r25
.procend
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)

View File

@ -40,4 +40,4 @@ ENTRY (_setjmp)
j C_SYMBOL_NAME (__sigsetjmp)
#endif
.end _setjmp
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)

View File

@ -34,4 +34,4 @@ ENTRY (_setjmp)
nop
jr t9
dli a1, 0 /* Pass a second argument of zero. */
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)

View File

@ -29,6 +29,6 @@ SYSCALL__ (fork, 0)
and r0, r0, r1
RETINSTR(mov, pc, r14)
PSEUDO_END (__fork)
strong_alias (__fork, __GI___fork)
libc_hidden_def (__fork)
weak_alias (__fork, fork)

View File

@ -51,6 +51,6 @@ error:
movel d0, _errno
moveq #-1, d0
jmp a0@
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -23,6 +23,6 @@ SYSCALL__ (fork, 0)
cmovne a4, 0, v0
ret
.end __fork
strong_alias (__fork, __GI___fork)
libc_hidden_def (__fork)
weak_alias (__fork, fork)

View File

@ -51,6 +51,6 @@ error:
movel d0, _errno
moveq #-1, d0
jmp a0@
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -31,6 +31,6 @@ parent:
ret
nop
.end __vfork
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -52,6 +52,6 @@ error:
movl r0, _errno
mnegl $1, r0
jmp (r2)
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -27,6 +27,6 @@ SYSCALL__ (fork, 0)
parent:
ret
.end __fork
strong_alias (__fork, __GI___fork)
libc_hidden_def (__fork)
weak_alias (__fork, fork)

View File

@ -46,6 +46,6 @@ ENTRY (__vfork)
b PLTJMP(C_SYMBOL_NAME(__syscall_error))
PSEUDO_END (__vfork)
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -22,6 +22,6 @@ PSEUDO (__vfork, vfork, 0)
Ret
nop
PSEUDO_END (__vfork)
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -62,6 +62,6 @@ ENTRY (__vfork)
rts
PSEUDO_END (__vfork)
strong_alias (__vfork, __GI___vfork)
libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)

View File

@ -30,4 +30,4 @@ ENTRY (_setjmp)
pushl r1 /* Push back first argument. */
pushl r0 /* Push back return PC. */
jmp C_SYMBOL_NAME (__sigsetjmp)
strong_alias (_setjmp, __GI__setjmp)
libc_hidden_def (_setjmp)