Package: binutils Version: 2.20.51.20100216-1 Severity: normal I'm 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. Please fix. Thank you very much. Regards, Phil -- Versioning your /etc, /home or even your whole installation? Try fsvs (fsvs.tigris.org)!
.file "test-prog.c" .comm g,4,4 .section .rodata .LC0: .string "haha %x\n" .text .globl hex .type hex, @function hex: leave ret .LFE4: .size main, .-main .ident "GCC: (Ubuntu 4.4.1-4ubuntu9) 4.4.1" .section .note.GNU-stack,"",@progbits