It seems the problem is failure to take into account that Thumb PC- relative loads round the base address down. I can't reproduce the failure, but try this patch.
** Patch added: "const-pool-offset.patch" https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1049614/+attachment/3401304/+files/const-pool-offset.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1049614 Title: Assembler messages with -O0: Error: offset out of range To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1049614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs