2
0
mirror of https://frontier.innolan.net/github/amigaos-binutils.git synced 2025-11-22 05:01:34 +00:00

@B display correct symbols for .data/.bss refs.

If a reloc is present it is used to lookup the correct symbol.
This commit is contained in:
bebbo
2017-03-20 10:53:30 +01:00
parent d1a6d29461
commit 771f273346
5 changed files with 54 additions and 11 deletions

View File

@ -98,6 +98,10 @@ typedef struct disassemble_info {
The bottom 16 bits are for the internal use of the disassembler. */
unsigned long flags;
#define INSN_HAS_RELOC 0x80000000
/* Used if DISASSEMBLER_NEEDS_RELOCS is defined. */
arelent *relp;
PTR private_data;
/* Function used to get bytes to disassemble. MEMADDR is the
@ -281,6 +285,9 @@ extern void perror_memory PARAMS ((int, bfd_vma, struct disassemble_info *));
extern void generic_print_address
PARAMS ((bfd_vma, struct disassemble_info *));
extern asection * generic_get_section_for_reloc
PARAMS((bfd_vma, struct disassemble_info *));
/* Always true. */
extern int generic_symbol_at_address
PARAMS ((bfd_vma, struct disassemble_info *));