aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-06-18 04:15:52 +0000
committerIan Lance Taylor <ian@airs.com>2008-06-18 04:15:52 +0000
commitc42e122ead58317580cb49a2e0db60fd8e308edd (patch)
tree965810af251995e2db8269a697e7f76a70810c8a /gold
parentc8536f380f3ec851bd3a06ff92e0f490c1ac9864 (diff)
downloadfsf-binutils-gdb-c42e122ead58317580cb49a2e0db60fd8e308edd.zip
fsf-binutils-gdb-c42e122ead58317580cb49a2e0db60fd8e308edd.tar.gz
fsf-binutils-gdb-c42e122ead58317580cb49a2e0db60fd8e308edd.tar.bz2
* script-sections.cc (Script_sections::place_orphan): Initialize
local variable exact.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog7
-rw-r--r--gold/script-sections.cc2
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c0b3391..9ee1d8d 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-17 Ian Lance Taylor <iant@google.com>
+
+ * script-sections.cc (Script_sections::place_orphan): Initialize
+ local variable exact.
+
2008-06-13 David Edelsohn <edelsohn@gnu.org>
* powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
@@ -261,7 +266,7 @@
* symtab.h (class Symbol): Update declarations.
(class Sized_symbol): Likewise.
* resolve.cc (Symbol::override_version): New function.
- (Symbol::override_base: Call override_version.
+ (Symbol::override_base): Call override_version.
(Symbol::override_base_with_special): Likewise.
* testsuite/ver_script_8.script: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_8.
diff --git a/gold/script-sections.cc b/gold/script-sections.cc
index 7f3a4da..4891ac7 100644
--- a/gold/script-sections.cc
+++ b/gold/script-sections.cc
@@ -2423,7 +2423,7 @@ Script_sections::place_orphan(Output_section* os)
p != this->sections_elements_->end();
++p)
{
- bool exact;
+ bool exact = false;
if ((*p)->place_orphan_here(os, &exact))
{
place = p;