forked from Imagelibrary/binutils-gdb
[GOLD] Set sh_info of .rela.plt for powerpc
* powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of ".rela.plt" at ".plt".
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2017-01-09 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of
|
||||
".rela.plt" at ".plt".
|
||||
|
||||
2017-01-07 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* powerpc.cc: Use shorter equivalent elfcpp typedef for
|
||||
|
||||
@@ -3421,6 +3421,9 @@ Target_powerpc<size, big_endian>::make_plt_section(Symbol_table* symtab,
|
||||
? ORDER_SMALL_DATA
|
||||
: ORDER_SMALL_BSS),
|
||||
false);
|
||||
|
||||
Output_section* rela_plt_os = plt_rel->output_section();
|
||||
rela_plt_os->set_info_section(this->plt_->output_section());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user