summaryrefslogtreecommitdiff
path: root/opcodes/dis-buf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-11-14 15:12:44 +0000
committerNick Clifton <nickc@redhat.com>2003-11-14 15:12:44 +0000
commit47d9bc9937640f2cb1686496926a9793602edcfa (patch)
treea7e7fe5f30bee810b9de8136a5dcf6dd81150aa3 /opcodes/dis-buf.c
parent0a2123ee535bf7491795cec1106f7192524945b7 (diff)
downloadbinutils-redhat-47d9bc9937640f2cb1686496926a9793602edcfa.tar.gz
Add new field to disassemble_info structure: symbol_is_valid() and use it to
skip displaying arm elf mapping symbols in disassembly output.
Diffstat (limited to 'opcodes/dis-buf.c')
-rw-r--r--opcodes/dis-buf.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/dis-buf.c b/opcodes/dis-buf.c
index 8f846a9b1b..83fbfbd7d2 100644
--- a/opcodes/dis-buf.c
+++ b/opcodes/dis-buf.c
@@ -107,7 +107,7 @@ generic_strcat_address (addr, buf, len)
}
#endif
-/* Just return the given address. */
+/* Just return true. */
int
generic_symbol_at_address (addr, info)
@@ -116,3 +116,12 @@ generic_symbol_at_address (addr, info)
{
return 1;
}
+
+/* Just return TRUE. */
+
+bfd_boolean
+generic_symbol_is_valid (asymbol * sym ATTRIBUTE_UNUSED,
+ struct disassemble_info *info ATTRIBUTE_UNUSED)
+{
+ return TRUE;
+}