diff options
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 7c07175d810..3256a9d10cc 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -199,7 +199,8 @@ lhd_register_builtin_type (tree ARG_UNUSED (type), /* Invalid use of an incomplete type. */ void -lhd_incomplete_type_error (const_tree ARG_UNUSED (value), const_tree type) +lhd_incomplete_type_error (location_t ARG_UNUSED (loc), + const_tree ARG_UNUSED (value), const_tree type) { gcc_assert (TREE_CODE (type) == ERROR_MARK); return; @@ -560,6 +561,8 @@ add_builtin_function_common (const char *name, if (library_name) { tree libname = get_identifier (library_name); + + libname = targetm.mangle_decl_assembler_name (decl, libname); SET_DECL_ASSEMBLER_NAME (decl, libname); } |