Displaying 5 results from an estimated 5 matches for "songmao".
Did you mean:
longman
2011 Oct 11
5
[LLVMdev] llvm-objdump related patch
...nary, we have
to switch from each other.
we can tell if a function is thumb or arm code by looking at the symbol
table entry, when in thumb code, the lowest bit of the symbol value will
be set to '1'.
so how these logic can be implemented while still adapt to the structure
of the code?
Songmao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-sectionContainsSymbol-preparing-for-the-ob.patch
Type: text/x-patch
Size: 1177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111011/527db4f3/attachment.bin...
2011 Oct 11
0
[LLVMdev] llvm-objdump related patch
...ach other.
> we can tell if a function is thumb or arm code by looking at the symbol
> table entry, when in thumb code, the lowest bit of the symbol value will be
> set to '1'.
> so how these logic can be implemented while still adapt to the structure of
> the code?
>
> Songmao
For the first patch. The code is only valid for executable files, not
relocatable files. st_shndx should be used to determine if the symbol
is in the given section. Also st_value can hold the offset into
st_shndx, not the actual address. Also it doesn't handle non-function
symbols.
For the se...
2011 Oct 12
2
[LLVMdev] llvm-objdump related patch
Michael,
I have rework the patch according to your suggestion. And I have
read binutil/objdump source code and found that it has a logic that if
there's no symtab, it will use dynsym, which is missing in llvm-objdump.
Songmao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-the-address-calculation-for-llvm-objdump.patch
Type: text/x-patch
Size: 3036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111012/8d8263d1/attachment.bin>
----...
2011 Oct 13
0
[LLVMdev] llvm-objdump related patch
On Wed, Oct 12, 2011 at 3:17 AM, Songmao <smtian at ingenic.cn> wrote:
> Michael,
> I have rework the patch according to your suggestion. And I have read
> binutil/objdump source code and found that it has a logic that if there's no
> symtab, it will use dynsym, which is missing in llvm-objdump.
>
> Songmao...
2011 Oct 11
0
[LLVMdev] llvm-objdump related patch
Neo,
On Oct 11, 2011, at 12:15 AM, Neo wrote:
> 1. arm instruction decoder cannot recognise bx series instructions.
Can you provide a testcase for an instruction it fails to disassemble?
--Owen