[RFC PATCH v3 01/12] C-SKY: ABI related code
Mao Han
han_mao@c-sky.com
Tue Jul 3 08:04:00 GMT 2018
On Fri, Jun 29, 2018 at 04:40:10PM +0000, Joseph Myers wrote:
> On Fri, 29 Jun 2018, Mao Han wrote:
>
> > Codes in this patch contains lots of C-SKY ABI related code. They are written
> > accroding to the registers assgnments, relocations, assemblly described
> > in C-SKY CPU ABI Standards and C-SKY CPU manual.
>
> Could you include direct URLs to PDFs of these manuals in the introduction
> to future versions of the patch series (like you gave URLs for your GCC /
> binutils / Linux git repositories)?
>
We currently don't have any technical document put on the internet. I've
asked our toolchain principal to release some. Hopefully they will be
available next time.
> Preprocessor indentation, "# error" inside #if.
>
> > +#else
> > +# define CSKY_ABIV2
> > +#endif
>
> Why do you need this macro rather than just using the predefined
> __CSKYABIV2__ anywhere needing an ABI conditional? (Right now, of course,
> any such ABI conditionals will just have #error for the ABIv1 case, like
> the one here.)
It is some legacy code from our first port on 2013. I don't what it is
used for. I think I'll just remove it.
Best Regards,
Mao Han
More information about the Libc-alpha
mailing list