aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2013-08-31 18:13:20 +0000
committerAndrew Turner <andrew@FreeBSD.org>2013-08-31 18:13:20 +0000
commitbe01a59a79c085139916ce36ba03d73c7531475b (patch)
tree6e5ff056ab3f8726486894491f70e65180020a9f /lib
parent427467b32e4c249e1f1ea03c2734289d49eeea30 (diff)
downloadsrc-be01a59a79c085139916ce36ba03d73c7531475b.tar.gz
src-be01a59a79c085139916ce36ba03d73c7531475b.zip
Add support to the ARM platform specific section types.
Notes
Notes: svn path=/head/; revision=255105
Diffstat (limited to 'lib')
-rw-r--r--lib/libelf/libelf_data.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c
index 3fbb067eaee9..17808ef9acd2 100644
--- a/lib/libelf/libelf_data.c
+++ b/lib/libelf/libelf_data.c
@@ -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);