ppc476 plt call stubs
authorAlan Modra <amodra@gmail.com>
Mon, 14 Apr 2014 02:18:06 +0000 (11:48 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 14 Apr 2014 08:47:13 +0000 (18:17 +0930)
commitda3a208854095a3e11d592aed2efdabe7c73ae11
treece8dc467f3d0ed9a30272c6d16d0a63118af798f
parentf87121158599eb6f6463092ecad0a988d3e3cd75
ppc476 plt call stubs

Fuss over bctr in call stubs.

* elf32-ppc.c (BA): Define
(ppc_elf_link_hash_table_create): Correct default_params.
(write_glink_stub): Pad small plt call stub with "ba 0" rather
than "nop" for ppc476_workaround.
(ppc_elf_finish_dynamic_sections): Likewise for branch table
and __glink_PLTresolve.  Ensure plt call stub at end of page
doesn't allow fall-thru prefetch.
bfd/ChangeLog
bfd/elf32-ppc.c