Rafaël Carré
45c7498f59
FS#11335 by me: make ARM assembly functions thumb-friendly
...
We can't pop into pc on ARMv4t when using thumb: the T bit won't be
modified if we are returning to a thumb function
Code running on ARMv4t should use the new ldrpc / ldmpc macros instead
of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc}
No modification on pure ARM builds and ARMv5+
Note: USE_THUMB is currently never defined, no targets can currently be
built with -mthumb, see FS#6734
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 04:41:36 +00:00
Rafaël Carré
5fea005610
arm/memset: don't use ldm to load pc when it has been stored with str
...
It looks nicer to keep str/ldr and stm/ldm in pairs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26754 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 03:54:47 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Linus Nielsen Feltzing
e2022a26d0
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Thom Johansen
7d7b704ee2
Fix erronous label and replace mov with bx.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10901 a1c6a512-1295-4272-9138-f99709370657
2006-09-07 00:35:07 +00:00
Linus Nielsen Feltzing
8218d471cc
Changed copyright
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10320 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 11:37:54 +00:00
Linus Nielsen Feltzing
5a0cb68e43
Moved some assembly optimizations to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10318 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 11:16:03 +00:00