summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-02-20 15:33:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-02-20 15:33:31 +0000
commitf81f45231aa9d070340f9af9d6c598dc2e8f7cb6 (patch)
treeab7213201c0de40350a6de9447e89fb1e7cf7b2e /sys/arch/hp300
parent6b24521de7eba9010d5114f32ee351be0136fa31 (diff)
Link uboot with libgcc for quad arithmetic now that gcc won't emit these
instructions natively.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/stand/uboot/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hp300/stand/uboot/Makefile b/sys/arch/hp300/stand/uboot/Makefile
index 42d10186995..d1774dea669 100644
--- a/sys/arch/hp300/stand/uboot/Makefile
+++ b/sys/arch/hp300/stand/uboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1999/08/16 09:43:11 downsj Exp $
+# $OpenBSD: Makefile,v 1.4 2005/02/20 15:33:30 miod Exp $
PROG= uboot
@@ -24,7 +24,8 @@ uboot.lif: uboot
${MKBOOT_PROG} uboot $@
uboot: ${OBJS} ${LIBS}
- ${LD} -N -T ${RELOC} -e begin ${OBJS} ${LIBS} -o $@
+ ${LD} -N -T ${RELOC} -e begin ${OBJS} ${LIBS} \
+ `${CC} -print-libgcc-file-name` -o $@
@size $@
@echo $@ total size should not exceed 1044480 bytes