forked from Imagelibrary/binutils-gdb
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
This commit is contained in:
@@ -2403,6 +2403,19 @@ get_ia64_section_type_name (unsigned int sh_type)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_arm_section_type_name (unsigned int sh_type)
|
||||
{
|
||||
switch (sh_type)
|
||||
{
|
||||
case SHT_ARM_EXIDX:
|
||||
return "ARM_EXIDX";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_section_type_name (unsigned int sh_type)
|
||||
{
|
||||
@@ -2453,6 +2466,9 @@ get_section_type_name (unsigned int sh_type)
|
||||
case EM_IA_64:
|
||||
result = get_ia64_section_type_name (sh_type);
|
||||
break;
|
||||
case EM_ARM:
|
||||
result = get_arm_section_type_name (sh_type);
|
||||
break;
|
||||
default:
|
||||
result = NULL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user