summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 12:02:52 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 12:02:52 +1000
commit0cd6fcb3d6622eed323ed73891ea3a47d0d595ab (patch)
tree11fecc29055fd4604d28a25ca38ef88dd3cbc37c /Makefile
parent78bf83de4af9136bce6bfc93fa9e1c8ccbad2e10 (diff)
downloadcf-fsi-0cd6fcb3d6622eed323ed73891ea3a47d0d595ab.tar.gz
cf-fsi-0cd6fcb3d6622eed323ed73891ea3a47d0d595ab.zip
Make sure we are fully PC relative
With of course the notable exception of the exception vectors, but this will make it easier should we want to relocate the code. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5269b5c..ed3b57a 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ M68KCPPFLAGS = -DFW_VERSION=$(FW_VERSION)
ifeq ($(DEBUG),1)
M68KCPPFLAGS += -DENABLE_TRACE
endif
-M68KAFLAGS = -march=isac
+M68KAFLAGS = -march=isac --pcrel -k
M68KLDFLAGS = -Ttext 0
# FW code files
OpenPOWER on IntegriCloud