__ffssi2 not exported in libgcc_s.so

Andreas Krebbel Andreas.Krebbel@de.ibm.com
Thu May 3 13:01:00 GMT 2007


> To answer that, I'm afraid my patch is to blame:
> 
> 2007-04-24  Richard Sandiford  <richard@codesourcery.com>
> 
> 	* optabs.c (set_conv_libfunc): Prefer libgcc2's __ffsMM2 functions
> 	over an external ffs function.
> 
> We used to use ffs to implement __builtin_ffs if sizeof (int),
> even if libgcc provided a suitable alternative.  This broke targets
> whose C libraries don't provide their own ffs.
> 
> __ffssi2 was effectively dead code on many targets until now.
Thanks for the info.  So it should be safe to add it as GCC_4.3.0 only
symbol.

Bye,

-Andreas-



More information about the Gcc mailing list