aboutsummaryrefslogtreecommitdiff
path: root/gold/aarch64.cc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-09-26 18:04:18 +0930
committerAlan Modra <amodra@gmail.com>2016-09-26 18:04:18 +0930
commit2422813015a1601d0484afef73a94753ffc07a1d (patch)
treed0b26a9467ec56a6ebc656f02b24148e6ac77991 /gold/aarch64.cc
parent7358f4cbaf3c6fafbbbc9703a5e2884470643bfa (diff)
downloadgdb-2422813015a1601d0484afef73a94753ffc07a1d.zip
gdb-2422813015a1601d0484afef73a94753ffc07a1d.tar.gz
gdb-2422813015a1601d0484afef73a94753ffc07a1d.tar.bz2
[GOLD] warning fixes
* aarch64.cc (Target_aarch64::is_erratum_835769_sequence): Avoid compiler warning. * output.cc (Output_segment::set_section_addresses): Likewise.
Diffstat (limited to 'gold/aarch64.cc')
-rw-r--r--gold/aarch64.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index ab7e563..310331c 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -8126,7 +8126,7 @@ Target_aarch64<size, big_endian>::is_erratum_835769_sequence(
typename elfcpp::Swap<32,big_endian>::Valtype insn2)
{
uint32_t rt;
- uint32_t rt2;
+ uint32_t rt2 = 0;
uint32_t rn;
uint32_t rm;
uint32_t ra;