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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils