http://sourceware.org/bugzilla/show_bug.cgi?id=13684
Bug #: 13684 Summary: Labels generated by .macro are assembled with 0x00000000 as its value in the body of the assembly. Product: binutils Version: 2.21 Status: NEW Severity: critical Priority: P2 Component: gas AssignedTo: unassig...@sourceware.org ReportedBy: roland.kolu...@gmail.com Classification: Unclassified Created attachment 6211 --> http://sourceware.org/bugzilla/attachment.cgi?id=6211 A sample program to demonstrate the label problem. The attachment will give you a clear example of the problem. In my assembly I precede all labels with "_". The symbol table has the correct value, All .word _xxxx are assembled to 0x00000000. All branch addresses to any .macro generated label are the same with incorrect offset. I think it would be clear to you by looking at my attachment. But look at: line 40 --> b _word3_long and a valid line 39 --> b _home. line 46 --> b _word2, code generated is the same as line 40. Again check line 54 --. b _word1. Now look at lines 56 to 59. .word _home is ok, but .word _word2, .word _word1, and .word _word3_long assembled to 0x00000000. -- 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 bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils