* readelf.c (dump_relocations): Fix typo when calculating
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 6 Aug 2004 13:13:30 +0000 (13:13 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 6 Aug 2004 13:13:30 +0000 (13:13 +0000)
sec_index.

binutils/ChangeLog
binutils/readelf.c

index 500124d7799ccadb73b2832d0bfcf91f4f440bf8..9889df0fa20c31da2b6ac5c72c83dcd02f8e41af 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-06  Andreas Schwab  <schwab@suse.de>
+
+       * readelf.c (dump_relocations): Fix typo when calculating
+       sec_index.
+
 2004-08-02  Jakub Bogusz  <qboosh@pld-linux.org>
 
        * dllwrap.c (deduce_name): Fix typos introduced when program_name
index 2a750cee0811938843086be2ee04b204df1ed30d..2d2c33708858da38cc0d50fcf39022f50c0b9297 100644 (file)
@@ -1225,7 +1225,7 @@ dump_relocations (FILE *file,
 
                      if (psym->st_shndx < SHN_LORESERVE)
                        sec_index = psym->st_shndx;
-                     else if (psym->st_shndx > SHN_LORESERVE)
+                     else if (psym->st_shndx > SHN_HIRESERVE)
                        sec_index = psym->st_shndx - (SHN_HIRESERVE + 1
                                                      - SHN_LORESERVE);
 
This page took 0.045325 seconds and 4 git commands to generate.