zhanggen12 at hotmail dot com changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |---

--- Comment #2 from zhanggen12 at hotmail dot com ---
(In reply to Alan Modra from comment #1)
> Seems to already be fixed with 2.31 or master binutils

The stack trace is as follows from gdb:

#0  aout_32_swap_std_reloc_out (abfd=abfd@entry=0x7482f0, g=0x74a730,
    at aoutx.h:1971
#1  0x000000000048980f in aout_32_squirt_out_relocs (abfd=abfd@entry=0x7482f0,
section=<optimized out>)
    at aoutx.h:2444
#2  0x00000000004840a1 in i386linux_write_object_contents (abfd=0x7482f0) at
#3  0x000000000043066a in bfd_close (abfd=0x7482f0) at opncls.c:731
#4  0x000000000040bd36 in copy_file (
output_filename=output_filename@entry=0x7fffffffe2ba "a.elf",
    input_target=input_target@entry=0x0, output_target=<optimized out>,
    input_arch=input_arch@entry=0x0) at objcopy.c:3530
#5  0x0000000000404924 in copy_main (argv=<optimized out>, argc=<optimized
out>) at objcopy.c:5478
#6  main (argc=3, argv=0x7fffffffdef8) at objcopy.c:5582

So the crash happens in aoutx.h, a header file in Binary File Descriptor

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

Reply via email to