bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/16109] New: Incorrect listing (single line comment after multil


From: makhaloff at gmail dot com
Subject: [Bug gas/16109] New: Incorrect listing (single line comment after multiline one causes line mis-alignment)
Date: Fri, 01 Nov 2013 04:26:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16109

            Bug ID: 16109
           Summary: Incorrect listing (single line comment after multiline
                    one causes line mis-alignment)
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: makhaloff at gmail dot com

I have a simple example:

/*
*/#
nop
nop

There are some assembler outputs:

$ arm-linux-gnueabi-as -ahl 1.s
ARM GAS  1.s                    page 1


   1                    /*
   2 0000 0000A0E1      */#
   3                    nop
   4 0004 0000A0E1      nop
   5 


$ mips-linux-as -ahl 1.s
GAS LISTING 1.s                         page 1


   1                    /*
   2 0000 00000000      */#
   3                    nop
   4 0004 00000000      nop
   5 0008 00000000 
   5      00000000 


After some modification:


/*
*/
nop
nop

listing is corect.

$ arm-linux-gnueabi-as -ahl 1.s
ARM GAS  1.s                    page 1


   1                    /*
   2                    */
   3 0000 0000A0E1      nop
   4 0004 0000A0E1      nop
   5

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