diff options
author | Alan Modra <amodra@gmail.com> | 2015-11-25 13:38:43 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-11-25 15:06:12 +1030 |
commit | 751e4d66b4c6daaf04e6bccdb3f9ce4a0620babb (patch) | |
tree | c35f0d6f3cb689f787ea55b59a267d6acf4a7da9 /gold/powerpc.cc | |
parent | 5e7e0604cf263449ff9fe9e92286cfde83fe0234 (diff) | |
download | gdb-751e4d66b4c6daaf04e6bccdb3f9ce4a0620babb.zip gdb-751e4d66b4c6daaf04e6bccdb3f9ce4a0620babb.tar.gz gdb-751e4d66b4c6daaf04e6bccdb3f9ce4a0620babb.tar.bz2 |
[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.
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 5441c52..39a0324 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -2192,7 +2192,10 @@ public: symtab_(symtab), layout_(layout), header_ent_cnt_(size == 32 ? 3 : 1), 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 // reserve_ent(). |