Re: [PATCH] xtensa: initialize call_abi in xtensa_tdep

Max Filippov
2015-08-20T13:00:18Z

On Thu, Aug 20, 2015 at 3:53 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> The file include/xtensa-config.h is meant to be replaced by
>> processor-specific version where XSHAL_ABI definition may be
>> different. That's why I mention 'call0 configuration' in the
>> description: when xtensa core is configured without
>> windowed registers it will necessarily have call0 ABI.
>
> This is the type of property that is normally dynamically determined.
> Is there a way to determine that info from the executable? That would
> be the proper way of fixing this issue.

I agree with that, but currently we can't distinguish executables with different
call ABI.

--
Thanks.
-- Max