aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-07-24 09:07:21 +0930
committerStewart Smith <stewart@linux.ibm.com>2018-07-26 03:10:41 -0500
commit052694653f137ef661707ec0cdb53b989702b5bc (patch)
tree62260685fac15cd0b490aa18f102f24ba9de6033
parent25f7266f736c0e2a0e91e2aa020a9627638c35f4 (diff)
downloadskiboot-052694653f137ef661707ec0cdb53b989702b5bc.zip
skiboot-052694653f137ef661707ec0cdb53b989702b5bc.tar.gz
skiboot-052694653f137ef661707ec0cdb53b989702b5bc.tar.bz2
Makefile: Remove -mno-direct-move cflag
GCC 8 warns that -mno-direct-move is depreciated. We had it there so we wouldn't use VSX registers in skiboot, as they are not saved/restored, however Segher confirms: > if you already have -mno-altivec then -mno-direct-move does zilch So it was never doing anything. Resolves: open-power/skiboot#186 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--Makefile.main1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main
index a155e1e..487aa73 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -179,7 +179,6 @@ CFLAGS += $(call try-cflag,$(CC),-mno-multiple)
# do not use any automatic vector foo
# While it would be safe during boot, we don't save/restore across OPAL calls
CFLAGS += $(call try-cflag,$(CC),-mno-vsx) \
- $(call try-cflag,$(CC),-mno-direct-move) \
$(call try-cflag,$(CC),-mno-altivec)
# Do not use load/store update. You REALLY do not want to use this!