diff options
| author | Petr Machata <[email protected]> | 2015-02-24 01:08:25 +0100 |
|---|---|---|
| committer | Petr Machata <[email protected]> | 2015-02-24 01:09:32 +0100 |
| commit | 939e4807ccd5f7f8f8826eb2914b895e4458c1a4 (patch) | |
| tree | ae838cd5d1ebe396e7879f2c0201e7ed8e7fda92 /backends/arm_symbol.c | |
| parent | 6c9f1ec5c5d5570ccd6979794b7cf5b4e3833809 (diff) | |
Support STT_ARM_TFUNC symbol type in ebl_symbol_type_name hook
Signed-off-by: Petr Machata <[email protected]>
Diffstat (limited to 'backends/arm_symbol.c')
| -rw-r--r-- | backends/arm_symbol.c | 15 |
1 files changed, 14 insertions, 1 deletions
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; +} |
