Added support for generate DWARF .debug_aranges sections automatically.
Fixed warning