Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-12-12 Thread Ying Huang
Ping Thanks, Ying 在 2024/11/1 16:58, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > 在 2024/10/12 17:40, Ying Huang 写道: >> Ping >> >> >> Thanks, >> >> Ying >> >> >> 在 2024/9/27 17:52, Ying Huang 写道: >>

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-11-01 Thread Ying Huang
Ping Thanks, Ying 在 2024/10/12 17:40, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > > 在 2024/9/27 17:52, Ying Huang 写道: >> Ping >> >> >> Thanks, >> >> Ying >> >> >> 在 2024/9/14 17:45, Ying Huang 写道: >&

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-10-12 Thread Ying Huang
Ping Thanks, Ying 在 2024/9/27 17:52, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > > 在 2024/9/14 17:45, Ying Huang 写道: >> Ping >> >> >> Thanks, >> >> Ying >> >> >> 在 2024/8/30 17:04, Ying Huang 写道: >>&

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-09-27 Thread Ying Huang
Ping Thanks, Ying 在 2024/9/14 17:45, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > > 在 2024/8/30 17:04, Ying Huang 写道: >> Hi Mark, >> >> What can I do to process these patches? >> >> If you did not accept changes in current patc

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-09-14 Thread Ying Huang
Ping Thanks, Ying 在 2024/8/30 17:04, Ying Huang 写道: > Hi Mark, > > What can I do to process these patches? > > If you did not accept changes in current patch, how about the following > changes method? > > diff --git a/libelf/gelf_getrela.c b/libelf/gelf_getrela.c &g

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-08-30 Thread Ying Huang
Hi Mark, What can I do to process these patches? If you did not accept changes in current patch, how about the following changes method? diff --git a/libelf/gelf_getrela.c b/libelf/gelf_getrela.c index d695f659..fd974bdf 100644 --- a/libelf/gelf_getrela.c +++ b/libelf/gelf_getrela.c @@ -90,8 +9

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-08-12 Thread Ying Huang
Ping Thanks, Ying 在 2024/7/29 17:56, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > > 在 2024/7/10 10:37, Ying Huang 写道: >> Hi Mark, >> >> I have done tests on mips32 littele/big endian and mips64 little >> endian(because now I did not have

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-07-29 Thread Ying Huang
Ping Thanks, Ying 在 2024/7/10 10:37, Ying Huang 写道: > Hi Mark, > > I have done tests on mips32 littele/big endian and mips64 little > endian(because now I did not have mips64 big endian lab). > > Attached are the test results and I compared them. > > This is the chan

Re: [PATCH v2 3/3] tests: add test for eu-stack --sysroot

2024-07-14 Thread Ying Huang
Hi Aaron, I update and do make check, the results are OK. Thanks for your timely modification. Ying 在 2024/7/12 23:38, Aaron Merey 写道: > Hi Ying, > > On Wed, Jul 10, 2024 at 2:06 PM Aaron Merey wrote: >> On Wed, Jul 10, 2024 at 4:33 AM Ying Huang >> wrote: &g

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-07-09 Thread Ying Huang
& 0xff00) +   | ((info << 8) & 0xff)); +   } + +  ((Elf64_Rela *) data_scn->d.d_buf)[ndx] = rela; }      result = 1; 在 2024/7/10 10:37, Ying Huang 写道: > Hi Mark, > > I have done tests on mips32 littele/big endian and mips6

Re: [PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-07-09 Thread Ying Huang
+ if(ehdr != NULL && ehdr->e_machine == EM_MIPS && ehdr->e_ident[EI_DATA] == ELFDATA2LSB) + { + Elf64_Xword info = rela.r_info; + rela.r_info = (info >> 32 + | ((info << 56) & 0xff00) + | ((info << 40) & 0xff) + | ((info &l

Re: [PATCH] test: Add mips in run-allregs.sh and run-readelf-mixed-corenote.sh

2024-07-09 Thread Ying Huang
Ping 在 2024/5/24 17:41, Ying Huang 写道: > From: Ying Huang > > * backends/Makefile.am (mips_SRCS): Add mips64_corenote.c. > * backends/mips64_corenote.c: New file. > * backends/mips_corenote.c: Add fpregset. > * backends/mips_init.c: HOOK mips64_corenote. > * libebl/eblco

Re: elfutils DWARF problem was: Re: Problem with BTF generation on mips64el

2024-06-11 Thread Ying Huang
gt;>> which partially applies the patchwork series but leaves out the support for >>> readelf, strip, and elflint. >>> >>> I believe this means the vmlinux and .ko files I shared are OK, or is there >>> more backend work needed for MIPS? >>>

Re: [PATCH v3 3/6] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2024-05-24 Thread Ying Huang
Huang 写道: > From: Ying Huang > > -h: support show Flags name > -S: support show mips related section type > -r: support show type of Relocation section > -w: can work and can show correct "strp" contents > -l: support show mips related program header entry type > -d:

[PATCH] test: Add mips in run-allregs.sh and run-readelf-mixed-corenote.sh

2024-05-24 Thread Ying Huang
From: Ying Huang * backends/Makefile.am (mips_SRCS): Add mips64_corenote.c. * backends/mips64_corenote.c: New file. * backends/mips_corenote.c: Add fpregset. * backends/mips_init.c: HOOK mips64_corenote. * libebl/eblcorenotetypename.c: Add KNOWNSTYPE MIPS_FP_MODE MIPS_MSA. * tests/run-allregs.sh

Re: [PATCH v3 6/6] backends: Add register_info, return_value_location, core_note function on mips

2024-04-18 Thread Ying Huang
Hi Mark, > So this only handles 64 BITS. I left it this way. But it is a > question about the whole series. MIPS has multiple abis, some 32, some > 64 bits, some big and some little endian. If I understand correctly > this backend only handles the 64 bit little endian one? Sorry, this was adde

Re: [PATCH v3 5/6] stack: Fix stack unwind failure on mips

2024-04-17 Thread Ying Huang
Hi Mark, > It would be helpful to see if you could come up with a testcase > similar to the ones in tests/run-backtrace-core-.sh with > tests/tests/backtrace..{exec,core}.bz2 so it can be tested from > a non-MIPS setup (as opposed to the tests/run-backtrace-native.sh and > tests/run-backtrace-nati

Re: [PATCH v3 1/6] Support Mips architecture

2024-04-03 Thread Ying Huang
Hi Mark, Could you help review some other patches? Thanks, Ying 在 2024/3/29 08:18, Mark Wielaard 写道: > Hi Ying, > > On Tue, Mar 05, 2024 at 05:51:17PM +0800, Ying Huang wrote: >> From: Ying Huang >> >> Signed-off-by: Ying Huang >> --- >> backen

Re: [PATCH v3 1/6] Support Mips architecture

2024-03-29 Thread Ying Huang
Hi Mark, Next time I send a patch, I will add ChangeLog entry in commit message and check the added file. Thanks, Ying 在 2024/3/29 08:18, Mark Wielaard 写道: > Hi Ying, > > On Tue, Mar 05, 2024 at 05:51:17PM +0800, Ying Huang wrote: >> From: Ying Huang >> >>

Re: [PATCH v3 1/6] Support Mips architecture

2024-03-21 Thread Ying Huang
Ping, Thanks. 在 2024/3/11 18:02, Ying Huang 写道: > Hi Mark, > > Could you please review these patches, I have splited patch v2 1/5 to patch > v3 1/6 and 2/6. > > Thanks, > > Ying > > > 在 2024/3/5 17:51, Ying Huang 写道: >> From: Ying Huang >> >

Re: [PATCH v3 1/6] Support Mips architecture

2024-03-11 Thread Ying Huang
Hi Mark, Could you please review these patches, I have splited patch v2 1/5 to patch v3 1/6 and 2/6. Thanks, Ying 在 2024/3/5 17:51, Ying Huang 写道: > From: Ying Huang > > Signed-off-by: Ying Huang > --- > backends/Makefile.am| 6 +- > backends/mips_init.c| 5

[PATCH v3 6/6] backends: Add register_info, return_value_location, core_note function on mips

2024-03-05 Thread Ying Huang
From: Ying Huang Signed-off-by: Ying Huang --- backends/Makefile.am | 3 +- backends/mips_corenote.c | 85 + backends/mips_init.c | 3 + backends/mips_regs.c | 135 +++ backends/mips_retval.c | 196

[PATCH v3 5/6] stack: Fix stack unwind failure on mips

2024-03-05 Thread Ying Huang
From: Ying Huang Add abi_cfi, set_initial_registers_tid, unwind on mips. Signed-off-by: Ying Huang --- backends/Makefile.am| 3 +- backends/mips_cfi.c | 68 + backends/mips_init.c| 4 ++ backends/mips_initreg.c | 61

[PATCH v3 4/6] elflint: adapt src/elflint --gnu src/nm on mips

2024-03-05 Thread Ying Huang
From: Ying Huang The errors were: $ src/elflint --gnu src/nm section [ 2] '.MIPS.options' contains unknown flag(s) 0x800 section [ 7] '.dynsym': symbol 165 (_DYNAMIC_LINKING): non-local section symbol section [24] '.got' contains invalid processor-specific

[PATCH v3 2/6] strip: Adapt src/strip -o -f on mips

2024-03-05 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

[PATCH v3 3/6] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2024-03-05 Thread Ying Huang
From: Ying Huang -h: support show Flags name -S: support show mips related section type -r: support show type of Relocation section -w: can work and can show correct "strp" contents -l: support show mips related program header entry type -d: can show mips related Dynamic type name -

[PATCH v3 1/6] Support Mips architecture

2024-03-05 Thread Ying Huang
From: Ying Huang Signed-off-by: Ying Huang --- backends/Makefile.am| 6 +- backends/mips_init.c| 52 backends/mips_reloc.def | 93 +++ backends/mips_symbol.c | 63 + libebl/eblopenbackend.c | 2 + libelf/libelfP.h| 3 + tests/libelf.h | 541

[PATCH v3 0/6] Add support for MIPS

2024-03-05 Thread Ying Huang
Pass all previous test cases that failed due to MIPS non-support. The following are the test results on mips64el: # TOTAL: 274 # PASS: 267 # SKIP: 7 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0

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

2024-02-17 Thread Ying Huang
ps64le case. > > On Fri, Nov 03, 2023 at 01:18:12PM +0100, Mark Wielaard wrote: >> 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

Re: [PATCH v2 0/5] Add support for MIPS

2024-02-03 Thread Ying Huang
2024/1/23 16:21, Ying Huang 写道: > Ping, > > Thanks. > > > 在 2023/11/9 11:00, Ying Huang 写道: >> Hi, >> >> 在 2023/11/3 19:56, Mark Wielaard 写道: >>> Hi Yimg, >>> >>> On Thu, 2023-11-02 at 14:55 +0800, Ying Huang wrote: >>>> Th

Re: [PATCH v2 0/5] Add support for MIPS

2024-01-23 Thread Ying Huang
Ping, Thanks. 在 2023/11/9 11:00, Ying Huang 写道: > Hi, > > 在 2023/11/3 19:56, Mark Wielaard 写道: >> Hi Yimg, >> >> On Thu, 2023-11-02 at 14:55 +0800, Ying Huang wrote: >>> This is a series of modifications about MIPS. >>> Support src/readelf, strip, el

Re: [PATCH v2 0/5] Add support for MIPS

2023-12-29 Thread Ying Huang
Ping Thanks, Ying. > Pass all previous test cases that failed due to MIPS non-support. > The following are the test results on mips64el. > # TOTAL: 271 > # PASS: 263 > # SKIP: 8 > # XFAIL: 0 > # FAIL: 0 > # XPASS: 0 > # ERROR: 0 That looks pretty good

Re: [PATCH v2 0/5] Add support for MIPS

2023-12-18 Thread Ying Huang
Ping Thanks, Ying 在 2023/11/29 15:40, Ying Huang 写道: > Ping > > > Thanks, > > Ying > > > 在 2023/11/9 11:00, Ying Huang 写道: >> Hi, >> >> 在 2023/11/3 19:56, Mark Wielaard 写道: >>> Hi Yimg, >>> >>> On Thu, 2023-11-02 at 14:

Re: [PATCH v2 0/5] Add support for MIPS

2023-11-28 Thread Ying Huang
Ping Thanks, Ying 在 2023/11/9 11:00, Ying Huang 写道: > Hi, > > 在 2023/11/3 19:56, Mark Wielaard 写道: >> Hi Yimg, >> >> On Thu, 2023-11-02 at 14:55 +0800, Ying Huang wrote: >>> This is a series of modifications about MIPS. >>> Support src/readelf, str

Re: [PATCH v2 0/5] Add support for MIPS

2023-11-08 Thread Ying Huang
Hi, 在 2023/11/3 19:56, Mark Wielaard 写道: > Hi Yimg, > > On Thu, 2023-11-02 at 14:55 +0800, Ying Huang wrote: >> This is a series of modifications about MIPS. >> Support src/readelf, strip, elflint, objdump related tools. > Thanks. What are the changes

[PATCH v2 5/5] backends: Add register_info, return_value_location, core_note function on mips

2023-11-01 Thread Ying Huang
From: Ying Huang --- backends/Makefile.am | 3 +- backends/mips_corenote.c | 85 + backends/mips_init.c | 3 + backends/mips_regs.c | 135 +++ backends/mips_retval.c | 196 +++ 5 files changed, 421

[PATCH v2 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-11-01 Thread Ying Huang
From: Ying Huang -h: support show Flags name -S: support show mips related section type -r: support show type of Relocation section -w: can work and can show correct "strp" contents -l: support show mips related program header entry type -d: can show mips related Dynamic type name -

[PATCH v2 3/5] elflint: adapt src/elflint --gnu src/nm on mips

2023-11-01 Thread Ying Huang
From: Ying Huang The errors were: $ src/elflint --gnu src/nm section [ 2] '.MIPS.options' contains unknown flag(s) 0x800 section [ 7] '.dynsym': symbol 165 (_DYNAMIC_LINKING): non-local section symbol section [24] '.got' contains invalid processor-specific

[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

[PATCH v2 4/5] stack: Fix stack unwind failure on mips

2023-11-01 Thread Ying Huang
From: Ying Huang Add abi_cfi, set_initial_registers_tid, unwind on mips. --- backends/Makefile.am| 3 +- backends/mips_cfi.c | 68 + backends/mips_init.c| 4 ++ backends/mips_initreg.c | 61 ++ backends/mips_unwind.c

[PATCH v2 0/5] Add support for MIPS

2023-11-01 Thread Ying Huang
This is a series of modifications about MIPS. Support src/readelf, strip, elflint, objdump related tools. Pass all previous test cases that failed due to MIPS non-support. The following are the test results on mips64el. # TOTAL: 271 # PASS: 263 # SKIP: 8 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR:

[PATCH] libelf: Sync elf.h from glibc

2023-10-13 Thread Ying Huang
From: Ying Huang MIPS add new ELF file header flags, new relocations and new section type SHT_MIPS_ABIFLAGS. --- libelf/elf.h | 109 ++- 1 file changed, 107 insertions(+), 2 deletions(-) diff --git a/libelf/elf.h b/libelf/elf.h index 9c51073f

Re: [PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-07-26 Thread Ying Huang
16:15, Ying Huang 写道: > Hi Mark, > > In file common-reloc.c, hook functions > reloc_type_check/reloc_type_use/reloc_type_name have these codes: > > #ifdef RELOC_TYPE_ID >   reloc = RELOC_TYPE_ID (reloc); > #endif > > And the macro RELOC_TYPE_ID was defined in file ba

Re: [PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-07-25 Thread Ying Huang
for mips, if we can do like sparc? Thanks, Ying 在 2023/7/24 16:35, Ying Huang 写道: > Hi Mark, > >>> diff --git a/libebl/eblreloctypecheck.c b/libebl/eblreloctypecheck.c >>> index 80e67ef7..e3c43944 100644 >>> --- a/libebl/eblreloctypecheck.c >>> +++ b/l

Re: [PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-07-24 Thread Ying Huang
Hi Mark, >> diff --git a/libebl/eblreloctypecheck.c b/libebl/eblreloctypecheck.c >> index 80e67ef7..e3c43944 100644 >> --- a/libebl/eblreloctypecheck.c >> +++ b/libebl/eblreloctypecheck.c >> @@ -32,10 +32,14 @@ >> #endif >> >> #include >> - >> +#include >> >> bool >> ebl_reloc_type_check

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

2023-05-25 Thread Ying Huang
Hi Mark, 在 2023/5/22 05:14, 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 t

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

2023-05-23 Thread Ying Huang
在 2023/5/22 05:13, 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

Re: [PATCH 5/5] backends: Fix run-native-test.sh and run-funcretval++11.sh run fail on mips

2023-05-18 Thread Ying Huang
Hi, 在 2023/5/12 00:38, Mark Wielaard 写道: >> diff --git a/backends/mips_regs.c b/backends/mips_regs.c >> >> + >> +ssize_t >> +mips_register_info (Ebl *ebl __attribute__ ((unused)), >> + int regno, char *name, size_t namelen, >> + const char **prefix, const char **s

Re: [PATCH 4/5] stack: Fix stack unwind failure on mips

2023-05-17 Thread Ying Huang
Hi, 在 2023/5/12 00:07, Mark Wielaard 写道: >> libebl_backends_a_SOURCES = $(i386_SRCS) $(sh_SRCS) $(x86_64_SRCS) \ >> $(ia64_SRCS) $(alpha_SRCS) $(arm_SRCS) \ >> diff --git a/backends/mips_cfi.c b/backends/mips_cfi.c >> new file mode 100644 >> index ..77132cc1 >> --

Re: [PATCH 3/5] elflint: Fix invalid type of relocation info and other issues on mips

2023-05-17 Thread Ying Huang
Hi, 在 2023/5/11 23:59, Mark Wielaard 写道: > Hi, > > On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: >> From: Ying Huang >> >> add some check related functions >> --- >> backends/mips_init.c | 3 +++ >> backends/mips_symbol.c| 33

Re: [PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-05-16 Thread Ying Huang
Hi, 在 2023/5/11 22:31, Mark Wielaard 写道: > Hi, > > On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: >> diff --git a/backends/mips_attrs.c b/backends/mips_attrs.c >> new file mode 100644 >> index ..1419814e >> --- /dev/null >> +++ b/

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

2023-05-16 Thread Ying Huang
在 2023/5/16 14:46, Ying Huang 写道: > > HI, > > >> 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 are saved in the malloced memo

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

2023-05-15 Thread Ying Huang
HI, >> 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 are saved in the malloced memory not in >> process address space. > Where do these segfaults show up?     The

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

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

[PATCH 4/5] stack: Fix stack unwind failure on mips

2023-04-11 Thread Ying Huang
From: Ying Huang add abi_cfi, set_initial_registers_tid, unwind on mips. "./src/stack -p PID" can show stack information --- backends/Makefile.am| 3 +- backends/mips_cfi.c | 68 + backends/mips_init.c| 4 ++ backends/mips_init

[PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-04-11 Thread Ying Huang
From: Ying Huang -h: support show Flags name -S: support show mips related section type -r: support show type and relocation info value of Relocation section -w: can work and can show correct "strp" contents -l: support show mips related program header entry type -d: can show mi

[PATCH 5/5] backends: Fix run-native-test.sh and run-funcretval++11.sh run fail on mips

2023-04-11 Thread Ying Huang
From: Ying Huang add register_info, return_value_location function on mips --- backends/Makefile.am | 2 +- backends/mips_init.c | 2 + backends/mips_regs.c | 109 + backends/mips_retval.c | 261 + 4 files changed, 373 insertions

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

2023-04-11 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

[PATCH 0/5] Add support for MIPS

2023-04-11 Thread Ying Huang
This is a series of modifications about MIPS. Support src/readelf, strip, unstrip, elflint, objdump related tools. Pass all previous test cases that failed due to MIPS non-support.

[PATCH 3/5] elflint: Fix invalid type of relocation info and other issues on mips

2023-04-11 Thread Ying Huang
From: Ying Huang add some check related functions --- backends/mips_init.c | 3 +++ backends/mips_symbol.c| 33 + libebl/eblrelocvaliduse.c | 8 ++-- src/elflint.c | 23 --- 4 files changed, 62 insertions(+), 5