about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2012-11-28 10:24:06 +0100
committerAndreas Schwab <schwab@suse.de>2012-11-28 16:19:08 +0100
commite3c6aa3a5848a1beff925eba9a58e4e7c7463297 (patch)
treed427067955c9b2c483fbd1c3f3eb0bafc409f3b1
parent4cc34c3511d1dae73381bdcd70657d92a62bee44 (diff)
downloadglibc-e3c6aa3a5848a1beff925eba9a58e4e7c7463297.tar.gz
glibc-e3c6aa3a5848a1beff925eba9a58e4e7c7463297.tar.xz
glibc-e3c6aa3a5848a1beff925eba9a58e4e7c7463297.zip
Properly handle indirect functions in ABI check on powerpc64
-rw-r--r--ChangeLog5
-rw-r--r--scripts/abilist.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f2c9fcbe1..14f81368d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-28  Andreas Schwab  <schwab@suse.de>
+
+	* scripts/abilist.awk: Also handle indirect functions in .opd
+	section.
+
 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #13881]
diff --git a/scripts/abilist.awk b/scripts/abilist.awk
index 1c1d41d053..6d58f6663b 100644
--- a/scripts/abilist.awk
+++ b/scripts/abilist.awk
@@ -81,7 +81,7 @@ $2 == "g" || $2 == "w" && (NF == 7 || NF == 8) {
     type = "F";
     size = "";
   }
-  else if (type == "iD" && $4 == ".text") {
+  else if (type == "iD" && ($4 == ".text" || $4 == ".opd")) {
     # Indirect functions.
     type = "F";
     size = "";