OSDN Git Service

2000-07-19 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Wed, 19 Jul 2000 18:26:38 +0000 (18:26 +0000)
committerH.J. Lu <hjl@lucon.org>
Wed, 19 Jul 2000 18:26:38 +0000 (18:26 +0000)
* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.

bfd/ChangeLog
bfd/elf.c

index 40d08e1..86d5d84 100644 (file)
@@ -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,
index 5484564..d146ab9 100644 (file)
--- 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);