+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
+ DT_FEATURE.
+ (process_dynamic_segment): Likewise.
+
+ * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
+ DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
+ (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
+ DF_1_NODUMP and DF_1_CONLFAT.
+
2000-07-18 Nick Clifton <nickc@cygnus.com>
* binutils.texi (readelf): Fix spelling typo.
case DT_PLTPADSZ: return "PLTPADSZ";
case DT_MOVEENT: return "MOVEENT";
case DT_MOVESZ: return "MOVESZ";
- case DT_FEATURE_1: return "FEATURE_1";
+ case DT_FEATURE: return "FEATURE";
case DT_POSFLAG_1: return "POSFLAG_1";
case DT_SYMINSZ: return "SYMINSZ";
case DT_SYMINENT: return "SYMINENT"; /* aka VALRNGHI */
case DT_ADDRRNGLO: return "ADDRRNGLO";
+ case DT_CONFIG: return "CONFIG";
+ case DT_DEPAUDIT: return "DEPAUDIT";
+ case DT_AUDIT: return "AUDIT";
+ case DT_PLTPAD: return "PLTPAD";
+ case DT_MOVETAB: return "MOVETAB";
case DT_SYMINFO: return "SYMINFO"; /* aka ADDRRNGHI */
case DT_VERSYM: return "VERSYM";
case DT_USED: return "USED";
case DT_FILTER: return "FILTER";
+#if DT_CHECKSUM != 0
+ case DT_CHECKSUM: return "CHECKSUM";
+#endif
+
default:
if ((type >= DT_LOPROC) && (type <= DT_HIPROC))
{
}
break;
- case DT_FEATURE_1:
+ case DT_FEATURE:
if (do_dynamic)
{
printf (_("Flags:"));
printf (" PARINIT");
val ^= DTF_1_PARINIT;
}
+ if (val & DTF_1_CONFEXP)
+ {
+ printf (" CONFEXP");
+ val ^= DTF_1_CONFEXP;
+ }
if (val != 0)
printf (" %lx", val);
puts ("");
printf (" INTERPOSE");
val ^= DF_1_INTERPOSE;
}
+ if (val & DF_1_NODEPLIB)
+ {
+ printf (" NODEPLIB");
+ val ^= DF_1_NODEPLIB;
+ }
+ if (val & DF_1_NODUMP)
+ {
+ printf (" NODUMP");
+ val ^= DF_1_NODUMP;
+ }
+ if (val & DF_1_CONLFAT)
+ {
+ printf (" CONLFAT");
+ val ^= DF_1_CONLFAT;
+ }
if (val != 0)
printf (" %lx", val);
puts ("");