On Mon, Aug 30, 2010 at 09:25:42PM +0200, Uros Bizjak wrote: > On Mon, Aug 30, 2010 at 7:53 PM, Uros Bizjak <ubiz...@gmail.com> wrote: > > >>> 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*). > >> > >> It will "work", but not properly. One should never have symbols > >> magically appear in old versions. If you add the symbols to the > >> proper current version number in a config/gcc/i386/libgcc-bsd.ver, > >> they'll appear at the right place. > > > > Can someone please help here? > > Attached is my best (untested) shot at libgcc-bsd.ver. Someone has to > write i386/t-freebsd (similar to i386/t-linux) and connect it to the > build system. The versioning assumes that this will be committed to > 4.5.x first.
It is wrong, GCC 4.5.0 has been released already, so no new symbols should be added to GCC_4.5.0 symver. IMNSHO this isn't a regression fix, so you should just apply it to the trunk, and introduce them as GCC_4.6.0 version. Also, there is no need to have two chunks for the same symver in the *.ver file, just put the 3 resp. 2 symbols before the preceeding closing brace, together with the %ifdef/%else/%endif. Jakub