x86: Check static link of dynamic objects
[deliverable/binutils-gdb.git] / ld / emultempl / crxelf.em
index ad71a36fe484287512e9a290999aa58be8c50246..f9f5f72822f53fde164025419d3378a2fb0e21dd 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright (C) 2004-2017 Free Software Foundation, Inc.
+#   Copyright (C) 2004-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
 # MA 02110-1301, USA.
 #
 
-# This file is sourced from elf32.em, and defines extra crx-elf
+# This file is sourced from elf.em, and defines extra crx-elf
 # specific routines.
 #
 fragment <<EOF
 
 #include "ldctor.h"
 
-static void crxelf_after_parse (void);
-
 static void
 crxelf_after_parse (void)
 {
@@ -42,7 +40,7 @@ crxelf_after_parse (void)
      is true the link sometimes fails.  */
   config.magic_demand_paged = FALSE;
 
-  gld${EMULATION_NAME}_after_parse ();
+  ldelf_after_parse ();
 }
 
 /* This is called after the sections have been attached to output
This page took 0.023916 seconds and 4 git commands to generate.