Only emit non-empty sections
Always emit .text and .debug_line in debug mode
Don't emit debug info for proto-funcs and uninit-decls
Merge asm/section emitting changes