Makefile: Disable start-stop-gc
ld.lld: error: undefined symbol: __start___lcd_driver
>>> referenced by dsim_panel.c:452 (/home/SamarV-121/leaf/out/target/product/m20lte/obj/KERNEL_OBJ/../../../../../../kernel/samsung/universal7904/drivers/video/fbdev/exynos/dpu_7885/panels/dsim_panel.c:452)
ld.lld: error: undefined symbol: __stop___lcd_driver
>>> referenced by dsim_panel.c:454 (/home/SamarV-121/leaf/out/target/product/m20lte/obj/KERNEL_OBJ/../../../../../../kernel/samsung/universal7904/drivers/video/fbdev/exynos/dpu_7885/panels/dsim_panel.c:454)
Change-Id: Ice058a64b36b1f88b30c22c5f892d0b1810d4d7e
diff --git a/Makefile b/Makefile
index 46006d4..1cf749d 100755
--- a/Makefile
+++ b/Makefile
@@ -930,7 +930,8 @@
LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
-LDFLAGS_vmlinux += $(call ld-option, --gc-sections,)
+LDFLAGS_vmlinux += $(call ld-option, --gc-sections,)
+LDFLAGS_vmlinux += -z nostart-stop-gc
endif
ifeq ($(CONFIG_STRIP_ASM_SYMS),y)