summaryrefslogtreecommitdiffstats
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-03 14:56:14 +0000
committerAlan Modra <amodra@gmail.com>2011-05-03 14:56:14 +0000
commit2f65ac726a5ab50287d1ea4525852e29f69a1bbd (patch)
tree3388ad81ada490fccf84166ab230075f8d1be4ab /ld/pe-dll.c
parent2fbb87f62734ebbf166eb86c62ad4d569f1229cc (diff)
downloadppe42-binutils-2f65ac726a5ab50287d1ea4525852e29f69a1bbd.tar.gz
ppe42-binutils-2f65ac726a5ab50287d1ea4525852e29f69a1bbd.zip
PR ld/12726
* ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't assign to dot when lang_assigning_phase_enum. * ldlang.h (lang_do_assignments): Update prototype. * ldlang.c (lang_do_assignments): Add phase parameter. Update all callers. * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update lang_do_assignments calls.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index c8abf4df8a..682ce46e65 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -1,6 +1,6 @@
/* Routines to help build PEI-format DLLs (Win32 etc)
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010 Free Software Foundation, Inc.
+ 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Written by DJ Delorie <dj@cygnus.com>
This file is part of the GNU Binutils.
@@ -3232,7 +3232,7 @@ pe_dll_fill_sections (bfd *abfd, struct bfd_link_info *info)
ldemul_after_allocation ();
/* Do the assignments again. */
- lang_do_assignments ();
+ lang_do_assignments (lang_final_phase_enum);
}
fill_edata (abfd, info);
@@ -3264,7 +3264,7 @@ pe_exe_fill_sections (bfd *abfd, struct bfd_link_info *info)
ldemul_after_allocation ();
/* Do the assignments again. */
- lang_do_assignments ();
+ lang_do_assignments (lang_final_phase_enum);
}
reloc_s->contents = reloc_d;
}
OpenPOWER on IntegriCloud