diff options
author | andrew <andrew@FreeBSD.org> | 2013-08-31 18:13:20 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-08-31 18:13:20 +0000 |
commit | 8190b13763a31142281bab812b8c0f3cb6eafa21 (patch) | |
tree | 6e5ff056ab3f8726486894491f70e65180020a9f /lib/libelf/libelf_data.c | |
parent | db710e1091a0273897c76d19c2e204f984fcacdf (diff) | |
download | FreeBSD-src-8190b13763a31142281bab812b8c0f3cb6eafa21.zip FreeBSD-src-8190b13763a31142281bab812b8c0f3cb6eafa21.tar.gz |
Add support to the ARM platform specific section types.
Diffstat (limited to 'lib/libelf/libelf_data.c')
-rw-r--r-- | lib/libelf/libelf_data.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 3fbb067..17808ef 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); |