aboutsummaryrefslogtreecommitdiff
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
commit3c9458e9534287bda2ab643e6c39b0008595a493 (patch)
tree0698a23a10b1400abd7941a58f30901382dbeb49 /bfd/syms.c
parentd2b2c203e1ff2daf8cfeab0906084f9389e66246 (diff)
downloadgdb-3c9458e9534287bda2ab643e6c39b0008595a493.zip
gdb-3c9458e9534287bda2ab643e6c39b0008595a493.tar.gz
gdb-3c9458e9534287bda2ab643e6c39b0008595a493.tar.bz2
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 e78f5ec..245369d 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