This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-1082-g8d8f227
- From: rth at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 May 2012 18:06:06 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-1082-g8d8f227
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 8d8f2279e7dc2b0bd3e605d017d52ce0094834fd (commit)
via 63f1549e0e97cfa6eca7a799e24dde3214b85346 (commit)
from a086b4d663cf946e0c20cf7f13001a7116c6b7ba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8d8f2279e7dc2b0bd3e605d017d52ce0094834fd
commit 8d8f2279e7dc2b0bd3e605d017d52ce0094834fd
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 11:05:13 2012 -0700
alpha: Don't symbol_version syscalls outside libc
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
with #ifndef NOT_IN_libc.
diff --git a/ChangeLog b/ChangeLog
index bb95d03..053e623 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index cedce31..2bc7cc0 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -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/.//'`
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=63f1549e0e97cfa6eca7a799e24dde3214b85346
commit 63f1549e0e97cfa6eca7a799e24dde3214b85346
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 11:02:44 2012 -0700
alpha: Handle ST_OTHER in objdump output
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
marked to avoid plt entry.
diff --git a/ChangeLog b/ChangeLog
index 66249fc..bb95d03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-30 Richard Henderson <rth@twiddle.net>
+
+ * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
+ marked to avoid plt entry.
+
2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14112]
diff --git a/scripts/abilist.awk b/scripts/abilist.awk
index 6a08839..1c1d41d 100644
--- a/scripts/abilist.awk
+++ b/scripts/abilist.awk
@@ -37,14 +37,15 @@ $4 == "*UND*" { next }
# Skip locals.
$2 == "l" { next }
-$2 == "g" || $2 == "w" && NF == 7 {
+# If the target uses ST_OTHER, it will be output before the symbol name.
+$2 == "g" || $2 == "w" && (NF == 7 || NF == 8) {
weak = $2;
type = $3;
size = $5;
sub(/^0*/, "", size);
size = " 0x" size;
version = $6;
- symbol = $7;
+ symbol = $NF;
gsub(/[()]/, "", version);
if (version == "GLIBC_PRIVATE") next;
@@ -60,6 +61,12 @@ $2 == "g" || $2 == "w" && NF == 7 {
type = "O";
seen_opd = 1;
}
+ else if (type == "D" && NF == 8 && $7 == "0x80") {
+ # Alpha functions avoiding plt entry in users
+ type = "F";
+ size = "";
+ seen_opd = -1;
+ }
else if ($4 == "*ABS*") {
type = "A";
size = "";
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
scripts/abilist.awk | 11 +++++++++--
sysdeps/unix/make-syscalls.sh | 6 ++++++
3 files changed, 23 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources