summaryrefslogtreecommitdiffstats
path: root/src/build/mkrules/cflags.env.mk
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-05-23 19:36:35 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-07-12 09:48:43 -0500
commitb9c5a79eb89e837981f7743569b715923d8b4c75 (patch)
treeec7df5130219d926eb3d00ff5de453696a726ba4 /src/build/mkrules/cflags.env.mk
parent1a0daf283888feaf77a2d7152b851498385b4491 (diff)
downloadtalos-hostboot-b9c5a79eb89e837981f7743569b715923d8b4c75.tar.gz
talos-hostboot-b9c5a79eb89e837981f7743569b715923d8b4c75.zip
Eliminate tracepp!
Change-Id: I67a7d626c81b0b90e25057c486d490e6e2b5aede Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5132 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/mkrules/cflags.env.mk')
-rw-r--r--src/build/mkrules/cflags.env.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/mkrules/cflags.env.mk b/src/build/mkrules/cflags.env.mk
index 852464c68..1ab9b9a30 100644
--- a/src/build/mkrules/cflags.env.mk
+++ b/src/build/mkrules/cflags.env.mk
@@ -34,7 +34,8 @@ endif
COMMONFLAGS += $(OPT_LEVEL) -nostdlib
CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\
- -Wall -Werror -mtraceback=no -pipe
+ -Wall -Werror -mtraceback=no -pipe \
+ -ffunction-sections -fdata-sections
ASMFLAGS += $(COMMONFLAGS) -mcpu=power7
CXXFLAGS += $(CFLAGS) -nostdinc++ -fno-rtti -fno-exceptions -Wall
LDFLAGS += --nostdlib --sort-common $(COMMONFLAGS)
OpenPOWER on IntegriCloud