IRC logs for #openrisc Sunday, 2012-09-30

stekernat least running 'readelf --debug-dump=decodedline' on the elfs produced by the old as and the new gives different results06:42
stekernand the or32 one looks strange (even to the layman I am)06:46
stekernhttp://pastie.org/486921706:55
stekernnot sure if the or1k one looks sane06:55
stekernbut i guess the 'starting address' is the offset in the function06:55
stekernjust realised it's hard to see the line numbers of the .c the way I pasted it06:56
stekernhttp://pastie.org/486925206:57
stekernmaybe my guess is wrong... line 16 is main, and the .loc is placed before the first instruction and that's not 007:03
stekernI probably should read up on the format and stop guessing ;)07:04
stekernah, no, how silly of me... it's the offset in the section07:13
stekernhttp://pastie.org/486938007:16
stekernso .loc 16 is clearly wrongly encoded in the or32 case (0x30) since it's on the first line in main, that starts at address 0x20. or1k has the correct starting address (0x20).07:19
stekerndoesn't prove that it'd be safe to turn on DWARF2_ASM_LINE_DEBUG_INFO, but at least it proves or1k does something right where or32 do it wrong.07:21

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!