------- Comment #5 from zuogang at huawei dot com 2008-11-21 02:15 ------- (In reply to comment #4) > *** Bug 38186 has been marked as a duplicate of this bug. ***
I post the bug 38186; I want to know why the asm-defined func is placed in .debug_macinfo section, is it correct? info from the obj file generated by option -g3 Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .text PROGBITS 00000000 000034 001b68 00 AX 0 0 4 ... [10] .debug_macinfo PROGBITS 00000000 004567 0a8a53 00 0 0 1 ... Symbol table '.symtab' contains 64 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND ... 9: 000a8929 0 NOTYPE LOCAL DEFAULT 10 MON_OnCallGetIndex 10: 000a8939 0 NOTYPE LOCAL DEFAULT 10 MON_OnRetGetIndex ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26908