Message ID | 1482305090.15937.56.camel@kernel.crashing.org |
---|---|
State | Accepted |
Headers | show |
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes: > We use r13 for our own stuff, make sure it's properly fixed > > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> At least with my quick look through the result of what we're compiling and have been shipping looks like we're safe. merged: to master as of d45b9bc4f98dfeac3ce6ee906948b56944f6aa6b to skiboot-5.4.x as of 61a59d267b9bf86acfeea22c48c5d4a5f37a4eff to skiboot-5.1.x as of 837035828978d1b1d7b504a18db7b6ee08aaefbe
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)
We use r13 for our own stuff, make sure it's properly fixed Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- Makefile.main | 1 + 1 file changed, 1 insertion(+)