summaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-08 14:54:04 +0000
committerNick Clifton <nickc@redhat.com>2004-10-08 14:54:04 +0000
commit458b257455a4873d9ba4be277de58e107a4e3bb7 (patch)
treec74b58e044f732e3cf33c861df194a2074ef8761 /bfd/syms.c
parent9f17dd738a1ef29c2cac93d21b583158cc08c27c (diff)
downloadbinutils-redhat-458b257455a4873d9ba4be277de58e107a4e3bb7.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 e78f5ec7be..245369d20d 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