The MVN instruction used should be supported--- if not, we would be
getting an assembler error at this point when the package is built.

Looking more carefully, there's a more straightforward problem: the
offsets in the PC-relative load instructions make assumptions about the
instruction size (i.e., ARM).  (See
https://wiki.ubuntu.com/ARM/Thumb2PortingHowto#Typical%20uses%20-%20loading%20a%20literal%20from%20the%20text%20section
for a discussion.)

In Thumb-2, many of the instructions are 2 bytes instead of four, so the
ldr instructions are loading junk (maybe even off the end of the text
segment).

Can you try this patch?  (There may be other problems too, of course...)

(I'm tempted to move all the \n to the end of the lines, since the code
is not very readable as it stands, but in the interest of not fuzzing
the patch I've only made the critical changes)


** Patch added: "remove hand-coded literal pool in m_main.c"
   http://launchpadlibrarian.net/41114588/valgrind__start_arm_literal_fix.diff

-- 
Foobared on armel
https://bugs.launchpad.net/bugs/537458
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to