]> git.ipfire.org Git - thirdparty/gcc.git/commit
pa.c (pa_output_call): Load descriptor address to register %r22.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Oct 2019 20:39:41 +0000 (20:39 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 12 Oct 2019 20:39:41 +0000 (20:39 +0000)
commit6f3b5c4d459412da52fb65db5d551bcc73fe8cd0
tree0e099b13c61bbeab9fe6f937e5513c26a527f58b
parentf0e39057b68bc7dfd3cc2f9791ebb42b06338f66
pa.c (pa_output_call): Load descriptor address to register %r22.

* config/pa/pa.c (pa_output_call): Load descriptor address to register
%r22.  Load function address before global pointer.
(pa_attr_length_indirect_call): Adjust length of inline versions of
$$dyncall.
(pa_output_indirect_call): Remove fast inline version of $$dyncall
before normal cases.  Update inline $$dyncall sequences to preserve
function descriptor address in register %r22.
(TRAMPOLINE_CODE_SIZE): Adjust.
(pa_asm_trampoline_template): Revise 32-bit trampoline.  Don't assume
register %r22 contains trampoline address.
(pa_trampoline_init): Adjust offsets.
(pa_trampoline_adjust_address): Likewise.
* config/pa/pa.h (TRAMPOLINE_SIZE): Adjust 32-bit size.

From-SVN: r276929
gcc/config/pa/pa.c
gcc/config/pa/pa.h