This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] bfd_elf_print_symbol


Actually, I've attached two patches -- please tell me which one
you prefer.

The first patch assumes that symbol->section CAN be null
(as implied by the test at line 1350).  In that case it needs
to be checked before invoking bfd_is_com_section, which will
dereference it.

The second patch assumes that symbol->section CANNOT be null,
in which case I am guessing that the test at line 1350 was
intended to be checking symbol->section->name.

Attachment: section1.txt
Description: Text document

Attachment: section2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]