Fix PIC code and fix problem with obj dirs.

This commit is contained in:
matt 1998-11-11 15:26:14 +00:00
parent 9612fc2c3b
commit 5bf0199231
2 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.42 1998/10/10 00:08:51 matt Exp $
# $NetBSD: Makefile,v 1.43 1998/11/11 15:26:14 matt Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@ -135,11 +135,9 @@ SRCS= ${COMMON_SRCS}
.endfor
.if (${MACHINE_ARCH} == "vax") # XXX until POLYD is written.
#.PATH: ${.CURDIR}/arch/vax
SRCS:=${SRCS} ${.CURDIR}/arch/vax/n_sqrt.S ${.CURDIR}/arch/vax/n_argred.S \
${.CURDIR}/arch/vax/n_infnan.S ${.CURDIR}/arch/vax/n_atan2.S \
${.CURDIR}/arch/vax/n_cabs.S ${.CURDIR}/arch/vax/n_cbrt.S \
${.CURDIR}/arch/vax/n_support.S
.PATH: ${.CURDIR}/arch/vax
SRCS:=${SRCS} n_sqrt.S n_argred.S n_infnan.S n_atan2.S n_cabs.S n_cbrt.S \
n_support.S
.endif
NOLINT= nolint (XXX lint bugs on some archs and needs stubs)

View File

@ -1,4 +1,4 @@
/* $NetBSD: n_argred.S,v 1.2 1998/10/31 02:06:01 matt Exp $ */
/* $NetBSD: n_argred.S,v 1.3 1998/11/11 15:26:14 matt Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@ -378,7 +378,8 @@ posmid:
*/
ashl $-3,r2,r3
bicb2 $3,r3
subl3 r3,$bits2opi,r3
mnegl r3,r3
movab bits2opi[r3],r3
/*
* Set r2 to the size of the shift needed to
* obtain the correct portion of 2/pi .