Properly handle indirect functions in ABI check on powerpc64

This commit is contained in:
Andreas Schwab 2012-11-28 10:24:06 +01:00
parent 4cc34c3511
commit e3c6aa3a58
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View File

@ -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 = "";