diff options
author | Richard Henderson <rth@twiddle.net> | 2014-05-25 09:04:54 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-05-25 09:04:54 -0700 |
commit | 82aab97cbf74d03ff7eab70f918548e14fe0a370 (patch) | |
tree | b8d4ef8b3e7c156a5f533a991a1e5b0820ef23b1 /sysdeps | |
parent | 900e445fad9bf301a42c0d0008cce504ad94050e (diff) | |
download | glibc-82aab97cbf74d03ff7eab70f918548e14fe0a370.tar.gz glibc-82aab97cbf74d03ff7eab70f918548e14fe0a370.tar.xz glibc-82aab97cbf74d03ff7eab70f918548e14fe0a370.zip |
alpha: Do non-default symbols in pt-vfork.S
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/pt-vfork.S | 9 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/vfork.S | 11 |
2 files changed, 14 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/pt-vfork.S b/sysdeps/unix/sysv/linux/alpha/pt-vfork.S index 1d137365b2..18bf338b9f 100644 --- a/sysdeps/unix/sysv/linux/alpha/pt-vfork.S +++ b/sysdeps/unix/sysv/linux/alpha/pt-vfork.S @@ -32,3 +32,12 @@ #include <vfork.S> #endif + +#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_20) +compat_symbol (libpthread, __libc_vfork, vfork, GLIBC_2_0); +#endif + +#if SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_20) +strong_alias (__libc_vfork, __vfork_compat) +compat_symbol (libpthread, __vfork_compat, __vfork, GLIBC_2_1_2); +#endif diff --git a/sysdeps/unix/sysv/linux/alpha/vfork.S b/sysdeps/unix/sysv/linux/alpha/vfork.S index 0507d3523e..befcd78e60 100644 --- a/sysdeps/unix/sysv/linux/alpha/vfork.S +++ b/sysdeps/unix/sysv/linux/alpha/vfork.S @@ -18,7 +18,7 @@ #include <sysdep.h> #include <tcb-offsets.h> -ENTRY(__vfork) +ENTRY(__libc_vfork) PSEUDO_PROLOGUE /* Load the thread pointer value in A1 across the vfork. */ @@ -47,11 +47,10 @@ ENTRY(__vfork) bne a3, SYSCALL_ERROR_LABEL ret -PSEUDO_END (__vfork) -libc_hidden_def (__vfork) - -weak_alias (__vfork, vfork) +PSEUDO_END (__libc_vfork) #if !NOT_IN_libc -strong_alias (__vfork, __libc_vfork) +weak_alias (__libc_vfork, vfork) +strong_alias (__libc_vfork, __vfork) +libc_hidden_def (__vfork) #endif |