Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / emultempl / riscvelf.em
index 409dd5000ac85e5c3ec0ba7ff8288a77f4b6e89b..da5c934d25d163225627bc4627977064931b4554 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright (C) 2004-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2004-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -62,7 +62,7 @@ gld${EMULATION_NAME}_after_allocation (void)
        }
     }
 
-  gld${EMULATION_NAME}_map_segments (need_layout);
+  ldelf_map_segments (need_layout);
 }
 
 /* This is a convenient point to tell BFD about target specific flags.
This page took 0.040286 seconds and 4 git commands to generate.