[Bug target/41151] Gas fails to consume the assembly Error: offset too big

thiago at kde dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 23 14:32:00 GMT 2009



------- Comment #4 from thiago at kde dot org  2009-11-23 14:32 -------
My experience:
gcc 4.4 + binutils 2.18.50.20070820 + no -march: ok
gcc 4.4 + binutils 2.18.50.20070820 + -march=armv7-a: error
gcc 4.4 + binutils 2.19.51.0.2.20090204: ok in both cases

The instruction I had problems with was:
        movw    r1, #:lower16:_ZL18qt_resource_struct

My guess is that gcc started generating these instructions for newer ARM
models, but binutils 2.18 couldn't consume them properly. But since it works
with a newer binutils, my guess is that the problem is fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41151



More information about the Gcc-bugs mailing list