Add --gc-sections to LDFLAGS.