New target macro DECLARE_LIBRARY_RENAMES

From-SVN: r55889
This commit is contained in:
Bernd Schmidt 2002-07-30 23:55:09 +00:00 committed by Bernd Schmidt
parent c01d477a66
commit d8088c6f07
4 changed files with 19 additions and 1 deletions

View File

@ -25,7 +25,10 @@
Bail out early if false_expr is NULL and we'd crash due to this.
* genemit.c (gen_expand): Recognize return insns even if the return
appears in a parallel.
* libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
* config/fp-bit.c: Likewise.
* doc/tm.texi: Document it.
2002-07-30 David Edelsohn <edelsohn@gnu.org>
Zack Weinberg <zack@codesourcery.com>

View File

@ -74,6 +74,10 @@ Boston, MA 02111-1307, USA. */
are referenced from within libc, since libgcc goes before and after the
system library. */
#ifdef DECLARE_LIBRARY_RENAMES
DECLARE_LIBRARY_RENAMES
#endif
#ifdef EXTENDED_FLOAT_STUBS
__truncxfsf2 (){ abort(); }
__extendsfxf2 (){ abort(); }

View File

@ -4598,6 +4598,13 @@ remainder in division of one unsigned full-word by another. If you do
not define this macro, the default name is used, which is
@code{__umoddi3}, a function defined in @file{libgcc.a}.
@findex DECLARE_LIBRARY_RENAMES
@item DECLARE_LIBRARY_RENAMES
This macro, if defined, should expand to a piece of C code that will get
expanded when compiling functions for libgcc.a. It can be used to
provide alternate names for gcc's internal library functions if there
are ABI-mandated names that the compiler should provide.
@findex INIT_TARGET_OPTABS
@item INIT_TARGET_OPTABS
Define this macro as a C statement that declares additional library

View File

@ -43,6 +43,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "libgcc2.h"
#ifdef DECLARE_LIBRARY_RENAMES
DECLARE_LIBRARY_RENAMES
#endif
#if defined (L_negdi2)
DWtype
__negdi2 (DWtype u)