Re: bad branches from assembler, gcc3.4 arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scottie,

  Does the program assembled this way run at all?  Your addresses do
seem off by an offset in the encoding.

  Are the values for the instruction encoding the same in the
disassembly as they are in the binary?

corey


On Fri, 11 Feb 2005 15:35:59 -0600 (CST), Scottie Shore
<umshore4@xxxxxxxxxxxxxxx> wrote:
> Hello,
> 
> I've written some very simple assembler code (included as test.S) and
> compiled it with "arm-linux-gcc -c test.S". The disassembled code
> (included as output.txt) shows that the branches are not pointed to the
> right address.
> 
> Any idea what would cause this? Something missing in the source file, or a
> compile option, or a compiler bug?
> 
> Please CC responses to me, as I'm not subscribed to the list.
> 
> Scottie Shore <umshore4@xxxxxxxxxxxxxxx>
>  - In general, if you notice double vision, you've gone too far.
> 
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux