aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-19 18:26:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-19 18:26:38 +0000
commitd48188b96eae39d997c1cb4b4594881a37abf486 (patch)
treecc68d015b1b515bc1734da8795c114912d09846c /bfd/elf.c
parent05107a46eda4181b91e2f9996253f8ab2e9cea25 (diff)
downloadgdb-d48188b96eae39d997c1cb4b4594881a37abf486.zip
gdb-d48188b96eae39d997c1cb4b4594881a37abf486.tar.gz
gdb-d48188b96eae39d997c1cb4b4594881a37abf486.tar.bz2
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 5484564..d146ab9 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -666,6 +666,7 @@ _bfd_elf_print_private_bfd_data (abfd, farg)
case DT_FLAGS: name = "FLAGS"; break;
case DT_PREINIT_ARRAY: name = "PREINIT_ARRAY"; break;
case DT_PREINIT_ARRAYSZ: name = "PREINIT_ARRAYSZ"; break;
+ case DT_CHECKSUM: name = "CHECKSUM"; break;
case DT_PLTPADSZ: name = "PLTPADSZ"; break;
case DT_MOVEENT: name = "MOVEENT"; break;
case DT_MOVESZ: name = "MOVESZ"; break;
@@ -690,9 +691,6 @@ _bfd_elf_print_private_bfd_data (abfd, farg)
case DT_AUXILIARY: name = "AUXILIARY"; stringp = true; break;
case DT_USED: name = "USED"; break;
case DT_FILTER: name = "FILTER"; stringp = true; break;
-#if DT_CHECKSUM != 0
- case DT_CHECKSUM: name = "CHECKSUM"; break;
-#endif
}
fprintf (f, " %-11s ", name);