Added data and bss segment detection