[efr32] remove -nostartfiles to use Newlib _start (#5905)

Remove -nostartfiles. There's currently no custom __START defined
anywhere.

Remove -D__STARTUP_CLEAR_BSS for silabs. Standard initialization
should already take care of this.
This commit is contained in:
Mason Tran
2020-12-02 13:57:46 -08:00
committed by GitHub
parent 8f2e1138e8
commit da6662c793
5 changed files with 0 additions and 9 deletions
-2
View File
@@ -96,7 +96,6 @@ COMMONCFLAGS := \
-Os \
-g \
-I$(HAL_CONF_DIR) \
-D__START=main \
-D$(MCU) \
$(EFR32_CONFIG_FILE_CPPFLAGS) \
$(NULL)
@@ -138,7 +137,6 @@ CXXFLAGS += \
LDFLAGS += \
$(COMMONCFLAGS) \
$(target_LDFLAGS) \
-nostartfiles \
-specs=nano.specs \
-specs=nosys.specs \
-Wl,--gc-sections \
-2
View File
@@ -114,7 +114,6 @@ COMMONCFLAGS := \
-Os \
-g \
-I$(HAL_CONF_DIR) \
-D__START=main \
-D$(MCU) \
$(EFR32_CONFIG_FILE_CPPFLAGS) \
$(NULL)
@@ -156,7 +155,6 @@ CXXFLAGS += \
LDFLAGS += \
$(COMMONCFLAGS) \
$(target_LDFLAGS) \
-nostartfiles \
-specs=nano.specs \
-specs=nosys.specs \
-Wl,--gc-sections \
-2
View File
@@ -100,7 +100,6 @@ COMMONCFLAGS := \
-Os \
-g \
-I$(HAL_CONF_DIR) \
-D__START=main \
-D$(MCU) \
$(EFR32_CONFIG_FILE_CPPFLAGS) \
$(NULL)
@@ -142,7 +141,6 @@ CXXFLAGS += \
LDFLAGS += \
$(COMMONCFLAGS) \
$(target_LDFLAGS) \
-nostartfiles \
-specs=nano.specs \
-specs=nosys.specs \
-Wl,--gc-sections \
-2
View File
@@ -106,7 +106,6 @@ COMMONCFLAGS := \
-Os \
-g \
-I$(HAL_CONF_DIR) \
-D__START=main \
-D$(MCU) \
$(EFR32_CONFIG_FILE_CPPFLAGS) \
$(NULL)
@@ -148,7 +147,6 @@ CXXFLAGS += \
LDFLAGS += \
$(COMMONCFLAGS) \
$(target_LDFLAGS) \
-nostartfiles \
-specs=nano.specs \
-specs=nosys.specs \
-Wl,--gc-sections \
-1
View File
@@ -165,7 +165,6 @@ libsilabs_mbedtls_a_SOURCES =
# =============================================================================
COMMONCPPFLAGS = \
-D__STARTUP_CLEAR_BSS \
-I$(srcdir) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/core \