2000-07-19 H.J. Lu <hjl@gnu.org>

* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
This commit is contained in:
H.J. Lu 2000-07-19 18:24:32 +00:00
parent df70244cd3
commit 05107a46ed
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-19 H.J. Lu <hjl@gnu.org> 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to

View File

@ -1070,6 +1070,7 @@ get_dynamic_type (type)
case DT_PREINIT_ARRAY: return "PREINIT_ARRAY"; case DT_PREINIT_ARRAY: return "PREINIT_ARRAY";
case DT_PREINIT_ARRAYSZ: return "PREINIT_ARRAYSZ"; case DT_PREINIT_ARRAYSZ: return "PREINIT_ARRAYSZ";
case DT_CHECKSUM: return "CHECKSUM";
case DT_PLTPADSZ: return "PLTPADSZ"; case DT_PLTPADSZ: return "PLTPADSZ";
case DT_MOVEENT: return "MOVEENT"; case DT_MOVEENT: return "MOVEENT";
case DT_MOVESZ: return "MOVESZ"; case DT_MOVESZ: return "MOVESZ";
@ -1100,10 +1101,6 @@ get_dynamic_type (type)
case DT_USED: return "USED"; case DT_USED: return "USED";
case DT_FILTER: return "FILTER"; case DT_FILTER: return "FILTER";
#if DT_CHECKSUM != 0
case DT_CHECKSUM: return "CHECKSUM";
#endif
default: default:
if ((type >= DT_LOPROC) && (type <= DT_HIPROC)) if ((type >= DT_LOPROC) && (type <= DT_HIPROC))
{ {