mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +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:
|
||||
return (ELF_T_BYTE);
|
||||
#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:
|
||||
/* FALLTHROUGH */
|
||||
case SHT_MIPS_REGINFO:
|
||||
/* FALLTHROUGH */
|
||||
case SHT_MIPS_OPTIONS:
|
||||
/* FALLTHROUGH */
|
||||
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */
|
||||
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND == SHT_ARM_EXIDX */
|
||||
return (ELF_T_BYTE);
|
||||
default:
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user