On Fri, May 13, 2011 at 9:10 AM, Bernd Schmidt <ber...@codesourcery.com> wrote: > On 05/13/2011 04:26 PM, Joseph S. Myers wrote: >> On Fri, 13 May 2011, Bernd Schmidt wrote: >> >>> The following patch adds a target hook and a corresponding LIBGCC2_ >>> macro which control the generation of library function names. It also >>> makes libgcc-std.ver a generated file, built from libgcc-std.ver.in by >>> replacing some placeholders with the correct prefixes. While I was >>> there, I also added functionality to generate a version of this file >>> with an extra underscore for the Blackfin port. >> >> But the linker was changed to use C symbol names in linker scripts and I >> was told that this script in GCC would be removed in consequence. >> >> http://sourceware.org/ml/binutils/2010-12/msg00375.html > > Oh well. Dropped. > >> Any new target macro for use only in target libraries should, in my view, >> be poisoned in the host system.h from the start to ensure that no-one >> accidentally adds definitions to the host tm.h. This would be alongside >> the existing >> >> /* Target macros only used for code built for the target, that have >> moved to libgcc-tm.h. */ >> #pragma GCC poison DECLARE_LIBRARY_RENAMES > > Done. New patch below, now testing. > >
I think it may have caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49160 -- H.J.