[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug report on GNU linker for ARC processor
From: |
Nick Clifton |
Subject: |
Re: Bug report on GNU linker for ARC processor |
Date: |
03 Aug 2001 10:40:45 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi Lucas,
> I've tried the patch, but failed to work.
That is strange. I tried assembling the main.s file that you
attached, linking with LinkCmd script you supplied and using the
command line from the Makefile and everything worked! Here is part of
the objdump of the resulting a.out file:
009000f0 <x0>:
9000f0: 00 20 7f 08 087f2000 lr r3,[0xffed_0001]
9000f4: 01 00 ed ff
9000f8: ff ff ff 7f 7fffffff nop
9000fc: 08 fa 61 60 6061fa08 and.f r3,r3,8
900100: ff ff ff 7f 7fffffff nop
900104: 02 00 1f 38 381f0002 jnz 9000f0 <x0>
900108: 3c 00 24 00
90010c: 00 0d 00 28 28000d00 bl 900178 <_etmain>
900110: 00 02 00 28 28000200 bl 900124 <_test1>
900114: 01 80 bf 1f 1fbf8001 flag 1
900118: ff ff ff 7f 7fffffff nop
90011c: ff ff ff 7f 7fffffff nop
900120: ff ff ff 7f 7fffffff nop
The branch to _etmain does appear to have been correctly computed.
Did you rebuild the BFD library and then the linker after applying the
patch that I sent ? Do you install the rebuilt linker ?
> We are eagerly to solve the bug. We wish to
> contact you by phone. Could you tell us your
> phone number and your time zone so that
> we can reach you from Taiwan ?
I would prefer not to do this. I am working on your problem in my
spare time, so I am doing this as a service to the net community. If
you would like to have official support and technical help for the
ARC toolchain, please feel free to contact Red Hat or any other GNU
software specialist company. I am sure that they would be happy to
sell you their services.
Cheers
Nick