ColdFire and Thread-Local Storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

it seems GCC uses this ColdFire TLS ABI:

https://lists.debian.org/debian-68k/2007/11/msg00071.html

Here we have a function

void *__m68k_read_tp(void)

which must return the thread pointer in register a0.

I have to implement this function. Is there a way to instruct GCC to return the value in register a0 instead of d0 or do I have to use assembler to implement this function?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@xxxxxxxxxxxxxxxxxx
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux