arm gcc assembler problem

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

 



Hello,

I've looked at the ARM gcc branch issue I was having in more detail, with
more confusing results.

A test file with the following:

.text
test:
        b       test
        b       test
        b       test
        b       test
        b       test
        b       test
        b       test
        b       test

generates the following code:

Disassembly of section .text:

00000000 <test>:
   0:   eafffffe        b       0 <test>
   4:   eafffffe        b       4 <test+0x4>
   8:   eafffffe        b       8 <test+0x8>
   c:   eafffffe        b       c <test+0xc>
  10:   eafffffe        b       10 <test+0x10>
  14:   eafffffe        b       14 <test+0x14>
  18:   eafffffe        b       18 <test+0x18>
  1c:   eafffffe        b       1c <test+0x1c>

with both gcc-3.4.3 compiled from debian sources, and gcc-2.95.2 found on
the LART site.

I'm at a loss to explain this. How to fix it?

Please CC replies to me.

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