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

            Bug ID: 23881
           Summary: pdp11 binutils fails if too much debug data
           Product: binutils
           Version: 2.31
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: pkoning at equallogic dot com
  Target Milestone: ---

Created attachment 11390
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11390&action=edit
test file full of .stabs data

For pdp11, the linker is happy to generate outputs with many kB of debug data,
but beyond a certain point such files are not readable in nm or objdump.
To reproduce, assemble the two attached files and link as:
pdp11-aout-ld  testdbg.o testdbg.o testdbg.o testdbg.o maindbg.o

Then objdump fails this way:
pdp11-aout-objdump -t a.out

a.out:     file format a.out-pdp11

/usr/local/pdp11-aout/bin/pdp11-aout-objdump: failed to read symbol table from:
a.out
/usr/local/pdp11-aout/bin/pdp11-aout-objdump: error message was: file in wrong
format

If I link testdbg.o just once or twice, objdump works fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to