lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
commit1aea083d4bfb7538499eae0271dae740e7efa240
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Oct 2019 19:40:42 +0000 (12 19:40 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Oct 2019 19:40:42 +0000 (12 19:40 +0000)
tree39ff8dc8ba1508da8f1405a29fec27ecbc7a579d
parenta0f08eceae9af418c25c7cca7cb5fa67f0ff5037
lib2funcs.S (__gcc_plt_call): Load branch target to %r21.

* config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
Load PIC register after branch target.  Fix white space.
* config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
implementations.  Load PIC register after branch target.  Don't
clobber function pointer when it points to function descriptor.
Use nullification instead of branch in LINUX implementation.

From-SVN: r276925
libgcc/ChangeLog
libgcc/config/pa/lib2funcs.S
libgcc/config/pa/milli64.S