mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change "AUXILARY" to "AUXILIARY". (process_dynamic_segment): Print out strings for DT_CONFIG, DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2000-07-19 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* readelf.c (get_dynamic_type): Change "AUXILARY" to
|
||||||
|
"AUXILIARY".
|
||||||
|
(process_dynamic_segment): Print out strings for DT_CONFIG,
|
||||||
|
DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
|
||||||
|
|
||||||
2000-07-19 Mark Kettenis <kettenis@gnu.org>
|
2000-07-19 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* nm.c (usage): Change output of `nm --help' to include a
|
* nm.c (usage): Change output of `nm --help' to include a
|
||||||
|
@ -1097,7 +1097,7 @@ get_dynamic_type (type)
|
|||||||
case DT_VERNEED: return "VERNEED";
|
case DT_VERNEED: return "VERNEED";
|
||||||
case DT_VERNEEDNUM: return "VERNEEDNUM";
|
case DT_VERNEEDNUM: return "VERNEEDNUM";
|
||||||
|
|
||||||
case DT_AUXILIARY: return "AUXILARY";
|
case DT_AUXILIARY: return "AUXILIARY";
|
||||||
case DT_USED: return "USED";
|
case DT_USED: return "USED";
|
||||||
case DT_FILTER: return "FILTER";
|
case DT_FILTER: return "FILTER";
|
||||||
|
|
||||||
@ -3329,12 +3329,33 @@ process_dynamic_segment (file)
|
|||||||
|
|
||||||
case DT_AUXILIARY:
|
case DT_AUXILIARY:
|
||||||
case DT_FILTER:
|
case DT_FILTER:
|
||||||
|
case DT_CONFIG:
|
||||||
|
case DT_DEPAUDIT:
|
||||||
|
case DT_AUDIT:
|
||||||
if (do_dynamic)
|
if (do_dynamic)
|
||||||
{
|
{
|
||||||
if (entry->d_tag == DT_AUXILIARY)
|
switch (entry->d_tag)
|
||||||
printf (_("Auxiliary library"));
|
{
|
||||||
else
|
case DT_AUXILIARY:
|
||||||
printf (_("Filter library"));
|
printf (_("Auxiliary library"));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DT_FILTER:
|
||||||
|
printf (_("Filter library"));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DT_CONFIG:
|
||||||
|
printf (_("Configuration file"));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DT_DEPAUDIT:
|
||||||
|
printf (_("Dependency audit library"));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DT_AUDIT:
|
||||||
|
printf (_("Audit library"));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (dynamic_strings)
|
if (dynamic_strings)
|
||||||
printf (": [%s]\n", dynamic_strings + entry->d_un.d_val);
|
printf (": [%s]\n", dynamic_strings + entry->d_un.d_val);
|
||||||
@ -3506,6 +3527,7 @@ process_dynamic_segment (file)
|
|||||||
case DT_DEBUG :
|
case DT_DEBUG :
|
||||||
case DT_TEXTREL :
|
case DT_TEXTREL :
|
||||||
case DT_JMPREL :
|
case DT_JMPREL :
|
||||||
|
case DT_RUNPATH :
|
||||||
dynamic_info[entry->d_tag] = entry->d_un.d_val;
|
dynamic_info[entry->d_tag] = entry->d_un.d_val;
|
||||||
|
|
||||||
if (do_dynamic)
|
if (do_dynamic)
|
||||||
@ -3536,6 +3558,10 @@ process_dynamic_segment (file)
|
|||||||
printf (_("Library rpath: [%s]"), name);
|
printf (_("Library rpath: [%s]"), name);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case DT_RUNPATH:
|
||||||
|
printf (_("Library runpath: [%s]"), name);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
print_vma (entry->d_un.d_val, PREFIX_HEX);
|
print_vma (entry->d_un.d_val, PREFIX_HEX);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user