projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce a new linker flag LDFLAGS_FINAL
[platform/kernel/u-boot.git]
/
arch
/
nios2
/
config.mk
diff --git
a/arch/nios2/config.mk
b/arch/nios2/config.mk
index
fa93180
..
d241a96
100644
(file)
--- a/
arch/nios2/config.mk
+++ b/
arch/nios2/config.mk
@@
-31,5
+31,5
@@
PLATFORM_CPPFLAGS += -G0
LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
-LDFLAGS_
u-boot
+= --gc-sections
+LDFLAGS_
FINAL
+= --gc-sections
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections