[Bug gas/11802] DWARF .debug_line entry has incorrect address if directives used for code

2010-07-12 Thread richard dot stuckey at virgin dot net
--- Additional Comments From richard dot stuckey at virgin dot net 2010-07-12 10:14 --- Then why does gas create any DWARF info at all for this? I am working on an application which generates an ELF/DWARF file from an input file which contains only the hex code of the instructions, not

[Bug gas/11802] New: DWARF .debug_line entry has incorrect address if directives used for code

2010-07-09 Thread richard dot stuckey at virgin dot net
If a .s file is created which uses .long, .short or .byte directives to specify the object code, instead of instruction mnenomics, the assembler gets the address in the first entry in the table incorrect by several bytes. E.g. using a test source void foo() { } and compiling this with gcc (-S op