fix for - and _ in section names

Change-Id: Iac32c5e102e4c7e2f20246402a165b1944cea9f2