Delete duplicate struct objdump_disasm_info field
authorAlan Modra <amodra@gmail.com>
Mon, 9 Dec 2019 10:17:04 +0000 (20:47 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 9 Dec 2019 22:31:12 +0000 (09:01 +1030)
commitf59f89789fc17166ee05491e5c430706c9b7c18e
treea605c016e35f2b2f4f3655e262c5b4662fc332cb
parente7c22a69acb04edce2838b8fbe028b7159c87f47
Delete duplicate struct objdump_disasm_info field

objdump_disasm_info.sec duplicates disassemble_info.section

* objdump.c (struct objdump_disasm_info): Delete "sec".
(find_symbol_for_address): Use inf->section rather than aux->sec.
(objdump_print_addr, disassemble_bytes): Likewise.
(disassemble_section): Don't set aux->sec.
binutils/ChangeLog
binutils/objdump.c