On Thu, Sep 02, 2010 at 03:30:31PM -0400, Jon Smirl wrote:
Mar, how are you getting this? Maybe there is a simple solution to calling the ROM thumb code that we haven't discovered yet.
Right now I'm thinking that I have callee-super in there as a hold-over from back when I first was starting and built everything as ARM. Now that I'm building things as THUMB it doesn't look like callee-super is necessary.
Now, with 4.4 and 4.5, I'm having the following build problem:
tests.c: In function ‘print_packet’: tests.c:65:1: error: insn does not satisfy its constraints: (insn 215 23 24 3 tests.c:52 (set (reg/f:SI 6 r6 [171]) (reg/f:SI 13 sp)) 168 {*thumb1_movsi_insn_osize} (nil)) tests.c:65:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.5/README.Bugs for instructions.
However, removing the offending code still does not make a simple blink program work. I don't have either of these problems with gcc-4.3-arm-linux-gnueabi from emdebian.org... I imagine it's going to take some deeper work with the debugger to figure out what's going on with 4.4 and 4.5.
-Mar.