On Mon, Aug 30, 2010 at 6:48 PM, Joseph S. Myers wrote: >> >> Can you please regression test these two patches on freebsd (32 and 64 >> >> bit)? >> > Tests running... >> >> Looks like a nice improvement, actually.  On both this fixes previously >> existing test failures and adds some passes (no changes on the failure >> side on i386). >> >> From all I can tell, please go ahead, Uros. :-)  I wonder whether these >> might also be suitable for GCC 4.5? > > Assuming that symbol versioning is enabled on FreeBSD, you need to set > appropriate versions for all the new symbols in libgcc_s - which would be > GCC_4.6.0 for something going on trunk only but GCC_4.5.2 for something > going on 4.5 as well (and with the right %inherit settings in any case). I'm not familiar in versioning stuff, but since soft-fp symbols are part of generic libgcc-std.ver for a long time (before 4.5.0), I believe, it is enough to patch only configure files (see i.e. commits that enabled soft-fp on mingw/cygwin/-gnu*). gcc/ChangeLog: 2010-08-30 Uros Bizjak * config.gcc: Add i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for i[34567]86-*-freebsd* and x86_64-*-freebsd*. libgcc/ChangeLog: 2010-08-30 Uros Bizjak * config.host: Add i386/${host_address}/t-fprules-softfp and t-softfp to tmake_file for i[34567]86-*-freebsd* and x86_64-*-freebsd*. Tested by Gerald. OK for 4.5.2 and mainline? Uros.