bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/11356] New: "as -alm" returns very long lines


From: doko at debian dot org
Subject: [Bug gas/11356] New: "as -alm" returns very long lines
Date: 8 Mar 2010 10:03:52 -0000

[forwarded from http://bugs.debian.org/570549]

seen with 2.20.1 and trunk 20100223.

using "as -alm -o /dev/null - < inputfile.s > outputfile.s" to expand 
assembler macros.

Now I saw that in the last few months the output has changed in a bad way.


Using the commandline
        as -alm -o /dev/null - < example/test-prog.s

on the attached file I get a very long line that seems to be missing a line 
terminator (\0?) at the right place, because the whole assembler source code 
that's behind is returned in this line (broken for readability):

  5 0000 68616861      .string "haha %x\n" .text.globl hex .type
        hex,@functionhex: leave ret.LFE4: .size main,.-main .ident "GCC:
        (Ubuntu 4.4.1-4ubuntu9) 4.4.1" .section .note.GNU-stack,"",@progbits
   5      2025780A
   5      00
   6                    .text
   7                    .globl hex
   8                    .type hex,@function
   9                    hex:

The wrong output is no longer accepted by "as", and there's no easy way to 
split the long line at the right places.

-- 
           Summary: "as -alm" returns very long lines
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]