summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/emultempl/sh64elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/emultempl/sh64elf.em')
-rw-r--r--binutils-2.25/ld/emultempl/sh64elf.em6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils-2.25/ld/emultempl/sh64elf.em b/binutils-2.25/ld/emultempl/sh64elf.em
index 17f9dde..c49fbe8 100644
--- a/binutils-2.25/ld/emultempl/sh64elf.em
+++ b/binutils-2.25/ld/emultempl/sh64elf.em
@@ -1,6 +1,5 @@
# This shell script emits a C file. -*- C -*-
-# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
-# Free Software Foundation, Inc.
+# Copyright (C) 2000-2014 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -249,6 +248,9 @@ sh64_elf_${EMULATION_NAME}_after_allocation (void)
gld${EMULATION_NAME}_after_allocation ();
+ /* Needed, since we create link_orders here. */
+ lang_clear_os_map ();
+
cranges = bfd_get_section_by_name (link_info.output_bfd,
SH64_CRANGES_SECTION_NAME);