Subject: bug fix in ldexp.S
To: 532bsd Mailing List <port-pc532@sun-lamp.cs.berkeley.edu>
From: Matthias Pfaller <leo@marco.de>
List: port-pc532
Date: 09/01/1994 17:49:09
Hi,
there was still one non-pic reference in src/lib/libc/arch/ns32k/gen/ldexp.S.
This has to be fixed or ld.so will complain about text-segment runtime
relocations (only if cache-flushing is fixed :-).

	Matthias

*** ldexp.S.orig	Wed May  4 12:16:48 1994
--- ldexp.S	Tue Aug 30 23:13:09 1994
***************
*** 70,76 ****
  	exit	[]
  	ret	0
  ldexp_overflow:
! 	movl	@huge,f0	/* if overflow return HUGE */
  	movdl	0d0e0,f2
  	cmpl	f2,8(fp)	/* check original sign */
  	bgt	ldexp_positive
--- 70,76 ----
  	exit	[]
  	ret	0
  ldexp_overflow:
! 	movl	huge(pc),f0	/* if overflow return HUGE */
  	movdl	0d0e0,f2
  	cmpl	f2,8(fp)	/* check original sign */
  	bgt	ldexp_positive

------------------------------------------------------------------------------