summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/ldwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/ldwrite.c')
-rw-r--r--binutils-2.25/ld/ldwrite.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/binutils-2.25/ld/ldwrite.c b/binutils-2.25/ld/ldwrite.c
index aad0850..43bc40b 100644
--- a/binutils-2.25/ld/ldwrite.c
+++ b/binutils-2.25/ld/ldwrite.c
@@ -1,7 +1,5 @@
/* ldwrite.c -- write out the linked file
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002,
- 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 1991-2014 Free Software Foundation, Inc.
Written by Steve Chamberlain sac@cygnus.com
This file is part of the GNU Binutils.
@@ -574,6 +572,7 @@ ldwrite (void)
/* Reset error indicator, which can typically something like invalid
format from opening up the .o files. */
bfd_set_error (bfd_error_no_error);
+ lang_clear_os_map ();
lang_for_each_statement (build_link_order);
if (config.split_by_reloc != (unsigned) -1