http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617
--- Comment #9 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-29 22:15:29 UTC --- Is it significant that in the assembly, the .mod_term_func section section (which captures the call to __asan_init) is emitted before the .mod_init_func section? LFE7: .mod_term_func .align 3 .quad __GLOBAL__sub_D_00099_0_cov.C .text __GLOBAL__sub_I_00099_1_cov.C: LFB8: pushq %rbp LCFI18: movq %rsp, %rbp LCFI19: call ___asan_init movl $1, %esi leaq LASAN0(%rip), %rdi call ___asan_register_globals popq %rbp LCFI20: ret LFE8: .mod_init_func .align 3 .quad __GLOBAL__sub_I_00099_1_cov.C .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support EH_frame1: .set L$set$0,LECIE1-LSCIE1 .long L$set$0 suggest that