mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
[GOLD] warning fixes
* aarch64.cc (Target_aarch64::is_erratum_835769_sequence): Avoid compiler warning. * output.cc (Output_segment::set_section_addresses): Likewise.
This commit is contained in:
parent
7358f4cbaf
commit
2422813015
@ -1,3 +1,9 @@
|
||||
2016-09-26 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* aarch64.cc (Target_aarch64::is_erratum_835769_sequence): Avoid
|
||||
compiler warning.
|
||||
* output.cc (Output_segment::set_section_addresses): Likewise.
|
||||
|
||||
2016-09-02 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* arm.cc (Target_arm::Target_arm): Move method definition outside of
|
||||
|
@ -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;
|
||||
|
@ -4398,7 +4398,7 @@ Output_segment::set_section_addresses(const Target* target,
|
||||
this->offset_ = orig_off;
|
||||
|
||||
off_t off = 0;
|
||||
uint64_t ret;
|
||||
uint64_t ret = 0;
|
||||
for (int i = 0; i < static_cast<int>(ORDER_MAX); ++i)
|
||||
{
|
||||
if (i == static_cast<int>(ORDER_RELRO_LAST))
|
||||
|
Loading…
Reference in New Issue
Block a user