------- Comment #40 from ubizjak at gmail dot com 2008-02-22 14:49 ------- This simple proof-of-concept patch works as expected:
--cut here-- Index: langhooks.c =================================================================== --- langhooks.c (revision 132541) +++ langhooks.c (working copy) @@ -557,6 +557,9 @@ add_builtin_function (const char *name, gcc_assert (DECL_FUNCTION_CODE (decl) >= function_code); DECL_FUNCTION_CODE (decl) = function_code; + if (function_code == BUILT_IN_SINL) + library_name = "sinl$LDBL128"; + if (library_name) { tree libname = get_identifier (library_name); --cut here-- test_: jmp sinl$LDBL128 test: jmp sinl$LDBL128 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477