]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
authorRoland McGrath <roland@gnu.org>
Sun, 30 Mar 2003 22:17:05 +0000 (22:17 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 30 Mar 2003 22:17:05 +0000 (22:17 +0000)
ChangeLog
scripts/abilist.awk

index c6e7164720e937312b0bc26af418444111560aa4..1fad0b81fd39d874346ac47e36d16dd1a94f94dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2003-03-30  Roland McGrath  <roland@redhat.com>
 
+       * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
+
        * intl/po2test.sed: Anchor substitution regexps to fix last change.
 
 2003-03-29  Paolo Bonzini  <bonzini@gnu.org>
index c0b123f52878a1a510527a090636a9523f19a6e3..efadc1cbf80167fc22aa9152d7e25195a35e6601 100644 (file)
@@ -12,6 +12,8 @@ BEGIN {
 /[^ :]+\.so\.[0-9]+:[  ]+.file format .*$/ {
   emit(0);
 
+  seen_opd = 0;
+
   sofullname = $1;
   sub(/:$/, "", sofullname);
   soname = sofullname;
@@ -52,8 +54,11 @@ $2 == "g" || $2 == "w" && NF == 7 {
     type = "T";
   }
   else if (type == "D" && $4 == ".opd") {
-    type = "O";
+    type = "F";
     size = "";
+    if (seen_opd < 0)
+      type = "O";
+    seen_opd = 1;
   }
   else if ($4 == "*ABS*") {
     type = "A";
@@ -63,6 +68,9 @@ $2 == "g" || $2 == "w" && NF == 7 {
     type = "D";
   }
   else if (type == "DF") {
+    if (symbol ~ /^\./ && seen_opd >= 0)
+      next;
+    seen_opd = -1;
     type = "F";
     size = "";
   }