------- Comment #41 from bonzini at gnu dot org 2008-02-22 14:53 ------- Subject: Re: builtin functions should use $LDBL128 suffix on darwin when appropriate
ubizjak at gmail dot com wrote: > ------- Comment #40 from ubizjak at gmail dot com 2008-02-22 14:49 ------- > This simple proof-of-concept patch works as expected: I would very much prefer to see set_user_assembler_name first... This excerpt from my math.h confirms that you need an underscore: #if ( __WANT_LONG_DOUBLE_FORMAT__ - 0L == 128L ) #define __LIBMLDBL_COMPAT(sym) __asm("_" __STRING(sym) "$LDBL128") #elif ( __WANT_LONG_DOUBLE_FORMAT__ - 0L == 64L ) #define __LIBMLDBL_COMPAT(sym) /* NOTHING */ #else #define __LIBMLDBL_COMPAT(sym) /* NOTHING */ #endif Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477