mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
Add support to the ARM platform specific section types.
This commit is contained in:
parent
427467b32e
commit
be01a59a79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255105
@ -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…
Reference in New Issue
Block a user