The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by

the ARM EABI.
This commit is contained in:
Nick Clifton
2004-10-01 12:59:42 +00:00
parent 14127cc4f2
commit 40a18ebd3a
11 changed files with 139 additions and 4 deletions

View File

@@ -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;