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 写道:
>>
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 写道:
>&
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 写道:
>>&
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
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
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
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
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
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
& 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
+ 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
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
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?
>>>
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:
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
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
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
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
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
>>
>>
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
>>
>
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
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
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
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
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
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
-
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
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
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
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
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
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
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:
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
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
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
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
-
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
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
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
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:
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
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
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
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
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
在 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
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
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
>> --
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
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/
在 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
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
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
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
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
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
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
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.
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
60 matches
Mail list logo