diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-12-21 18:24:50 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-22 13:17:20 +1100 |
commit | d45b9bc4f98dfeac3ce6ee906948b56944f6aa6b (patch) | |
tree | 5b33b90a51110e34050df9ec8f808030b374549d /Makefile.main | |
parent | 55af871041a4b09e53013671450980bdb36f91e3 (diff) | |
download | skiboot-d45b9bc4f98dfeac3ce6ee906948b56944f6aa6b.zip skiboot-d45b9bc4f98dfeac3ce6ee906948b56944f6aa6b.tar.gz skiboot-d45b9bc4f98dfeac3ce6ee906948b56944f6aa6b.tar.bz2 |
Makefile: Use -ffixed-r13
We use r13 for our own stuff, make sure it's properly fixed
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.main b/Makefile.main index a2b0bcd..238a1e9 100644 --- a/Makefile.main +++ b/Makefile.main @@ -70,6 +70,7 @@ endif CFLAGS := -fno-strict-aliasing -pie -mbig-endian -m64 CFLAGS += -Wl,--oformat,elf64-powerpc +CFLAGS += -ffixed-r13 CFLAGS += $(call try-cflag,$(CC),-mabi=elfv1) CFLAGS += $(call try-cflag,$(CC),-std=gnu11) |