2000-04-04 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Apr 2000 23:05:32 +0000 (23:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Apr 2000 23:05:32 +0000 (23:05 +0000)
* readelf.c (process_symbol_table): Correctly read in symbol
versioning information.

binutils/ChangeLog
binutils/readelf.c

index a94b213c5682c16ddbf540b82e9166fc7b53dfe6..e8f2604aaf51bec55177527d1bf5a925a6fad729 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-04  H.J. Lu  <hjl@gnu.org>
+
+       * readelf.c (process_symbol_table): Correctly read in symbol
+       versioning information.
+
 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
 
        * po/binutils.pot: Regenerate.
index 53ba381d0fbfe409827196727b9a867ae3a121ee..050ef9c386eed68c978af2e6e11a253ee148d2e4 100644 (file)
@@ -3783,8 +3783,8 @@ process_version_sections (file)
                            {
                              Elf_External_Verneed   evn;
                              Elf_External_Vernaux   evna;
-                             Elf_Internal_Vernaux     ivna;
-                             unsigned long            vna_off;
+                             Elf_Internal_Vernaux   ivna;
+                             unsigned long          vna_off;
 
                              GET_DATA (offset, evn, "version need");
 
@@ -3882,10 +3882,10 @@ process_version_sections (file)
 
                          do
                            {
-                             Elf_Internal_Vernaux     ivna;
+                             Elf_Internal_Vernaux   ivna;
                              Elf_External_Verneed   evn;
                              Elf_External_Vernaux   evna;
-                             unsigned long            a_off;
+                             unsigned long          a_off;
 
                              GET_DATA (offset, evn, "version need");
 
@@ -4310,15 +4310,15 @@ process_symbol_table (file)
                          offset = version_info
                            [DT_VERSIONTAGIDX (DT_VERNEED)] - loadaddr;
 
-                         GET_DATA (offset, evn, "version need");
-
-                         ivn.vn_aux  = BYTE_GET (evn.vn_aux);
-                         ivn.vn_next = BYTE_GET (evn.vn_next);
-
                          do
                            {
                              unsigned long  vna_off;
 
+                             GET_DATA (offset, evn, "version need");
+
+                             ivn.vn_aux  = BYTE_GET (evn.vn_aux);
+                             ivn.vn_next = BYTE_GET (evn.vn_next);
+
                              vna_off = offset + ivn.vn_aux;
 
                              do