* readelf.c (dump_relocations): Fix typo when calculating
sec_index.
This commit is contained in:
parent
9e6ce19177
commit
efcb5b0e5f
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
|
||||||
|
|
||||||
* dllwrap.c (deduce_name): Fix typos introduced when program_name
|
* dllwrap.c (deduce_name): Fix typos introduced when program_name
|
||||||
|
|
|
@ -1225,7 +1225,7 @@ dump_relocations (FILE *file,
|
||||||
|
|
||||||
if (psym->st_shndx < SHN_LORESERVE)
|
if (psym->st_shndx < SHN_LORESERVE)
|
||||||
sec_index = psym->st_shndx;
|
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
|
sec_index = psym->st_shndx - (SHN_HIRESERVE + 1
|
||||||
- SHN_LORESERVE);
|
- SHN_LORESERVE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue