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

2019-04-10 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 V2 0/2] Add C-SKY support

2019-04-10 Thread Mao Han
I'v check some of the failed testcase. > > FAIL: run-native-test.sh > > > > > > allregs: 23064: No such file or directory > > FAIL run-native-test.sh (exit status: 1) > > This is probably because of the script modifications. The test cannot > find the running process. >

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

2019-04-10 Thread Mao Han
Signed-off-by: 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/libe

[PATCH] wrong backend definition?

2019-04-10 Thread Mao Han
--- backends/riscv_cfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/riscv_cfi.c b/backends/riscv_cfi.c index 1a84a38..5d3e884 100644 --- a/backends/riscv_cfi.c +++ b/backends/riscv_cfi.c @@ -31,7 +31,7 @@ #include -#define BACKEND aarch64_ +#define BACKEND r

Re: [PATCH] readelf: Print DW_AT_data_member_location as decimal offset, not hex number.

2019-04-10 Thread Mark Wielaard
On Wed, Apr 03, 2019 at 04:54:15PM +0200, Mark Wielaard wrote: > The data_member_location attribute was printed as a hex number, but other > constant attributes like bit_offset, byte_size or alignment were printed > as decimal numbers. This is confusing. > > The reason that data_member_location wa