summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-22 04:52:00 +0000
committerobrien <obrien@FreeBSD.org>2002-02-22 04:52:00 +0000
commit23d57cf446639b771c114d27be7de274d2a0863e (patch)
tree96d809891ff6e075e38b04c1bffa9f64f02935ac /contrib/binutils
parenta522fd15cba9bb2856dce2d394ebb3cfb6c92765 (diff)
downloadFreeBSD-src-23d57cf446639b771c114d27be7de274d2a0863e.zip
FreeBSD-src-23d57cf446639b771c114d27be7de274d2a0863e.tar.gz
Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12_20020221_snap.
Diffstat (limited to 'contrib/binutils')
-rw-r--r--contrib/binutils/ld/emultempl/elf32.em6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/binutils/ld/emultempl/elf32.em b/contrib/binutils/ld/emultempl/elf32.em
index 7642337..387f55a 100644
--- a/contrib/binutils/ld/emultempl/elf32.em
+++ b/contrib/binutils/ld/emultempl/elf32.em
@@ -15,8 +15,8 @@ cat >e${EMULATION_NAME}.c <<EOF
/* This file is is generated by a shell script. DO NOT EDIT! */
/* ${ELFSIZE} bit ELF emulation code for ${EMULATION_NAME}
- Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+ Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+ 2002 Free Software Foundation, Inc.
Written by Steve Chamberlain <sac@cygnus.com>
ELF support by Ian Lance Taylor <ian@cygnus.com>
@@ -1401,6 +1401,8 @@ gld${EMULATION_NAME}_finish ()
{
if (bfd_elf${ELFSIZE}_discard_info (output_bfd, &link_info))
{
+ lang_reset_memory_regions ();
+
/* Resize the sections. */
lang_size_sections (stat_ptr->head, abs_output_section,
&stat_ptr->head, 0, (bfd_vma) 0, NULL);
OpenPOWER on IntegriCloud