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

2019-07-12 Thread Mark Wielaard
On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > 5. run-reverse-sections-self.sh > elfcopy --reverse-offs dose not work properly on C-SKY object file, > seems not related to arch specific code. > size.o before copy: > https://github.com/c-sky/test-result/blob/master/elfutils/size.o > size.o.rev

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

2019-07-12 Thread Mark Wielaard
On Fri, 2019-07-12 at 19:22 +0800, Mao Han wrote: > I've generated binaries/core with an upstream toolchain, however the > divzero testcase doesn't cause any coredump, so I used a zeroptr > testcase instead. > https://github.com/c-sky/test-result/blob/master/elfutils/zeroptr > https://github.com/c-

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

2019-07-12 Thread Mao Han
On Thu, Jul 11, 2019 at 03:36:03PM +0200, Mark Wielaard wrote: > > the EM_CSKY_OLD equals to 39. We have changed the EM number to 252 in > > our newly released toolchain with compatibility to EM_CSKY_OLD. > > See binutils/include/elf/common.h: > > /* C-SKY historically used 39, the same value as MC

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

2019-07-11 Thread Mark Wielaard
On Thu, 2019-07-11 at 11:11 +0800, Mao Han wrote: > On Wed, Jul 10, 2019 at 11:33:23PM +0200, Mark Wielaard wrote: > > On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > > > test binary: > > > https://github.com/c-sky/test-result/blob/master/elfutils/divzero > > > https://github.com/c-sky/test-res

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

2019-07-10 Thread Mao Han
On Wed, Jul 10, 2019 at 11:33:23PM +0200, Mark Wielaard wrote: > Hi Mao Han, > > On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > > test binary: > > https://github.com/c-sky/test-result/blob/master/elfutils/divzero > > https://github.com/c-sky/test-result/blob/master/elfutils/core > > I was lo

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

2019-07-10 Thread Mark Wielaard
Hi Mao Han, On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > test binary: > https://github.com/c-sky/test-result/blob/master/elfutils/divzero > https://github.com/c-sky/test-result/blob/master/elfutils/core I was looking at these, but they seem to have a wrong e_machine value of EM_RCE, not EM

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

2019-06-03 Thread Mao Han
CC: Mark Wielaard This patch add backend support for C-SKY architecture. FAIL cases on csky: 1. run-backtrace-* discussed in this thread before, seems can't support with current core_set_initial_registers. https://sourceware.org/ml/elfutils-devel/2019-q2/msg00021.html test binary: https://github

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

2019-05-04 Thread Mao Han
This patch add backend support for C-SKY architecture. Changes since v1: - Add the Signed-off-by line and the copyright Changes since v2: - move changelog to corresponding entries - correct core dump registers size - remove unused fpu DWARF register Mao Han (1): Add backend support for