aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 40d08e1..86d5d84 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2000-07-19 H.J. Lu <hjl@gnu.org>
+ * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
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);