Re: [PATCH V4 0/1] Add C-SKY support

2019-07-16 Thread Mao Han
On Tue, Jul 16, 2019 at 03:48:22PM +0200, Mark Wielaard wrote: > > > > These attributes including cpu name and some other ISA related > > > > descriptions. > > > > Some thing like: > > > > CSKY_ARCH_NAME: "ck810" > > > > CSKY_CPU_NAME: "ck810f" > > > > CSKY_ISA_FLAG: 0x12345678 > > > > CSKY_ISA_E

Re: [PATCH V4 0/1] Add C-SKY support

2019-07-16 Thread Mark Wielaard
On Tue, 2019-07-16 at 19:14 +0800, Mao Han wrote: > > > The ELF_ARCH was defined as 39 inside linux kernel(before 4.20), > > > so > > > the the core file generated was EM_RCE. > > > I'v regenerated the core file with ELF_ARCH defined as 252: > > > https://github.com/c-sky/test-result/blob/master/el

[PATCH V4 1/1] Add backend support for C-SKY

2019-07-16 Thread Mao Han
C-SKY V2 ABI manual: https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf C-SKY architecture user guide: https://github.com/c-sky/csky-doc/blob/master/CSKY%20Architecture%20user_guide.pdf Signed-off-by: Mao Han --- backends/ChangeLog

[PATCH V4 0/1] Add C-SKY support

2019-07-16 Thread Mao Han
> > The ELF_ARCH was defined as 39 inside linux kernel(before 4.20), so > > the the core file generated was EM_RCE. > > I'v regenerated the core file with ELF_ARCH defined as 252: > > https://github.com/c-sky/test-result/blob/master/elfutils/zeroptr > > https://github.com/c-sky/test-result/raw/mast