added  -Wl,-gc-sections to removed unused sections