mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 00:30:07 +00:00
alpha: Don't symbol_version syscalls outside libc
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output with #ifndef NOT_IN_libc.
This commit is contained in:
parent
63f1549e0e
commit
8d8f2279e7
@ -1,5 +1,8 @@
|
||||
2012-05-30 Richard Henderson <rth@twiddle.net>
|
||||
|
||||
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
|
||||
with #ifndef NOT_IN_libc.
|
||||
|
||||
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
|
||||
marked to avoid plt entry.
|
||||
|
||||
|
@ -76,6 +76,7 @@ emit_weak_aliases()
|
||||
*@@*)
|
||||
base=`echo $name | sed 's/@@.*//'`
|
||||
ver=`echo $name | sed 's/.*@@//'`
|
||||
echo " echo '#ifndef NOT_IN_libc'; \\"
|
||||
if test -z "$vcount" ; then
|
||||
source=$strong
|
||||
vcount=1
|
||||
@ -85,10 +86,14 @@ emit_weak_aliases()
|
||||
echo " echo 'strong_alias ($strong, $source)'; \\"
|
||||
fi
|
||||
echo " echo 'default_symbol_version($source, $base, $ver)'; \\"
|
||||
echo " echo '#else'; \\"
|
||||
echo " echo 'strong_alias ($strong, $base)'; \\"
|
||||
echo " echo '#endif'; \\"
|
||||
;;
|
||||
*@*)
|
||||
base=`echo $name | sed 's/@.*//'`
|
||||
ver=`echo $name | sed 's/.*@//'`
|
||||
echo " echo '#ifndef NOT_IN_libc'; \\"
|
||||
if test -z "$vcount" ; then
|
||||
source=$strong
|
||||
vcount=1
|
||||
@ -98,6 +103,7 @@ emit_weak_aliases()
|
||||
echo " echo 'strong_alias ($strong, $source)'; \\"
|
||||
fi
|
||||
echo " echo 'symbol_version ($source, $base, $ver)'; \\"
|
||||
echo " echo '#endif'; \\"
|
||||
;;
|
||||
!*)
|
||||
name=`echo $name | sed 's/.//'`
|
||||
|
Loading…
Reference in New Issue
Block a user