[PATCH, ARM] Fix PR 24998 on ARM

Richard Earnshaw rearnsha@arm.com
Thu Jan 5 15:16:00 GMT 2006


This patch fixes the problem with bootstrapping on arm-netbsdelf with
the new floatunsi... code.  It turns out that the only remaining problem
that I'm aware of was on NetBSD where the system libraries provide most
of the floating point support code, but not the new library interfaces. 
This patch causes gcc to put compatibility stubs in libgcc.a.

Bootstrapped and reg-tested on arm-netbsdelf.

R.
-------------- next part --------------


	PR middle-end/24998
	* arm/t-netbsd (LIB2FUNCS_EXTRA): Define.
  
*** gcc/trunk/gcc/config/arm/t-netbsd	(revision 109387)
--- gcc/trunk/gcc/config/arm/t-netbsd	(revision 109388)
***************
*** 2,7 ****
--- 2,8 ----
  # difference.  It is then pointless adding debugging.
  TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fpic
  LIBGCC2_DEBUG_CFLAGS = -g0
+ LIB2FUNCS_EXTRA = $(srcdir)/config/floatunsidf.c $(srcdir)/config/floatunsisf.c
  
  # Build a shared libgcc library.
  SHLIB_EXT = .so


More information about the Gcc-patches mailing list