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

2023-05-21 Thread Mark Wielaard
Hi Ying, On Tue, May 16, 2023 at 03:34:01PM +0800, Ying Huang wrote: > 在 2023/5/16 14:46, Ying Huang 写道: > > >> libelf/elf_getdata.c: Some eu-utils use read-mmap method to map file, > > >> so we need to malloc and memcpy raw data to avoid segment fault. After > > >> modification, the correct value

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

2023-05-21 Thread Mark Wielaard
Hi Ying, On Tue, May 16, 2023 at 02:38:45PM +0800, Ying Huang wrote: > 在 2023/5/9 23:15, Mark Wielaard 写道: > > On Tue, 2023-04-11 at 16:12 +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