------- 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 their mnemonics,
outputting a .long for each 4-byte instruction, and a .loc preceding it to give
the file / line number information.  This output file is then the input file for
gas, which generates an entry in the .debug_line section for each instruction,
but gets the offset of the first instruction wrong by 4 bytes.  There are no
instructions in the .text section of the file input to gas, only the .long
directives, so if gas is not supposed to generate debug info for
.byte/.short/... then surely the .debug_line section should be empty?   That
would have been better than debug data which was almost correct.



-- 


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

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to