summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-08-13 22:46:45 +0300
committerTor Lillqvist <tml@iki.fi>2011-08-14 00:51:31 +0300
commit2ba07916ffe8211410bc2d2e0c1a4c9ac77f601e (patch)
tree74554f9024900ca16f9532be304ea9d991f3f4ff /bridges
parent5df66895d7645e943696e8d56ad776a4b54859d2 (diff)
Add some comments
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
index 937f38784e41..737824c70498 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
@@ -450,7 +450,10 @@ namespace
unsigned long * p = (unsigned long *)code;
+ // ARM (not thumb) mode instructions
+ // mov ip, pc
*p++ = 0xE1A0C00F;
+ // ldr pc, [pc, #4]
*p++ = 0xE59FF004;
*p++ = (unsigned long)functionIndex;
*p++ = (unsigned long)vtableOffset;