summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-08-02 03:06:21 +0000
committergrehan <grehan@FreeBSD.org>2004-08-02 03:06:21 +0000
commitbed31da74745168f737e3edf2f7f25ba41669b7d (patch)
treeed71964d8bb4149c687db9601d2c5121bca9c852 /sys/boot
parent19020b09b640ddeca2f11e39dc2a6f90de32b639 (diff)
downloadFreeBSD-src-bed31da74745168f737e3edf2f7f25ba41669b7d.zip
FreeBSD-src-bed31da74745168f737e3edf2f7f25ba41669b7d.tar.gz
Add PowerPC bridge instruction flag to the assembler to help out
with test code written in the loader.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/powerpc/loader/Makefile3
-rw-r--r--sys/boot/powerpc/ofw/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/boot/powerpc/loader/Makefile b/sys/boot/powerpc/loader/Makefile
index 960529c..92714a3 100644
--- a/sys/boot/powerpc/loader/Makefile
+++ b/sys/boot/powerpc/loader/Makefile
@@ -69,6 +69,9 @@ CFLAGS+= -DRELOC=${RELOC}
LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
+# 64-bit bridge extensions
+CFLAGS+= -Wa,-mppc64bridge
+
# Pull in common loader code
.PATH: ${.CURDIR}/../../ofw/common
.include "${.CURDIR}/../../ofw/common/Makefile.inc"
diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile
index 960529c..92714a3 100644
--- a/sys/boot/powerpc/ofw/Makefile
+++ b/sys/boot/powerpc/ofw/Makefile
@@ -69,6 +69,9 @@ CFLAGS+= -DRELOC=${RELOC}
LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
+# 64-bit bridge extensions
+CFLAGS+= -Wa,-mppc64bridge
+
# Pull in common loader code
.PATH: ${.CURDIR}/../../ofw/common
.include "${.CURDIR}/../../ofw/common/Makefile.inc"
OpenPOWER on IntegriCloud