Add support to the ARM platform specific section types.
This commit is contained in:
parent
427467b32e
commit
be01a59a79
@ -84,13 +84,21 @@ _libelf_xlate_shtype(uint32_t sht)
|
|||||||
case SHT_SUNW_dof:
|
case SHT_SUNW_dof:
|
||||||
return (ELF_T_BYTE);
|
return (ELF_T_BYTE);
|
||||||
#endif
|
#endif
|
||||||
|
case SHT_ARM_PREEMPTMAP:
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
case SHT_ARM_ATTRIBUTES:
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
case SHT_ARM_DEBUGOVERLAY:
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
case SHT_ARM_OVERLAYSECTION:
|
||||||
|
/* FALLTHROUGH */
|
||||||
case SHT_MIPS_DWARF:
|
case SHT_MIPS_DWARF:
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case SHT_MIPS_REGINFO:
|
case SHT_MIPS_REGINFO:
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case SHT_MIPS_OPTIONS:
|
case SHT_MIPS_OPTIONS:
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */
|
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND == SHT_ARM_EXIDX */
|
||||||
return (ELF_T_BYTE);
|
return (ELF_T_BYTE);
|
||||||
default:
|
default:
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user