https://sourceware.org/bugzilla/show_bug.cgi?id=25870

            Bug ID: 25870
           Summary: objdump: unable to disassemble a project with large
                    bss section
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: zhongyunde at huawei dot com
  Target Milestone: ---

base no the New released binutils 6.34, when you try objdump -SD a.out > a.dump
, you'll get an error similar with follow info, so I think the check in
function bfd_get_full_section_contents need more constraint.


error: a.out(.bss) section size (0x400038 bytes) is larger than file size
(0x184c bytes)
Reading section .bss failed because: memory exhausted

========= test case ==============
int garray[0x100000]; /* define a large bss section */

int main ()
{
         return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to