Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-15 Thread Mark Wielaard
On Mon, 2019-07-15 at 16:55 +0800, Mao Han wrote: > I can't find the origin mail thread in my mailbox, as my mutt can > only keep the newest 5000 mails. So I just reply in a new thread. Sorry about taking so long to go over these patches. Thanks for answering the questions. I do have the older ema

Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-15 Thread Mao Han
Hi Mark, I can't find the origin mail thread in my mailbox, as my mutt can only keep the newest 5000 mails. So I just reply in a new thread. > > I've generated binaries/core with an upstream toolchain, however the > > divzero testcase doesn't cause any coredump, so I used a zeroptr > > testcase i

Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-14 Thread Mark Wielaard
On Thu, 2019-07-11 at 11:19 +0800, Mao Han wrote: > On Thu, Jul 11, 2019 at 12:11:17AM +0200, Mark Wielaard wrote: > > As far as I can see this is like a SHT_GNU_ATTRIBUTES or > > SHT_ARM_ATTRIBUTES section. If so, you will also want something > > like: > > > > diff --git a/src/readelf.c b/src/rea

Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-12 Thread Mark Wielaard
On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > diff --git a/backends/csky_reloc.def b/backends/csky_reloc.def > new file mode 100644 > index 000..1108f0c > --- /dev/null > +++ b/backends/csky_reloc.def > @@ -0,0 +1,86 @@ > +/* List the relocation types for csky. -*- C -*- > + Copyright

Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-10 Thread Mao Han
Hi, Mark On Thu, Jul 11, 2019 at 12:11:17AM +0200, Mark Wielaard wrote: > As far as I can see this is like a SHT_GNU_ATTRIBUTES or > SHT_ARM_ATTRIBUTES section. If so, you will also want something like: > > diff --git a/src/readelf.c b/src/readelf.c > index cda7c93..8017dc4 100644 > --- a/src/rea

Re: [[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-07-10 Thread Mark Wielaard
Hi Mao Han, On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > +const char * > +csky_section_type_name (int type, > + char *buf __attribute__ ((unused)), > + size_t len __attribute__ ((unused))) > +{ > + if (type == SHT_CSKY_ATTRIBUTES) > +return "CS

[[RESEND & PING]PATCH V3 1/1] Add backend support for C-SKY

2019-06-03 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 v3 1/1] Add backend support for C-SKY

2019-05-04 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 --- backends/ChangeLog | 11 ++ backends/M