mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
2008-06-18 Craig Silverstein <csilvers@google.com>
* powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast constant 0xFFFF to type Valtype. (Powerpc_relocate_functions::rel16_ha): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2008-06-18 Craig Silverstein <csilvers@google.com>
|
||||
|
||||
* powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast
|
||||
constant 0xFFFF to type Valtype.
|
||||
(Powerpc_relocate_functions::rel16_ha): Likewise.
|
||||
|
||||
2008-06-17 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* output.h (Output_section::Input_section): Initialize p2align_ to
|
||||
|
@ -605,8 +605,8 @@ public:
|
||||
reloc += 0x10000;
|
||||
reloc >>= 16;
|
||||
|
||||
val &= ~0xffff;
|
||||
reloc &= 0xffff;
|
||||
val &= ~static_cast<Valtype>(0xffff);
|
||||
reloc &= static_cast<Valtype>(0xffff);
|
||||
|
||||
elfcpp::Swap<16, true>::writeval(wv, val | reloc);
|
||||
}
|
||||
@ -628,8 +628,8 @@ public:
|
||||
reloc += 0x10000;
|
||||
reloc >>= 16;
|
||||
|
||||
val &= ~0xffff;
|
||||
reloc &= 0xffff;
|
||||
val &= ~static_cast<Valtype>(0xffff);
|
||||
reloc &= static_cast<Valtype>(0xffff);
|
||||
|
||||
elfcpp::Swap<16, true>::writeval(wv, val | reloc);
|
||||
}
|
||||
@ -684,8 +684,8 @@ public:
|
||||
reloc += 0x10000;
|
||||
reloc >>= 16;
|
||||
|
||||
val &= ~0xffff;
|
||||
reloc &= 0xffff;
|
||||
val &= ~static_cast<Valtype>(0xffff);
|
||||
reloc &= static_cast<Valtype>(0xffff);
|
||||
|
||||
elfcpp::Swap<16, true>::writeval(wv, val | reloc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user