Re: [PATCH v2 1/5] strip: Adapt src/strip -o -f on mips

2024-02-17 Thread Ying Huang
Hi  Mark, 在 2024/2/10 08:20, Mark Wielaard 写道: > Hi Ying, > > Sorry I keep postponing this. I don't have access to a mips64le box, > the cfarm only has 64bit big endian mips machines. But the part I am > struggling with is the relocation data conversion needed in the > mips64le case. > > On Fri, N

Re: [PATCH v2 1/5] strip: Adapt src/strip -o -f on mips

2024-02-09 Thread Mark Wielaard
Hi Ying, Sorry I keep postponing this. I don't have access to a mips64le box, the cfarm only has 64bit big endian mips machines. But the part I am struggling with is the relocation data conversion needed in the mips64le case. On Fri, Nov 03, 2023 at 01:18:12PM +0100, Mark Wielaard wrote: > On Thu

Re: [PATCH v2 1/5] strip: Adapt src/strip -o -f on mips

2023-11-03 Thread Mark Wielaard
Hi Ying, On Thu, 2023-11-02 at 14:55 +0800, Ying Huang wrote: > In mips64 little-endian, r_info consists of four byte fields(contains > three reloc types) and a 32-bit symbol index. In order to adapt > GELF_R_SYM and GELF_R_TYPE, need convert raw data to get correct symbol > index and type. This

[PATCH v2 1/5] strip: Adapt src/strip -o -f on mips

2023-11-01 Thread Ying Huang
From: Ying Huang In mips64 little-endian, r_info consists of four byte fields(contains three reloc types) and a 32-bit symbol index. In order to adapt GELF_R_SYM and GELF_R_TYPE, need convert raw data to get correct symbol index and type. libelf/elf_getdata.c: Some eu-utils use read-mmap metho