From 0cd6fcb3d6622eed323ed73891ea3a47d0d595ab Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 11 Jun 2018 12:02:52 +1000 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1