commit | 17ed3253fc98bcca59d70531a4d81b3be75dc7ea | [log] [tgz] |
---|---|---|
author | Boris Gjenero <dreamlayers@rockbox.org> | Sat Dec 17 18:31:55 2011 +0000 |
committer | Boris Gjenero <dreamlayers@rockbox.org> | Sat Dec 17 18:31:55 2011 +0000 |
tree | 9d1eee2029f442b207dcbb8ea1f75059e96b7d96 | |
parent | f372212adf279d12c88d6bde948d11cf3ad002b3 [diff] |
Add const to global pointers to strings. When a global pointer is not declared as constant, gcc will put it in memory. Getting the address of the string it points to requires loading the address of the pointer and then loading the pointer. When the pointer is declared constant, the address of the string is loaded directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31345 a1c6a512-1295-4272-9138-f99709370657