summaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-08 14:54:02 +0000
committerNick Clifton <nickc@redhat.com>2004-10-08 14:54:02 +0000
commit05f6efce298b4574ca838ee3d30ad7530b30370a (patch)
tree6f3a9eb6ec6977fb006b931707fdcae5391f9d4e /bfd/syms.c
parente0d1c175cf4c6bea7b4d4d9936d491025b3a8838 (diff)
downloadgdb-05f6efce298b4574ca838ee3d30ad7530b30370a.tar.gz
Implement a new BFD API function: bfd_is_target_special_symbol. Use this in nm
and objdump to skip the displaying of ARM Mapping symbols unless specifically requested.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index e78f5ec7be7..245369d20d7 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -382,6 +382,23 @@ DESCRIPTION
/*
FUNCTION
+ bfd_is_target_special_symbol
+
+SYNOPSIS
+ bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
+
+DESCRIPTION
+ Return TRUE iff a symbol @var{sym} in the BFD @var{abfd} is something
+ special to the particular target represented by the BFD. Such symbols
+ should normally not be mentioned to the user.
+
+.#define bfd_is_target_special_symbol(abfd, sym) \
+. BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
+.
+*/
+
+/*
+FUNCTION
bfd_canonicalize_symtab
DESCRIPTION