From 939e4807ccd5f7f8f8826eb2914b895e4458c1a4 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 24 Feb 2015 01:08:25 +0100 Subject: Support STT_ARM_TFUNC symbol type in ebl_symbol_type_name hook Signed-off-by: Petr Machata --- backends/arm_symbol.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'backends/arm_symbol.c') diff --git a/backends/arm_symbol.c b/backends/arm_symbol.c index cd467ffc..da4a50a7 100644 --- a/backends/arm_symbol.c +++ b/backends/arm_symbol.c @@ -1,5 +1,5 @@ /* Arm specific symbolic name handling. - Copyright (C) 2002-2009, 2014 Red Hat, Inc. + Copyright (C) 2002-2009, 2014, 2015 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -129,3 +129,16 @@ arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_ty { return sh_type == SHT_ARM_EXIDX; } + +const char * +arm_symbol_type_name (int type, + char *buf __attribute__ ((unused)), + size_t len __attribute__ ((unused))) +{ + switch (type) + { + case STT_ARM_TFUNC: + return "ARM_TFUNC"; + } + return NULL; +} -- cgit v1.2.3