From e3c6aa3a5848a1beff925eba9a58e4e7c7463297 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 28 Nov 2012 10:24:06 +0100 Subject: Properly handle indirect functions in ABI check on powerpc64 --- ChangeLog | 5 +++++ scripts/abilist.awk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2f2c9fcbe1..14f81368d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-11-28 Andreas Schwab + + * scripts/abilist.awk: Also handle indirect functions in .opd + section. + 2012-11-28 Joseph Myers [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 = ""; -- cgit 1.4.1