Native GCC support is not available but you might consider the
per-thread data:

http://ecos.sourceware.org/docs-latest/ref/kernel-thread-data.html

Christophe

> -----Original Message-----
> From: ecos-discuss-ow...@ecos.sourceware.org [mailto:ecos-discuss-
> ow...@ecos.sourceware.org] On Behalf Of Tom Schouten
> Sent: 25. juni 2011 15:05
> To: ecos-disc...@sources.redhat.com
> Subject: [ECOS] Thread local storage
> 
> Hello,
> 
> Is thread local storage possible in eCos?
> 
> I tried the GCC __thread annotation but that seems to give the
> following
> problem on an ARM target:
> undefined reference to `__aeabi_read_tp'
> 
> In the case there is no standard way, anyone know a way to work around
> it?
> 
> Cheers,
> Tom
> 
> 
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
http://ecos.sourceware.org/ml/ecos-discuss


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to