https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98482
--- Comment #8 from Topi Miettinen ---
I'm unfortunately ignorant to GCC internals and usage of %r10, but otherwise
the patch looks good to me.
For -mcmodel=large -fPIC, the call sequence probably needs to be similar to how
other extern function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98482
--- Comment #4 from Topi Miettinen ---
Sorry, I didn't check the ABI. It seems that %r11 and maybe %r10 should be
usable:
Figure 3.4: Register Usage
Register
Usage
Preserved across function calls
%r10
temporary register, used for passing a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98482
Bug ID: 98482
Summary: -mfentry creates invalid call for -mcmodel=large
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: