diff options
author | Nick Clifton <nickc@redhat.com> | 2003-11-14 15:12:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-11-14 15:12:44 +0000 |
commit | 22a398e1906e55c453f561070206acb80daf91f1 (patch) | |
tree | 65bf0b1990f70a6de47ecf23178e8cac8daedac9 /opcodes/dis-buf.c | |
parent | 0a90bcdd1e7a73c342ab98507cee35df59fbcdbd (diff) | |
download | binutils-gdb-22a398e1906e55c453f561070206acb80daf91f1.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.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/dis-buf.c b/opcodes/dis-buf.c index 8f846a9b1b7..83fbfbd7d21 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; +} |