aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-09-16 15:52:15 +0000
committerCary Coutant <ccoutant@google.com>2010-09-16 15:52:15 +0000
commit4ef28648fb46ee431ce3d8d5cdceb8c171b81cb9 (patch)
tree9570cae64854197a2a29cbc219ff3ed13152daa8
parent875b4ff565ff494986be7faf18f7fe575f5a5d2c (diff)
downloadbinutils-4ef28648fb46ee431ce3d8d5cdceb8c171b81cb9.zip
binutils-4ef28648fb46ee431ce3d8d5cdceb8c171b81cb9.tar.gz
binutils-4ef28648fb46ee431ce3d8d5cdceb8c171b81cb9.tar.bz2
* script_sections.cc (class Memory_region): Remove "NULL" from
vector initializations.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/script-sections.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index be2bb57..5df7be5 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-16 Cary Coutant <ccoutant@google.com>
+
+ * script_sections.cc (class Memory_region): Remove "NULL" from
+ vector initializations.
+
2010-09-15 Cary Coutant <ccoutant@google.com>
* incremental.cc (Output_section_incremental_inputs::write_info_blocks):
diff --git a/gold/script-sections.cc b/gold/script-sections.cc
index 1a19ad8..eebbb5e 100644
--- a/gold/script-sections.cc
+++ b/gold/script-sections.cc
@@ -55,8 +55,8 @@ class Memory_region
length_(length),
current_vma_offset_(0),
current_lma_offset_(0),
- vma_sections_(NULL),
- lma_sections_(NULL)
+ vma_sections_(),
+ lma_sections_()
{ }
// Return the name of this region.