This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PING][AARCH64, Question] Does AARCH64 GCC support long calls?
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "Yangfei (Felix)" <felix dot yang at huawei dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "marcus dot shawcroft at arm dot com" <marcus dot shawcroft at arm dot com>, "richard dot earnshaw at arm dot com" <richard dot earnshaw at arm dot com>, Suipengfei <suipengfei at huawei dot com>
- Date: Fri, 24 Oct 2014 20:44:38 -0700
- Subject: Re: [PING][AARCH64, Question] Does AARCH64 GCC support long calls?
- Authentication-results: sourceware.org; auth=none
- References: <DA41BE1DDCA941489001C7FBD7A8820E5554BF55 at szxema507-mbx dot china dot huawei dot com>
On Fri, Oct 24, 2014 at 8:35 PM, Yangfei (Felix) <felix.yang@huawei.com> wrote:
>> Hi,
>>
>> I find that the -mlong-calls option is not there for AARCH64. So can this port
>> generate long calls?
>> Any plan on this option? I would like to have a try on this if it's missing :-)
>> Thanks.
>
>
> Any comments?
Yes you can use -mcmodel=large to this effect I think.
Thanks,
Andrew Pinski