[COMMITTED] tests: elfcopy --reverse-offs should only swap sections next to each other.

2019-06-03 Thread Mark Wielaard
The run-reverse-sections-self.sh (which really should have been called "swap-sections") could fail if the ELF file had sections that were not directly next to each other swapped. Add a check to make sure the swapped sections are actually directly next to each other. Signed-off-by: Mark Wielaard -

[[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

[[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