[PATCH 1/2] libelf: Sync elf.h from glibc

2019-03-31 Thread Mao Han
--- libelf/ChangeLog | 4 +++ libelf/elf.h | 96 ++-- 2 files changed, 98 insertions(+), 2 deletions(-) diff --git a/libelf/ChangeLog b/libelf/ChangeLog index d9b7749..d3bdac3 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,

[PATCH 2/2] Add backend support for C-SKY

2019-03-31 Thread Mao Han
--- backends/ChangeLog | 13 + backends/Makefile.am | 9 +++- backends/csky_cfi.c | 59 +++ backends/csky_corenote.c | 60 +++ backends/csky_init.c | 64 + backends/csky_initreg.c | 85 ++

[PATCH 0/2] Add C-SKY support

2019-03-31 Thread Mao Han
Hi, This patch add backend support for C-SKY architecture. Tested on X86 and got no regression. Also tested on C-SKY qemu. I didn't find any easy way to do the cross test, so I modified the test script to run the test suite with ssh, some testcases fail due to the script modification. PASS: run-ar