[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12161] New: Unconforming ELF file causes SIGSEGV in avr-ld

From: meiermic at ee dot ethz.ch
Subject: [Bug ld/12161] New: Unconforming ELF file causes SIGSEGV in avr-ld
Date: Mon, 25 Oct 2010 18:52:01 +0000


           Summary: Unconforming ELF file causes SIGSEGV in avr-ld
           Product: binutils
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden

Created attachment 5085
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5085
ELF file which causes avr-ld to crash

The attached ELF file causes avr-ld to crash:

$ avr-ld govrout.o 
Segmentation fault

The ELF file is not a valid ELF file, the .e_info field of the .symtab section
header has the value 1, though the last local symbol is at index 1 and thus the
.e_info should be 2.

I think ld should at least print an error message instead of crashing.

I am running avr-ld on Linux, see below:

$ avr-ld --version
GNU ld (GNU Binutils) (WinAVR 20080610)

(that is the Debian 5.0 package)

$ uname -a
Linux thecomputer 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]