This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

I wanna change the binutils


Dear Binutils

I was made cross-compiler for arm-elf type. And, use a elf2flt(elf to
flat)
But, i think, this tool different old version.
So, i did not use a elf2flt utility.

Old tool's looks like this :
[command] arm-elf-objdump -dr test.o
====================================================================
test.o:     file format elf32-littlearm

Disassembly of section .text:

00000000 <_entry>:
   0:   e8bd0007        ldmia   sp!, {r0, r1, r2}
   4:   e59f3008        ldr     r3, [pc, #8]    ; 14 <_entry+0x14>
   8:   e5832000        str     r2, [r3]
   c:   eb000000        bl      14 <_entry+0x14>
                        c: R_ARM_PC24   main
  10:   eb000000        bl      18 <_entry+0x18>
                        10: R_ARM_PC24  exit
  14:   00000000        andeq   r0, r0, r0
                        14: R_ARM_ABS32 environ
====================================================================

But, new tool's looks like this :
[command] arm-elf-objdump -dr test.o
====================================================================
test.o:     file format elf32-littlearm

Disassembly of section .text:

00000000 <_entry>:
   0:   e8bd0007        ldmia   sp!, {r0, r1, r2}
   4:   e59f3008        ldr     r3, [pc, #8]    ; 14 <_entry+0x14>
   8:   e5832000        str     r2, [r3]
   c:   ebfffffe        bl      0 <_entry>
                        c: R_ARM_PC24   main
  10:   ebfffffe        bl      0 <_entry>
                        10: R_ARM_PC24  exit
  14:   00000000        andeq   r0, r0, r0
                        14: R_ARM_ABS32 environ
====================================================================

BL(Branch Link for ARM) instruction is different. But, Branh instruction
is same.
So, i didn't use a old elf2flt utility.
And, i would like to use a ole elf2flt utility.

What can i do?

Please, Help me.

-------------
Myunghui Ryu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]