mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
* readelf.c (get_alpha_dynamic_type): New.
(get_dynamic_type): Call it.
This commit is contained in:
@ -1470,6 +1470,17 @@ get_ia64_dynamic_type (unsigned long type)
|
||||
}
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_alpha_dynamic_type (unsigned long type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case DT_ALPHA_PLTRO: return "ALPHA_PLTRO";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_dynamic_type (unsigned long type)
|
||||
{
|
||||
@ -1572,6 +1583,9 @@ get_dynamic_type (unsigned long type)
|
||||
case EM_IA_64:
|
||||
result = get_ia64_dynamic_type (type);
|
||||
break;
|
||||
case EM_ALPHA:
|
||||
result = get_alpha_dynamic_type (type);
|
||||
break;
|
||||
default:
|
||||
result = NULL;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user