ARM: implemented TLS startup code

Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>