re PR target/44241 (vms-crtl.h, vms-crtl-64.h need many more symbols)
[gcc.git] / gcc / config / ia64 / ia64.c
index 901481358b3e31d16e4986e23d0d405f11f36ffb..b0d9dc8a74691f2ddc5f6b6a25183d672d4d3ff8 100644 (file)
@@ -10133,8 +10133,7 @@ ia64_init_builtins (void)
   /* Fwrite on VMS is non-standard.  */
   if (TARGET_ABI_OPEN_VMS)
     {
-      implicit_built_in_decls[(int) BUILT_IN_FWRITE] = NULL_TREE;
-      implicit_built_in_decls[(int) BUILT_IN_FWRITE_UNLOCKED] = NULL_TREE;
+      vms_patch_builtins ();
     }
 
 #define def_builtin(name, type, code)                                  \
@@ -10263,10 +10262,6 @@ ia64_asm_output_external (FILE *file, tree decl, const char *name)
       int need_visibility = ((*targetm.binds_local_p) (decl)
                             && maybe_assemble_visibility (decl));
 
-#ifdef DO_CRTL_NAMES
-      DO_CRTL_NAMES;
-#endif
-
       /* GNU as does not need anything here, but the HP linker does
         need something for external functions.  */
       if ((TARGET_HPUX_LD || !TARGET_GNU_AS)