aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2021-10-04 18:02:29 +0200
committerEric Wild <ewild@sysmocom.de>2021-10-04 18:05:45 +0200
commit5e82a2a1c6ad11fc5c02b5b57bbece4fe9b56364 (patch)
tree22032e3b9ebc4109f16b857e36607d1d8bc4b0e3
parent301aec51f7a07b126c2944eda2bcd7a6b4b6024e (diff)
Revert "firmware: data sections"
This reverts commit e6a76c7bf40d93c20dd5117806c39e3f8b0e6ad7. Might or might not cause weird issues depending on gcc and binutils versions, let's see if this helps. Change-Id: I2f593fd5e0f1494aae6b9fcfb2160a6c9168f5b8
-rw-r--r--firmware/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 50ca63f..0364166 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -175,7 +175,7 @@ CFLAGS += -Wno-suggest-attribute=noreturn
#CFLAGS += -Wa,-a,-ad
CFLAGS += -D__ARM -fno-builtin
CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb # -mfix-cortex-m3-ldrd
-CFLAGS += -fdata-sections -ffunction-sections -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -DTRACE_LEVEL=$(TRACE_LEVEL) -DALLOW_PEER_ERASE=$(ALLOW_PEER_ERASE)
+CFLAGS += -ffunction-sections -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -DTRACE_LEVEL=$(TRACE_LEVEL) -DALLOW_PEER_ERASE=$(ALLOW_PEER_ERASE)
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
CFLAGS += -DBOARD=\"$(BOARD)\" -DBOARD_$(BOARD)
CFLAGS += -DAPPLICATION=\"$(APP)\" -DAPPLICATION_$(APP)