bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13612] New: segmentation fault with --relax option, avr target


From: fabio.varesano at gmail dot com
Subject: [Bug ld/13612] New: segmentation fault with --relax option, avr target
Date: Sun, 22 Jan 2012 09:37:52 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13612

             Bug #: 13612
           Summary: segmentation fault with --relax option, avr target
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Hello, it seems that ld has some issue when run with --relax on AVR targets
resulting in a segmentation fault.

See details at http://comments.gmane.org/gmane.comp.gnu.binutils/55903

Simple test case:
//avr-gcc main.c -mrelax -ffunction-sections -mmcu=atmega128
// using binutils-2.22
void func2(int a)
{
}

void func1(void)
{
  func2(10);
}

int main(void)
{
  func1();
}

-- 
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]