summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING5
-rw-r--r--sys/conf/Makefile.powerpc5
2 files changed, 10 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index c4e7ee8c4c67d..6d1988e990404 100644
--- a/UPDATING
+++ b/UPDATING
@@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20150131:
+ The powerpc64 kernel has been changed to a position-independent
+ executable. This can only be booted with a new version of loader(8),
+ so make sure to update both world and kernel before rebooting.
+
20150118:
Clang and llvm have been upgraded to 3.5.1 release. This is a bugfix
only release, no new features have been added. Please see the 20141231
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 015efc60ae9c8..e2d51577158ea 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -37,6 +37,11 @@ INCLUDES+= -I$S/contrib/libfdt
CFLAGS+= -msoft-float -Wa,-many
+.if ${MACHINE_ARCH} == "powerpc64"
+CFLAGS+= -fPIC
+LDFLAGS+= -pie
+.endif
+
.if !empty(DDB_ENABLED)
CFLAGS+= -fno-omit-frame-pointer
.endif