bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/12519] New: size generated from .size _function, .-_function is


From: thloh at altera dot com
Subject: [Bug gas/12519] New: size generated from .size _function, .-_function is faulty
Date: Fri, 25 Feb 2011 03:38:36 +0000

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

           Summary: size generated from .size _function, .-_function is
                    faulty
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Created attachment 5265
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5265
the reproduction case source file sample

See the foo.S attached. 
When the code is compiled and linked (with a dummy main function), objdump -x
shows that a faulty _test_nop size is calculated (in the example, 2 instead of
4). Removing the .section fixes the problem. 

This is causing some issues with GDB debugger in our architecture (Nios II).
We've tested this in our architecture and with IA32.

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