mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
[GOLD] Align PowerPC64 GOT
As done in a27e685f for bfd ld. * powerpc.cc (Output_data_got_powerpc::Output_data_got_powerpc): Align to 256 byte boundary.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-11-25 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* powerpc.cc (Output_data_got_powerpc::Output_data_got_powerpc): Align
|
||||||
|
to 256 byte boundary.
|
||||||
|
|
||||||
2015-11-19 Alan Modra <amodra@gmail.com>
|
2015-11-19 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* powerpc.cc (Target_powerpc::Scan::get_reference_flags): Correct
|
* powerpc.cc (Target_powerpc::Scan::get_reference_flags): Correct
|
||||||
|
@ -2192,7 +2192,10 @@ public:
|
|||||||
symtab_(symtab), layout_(layout),
|
symtab_(symtab), layout_(layout),
|
||||||
header_ent_cnt_(size == 32 ? 3 : 1),
|
header_ent_cnt_(size == 32 ? 3 : 1),
|
||||||
header_index_(size == 32 ? 0x2000 : 0)
|
header_index_(size == 32 ? 0x2000 : 0)
|
||||||
{ }
|
{
|
||||||
|
if (size == 64)
|
||||||
|
this->set_addralign(256);
|
||||||
|
}
|
||||||
|
|
||||||
// Override all the Output_data_got methods we use so as to first call
|
// Override all the Output_data_got methods we use so as to first call
|
||||||
// reserve_ent().
|
// reserve_ent().
|
||||||
|
Reference in New Issue
Block a user