summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-08-31 18:13:20 +0000
committerandrew <andrew@FreeBSD.org>2013-08-31 18:13:20 +0000
commit8190b13763a31142281bab812b8c0f3cb6eafa21 (patch)
tree6e5ff056ab3f8726486894491f70e65180020a9f /lib
parentdb710e1091a0273897c76d19c2e204f984fcacdf (diff)
downloadFreeBSD-src-8190b13763a31142281bab812b8c0f3cb6eafa21.zip
FreeBSD-src-8190b13763a31142281bab812b8c0f3cb6eafa21.tar.gz
Add support to the ARM platform specific section types.
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 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);
OpenPOWER on IntegriCloud