[ECOS] gcc's error?

twomol twomol@bj1860.net
Thu Nov 25 08:32:00 GMT 2004


       Oh,god!My brain was fried!Don't laugh at me!hehe!
	

======= 2004-11-24 09:40:00 =======

>"twomol" <twomol@bj1860.net> writes:
>
>>
>> There are some errors in the image's code,for example  at 1820058: ldr lr,[pc, #1136] ; 18204d0 < _eCos_id+0x20>
>> Acording the source ,it should be: ldr lr,[pc, #64] ;18200a0
>>
>> What's wrong ??Did I miss something?My gcc's version is 3.3.1
>> Thanks very much!
>
>LDR loads the contents of a given location, not its address, into the
>destination register. In this case the assembler has allocated a
>location at 0x18204d0 which contains the address of label 33.
>
>
>--
>Nick Garnett                    eCos Kernel Architect
>http://www.ecoscentric.com/     The eCos and RedBoot experts

= = = = = = = = = = = = = = = = = = = =
			

        

				
        twomol
        twomol@bj1860.net
          2004-11-25

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gaizh.gif
Type: image/gif
Size: 2477 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20041125/56e76a1e/attachment.gif>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list